summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-netkit
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Use renamed SKIP_RECIPE varFlagKhem Raj2022-02-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-037-44/+44
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netkit-telnet: Update SRC_URIMingli Yu2021-03-111-1/+1
| | | | | | | | Fix the below do_fetch warning: WARNING: netkit-telnet-0.17-r0 do_fetch: Failed to fetch URL http://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-telnet-0.17.tar.gz, attempting MIRRORS if available Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: inherit update-alternativesMartin Jansa2020-09-181-1/+1
| | | | | | | | | * fixes: netkit-rsh-0.17-r0 do_package_qa: QA Issue: netkit-rsh: recipe defines ALTERNATIVE_netkit-rsh-client but doesn't inherit update-alternatives. This might fail during do_rootfs later! [missing-update-alternatives] netkit-rsh-0.17-r0 do_package_qa: QA Issue: netkit-rsh: recipe defines ALTERNATIVE_netkit-rsh-server but doesn't inherit update-alternatives. This might fail during do_rootfs later! [missing-update-alternatives] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rwho: Convert to ontarget postinstKhem Raj2020-09-011-2/+1
| | | | | | Starting the service is something to be done when its booted on target Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-ftp: Use update-alternatives for ftpKhem Raj2020-09-011-1/+5
| | | | | | So it can live with other providers Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rwho: Use update-alternatives for tftpKhem Raj2020-09-011-1/+5
| | | | | | So it can live along other providers Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rpc: Use update alternatives for rpcinfoKhem Raj2020-09-011-0/+7
| | | | | | This helps it live along rpcbind Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnetd: Fix buffer overflow in netoprintfJulius Hemanth Pitti2020-07-212-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | netoprintf() was not handling a case where return value of vsnprintf is greater than "size"(2nd argument), results in buffer overflow while adjusting "nfrontp" pointer to point beyond "netobuf" buffer. Here is one such case where "nfrontp" crossed boundaries of "netobuf", and pointing to another global variable. (gdb) p &netobuf[8255] $5 = 0x55c93afe8b1f <netobuf+8255> "" (gdb) p nfrontp $6 = 0x55c93afe8c20 <terminaltype> "\377" (gdb) p &terminaltype $7 = (char **) 0x55c93afe8c20 <terminaltype> (gdb) This resulted in crash of telnetd service with segmentation fault. Signed-off-by: Julius Hemanth Pitti <jpitti@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: properly append PACKAGECONFIGKonrad Weihmann2020-06-031-1/+1
| | | | | | | | | | As ??= assignment will be overwritten by += in any case, one can't define a default of PACKAGECONFIG in this recipe. Using _append instead mitigates chances of accidental overwriting the default Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* use weak assignments for PNBLACKLIST in recipe filesRobert P. J. Day2020-05-261-1/+1
| | | | | | | | Make sure PNBLACKLIST assignments in recipe files use weak assignment, so they can be overridden in, for example, local.conf files. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: fix CVE-2020-10188Yi Zhao2020-04-252-0/+113
| | | | | | | | | | | Reference: https://nvd.nist.gov/vuln/detail/CVE-2020-10188 Patch from Fedora: https://src.fedoraproject.org/rpms/telnet/raw/master/f/telnet-0.17-overflow-exploit.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: Use alternatives to avoid manpage conflictOvidiu Panait2020-03-311-0/+3
| | | | | | | | | Fix the following manpage installation conflict: * check_data_file_clashes: Package netkit-telnet-doc wants to install file /usr/share/man/man8/telnetd.8 But that file is already provided by package * inetutils-doc Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rwho: Add logic to apply patches from tarballKhem Raj2020-03-291-5/+29
| | | | | | | This recipe fetches from debian archives, therefore we need logic to apply the patches which are part of tarball Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-ftp: clean in configure step brokenJeremy Puhlman2020-02-271-0/+2
| | | | | | | | | | | | | DEBUG: Executing shell function autotools_preconfigure | NOTE: make clean | (cd ftp && make clean) | make[1]: Entering directory '/project/tmp/work/i586-oe-linux/netkit-ftp/0.17-r0/netkit-ftp-0.17/ftp' | Makefile:3: ../MCONFIG: No such file or directory | make[1]: *** No rule to make target '../MCONFIG'. Stop. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rwho: Include stdint.h for int32_tKhem Raj2019-11-061-10/+11
| | | | | | | | | | This ensures that when libc does not include stdint.h indirectly then it still can compile Fixes | ../include/protocols/rwhod.h:57:2: error: unknown type name 'int32_t'; did you mean 'uint32_t'? Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of netkit-telnet is BSD-4-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rwho: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of netkit-rwho is BSD-4-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rusers: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of netkit-rusers is BSD-3-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-ftp: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of netkit-ftp is BSD-4-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd,netkit-rusers: Blacklist packagesKhem Raj2019-09-071-0/+1
| | | | | | These fail to build always Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = ↵Adrian Bunk2019-08-293-5/+2
| | | | | | | | | | | | 'null' This gives users a proper error message when trying to build a known non-building package. netkit-rsh already had COMPATIBLE_HOST_libc-musl = 'null'. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rusers: Fix cross-build after glibc dropped rpcKhem Raj2019-08-122-27/+61
| | | | | | Remove runtime checks from configure script which wont run correctly Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rusers: Depend on rpcsvc-proto-native for rpcgen toolKhem Raj2019-08-081-1/+1
| | | | | | | | | | Fixes | rup.c:51:10: fatal error: 'rstat.h' file not found | #include "rstat.h" | ^~~~~~~~~ | 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rusers: Add dep on rpcsvc-proto for rpc headersKhem Raj2019-07-301-1/+1
| | | | | | | | | | | | | needs rpcsvc/rstat.h which is no longer in libc but provided by separate package now Fixes up.c:51:10: fatal error: rstat.h: No such file or directory 51 | #include "rstat.h" | ^~~~~~~~~ compilation terminated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: add rconflictsChangqing Li2019-05-291-0/+1
| | | | | | | | | | fix below error: file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586 file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: add tag to CVE patchQi.Chen@windriver.com2019-05-071-0/+2
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: security fixesYi Zhao2019-04-162-0/+34
| | | | | | | | | | | | | | Fix CVE-2019-7282, CVE-2019-7283 References: https://nvd.nist.gov/vuln/detail/CVE-2019-7282 https://nvd.nist.gov/vuln/detail/CVE-2019-7283 Patch from: https://sources.debian.org/src/netkit-rsh/0.17-20/debian/patches/fix-CVE-2018-20685-and-CVE-2019-6111.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: don't build under muslTom Rini2019-03-141-0/+2
| | | | | | | | | Uses iruserok and ruserok which are GNU extensions available in glibc but not in musl Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: fix qa warnings of alternative targetKai Kang2018-11-021-0/+1
| | | | | | | | | | | | | | | | | | | When build lib32-netkit-telnet that multilib is enabled, it shows qa warnings of alternative target: | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: | alternative target (/usr/bin/telnet or /usr/bin/telnet.netkit-telnet) | does not exist, skipping... | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: NOT | adding alternative provide /usr/bin/telnet: | /usr/bin/telnet.netkit-telnet does not exist | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: alt_link | == alt_target: /usr/bin/telnet == /usr/bin/telnet Set ALTERNATIVE_TARGET to fix the issue. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: update SRC_URIChangqing Li2018-11-011-1/+1
| | | | | | | update SRC_URI since previous is not valid now Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Exclude non-buildable recipes from world for musl buildKhem Raj2018-08-203-0/+9
| | | | | | | These recipes need to be fixed for musl, until they are needed on musl lets remove them from world builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rsh: fix build with glibc-2.28Martin Jansa2018-08-161-1/+1
| | | | | | | | | | * fixes: rexecd.c:79:10: fatal error: crypt.h: No such file or directory ... ld: error: cannot find -lcrypt Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-telnet: Switch to update-alternativesJeremy Puhlman2018-06-141-8/+4
| | | | | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* telnetd: Fix deadlock on cleanupSeiichi Ishitsuka2018-06-122-0/+115
| | | | | | | | | The cleanup function in telnetd is called both directly and on SIGCHLD signals. This triggered a deadlock in glibc and was reproduced in glibc 2.27 while running on a 4.14.30 kernel. Signed-off-by: Seiichi Ishitsuka <ishitsuka.sc@ncos.nec.co.jp> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-rusers: Fix build when libc does not have nis builtinKhem Raj2018-05-172-0/+81
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* recipes: Link with libtirpcKhem Raj2018-05-172-3/+6
| | | | | | | glibc no longer provides rpc implementation Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* netkit-rsh: correct the file attributeMingli Yu2017-10-111-1/+1
| | | | | | | | | Correct the file /etc/pam.d/rsh attribute Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-telnet: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-221-0/+1
| | | | | | Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-rpc: Link libtirpc on muslKhem Raj2017-09-121-0/+4
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-tftp: Fix build with muslKhem Raj2017-09-122-3/+31
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-rwho: Fix build with muslKhem Raj2017-09-123-1/+120
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-ftp: Include sys/types.h for u_long definitionKhem Raj2017-09-082-3/+34
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-telnet: Fix build with hardeningKhem Raj2017-09-082-5/+72
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-rpc: Fix build with hardening flagsKhem Raj2017-09-082-1/+54
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-3/+3
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netkit-ruser: update SRC_URIArmin Kuster2017-02-181-2/+2
| | | | | | | | | | | ERROR: netkit-telnet-0.17-r0 do_checkuri: Fetcher failure for URL: 'ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-0.17.tar.gz'. URL ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-0.17.tar.gz doesn't work ERROR: netkit-telnet-0.17-r0 do_checkuri: Function failed: do_checkuri Debian moved these sources Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-2/+3
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netkit-rsh: fix build issue.Armin Kuster2016-06-012-0/+35
| | | | | | | | | | glibc deprecate union wait and remove support from wait functions https://sourceware.org/ml/libc-alpha/2016-02/msg00342.html change rlogin.c accordingly Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>