summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* json-c: update to 0.15Oleksandr Kravchuk2020-07-272-164/+2
| | | | | | | | | Remove upstreamed patch. (From OE-Core rev: 411f47cdcb74109a103166477d606c88db6175ee) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch.py: Change to more strictly fuzz detectionNaoto Yamaguchi2020-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | When applying patch subject is including a " fuzz ", do_patch_qa detect Fuzz. After the patch is applied, the following log message appears. Applying: meson: treat all fuzz cases as unit tests The current Fuzz detection checks for the presence of "fuzz" in this log message. The log in this example will be treated as Fuzz, despite its success. This patch change to more strictly fuzz detection. if log message is including " fuzz " and "Hunk " in log message, it will be treated as Fuzz. (From OE-Core rev: a8605c66ef5afe7c3583366781dfd90fe3526398) Signed-off-by: Naoto Yamaguchi <wata2ki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: update to 153Oleksandr Kravchuk2020-07-271-1/+1
| | | | | | | (From OE-Core rev: c0b921ef38f4740212b167463c3afa9709e06f53) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* re2c: update to 2.0Oleksandr Kravchuk2020-07-272-45/+2
| | | | | | | | | | CVE patch dropped as a backport present in the nre release. RP: Remove dropped CVE patch (From OE-Core rev: aec5bccc175e8ec7422095abe8ea86f99f74ad50) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update to 3.8.5Oleksandr Kravchuk2020-07-271-2/+2
| | | | | | | (From OE-Core rev: ce7ac226336fe1e578fd0959567c95c4ac957f85) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update: handle baseMetricV2 as optionalKonrad Weihmann2020-07-271-4/+9
| | | | | | | | | | | Currently in NVD DB an item popped up, which hasn't set baseMetricV2. Let the parser handle it as an optional item. In case use baseMetricV2 before baseMetricV3 (From OE-Core rev: fdcbf3f28289188c5a97664d1421d4a5c4991eda) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash-completion: update to 2.11Oleksandr Kravchuk2020-07-271-2/+2
| | | | | | | (From OE-Core rev: 09b40e7f2c3f7f39739234323467e727a85bc39f) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Avoid race continually rebuilding miniperlRichard Purdie2020-07-272-0/+30
| | | | | | | | | | | | | | | | | | | When we run "make install" we notice miniperl rebuilding multiple times. Usually this is harmless however sometimes race issues occur such as miniperl not being executable. The issue is that crosspatch is a phony target so it always rebuilds. Adding this as a dependency of miniperl means miniperl always rebuilds too. Avoid this by injecting a direct dependency avoiding the phony target. miniperl is then only rebuilt when its input changes as desired. Patch submitted to upstream perl-cross. (From OE-Core rev: 95947fa630e1fecc599f975d732eb47dd4b748ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checklayer: check layer in BBLAYERS before testLee Chee Yang2020-07-272-1/+22
| | | | | | | | | | | | | | | | | | layer under test should absent from BBLAYERS when running yocto-check-layer. This allow to get signatures before layer under test. There are existing steps to add the layer under test to BBLAYERS after getting initial signatures. add steps to check for layer under test in BBLAYERS before running any test, skip test for the layer if the layer under test exist in BBLAYERS. [YOCTO #13176] (From OE-Core rev: be02e8dbfb0d1decce125322f9f1e11a649756c0) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpg123:upgrade 1.26.2 -> 1.26.3zangrc2020-07-271-1/+1
| | | | | | | (From OE-Core rev: 8ef3a13f257770f1ea8812163c27062c729b8290) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevdev:upgrade 1.9.0 -> 1.9.1zangrc2020-07-271-2/+2
| | | | | | | (From OE-Core rev: 99d1a4179903486b974d18b280357cde2f3e1d7d) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa55.inc: switch to using armv8.2a include fileDmitry Baryshkov2020-07-271-1/+1
| | | | | | | | | | Since Cortex-A55 is an ARMv8.2 core, switch to using arch-armv8-2a.inc file. (From OE-Core rev: ab94bf205b7450e9dff6b9c7aa060178b39e48fe) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv8-2a.inc: add tune include for armv8.2aDmitry Baryshkov2020-07-271-0/+19
| | | | | | | | | | | | Add tune include for armv8.2a. This adds support only for bare armv8.2a (and for crypto extension). There is no support for additional instructions added by architecture extensions (except the main crypto extension support). (From OE-Core rev: 88c79a56b4ddab61c16cd4cb7b887e7d7223d845) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable freedreno Vulkan driver if freedreno is enabledDmitry Baryshkov2020-07-271-0/+1
| | | | | | | | | | If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan driver. (From OE-Core rev: eee63fdddaf74e548c362050f57e1d67eba1ba5d) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Fix populate-volatile.sh bug when file/dir existsAndrei Gherzan2020-07-271-12/+12
| | | | | | | | | | | | | | | The blocks which test for entry exitence (file or directory) use a `A && B || C` syntax. This form is not behaving as a if-then-else block even the code logic assumes that. C may run when A is true which breaks the case where VERBOSE is 'no' but the file/directory exists. Along with fixing these specific issues, this patch fixes the other instances where blocks of form `A && B || C` are used as if-then-else. (From OE-Core rev: 1b9ea22acb66554925720e04cf24100664234574) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Fix various shellcheck warnings in populate-volatile.shAndrei Gherzan2020-07-271-29/+29
| | | | | | | (From OE-Core rev: 0a128a238f63d52aa82f8c63ee2f84ab528b3346) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 49.2.0Oleksandr Kravchuk2020-07-273-15/+16
| | | | | | | | | | Rebased patch and got rid of the .inc file as Python 2 is not supported anymore. (From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: use python3Joe Slater2020-07-272-0/+63
| | | | | | | | | | Modify gsettings-schema-convert to use python3. Also add RDEPEND on python3-xml. (From OE-Core rev: ce6e5da12fb004811270a37941094c9bd8d7e161) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-post: remove traling blanks from tasksKonrad Weihmann2020-07-272-4/+4
| | | | | | | | | | | | remove the traling blanks before the ;-delimiter, so one could use "_remove" to avoid running tasks like 'rootfs_update_timestamp', which are currently hardcoded and not bound to any configurable feature flag (From OE-Core rev: 8c835f63c2bca0a66385eb7ea5ec021d86265777) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: command: Handle multiconfig in findSigInfoJoshua Watt2020-07-251-3/+3
| | | | | | | | | | Changes the findSigInfo command to accept a recipe specified with the multiconfig prefix (Bitbake rev: 379951b6417eacbafc92ac1413ae1358bafdddfb) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Secruity fix for CVE-2020-6096Armin Kuster2020-07-253-0/+308
| | | | | | | | | | | | | | Source: glibc.org MR: 104799 Type: Security Fix Disposition: Backport from beea361050728138b82c57dda0c4810402d342b9 ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1 Description: (From OE-Core rev: ffa4fa35e1f6132b19788166a2b87517d9e17d95) Signed-off-by: Armin Kuster <akuster@gmvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic/bootimg-efi: Add support for IMAGE_BOOT_FILESKhasim Mohammed2020-07-251-0/+60
| | | | | | | | | | | | | | | List of files defined using IMAGE_BOOT_FILES are installed into the boot partition when preparing an image using the wic tool with the bootimg-efi source plugin. The code snippet introduced is taken as is from bootimg-partition.py Change-Id: I8dbb6b4e7c24870f587a6f31e6ae4a87d7033782 Issue-Id: PLATFORMS-3134 (From OE-Core rev: a44ab3a4ee5b3c57812909c6194456f299d6ba7f) Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3: define a profile directory path"Mingli Yu2020-07-252-43/+0
| | | | | | | | | | | | | | After ccache upgrade to 3.7.11, there is below logic introduced. 58895dc Add knowledge about -fprofile-{correction,reorder-functions,values} And the python3 ccache build issue [1] is fixed in ccache 3.7.11, so there is no need to define a profile directory path for python3 any more. [1] https://github.com/ccache/ccache/issues/615 (From OE-Core rev: 6cd08bdf72c05982ba000b1186cf139382679e04) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Upgrade to 3.7.11Mingli Yu2020-07-251-1/+1
| | | | | | | | | | | | Bug fixes: Added knowledge about -fprofile-{correction,reorder-functions,values}. ccache now handles the Intel compiler option -xCODE (where CODE is a processor feature code) correctly. Added support for NVCC's -Werror and --Werror options. (From OE-Core rev: 1fea06a83aa226a86eb2032ce4e000009d71eaa5) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: use pid for temporary txt file nameLee Chee Yang2020-07-251-5/+6
| | | | | | | | | | | | | | | | | | | | buildhistory create .txt file bh_installed_pkgs.txt and bh_installed_pkgs_deps.txt while listing down installed package. These file is later removed in buildhistory_get_installed(). when multiple process runs in parellal there are chances to race for the file where one process created the file while another task remove the file right after it. using different file name for each process should avoid the race. So add PID to the file name to make it unique. [yocto #13709] (From OE-Core rev: 214d236d93700abffa2d586cc744a00455818fa4) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: create a symlink for /usr/bin/stressDan Callaghan2020-07-251-0/+1
| | | | | | | | | | | | | | | In commit 72641004, stress-ng was made to provide the stress package, because it's backwards compatible with the old stress command. But it doesn't actually provide /usr/bin/stress which is what other recipes depending on stress will expect. Symlink /usr/bin/stress to stress-ng so that it actually becomes a drop-in replacement for stress. (From OE-Core rev: 5d8c4ea26a48135c3405afac0372e4e062a7339a) Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: allow reproducible binary buildsJoe Slater2020-07-252-0/+27
| | | | | | | | | | | Use a static TESTDATADIR if tests are disabled. Allow override of TESTDATADIR if tests are enabled since the default will be wrong for target builds. (From OE-Core rev: 43d24a3726dc1b639261429cc6537e947281143c) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: remove --with-power-management-testsuite from EXTRA_OECONFMatthew2020-07-251-1/+1
| | | | | | | | | | | Commit [b74bbed51b0c0d44b70b136326a8a23cbc64db01 power_management: compile testcases/kernel/power_management by default] from ltp upstream removed --with-power-management-testsuite option, it's on by default. (From OE-Core rev: 9be40ee62f9a29f76290171c6a2a417f28180771) Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: upgrade to latest revision in upstream repo instead of old debian ↵Martin Jansa2020-07-2513-1810/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | snapshot * debian switched to upstream snapshot as well in 2015: net-tools (1.60+git20150829.73cef8a-1) unstable; urgency=medium * After 14 years without an upstream release, I am producing a new package based on today's upstream repository. Closes: #391495, #486448, #323261, #260587, #545328, #511395. * Remove many patches now merged upstream, delete unmaintainable and undocumented local changes, and update the rest. -- Martín Ferrari <tincho@debian.org> Mon, 07 Sep 2015 01:54:07 +0000 * this allows dropping nettools_do_patch task and other weird parts of the recipe * LIC_FILES_CHKSUM change is caused by formatting changes in: d613e1d Updated COPYING file. * patches now included in upstream: 0001-added-ull-prefix-to-unsigned-long-long-constants-to-.patch eb04ef3 added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch 81814dc ifconfig interface:0 del <IP> will remove the aliased IP on IA64 musl-fixes.patch (only lib/inet_sr.c and netstat.c chunks weren't applied, but maybe not needed anymore) 86b2c77 Remove support for IPV6 with libc5 and glibc 2.0 ecae4b3 lib/util-ank: Include <limits.h> for UINT_MAX c35607e Remove inconsistent conditional includes for libc5 and glibc 2.0 net-tools-1.60-sctp1.patch net-tools-1.60-sctp2-quiet.patch net-tools-1.60-sctp3-addrs.patch 7af4859 netstat: update SCTP support 3bbfa09 statistics: add SCTP support 4932915 Add netstat -S/--sctp parameter into help and manpages 8306063 netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714) 0001-lib-inet6.c-INET6_rresolve-various-fixes.patch a70c568 lib/inet6.c:INET6_rresolve() - various fixes net-tools-fix-building-with-linux-4.8.patch ea3935b iptunnel: fix building w/older linux headers 45d573a iptunnel: drop netinet/ip.h include * add 3 new patches from debian * add PACKAGECONFIG for parts which are now optional since: https://salsa.debian.org/debian/net-tools/-/commit/939123848205c8745542c2052b2c53de49461f4b https://salsa.debian.org/debian/net-tools/-/commit/fbc11bb9cfb5acb4b3c3b24a57c02f2b2338c656 https://salsa.debian.org/debian/net-tools/-/commit/bd8bceaed2311651710331a7f8990c3e31be9840 but unlike debian, keep building them to limit the changes from this upgrade * ifconfig and route were moved from sbin to bin adjust u-a accordingly * debian changelog: net-tools (1.60+git20180626.aebd88e-1) unstable; urgency=medium * New upstream snapshot * Refresh patches. * Fix typos in German manpages. Thanks to Prof. Dr. Steffen Wendzel and Dr. Tobias Quathamer for the patch. Closes: #900962. -- Martín Ferrari <tincho@debian.org> Mon, 24 Sep 2018 19:08:57 +0000 net-tools (1.60+git20161116.90da8a0-4) unstable; urgency=medium * Update maintainer email address. Closes: #899617. * Update Standards-Version with no changes. -- Martín Ferrari <tincho@debian.org> Mon, 24 Sep 2018 17:16:31 +0000 net-tools (1.60+git20161116.90da8a0-3) unstable; urgency=medium * debian/control: Update Vcs-* and Standards-Version. * debian/control: remove references to ancient package ja-trans. * debian/gbp.conf: Update repo layout. -- Martín Ferrari <tincho@debian.org> Tue, 31 Jul 2018 19:09:00 +0000 net-tools (1.60+git20161116.90da8a0-2) unstable; urgency=medium * Fix typo in French manpage. Thanks to Michel Grigaut for the patch. * Add manpage for iptunnel, thanks to Sergio Durigan Junior. Closes: #88910 * Rename patches so CME does not choke on them. * Automated cme fixes; packaging improvements. * Remove unused and ancient patch. -- Martín Ferrari <tincho@debian.org> Sun, 11 Feb 2018 17:29:24 +0000 net-tools (1.60+git20161116.90da8a0-1) unstable; urgency=medium * New upstream snapshot. * Re-synced translations.patch. * Acknowledge NMUs. Thanks a lot to Andrey Rahmatullin for the fixes and uploads. Closes: 846509. * Fix FTCBFS, thanks to Helmut Grohne for the patch. Closes: #811561. + Really assign CC for cross compilation. + Use triplet prefixed pkg-config. * Add debian/NEWS warning about changing output in net-tools commands. Closing bugs that reported problems in 3rd-party scripts arising from these changes. Closes: #845153, #843892, #820212. * Update Standards-Version, with no changes. -- Martín Ferrari <tincho@debian.org> Mon, 26 Dec 2016 05:58:42 +0000 net-tools (1.60+git20150829.73cef8a-2.2) unstable; urgency=medium * Non-maintainer upload. * Apply an additional fix for the previous FTBFS for some architectures. -- Andrey Rahmatullin <wrar@debian.org> Thu, 01 Dec 2016 22:49:27 +0500 net-tools (1.60+git20150829.73cef8a-2.1) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS by applying the upstream patch (Closes: #844073). -- Andrey Rahmatullin <wrar@debian.org> Sun, 20 Nov 2016 15:23:12 +0500 net-tools (1.60+git20150829.73cef8a-2) unstable; urgency=medium [ Laurent Bigonville ] * Enable SELinux support. Closes: #666204. [ Martín Ferrari ] * Mark the package "Multi-Arch: foreign", thanks to Frédéric Brière <fbriere@fbriere.net>. Closes: #752584. * Fix bug in Portuguese man page, thanks to julianofischer@gmail.com. Closes: #805377. -- Martín Ferrari <tincho@debian.org> Thu, 19 Nov 2015 14:48:47 +0000 net-tools (1.60+git20150829.73cef8a-1) unstable; urgency=medium * After 14 years without an upstream release, I am producing a new package based on today's upstream repository. Closes: #391495, #486448, #323261, #260587, #545328, #511395. * Remove many patches now merged upstream, delete unmaintainable and undocumented local changes, and update the rest. -- Martín Ferrari <tincho@debian.org> Mon, 07 Sep 2015 01:54:07 +0000 net-tools (1.60-27) unstable; urgency=medium * Add patch to accept "pointtopoint" as a synonym for "pointopoint". Closes: #443075. * Add patch to add an example for single route deletion in route.8. Closes: #500913. * Remove Luk from Uploaders as per his request. Closes: #748491. * Fix broken watchfile, thanks to Martin Bagge for the patch. Fix upstream homepage. Closes: #770070. * Add patch to make mii-tool scan all ethernet devices instead of eth[0-7]. Closes: #532879, #319508. * Add Vcs fields. * Update build system to debhelper 9 and 3.0 source format. * Update ancient Standards-Version, no changes needed. -- Martín Ferrari <tincho@debian.org> Sun, 06 Sep 2015 17:44:11 +0300 * upstream changelog: git log --oneline v1.60..0eebece8c9 0eebece Spell checking for German netstat manpage (#9) aebd88e standardize --help/usage handling c360845 always write --version output to stdout 479bb4a Fix incorrect ARP output b4f5182 Fix conversion of some ROSE addresses. 8076533 Update all instances of my email address. bfbadfc AX.25: Rename all references to axattach to kissattach. 90da8a0 netstat: improve ROSE support aab9274 build: respect standard $(LDLIBS) variable ea3935b iptunnel: fix building w/older linux headers 45d573a iptunnel: drop netinet/ip.h include 115f1af Fixed trailing whitespace issue with a and i flags (#7) bd8bcea slattach/plipconfig: add a config knob to control them 9391238 hostname: add a config knob to control build/install fbc11bb arp/rarp: add a config knob to control them 2cc98e1 man: do not install pages for disabled commands 5bf8112 man: improve install e1ce942 ifconfig: do not try to bring up interfaces implicitly w/IPv4 0.0.0.0 2529b5d ifconfig(8): document - suffix behavior w/alias interfaces 3f170bf netstat: increase address buffers to avoid and overflow 1cec84c route(8): fix typo in fr_FR page 452f8e2 hostname: -s: do not look up details via dns 8e9db22 po: delete duplicate translations 614e15d statistics: fix multiple typos in strings 5c9e1e7 use sockaddr_storage everywhere 27e4308 netstat: convert to sockaddr_storage adf6f57 netstat: unrecognized option -> non-zero exit code 73cef8a statistics: use getline instead of fgets d923212 statistics: optimize filter processing slightly 238f086 ipx: always byte swap fields 7af4859 netstat: update SCTP support 3bbfa09 statistics: add SCTP support 9c073fe statistics: sort tables statically (and constify) 70c3a90 statistics: constify tables c58d03b statistics: constify strings 9c4b23a statistics: localize all vars/funcs b2f0f02 statistics: delete dead code 6556c27 build: use -- with rm c5a91aa lib: inet6: clean up INET6_print a bit fd10bbe lib: inet6: mark fix_v4_address static/const c17ec95 lib: frame: avoid casting char* to short* b10a1c0 lib: inet: switch to inet_ntop 16a83b4 lib: masq_info: check fgets return value df48bbe lib: masq_info: use stdlib.h instead of malloc.h 839f760 lib: masq_info: fix scanf addr loading on 64bit systems 2a0cd06 lib: af: constify sprint sockaddr bcc7d40 hostname: unify IPv4/IPv6 codepaths 742e628 lib: hw: constify hwtype a6118de lib: af: constify aftype 2e15dac lib: af/hw: constify name fields 738c834 lib: af: constify herror message 61077c3 lib: af/hw: localize init functions cf32e54 lib: af: get_socket_for_af: re-use get_afntype 86b2c77 Remove support for IPV6 with libc5 and glibc 2.0 c35607e Remove inconsistent conditional includes for libc5 and glibc 2.0 92773ed Add utility function ticks_per_second() to get jiffies per second (aka HZ) 9bdfd2c build: turn on transparent LFS support 43efbf2 Disable Econet support by default since it is removed from Linux 3.5 ecae4b3 lib/util-ank: Include <limits.h> for UINT_MAX 69e6463 netstat: fix up Bluetooth error messages 761da2d netstat: support Linux v4.0 debug/bluetooth/l2cap e5f1be1 ifconfig can incorrectly round PiB 25b3c9a netstat: INFO_GUTS1(): don't treat EACCES as error 24cd6f2 Revert "fix statistics with aliased interfaces" 4e499e2 netstat(8): fix style in a few places 2dd754e netstat: do not abort/warn with unsupported protocols using general -A buckets 343192d fix statistics with aliased interfaces 96225a6 netstat: decode timer type of 4 in tcp lines 6ab465c interface: localize & constify funcs 1fbf057 netstat.8: bump date 6b79232 Thanks: Lubomir 34ea18c netstat: Fix short options for --l2cap and --rfcomm 2246c64 pathnames: Bluetooth stuff is now in debugfs b2a5d59 man: Document Bluetooth options 4321146 Fix typo in license notice. 80ac2bb First version of a contributors acknowledgement (to clean up file headers) d621c2e [Bug#22] Return non-zero exit code if route arguments fail verification (CEM@sf.net) 038ed39 mii-tool: apply -p to -w 68a4d78 fix default for inet4 (0) and pointer to ip(8) a3cab50 Documented metric defaults, made markup of keywords/variables more consistent. b2f92c3 Fix unsigned sscanf format 4932915 Add netstat -S/--sctp parameter into help and manpages 47b8bce netstat.c: fix typo in error message 3eb367a Fix serveral strings in de/fr/pt_BR.po 12f5a0c Fix nstrcmp() to prevent ifconfig from showing duplicate interfaces. f919c51 Makefile: add BINDIR & SBINDIR variables 08abda6 add const qualifier to fix compile warning about xstrdup argument 2356964 rprint_fib6() was passing 1 instead of 'numeric' into INET6_sprint() a70c568 lib/inet6.c:INET6_rresolve() - various fixes a753a90 lib/util.c: introduxe xstrdup which catches NULL and use it in all places e8510bc lib/inet.c: replace safe_strcpy with strdup for dynamically allocated cache, fixes truncation c0d4640 Show symbolic default only for 0.0.0.0/0 (which fixes Suse Bug#821077) 0348310 lib/x25.c: fix compile error for -DDEBUG=1 2466c75 hostname: modernized man page 8f124a7 hostname: do not mention root on permission problems. Thanks to Elias Probst for mentioning the problem. e569425 merged: replace all remaining strcpy() with safe_strncpy() d5d5db4 route: document -4 and -6 for route command cb15dc2 fix issues caused by replaceing strcpy() with safe_strncpy() 604785a replace all remaining strcpy() with safe_strncpy() dc752cc Merge pull request #1 from florianl/master 3a2961d Fix calculation of available space 3da9774 [PATCH] replace strcpy() with safe_strncpy() 6a14c03 slattach: tweak how we ignore the ret of fchown() d87ceba ifconfig: use sockaddr_storage to hold addresses 911ccc4 ifconfig: use in_addr_t for IPv4 types d1381f9 trim trailing whitespace 35eaa82 Make SELINUX compile. 266c140 get selinux build info via pkg-config 4953812 ignore gdb related files 4fa4939 fix building with selinux enabled 70953e9 use CFLAGS when linking too 56a8434 Man page syntax fixes. 7cf048d Rémi Verschelde contributed french translation if ifconfig(8). https://sourceforge.net/p/net-tools/bugs/6/ 36bd859 deal with 2-digits kernel versions as reported in Bug#7. https://sourceforge.net/p/net-tools/bugs/7/ e816552 Minor mostly comments typo fixes 3d31cea Use safe_strncpy wherever possible 60674bc updated manpage date, project url and email adee8b7 mii-tool: dump also non standard registers 784f0af mii-tool: update manpage and usage b30cd20 mii-tool: update PHY list 2370ab1 mii-tool: fix PHY ID in list 343864a Potential buffer overflow if kernel is missbehaved removed, reported by Adien Bustany 8b1ccd3 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools 0727f6e Removed per-file version number ded9e77 Removed per-file version number a773411 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools 4ee5ca4 Bump Version to 2.10 to be compatible with ubuntu ae6e4a3 fix typo in statistics.c 4aa89e8 Bump to 1.70-alpha version and switch to net-tools-devel@lists.sourceforge.net as maintainer 339c720 mii-tool.c: increase buf size in show_basic_mii() 7e91281 netstat: check fstat's return value 8217b88 Some more fixes for german arp.8 d34e8f2 Use groff umlaut 868b18e Remove trailing linefeeds from arp.8 man pages 5333f7f arp(8): German translation updated + corrected, en: missing ) added 2bbc0ab arp(8): part of a sentence was missing 293bec6 update the dist target and add a distcheck target 70f4818 disable old features by default 8a77011 slattach: pass up exit status of shell command 77d0c1b Deprecated netstat, made usage with --inet/--inet6 clear. 6970e0b Minor cleanup of netstat usage() 01b8da0 Removed code duplication (Sourceforege#3567952 reported by hugh redelmeier) e8b37a8 netstat memory leak fixed. 992a1de iptunnel.c: avoid fd leak in case of ioctl() error 53c4017 use scanf("%ms") instead of scanf("%as") for dynamic string 699e5db Consistently use defined exit codes. 6d09cad arp(8): fixed one more typo (simplyfy -> simplify) 776c653 arp(8): fixed typo (priveledge -> privilege) b8cd80d Fixed 2 SELinux related compiler warnings. a1de647 Removed SET and GET of interface metrics 5fac037 ifconfig(8): fix tunnel option syntax 6f050f1 infiniband: fix up new warning message 7182584 Make netstat -h and -V honor HAVE_SELINUX 4c91a43 removed unused variable 8509a38 new option for nestat, -Z shows SELinux context 064568d Make the code style consistent across netstat.c aa01f8c man/de_DE/arp.8 fix translation (RHBZ#322901) 1e787c3 man/pt_BR/ifconfig.8: remove untranslated paragraph 653fd7c route(8): note that 'route mss' actually sets MTU (RHBZ#680837) a4cbb77 ifconfig(8): note about supported format for IPv4 addresses (RHBZ#176661) cb81887 ifconfig(8), netstat(8): mention iptables instead of ipchains, ipfwadm or ipfw. 4838db1 ifconfig(8): do not mention /proc/net/socket (RHBZ#661905) 5f5f16d Warn about changed encoding of man pages 6f5c897 Convert latin1 characters to UTF-8 1b74c24 inform user that ifconfig can correctly show only first 8 bytes of Infiniband hw address 9dc3a20 mii-tool: don't rely on eth0 being default network device name. faf31f8 mii-tool: use <linux/mii.h> instead of "mii.h" and fix RHBZ #491358 6ccabd5 Possible problems found by static analysis of code. 0dcd1d1 plipconfig man page and usage output fixes 81814dc ifconfig interface:0 del <IP> will remove the aliased IP on IA64 796ba7f prevent 'netstat -nr -A inet6' from smashing stack (RHBZ #668047) 7b57688 fixed clearing flags in ifconfig (RHBZ #450252) 1f2c75d nameif crash for long interface names (RHBZ #209120) cf33780 in kernel 2.6 /proc/net/x25_routes moves to /proc/net/x25/route 96b25f1 buffer overflow in arp (RHBZ #164695) f1f8932 netstat -s reports negative octet counts c8d4f43 The return value of nameif was wrong 81d60e0 Fix Content-Type in po files to avoid msgfmt warning. ca5633d Updated README to reflect move to SourceForge.net d613e1d Updated COPYING file. 98e1d90 mii-tool: fix inverted advertising/link features 0f65cdc slattach: man page documents /dev/ptmx support 4615091 slattach: add support for /dev/ptmx [Bug:3467521] aa6c885 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools 3642531 Bluetooth name fix f6baf95 Add Bluetooth socket support 36b541c ifconfig/route: move to /bin ca46fb1 ignore return value of fgets calls we dont care about 153ab83 hostname: check return value of getdomainname 9cd07a6 netstat: unify duplicate addr pretty printing 9eba397 fix integer/pointer cast warnings c5e8dfb fix "format not a string literal" warnings 4d721ae fix up signed/unsigned warnings 46cd57a fix up unused variable warnings 243cd05 pull in stdlib.h for malloc() prototype 97b31ce clean up const/unsigned pointers with aftype/hwtype structs 7ae4aa5 get_sname: avoid buffer overflows if proto name is too long 6a9347c get_sname: unify numeric handling 2b4f34b get_sname: constify args/return when possible 5888d1b fix path to net-features.h 11310f8 patch from Bert Wesarg to separate basename of -p only if it is absulote path (in order to make argv[0]="sshd pty/0" display as sshd, and not as /0. 491cedb netstat: split host resolution out from --numeric-ports 74b2b54 netstat: fix handling of large socket numbers 8022436 hostname: fix FQDN handling with AAAA records 1dd95c5 corrected indention c4b18d3 added some address family alias (still needs description) Bug#017886 Reported by Toralf c65379a Bug #17812 Fix the handling of some of the HAVE_* flags ifdef vs if. --jpa468 1791685 [Bug #17645] Add netstat(8) support for RcvbufErrors, SndbufErrors. Thanks jwm afb24b5 netstat: include sys/stat.h for S_ISREG macros 63582c8 Remove garbage ipv6 scopes in netstat output (Debian Bug #508110) Thanks Marco Steinacher for reporting. 60d538d netstat: PIDs can be long, Bug #199702 of Ubuntu Launchpad, Bug #16913 of Berlios 74f98bb interface: fix IPv6 parsing of interfaces with large indexes (> 255) 8003503 po/man: if LINGUAS is set, only install translations for those langs 0b2d037 improve dist target: include compiled gettext files, exclude scm files, and always prefix the paths in the tarball with the full versioned name 6c6e701 ignore generated gettext files 8c3c91f set BASEDIR to DESTDIR by default so the default install matches most packages 93f5da4 fix parallel build problems with the lib/ subdir and multiple targets that descend into it 043b0fa netstat: fix %*s handling -- the field takes an int, not a size_t 592e3a3 interface slip: cast keepalive/outfill to unsigned long to fix warnings on 64bit hosts -- no functional changes since these only have an 8bit range anyways 5edf1a4 ignore patch related files 8306063 netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714) 0529337 ifconfig: fix no output when if_readlist_proc() fails d50af4c slattach: use fchown() rather than chown() to avoid race between creation and permission changing d114ba0 enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all of the strict aliasing problems f91f1b0 convert -idirafter to -I fa5eec7 add missing dependency on version.h to libdir target to fix parallel build failures f74e6f4 touch up build system to respect normal toolchain env vars rather than requiring people to set random custom ones 4db8743 handle raw "IP" masqinfo b1c865c move man/fr_FR/*.8 pages into the "administrator" section 2e2ef32 arp: document the existing -e/-t options 15cf547 netstat: fix typo in udp display 9f22441 start a .gitignore 1e4c72b Missing include to make compileable with gcc-4.3.2 and glibc-2.9_p20081201 Patch from Petr Pisar [Berlios Bug#16232]. 0d88998 ignore local .git dir 74f077e Fix for Feature Request from ssb [ Feature Request #4466 ] --continuous should flush stdout 9cfbce3 Czech translation update by petr.pisar@atlas.cz 0540cf6 Avoid name resolution for listening or established sockets (-l) by return fast. Problem reported by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> 608b0fd scanf format length fix (non exploitable?) from Fabian Hugelshofer <hugelshofer2006@gmx.ch> 2750e60 -W option bb2e60b new date, reformatted authors section (shorter) 9036cd6 sorted options 91f3c44 UDPlite Support for net-stat by Brian Micek <bmicek@gmail.com> 38720e8 Add wide option to prevent truncating IPv6 addresses b6dabb7 moved H suport for Infiniband to the right section 24f959e Add hardware support for InfiniBand (Debian Bug #294252 Tom Duffy from Sun). 5737940 avoid unused filetype, fix formatting of -p headers 57b70fa conditional printing of values (to support -tuw options for netstat -s) 2e572c2 Support netstat -s with -6tuw options (incl. usage()) 50165b2 Enable netstat -s for IPv6 (Debian Bug #453859 from Varun Chandramohan) 188a83f Avoid segfault of ifconfig(8) on missing /proc/net/dev (Debian Bug #222209 Pierre Lombard, Tollef Fog Heen) 0009712 Fix hypen in man pages (Debian Bug#288343 from Andrew Moise) Move man pages to sysadmin books update samples for route(8) (Debian Bug#400844, #368697 Danny Rathjens) update see also for ifconfig(8) (Debian Bug#365916 Dan Jacobs) 11b7232 fix some more hypens, changed book name and updated date to 2008-10-03 2fd7009 document the additional info in Send-Q/Recv-Q with recent kernels for listening sockets. 3e179eb allow netstat to print Rcv/Snd-Q for TCP_LISTEN (containing accept backlog) 7ac5bd2 Spelling error (Debian Bug #486448 reported by Volker Stolz) bcebe9e fixed interfaceS spelling (Debian Bug #435690). Thanks Alan and Liu Xing. 3eb2013 more backoff 8ccfb33 backoff proc_fopen usage from etherfile. b9963e7 use new page aliged proc_fopen for address families eb21d0e Page aligned fopen buffer 20f0f8e Faster pagesize aligned fopen for netstat -s (Eric Dumazet) 41cae5e Better netstat -s error handling and larger buffers 94fb2fc cleanup man page (arp.8 2007-12-01) c59ba33 ROSE support (not yet enabled) 4193b10 ROSE support f6ec7f0 Fix Formatting Bug for ifconfig.8 (Debian Bug#450432 reported by Ivan Shmakov) a7006fd unneeded %s in translation (Debian Bug #403033) Thanks to Marco Tulio Gontijo e Silva 2af5890 fixed signedness compiler warning 4347ec3 Fixed Debian Bug #392263 reported by Jochen Voss (buffer overflow in dev argument processing) e44dfb3 formatting fixes from Justin Pryzby in Debian Bug #391495 2c5906a GigE Support by Stephen Hemminger from http://developer.osdl.org/shemminger/prototypes/mii-tool.tar.bz2 with verbose register patch from Dean Gaudet b5b6f5b Debian Bug #260587 fixed, make sure the Columns state and user in netstat -t -e are separated by blanks. This may cause scripts to fail parsing by column width. Better wait for the script compatible output. Problems exists for ESTABLIHED state only. 3fecf29 use file version 79143c2 make slattach 3-wire -L mode work (no RTSCTS) (Debian Bug #175743) 2b01211 In order to fix alignment bugs with recent GCCs I have to use sockaddr_storage instead of sockaddr for allocation. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340384 Thanks to Blars Blarson, Jurij Smakov and Steve Langasek 23e6090 X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678) 464d107 Spelling fix for Debian Bug#326124 reported by A. Costa. c47b0ce added link to berliOS 697cccc Eric Oberlander reported in Debian Bug#323261 that byte counter unit should be named "B" not "b". 3fb20be make ipx in 2.6 work (perhaps). Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318503 fa7e5f6 minor formatting c1b0c81 added pointer to iptables(8) not only ipchains(8) (Toralf Förster) 5ce2138 make it compile with 2.4 and 2.6 kernel headers (Debian Bug #271678) 501fb48 desupport dontpub in arp.8 and arp -? (Debian Bug #203396) 7762692 updated pot file and use msgmerge instead of tupdate (Debian Bug #271426) b07eb40 token ring patch from http://www.linuxtr.net/download/net-tools-1.60.patch Fixes Debian Bug #79462 d610378 line break fix debian bug #305637 85dad0a spellig fix debian bug #305638 0518929 spelling fix debian bug #305640 d1724c0 little formatting fix f93122d default all options which work with recent systems to on d42c104 debians version of nstrcmp - ugly but works a859bcb merged debian patch to make it compile with new headers 6e5363d avoid namespace conflicts faa3a97 added linebreak to version signature 6ead3cb added diagnostics (closes debian bug #239229: EINVAL for downed interface) b3412aa Typo Fix for german translation of arp po file reported by Christoph Berg (Debian Bug #176151) 321b4af make sure version string is helpful 7dfa4bd patch to recognize more hardware without MII support (from Redhat Bug#77882, notified by Tilmann Bubeck). 2085dd6 fix portability problem on 64-bit big endian. patch from Mads Martin Joergensen <mmj@suse.de> 17948a9 Maik Broemme contributed gcc warning fixes (break after default: label) e02f9d0 fixes for man page bugs reported by Hugh Redelmeier. aac294c Fix off by one in name length checking a1c938f Use new style MII ioctls only. This will give you a warning, if compiled with old kernel source tree. It will also not work if compiled with new source on old kernels. The new ioctls also require root for reading, the old didnt. This fixes Debian bug #133648. No fallback compatibility is included for reasons of cleaner source. 5b24d94 bugfix: Skipping readlist, if readlist_proc sicceeded is not a good idea. I Rewrote that section for clarity. This is also present in the 1.60-8 debian package, which fixed #197582 and #197924. e273e09 make hostname compile warnign free with gcc 3.3 (Ec) eb04ef3 added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy 01c830f added mii-tool as featured tool 04331bd fixed compile warning (unneeded default: label in switch) 1c0f026 fixed wording of binary units counters and interpunctuation in netstat(8) 2868186 make it compile on stricter gcc3.3 408b6dd Fix Debian Bug#178209, Fix RedHat Bug#85748: nameif segfaults 8d55e6f Marc Lehmann pointed out that binary prefixes are made up by the IEEE and are not official SI yet. (Debian Bug #182478) e06fed4 Add text for two new TCP statistics and fix some existing descriptions 651bf19 add a comment about alias interfaces and primary interface of scopes (intended to fix Debian wishlist bug #179780 and normal bug #64458) 4d2084d fixed an logic error in the "not found" handling for deleting entries also added a documentation comment and newer errno values for 2.4 Thanks to niteowl@intrinsity.com for pointing out. fdc9421 use [::]:port as wildcard ipv6 address instead of *:port 9628c3a change confusing "*" into "<from_interface>" cb9aeb9 - change columns of netstat -i/ifconfig -s to avoid run-into (Stefan Illner) - prevent segfault on protocol families without host error member - use /128 as default prefix if not specified instead of /0 88d85a7 Bruno Hall contributed a small and working nstrcmp() 1981012 corrected typo to make lib/interfaces.c actually compile 47af40a better ioctl fallback handling for interface listing, avoids duplicate interfaces, thanks for the help from Bruno Hall. e2bee14 Implemented the Sean Reifenschneider suggested fflush() to the --watch function of mii-tool. bbd4eca route now support -6 -4 or -46 option better layout for ipv6 routing table -C support for ipv6 routing cache more flags (i.e. reject) are recogniced for ipv6 routes 763c110 more stable ipx parsing (no segfault anymore) 0daeffd ethernet mac in lower case hex digits f8f38f3 allow support for -6 and -4 options to netstat, also allow both, and print out tcp6, udp6 or raw6 if it is a v6 socket 8887da0 Jack Bloch noticed that the hw comamnd of ifconfig returns a confusing -EBUSY if interface is up (on lkml). 2ff6edc there is no such thing as -i option for ifconfig removed variable, fixed usage, added options to english man page 15080ea fixing debian bug #151130 reported by Dan Jacobson where netstat was printing 81 chars in a line for tcp, udp and raw. 2c3f73f thanks to "Erik A. Hendriks" <hendriks@lanl.gov> the interface nane bug in debian (#135744) is fixed, with his patch in (#149579) hopefully. 8cd8f53 this fixes segfault on -A "" and -F "" in mii-tool reported in debian bug #139027 7e52da1 simple patch from Ajax <ajax@firest0rm.org> (corrected) to print DDP (AppleTalk) routing table. b03df1a brken buffer for printed irda address, reported by Christoph Bartelmus d807bcb Fix some counter descriptions. add5d92 export procnetdev_version, get_dev_fields, get_name from lib/interface.c for general usage (e.g. in my next patch to iptunnel) 5491f6f make RX-OK and TX-OK col. in "netstat -i" 1 digit longer by left aligning metric and TX-OVR and shorten max length of them. 5b1a3bb fixed typo in german man page and added a comment that man page is currently not completely up-to-date. 453c30f inodes in unix domain sockets are now padded to 8chars (netstat -x) bdb279b fixes debian bug#134600 (sigsegv in netstat on negative inoded in /proc/net/udp) on "netstat -lpu". Thanks to Arnaud Giersch for the report. 4478c3c fixed debian bug#111642 reported by Jonathan Amery <jdamery@pick.ucam.org> (newline missing in nameif usage) 06be6d8 this fixes Debian Bug #109164 (netstat -ci does only print stats once). It also renames add_interface and free_interface list to if_cache_add/free. I am not sure if removing the "proc_read" flag will harm performance, looks likt this check is never triggereed. Anyway, we need more efficient b-search sooner or later. 1aaeb28 fixed minor errors in netstat.8 man page (--numeric-users was missing, some font problems and --interfaces has no <interface> argument (Debian Bug #120475) thanks for the report to Uwe Hermann. 2aea5d6 fixed debian bug#109370 (empty line if baseaddr < 0x100 in ifconfig). Patch by Jonathan Amery <jdamery@pick.ucam.org> 29e4329 added EUI64 Hardware Address Family Daniel Stodden <stodden@in.tum.de> 68ca19b added documentation about SI prefixes for decimal numbers b93fefc added SI unit patch from adam@cfar.umd.edu to output of ifconfig byte counters 811cf0a sscanf pattern is %Lu not %llu for long long unsigned byte counters. This fixes the 0 byte output of ifconfig/netstat -i 017c996 changed troff syntax according to ESR's report 73ff76e fixed troff syntax, as reported by ESR. Did not changed the date of the man page. e1dde4b delay the setting of netmask derived from /mask after setting address (Debian Bug #116573 reported by Brian Warner) 590aeaa minor fix to return E_USAGE on -V instead of exit(0); 234b63a failed to set error flag if netmask setting reported an error (Debian Bug #117837 reported by Sam Clegg) 81f8bc8 (Finally) update netstat -s for 2.4 statistics. d67a12a Only print unknown statistics when their counter is > 0. fb9c5b0 Fix netstat -- don't print all v4 addresses as v4-mapped-in-v6. fc474dc Increase SIOCGIFCONF buffer size faster for many interfaces. c8a6725 Remove Debian-specific path. 03f5eac doh eb7fb72 Fix confusion between bits and bytes c899ac9 made man page more useful and added right link for irq conflicts in ifconfig.8 6a06088 a fix for Debian which can be nicely included upstream (#102139) 866746a man page fix CLOSED -> CLOSE afaea89 this will check after clearing a flag, that it is indeed cleared. it will also be a bit more verbose and precise on errors. See Debian Bug #102474 0284110 fixed CLOSED -> CLOSE in french and english manpage as of bug report from Matthew Tippett 1fa4848 changed a type arp -a now prints PUB instead of PUP for proxy arp entries 643ba69 Update from Meelis Roos (From OE-Core rev: c9caff40ff61c08e24a84922f8d7c8e9cdf8883e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Handle multiconfig name mappings correctlyRichard Purdie2020-07-231-1/+1
| | | | | | | | | | | | | | "bitbake mc:arm:bash mc:arm:busybox" works but "bitbake multiconfig:arm:bash multiconfig:arm:busybox" does not. The reason is the list is modified whilst iterating. Don't do that. [YOCTO #13607] (Bitbake rev: cd041a78d96e656438d93fb1e288080b8a6fe8bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Improve multiconfig configuration error reportingRichard Purdie2020-07-231-1/+6
| | | | | | | | | This avoids a traceback if an invalid multiconfig is referenced in the bitbake commandline and tweaks the message to make it more understanable. (Bitbake rev: f31d7d0ad57b0ecc2ae06ed4b547c98df2aaa1a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: Make sys_siglist default to noKhem Raj2020-07-223-8/+7
| | | | | | | | | | | | | | glibc 2.32 has deprecated sys_siglist [1] since no is default for musl as well, therefore elevate it to common site file for all [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=b1ccfc061feee9ce616444ded8e1cd5acf9fa97f (From OE-Core rev: 7c19f30849e9a73a7497d8e6c4719a2e57017086) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-10.1: add fix for PR 96130Dmitry Baryshkov2020-07-222-0/+107
| | | | | | | | | | Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 causing ICE (SegFault) when compiling current Mesa git tree. (From OE-Core rev: bc2f2e72f20e6b272e48d1073bb2290665cbde24) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: mitigate the Straight-line Speculation attackRoss Burton2020-07-224-0/+1470
| | | | | | | | | | | | | | | Straight-line Speculation is a SPECTRE-like attack on Armv8-A, further details can be found in the white paper here: https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/downloads/straight-line-speculation Backport the GCC patches to mitigate the attack. CVE: CVE-2020-13844 (From OE-Core rev: 3415e0ccdf75575014fb8c600edb707bbec0f566) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFFHongxu Jia2020-07-222-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While file has a large inode number (> 0xFFFFFFFF), mkfs.ext4 could not parse hardlink correctly. Prepare three hardlink files for mkfs.ext4 $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/b 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/c $ truncate -s 1M rootfs_ota.ext4 $ mkfs.ext4 -F -i 8192 rootfs_ota.ext4 -L otaroot -U fd5f8768-c779-4dc9-adde-165a3d863349 -d rootfs_ota $ mkdir mnt && sudo mount rootfs_ota.ext4 mnt $ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b 12 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/a 14 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/b 15 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/c After applying this fix $ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/a 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c (From OE-Core rev: 3b2c7350a7f3fb20f2b61ddb41f81959a54bc873) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: set with-rundir to /run/sudoRicardo Salveti2020-07-221-1/+2
| | | | | | | | | | | | Set with-rundir to a known path instead of letting configure decide which is the best folder to store the timestamp files. This is required otherwise it might end up at /sudo, which will cause errors on a ro filesystem. (From OE-Core rev: 22ae707afa69d1d0a0496a6dc25a400a9c4404d9) Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-immodules-cache.bbclass: fix post install scriptlet errorChangqing Li2020-07-221-0/+1
| | | | | | | | | | | | | | | package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default. when install package gtk-immodule-xim, it is possible met below error: /var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1 fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache (From OE-Core rev: c689e120961d9d20386c8b822d71d778d4e6df7b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: make hwclock compatible with glibc 2.31Sakib Sajal2020-07-222-0/+84
| | | | | | | | | | | | | | | settimeofday(2) has been deprecated as of glibc 2.31 which hwclock makes use of. This patch makes hwclock compatible with glibc v2.31 See patch for more details: busybox/0001-hwclock-make-glibc-2.31-compatible.patch Fixes [YOCTO #13981] (From OE-Core rev: 524fff214a6adc823a99358248b3891ba7c0b915) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* startup-notification: add time_t type mismatch patch from upstreamRoss Burton2020-07-222-0/+109
| | | | | | | | | Backport a patch to fix issues where sizeof(time_t) != sizeof(long). (From OE-Core rev: f9c3a6d74765e636a8038fe3aaa5dfc8b550590a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: improve wording when image size exceeds the specified limitDaniel Ammann2020-07-221-2/+2
| | | | | | | (From OE-Core rev: fcaab9d686a4afe53a4693f3b30634215d682389) Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: Added ptestOleksandr2020-07-224-5/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ptest support of expat package: - expat_2.2.9.bb recipe was switched on cmake-based building system to avoid cahnges in autotools build system which considered in upstream as potentially deprecated (https://github.com/libexpat/libexpat/issues/330). - cmake-native_3.17.3.bb recipe was forced to use bundled version of expat from CMake source tree. Therefore expat-native package has been removed from DEPENDS variable for cmake-native recipe. Without these changes, next dependency loop appears: Dependency loop #1 found: Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_compile (dependent Tasks ['cmake-native_3.17.3.bb:do_configure']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_install (dependent Tasks ['cmake-native_3.17.3.bb:do_compile']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_populate_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_install']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_prepare_recipe_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_populate_sysroot', 'ninja_1.10.0.bb:do_populate_sysroot', 'expat_2.2.9.bb:do_fetch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_configure (dependent Tasks ['expat_2.2.9.bb:do_patch', 'expat_2.2.9.bb:do_prepare_recipe_sysroot', 'expat_2.2.9.bb:do_generate_toolchain_file', 'expat_2.2.9.bb:do_deploy_source_date_epoch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_compile (dependent Tasks ['expat_2.2.9.bb:do_configure']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_install (dependent Tasks ['expat_2.2.9.bb:do_compile']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_populate_sysroot (dependent Tasks ['expat_2.2.9.bb:do_install']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_prepare_recipe_sysroot (dependent Tasks ['expat_2.2.9.bb:do_populate_sysroot', 'xz_5.2.5.bb:do_populate_sysroot', 'bzip2_1.0.8.bb:do_populate_sysroot', 'ncurses_6.2.bb:do_populate_sysroot', 'zlib_1.2.11.bb:do_populate_sysroot', 'cmake-native_3.17.3.bb:do_fetch', 'curl_7.71.1.bb:do_populate_sysroot']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_configure (dependent Tasks ['cmake-native_3.17.3.bb:do_deploy_source_date_epoch', 'cmake-native_3.17.3.bb:do_patch', 'cmake-native_3.17.3.bb:do_prepare_recipe_sysroot']) - run-ptest script that initalizes testing, copies testing executables' output to log file and measures execution time of each testing executable was added. - patch that implements output of each testcase result in testing exectutable was added. (From OE-Core rev: 3adba877e1b5e5f69a6d1501611624e2d3789a9b) Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package: Use HOST_OS for runtime dependenciesJoshua Watt2020-07-221-5/+5
| | | | | | | | | | | | | | | | | The code was using TARGET_OS to try and detect what type of OS the packages would be running on, but this is incorrect. TARGET_OS is the OS for which the package will generate output (e.g. GCC output target or GDB debugging target). The OS where the package will run is the HOST_OS. Note that HOST_OS only differs from TARGET_OS when doing a canadian cross compile, and even then in our case only when doing so for a non-Linux host (e.g. MinGW). Fix the code to use HOST_OS instead. (From OE-Core rev: f284c5b2df220b520b025a59874e04ef4becd829) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/cmake: Fix host detectionJoshua Watt2020-07-221-6/+13
| | | | | | | | | | | | | | | | | | Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM variables. The HOST variables should be used instead of TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for where the package is going to run (the host), not what it will be generating output for (the target). The distinction is only really relevant when building canadian cross recipes. Also fix up the host OS detection to account for MinGW by setting CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw to patch this in all the cmake recipes it builds. (From OE-Core rev: 01245db2893e39ffb5d4a00e4689f048d0698974) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/reproducible: Fix error when no git HEADJoshua Watt2020-07-221-8/+17
| | | | | | | | | | | | Fixes an error that occurs when attempting to get the timestamp of the latest commit when there is no HEAD in the git repository. The easiest way to trigger this condition is to use the 'subdir=' option when specifying a 'git://' SRC_URI. (From OE-Core rev: a64caca5b5dbe4a76acd0b5709b2c3e75b245863) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/reproducible: Move to library codeJoshua Watt2020-07-222-87/+98
| | | | | | | | | | Moves most of the python code used for dealing with the source date epoch to library code. (From OE-Core rev: a7ede90955bc0c8bec1cbb3cab498ef2583b2f4e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Add priority/nice information for running processesRichard Purdie2020-07-222-2/+2
| | | | | | | | | | We're seeing failures due to system load. In theory we've set process nice levels which should compensate for this. Add debugging so we can find out if they're being correctly applied. (From OE-Core rev: 1e4e345bba8216b9b5623682206a7dae7cad261c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update to add OFC fcntl lock updatesRichard Purdie2020-07-221-1/+1
| | | | | | | | | This adds in support for the OFC fcntl ioctl lock flags, removing warnings on some more recent linux kernels. (From OE-Core rev: 234168f803bee2e5b0955aabaddb1d967349fb82) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cryptodev-module: Backport a patch to fix build failure with kernel v5.8He Zhe2020-07-222-0/+50
| | | | | | | | | | | | | | | | | | | | Fix the following build failure with linux-yocto-dev zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'? 61 | down_read(&mm->mmap_sem); | ^~~~~~~~ | mmap_base zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'? 77 | up_read(&mm->mmap_sem); | ^~~~~~~~ | mmap_base (From OE-Core rev: fe668065ad7ec83aadfa36fe6ba1ced3db2e3cad) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.11.19 -> 9.11.21Yi Zhao2020-07-221-1/+1
| | | | | | | (From OE-Core rev: c6749532f94f435e6771d66d3fa225e676753478) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: whitelist CVE-2010-10029akuster2020-07-211-0/+2
| | | | | | | | | | | The update via Commit https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/glibc?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1 should have added the whitelist for this CVE removed (From OE-Core rev: 213ac2d345ec6d4ef0daf7a7d8237038a914c491) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>