aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools
Commit message (Collapse)AuthorAgeFilesLines
* net-tools: Fix installed-vs-shipped for nativesdkrbt/sdkRobert Yang2019-09-261-1/+1
| | | | | | | | | | | | Fixed: $ bitbake nativesdk-net-tools ERROR: nativesdk-net-tools-1.60-26-r0 do_package: QA Issue: nativesdk-net-tools: Files/directories were installed but not shipped in any package: /usr /usr/share /usr/share/man [snip] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* recipes: Remove tab indentations in python codeRobert Yang2018-11-231-4/+4
| | | | | | | Use 4 spaces to replace a tab. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Ensure quilt only operates on local patchesAlex Kiernan2018-08-071-1/+10
| | | | | | | | | | | | | When net-tools is built and the local patches haven't been applied, then `quilt pop -a` will climb parent directories attempting to find a {patches/.pc} directory; if this succeeds then we end up popping off some completely unrelated patches from a parent directory. Ensure that we do have a local patches directory and then turn off the directory climbing so that we avoid this problem. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: refresh patchesRoss Burton2018-03-111-25/+22
| | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: change a '=' to '+='Ming Liu2018-01-261-1/+1
| | | | | | | This avoids other do_patch dependencies being overridden. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: correctly set COPTS and LOPTSJoe Slater2017-11-211-11/+3
| | | | | | | | | COPTS will be ignored if it is defined in the environment. It must be passed directly to make. To be consistent, we pass LOPTS that way, too. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* meta: Drop remnants of uclibc supportRichard Purdie2017-06-161-2/+0
| | | | | | | | | | | | uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Fix build with USE_NLS="no"Jussi Kukkonen2017-04-051-10/+4
| | | | | | | | | | The configuration change was already done for -native but we really want it when USE_NLS is set. Fixes [YOCTO #11285]. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: enable native and nativesdk variantPatrick Ohly2017-03-301-0/+11
| | | | | | | | | | net-tools-native is needed by swtpm-wrappers (in meta-security) because swtpm_setup.sh calls netstat, which cannot be assumed to be present in all Linux installations (for example, it is not in OpenSUSE minimal base). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Place package content as per bitbake environment.Amarnath Valluri2017-03-211-0/+11
| | | | | | | | | | | net-tools Makefile was hardcoded sbin, bin installation paths to /bin and /sbin respectively. This change moves the installed files to appropriate location as per configured bitbake environment. This might be solved much better way by patching Makefile, but that causing build issues, as net-tools recipe is using pre-generated config.{h/status}. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
* net-tools: use update-alternatives for more manpagesPaul Gortmaker2017-03-171-1/+2
| | | | | | | | | | To fix: file /usr/share/man/man1/dnsdomainname.1 conflicts between attempted installs of inetutils-doc-1.9.4-r0.core2_64 and net-tools-doc-1.60+26-r0.core2_64 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-4/+4
| | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: fix building with linux-4.8Jackie Huang2016-10-112-0/+53
| | | | | | | | | | | | | | | | | | | Fix a build error when using the linux-4.8 headers that results in: In file included from .../sysroots/qemuarm64/usr/include/linux/if_tunnel.h:6:0, from iptunnel.c:39: .../qemuarm64/usr/include/linux/ip.h:85:8: error: redefinition of 'struct iphdr' struct iphdr { ^~~~~ In file included from iptunnel.c:29:0: .../qemuarm64/usr/include/netinet/ip.h:44:8: note: originally defined here struct iphdr ^~~~~ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: lib/inet6.c:INET6_rresolve() - various fixesShan Hai2016-07-252-0/+88
| | | | | | | | | Integrate the commit from https://github.com/ecki/net-tools/commit/a70c568b907d23ec2cf7defc81be50c351968f12 to fix a bug which causes the 'netstat -a' to print "[UNKNOWN]" in case of DNS problem instead of IPv6 address. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: Fix rootfs creation errorsDai Caiyun2016-05-221-0/+4
| | | | | | | | | | 1) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc conflicts with file from package coreutils-doc-6.9-r5 2) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc conflicts with file from package coreutils-doc-8.25 Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: Add SCTP option supportLi Zhou2016-03-094-1/+1033
| | | | | | | | | | | Porting three net-tools SCTP related patches from <https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/ 12/Fedora/source/SRPMS/net-tools-1.60-95.fc12.src.rpm> to add support for SCTP option. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Override CFLAGS/LDFLAGS in do_install tooKhem Raj2016-03-061-0/+4
| | | | | | | do_compile does this but do_install needs same env as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Link with libintl on uclibcKhem Raj2016-01-222-0/+104
| | | | | | | | | libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Fix build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* net-tools_1.60-26.bb: Fix do_patch dependency errorLi Xin2016-01-161-0/+1
| | | | | | | | | | | When set PATCHTOOL = "patch" in conf/local.conf an error will occur in the step of do_patch. The error is: "quilt: command not found", so fix the missing dependency. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split Debian-related entries into their own recipesAlexander Kanavin2015-12-081-0/+8
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* net-tools: update to 1.60-25Alexander Kanavin2015-09-031-3/+3
| | | | | | | | This means fetching a newer Debian patchset which adds a few bug/security fixes. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: fix SRC_URIRobert Yang2015-03-161-2/+2
| | | | | | | Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/n/net-tools/net-tools_1.60-25.diff.gz;apply=no;name=patch, attempting MIRRORS if available Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* net-tools: Fix rerunning of do_patch taskRichard Purdie2015-01-231-0/+1
| | | | | | | | | | | Rerunning the do_patch task currently fails. The code is nearly correct but needs to remove the quilt ".pc" directory and move the secondary one into place in order to rerun, not move it into the .pc directory as the code currently does. [YOCTO #7128] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: ifconfig interface:0 del <IP> will remove the aliased IP on IA64Yong Zhang2014-07-232-1/+35
| | | | | | Signed-off-by: Yong Zhang <yong.zhang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Basic recipe formatting fixesPaul Eggleton2014-01-021-2/+2
| | | | | | Fix statement indenting and spacing issues that I happened to notice. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* net-tools: upgrade to v1.60-25Cristian Iorga2013-08-093-3/+2
| | | | | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* net-tools: upgrade to v1.60-24.2Cristian Iorga2013-02-063-3/+3
| | | | | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* net-tools: disable Token Ring and Strip support - both got removed in 3.7 kernelMarcin Juszkiewicz2012-12-192-3/+3
| | | | | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* net-tools: fix license segment md5sum boundaryMarko Lindqvist2012-12-031-1/+1
| | | | | | | | | | Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: cleanup update-alternatives deprecated codeSaul Wold2012-08-151-7/+12
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Use update-alternativesMark Hatle2012-04-241-19/+9
| | | | | | | Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup properly, along with the package provides. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* net-tools: Fix do_patch to be re-executableRichard Purdie2012-04-151-2/+10
| | | | | | | | | | | | This recipe's do_patch was not able to be re-executed due to its custom patching functions. This fixes things so that it can be re-executed. It also fixes the unpack task re-execution by ensuring ${S} is clean before the unpack starts. [YOCTO #2194] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI: Using BPN instaed of PN.Lianhao Lu2011-08-051-2/+2
| | | | | | | | [YOCTO #1333] In multilib cases, PN has the prefix of MLPREFIX. It is not correct to use PN in SRC_URI. We should use the pruned BPN instead. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* net-tools: Switch to using DEBIAN_MIRRORTom Rini2011-03-231-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* recipes-extended: Add Summary informationMark Hatle2010-12-161-1/+2
| | | | | | Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-2/+8
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-273-0/+188
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>