summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
Commit message (Collapse)AuthorAgeFilesLines
* netkit: Drop old and no upstreamArmin Kuster2023-11-151-74/+0
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: Fix CVE-2022-39028Sanjay Chitroda2023-09-221-0/+1
| | | | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2022-39028 https://security-tracker.debian.org/tracker/CVE-2022-39028 Upstream Patch: https://cgit.freebsd.org/src/commit/?id=6914ffef4e23 - Patch is adopted from FreeBSD, as same vulnerability of telnetd is applicable to FreeBSD and netkit-telnet packages. Signed-off-by: Sanjay Chitroda <sanjay.chitroda@einfochips.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: Drop using register storage class keywordKhem Raj2023-01-161-0/+1
| | | | | | | Its dropped since c++17 and modern compilers have started to error on its use Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netkit-telnet: Add time.h from strftime/time prototypesKhem Raj2022-09-071-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | 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-telnetd: Fix buffer overflow in netoprintfJulius Hemanth Pitti2020-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-telnet: fix CVE-2020-10188Yi Zhao2020-04-251-0/+1
| | | | | | | | | | | 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-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>
* Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = ↵Adrian Bunk2019-08-291-1/+1
| | | | | | | | | | | | '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-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-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-201-0/+3
| | | | | | | 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-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-121-0/+1
| | | | | | | | | 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-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-telnet: Fix build with hardeningKhem Raj2017-09-081-5/+6
| | | | | | 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: Add to generate telnetlogin.Mingli Yu2016-02-221-0/+3
| | | | | | | | | | | | | | * Add oe_runmake line for telnetlogin to make the telnetlogin folder to be built. * Add FILES_${PN} line to let ${libdir}/telnetlogin to be included in netkit-telnet package. * Customize "install -D -m 4750 ${B}/telnetlogin/telnetlogin ${D}/${libdir}/telnetlogin" to let the telnetlogin to be installed under /usr/lib64 on 64bit system. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netkit-telnet: support the cross-compileRoy Li2015-05-111-1/+5
| | | | | | | | when check the CC, only compile the object by CC, not run the object. MCONFIG file includes more configuration, we can not clear it Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netkit-telnet: add new recipeLi xin2015-02-111-0/+52
netkit-telnet includes the telnetd and client. telnetd: daemon for telnet protocol. telnet: client for telnet protocol. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>