summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2020-07-22 22:02:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-25 15:11:00 +0100
commitc9caff40ff61c08e24a84922f8d7c8e9cdf8883e (patch)
tree96b4eaeb796bbcc364fa0ec9816557775554b1e8 /meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
parent7c19f30849e9a73a7497d8e6c4719a2e57017086 (diff)
downloadopenembedded-core-c9caff40ff61c08e24a84922f8d7c8e9cdf8883e.tar.gz
net-tools: upgrade to latest revision in upstream repo instead of old debian 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb')
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb108
1 files changed, 108 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb b/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
new file mode 100644
index 0000000000..dcc2218e48
--- /dev/null
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
@@ -0,0 +1,108 @@
+SUMMARY = "Basic networking tools"
+DESCRIPTION = "A collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system"
+HOMEPAGE = "http://net-tools.berlios.de/"
+BUGTRACKER = "http://bugs.debian.org/net-tools"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://ifconfig.c;beginline=11;endline=15;md5=d1ca372080ad5401e23ca0afc35cf9ba"
+
+PV = "1.60-20181103+git${SRCPV}"
+SRCREV = "0eebece8c964e3cfa8a018f42b2e7e751a7009a0"
+SRC_URI = "git://git.code.sf.net/p/net-tools/code;protocol=https \
+ file://net-tools-config.h \
+ file://net-tools-config.make \
+ file://Add_missing_headers.patch \
+ file://Bug_443075-ifconfig.c-pointtopoint_spelling.patch \
+ file://Bug_541172-netstat.c-exit-codes.patch \
+"
+
+S = "${WORKDIR}/git"
+
+inherit gettext
+
+# The Makefile is lame, no parallel build
+PARALLEL_MAKE = ""
+
+PACKAGECONFIG ??= "hostname arp serial plip"
+PACKAGECONFIG[hostname] = ""
+PACKAGECONFIG[arp] = ""
+PACKAGECONFIG[serial] = ""
+PACKAGECONFIG[plip] = ""
+
+do_configure() {
+ # net-tools has its own config mechanism requiring "make config"
+ # we pre-generate desired options and copy to source directory instead
+ cp ${WORKDIR}/net-tools-config.h ${S}/config.h
+ cp ${WORKDIR}/net-tools-config.make ${S}/config.make
+
+ if [ "${USE_NLS}" = "no" ]; then
+ sed -i -e 's/^I18N=1/# I18N=1/' ${S}/config.make
+ fi
+
+ if ${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'true', 'false', d)} ; then
+ echo "#define HAVE_HOSTNAME_TOOLS 1" >> ${S}/config.h
+ echo "#define HAVE_HOSTNAME_SYMLINKS 1" >> ${S}/config.h
+ echo "HAVE_HOSTNAME_TOOLS=1" >> ${S}/config.make
+ echo "HAVE_HOSTNAME_SYMLINKS=1" >> ${S}/config.make
+ fi
+ if ${@bb.utils.contains('PACKAGECONFIG', 'arp', 'true', 'false', d)} ; then
+ echo "#define HAVE_ARP_TOOLS 1" >> ${S}/config.h
+ echo "HAVE_ARP_TOOLS=1" >> ${S}/config.make
+ fi
+ if ${@bb.utils.contains('PACKAGECONFIG', 'serial', 'true', 'false', d)} ; then
+ echo "#define HAVE_SERIAL_TOOLS 1" >> ${S}/config.h
+ echo "HAVE_SERIAL_TOOLS=1" >> ${S}/config.make
+ fi
+ if ${@bb.utils.contains('PACKAGECONFIG', 'plip', 'true', 'false', d)} ; then
+ echo "#define HAVE_PLIP_TOOLS 1" >> ${S}/config.h
+ echo "HAVE_PLIP_TOOLS=1" >> ${S}/config.make
+ fi
+}
+
+do_compile() {
+ # net-tools use COPTS/LOPTS to allow adding custom options
+ oe_runmake COPTS="$CFLAGS" LOPTS="$LDFLAGS"
+}
+
+do_install() {
+ # We don't need COPTS or LOPTS, but let's be consistent.
+ oe_runmake COPTS="$CFLAGS" LOPTS="$LDFLAGS" BASEDIR=${D} INSTALLNLSDIR=${D}${datadir}/locale mandir=${mandir} install
+
+ if [ "${base_bindir}" != "/bin" ]; then
+ mkdir -p ${D}/${base_bindir}
+ mv ${D}/bin/* ${D}/${base_bindir}/
+ rmdir ${D}/bin
+ fi
+ if [ "${base_sbindir}" != "/sbin" ]; then
+ mkdir ${D}/${base_sbindir}
+ mv ${D}/sbin/* ${D}/${base_sbindir}/
+ rmdir ${D}/sbin
+ fi
+}
+
+inherit update-alternatives
+
+base_sbindir_progs = "ipmaddr iptunnel mii-tool nameif \
+ ${@bb.utils.contains('PACKAGECONFIG', 'arp', 'arp rarp', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'plip', 'plipconfig', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'serial', 'slattach', '', d)} \
+"
+base_bindir_progs = "ifconfig netstat route \
+ ${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'dnsdomainname domainname hostname nisdomainname ypdomainname', '', d)} \
+"
+
+ALTERNATIVE_${PN} = "${base_sbindir_progs} ${base_bindir_progs}"
+ALTERNATIVE_${PN}-doc += "${@bb.utils.contains('PACKAGECONFIG', 'hostname', 'hostname.1 dnsdomainname.1', '', d)}"
+ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1"
+ALTERNATIVE_LINK_NAME[dnsdomainname.1] = "${mandir}/man1/dnsdomainname.1"
+ALTERNATIVE_PRIORITY[hostname.1] = "10"
+
+python __anonymous() {
+ for prog in d.getVar('base_sbindir_progs').split():
+ d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_sbindir'), prog))
+ for prog in d.getVar('base_bindir_progs').split():
+ d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog))
+}
+ALTERNATIVE_PRIORITY = "100"
+
+BBCLASSEXTEND = "native nativesdk"