summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/tftp-hpa
Commit message (Collapse)AuthorAgeFilesLines
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-242-2/+2
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-01-271-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tftp-hpa: Fix includes for bsd_signal()Khem Raj2022-09-072-0/+40
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-8/+8
| | | | | | | | | | 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>
* tftp-hpa: change the ALTERNATIVE_PRIORITYMingli Yu2020-12-241-1/+1
| | | | | | | | | | | | Both inetutils-tftp and tftp-hpa provide the tftp command and the ALTERNATIVE_PRIORITY of inetutils-tftp is 79 until now. Increase the ALTERNATIVE_PRIORITY of tftp-hpa to 100 to guarantee the tftp command provided by tftp-hpa when both of the packages installed. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tftp-hpa: Fix build with -fno-commonKhem Raj2020-08-132-0/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tftp-hpa: Use alternatives to avoid manpage conflictsOvidiu Panait2020-03-311-0/+5
| | | | | | | | | | | Fix the following manpage conflicts: * check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man1/tftp.1 But that file is already provided by package * tftp-hpa-doc * check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man8/tftpd.8 But that file is already provided by package * tftp-hpa-doc Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tftp-hpa: Add HOMEPAGE info into recipe file.fan.xin2017-09-121-0/+1
| | | | | | Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: Fix PIE build with clangKhem Raj2017-09-122-0/+63
| | | | | | | | | | clang finds a name clash with libc and linker errors out like below tftpd.o: relocation R_ARM_REL32 against external or undefined symbol `__progname@@GLIBC_2.4' can not be used when making a PIE executable; recompile with -fPIC 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>
* tftp-hpa: add systemd unit filesChen Qi2017-09-123-1/+29
| | | | | | | | Add systemd unit files for tftp-hpa. Signed-off-by: Chen Qi <Qi.Chen@windriver.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-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tftp-hpa: fix ALTERNATIVE_PRIORITY to avoid conflictChen Qi2016-12-141-1/+1
| | | | | | | | | Fix ALTERNATIVE_PRIORITY to avoid the same priority of the 'tftp' utility with that from busybox. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: control ipv6 support based on DISTRO_FEATURESJackie Huang2016-09-051-0/+3
| | | | | | | | | Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@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>
* tftp-hpa: fix the empty file writing errorRoy.Li2014-10-212-0/+40
| | | | | | | | | | | make write_behind to return 0 if a empty file is written, to distinguish a true writing failure[on which the write_behind will return -1], then the annoying wrong log will disappear. ____ |Error code 3: Disk full or allocation exceeded ----- Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Revert "tftp-hpa: bug fix on empty file put error"Roy.Li2014-10-212-34/+0
| | | | | | | | | This reverts commit b2eb21a5fbcb065e84ed582e87de21bdc3082f00. It make 3d8520a0b411[tftp-hpa: add error check for disk filled up] unable to work Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: bug fix on empty file put errorzhangxiao2014-09-262-0/+34
| | | | | | | | | | With the feature that checking the disk filled up, the return value of function write_behind was checked and used to detect the disk status. While for empty file, without data being written, this function will return -1 thus the disk filled up error was miss-raised. Fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tftp-hpa: fix a build failureRoy Li2014-06-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | AR is defined as "ar cq" in MCONFIG.in, then "cq" is no longer needed in Makefile of common and libs subdir. #grep AR MCONFIG.in AR = ar cq # #grep AR common/Makefile $(AR) $(LIB) $(OBJS) # But MCONFIG maybe not able to be generated by MCONFIG.in, common/Makefile allows this condition [Note the - before include] #grep MCONFIG common/Makefile -include ../MCONFIG # then AR from building environment is used, but it not included the parameter "cq", and lead to below error, so add the "cq" to AR to fix this issue. i586-wrs-linux-ar libcommon.a tftpsubs. i586-wrs-linux-ar: two different operation options specified Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: bug fix on separated CR and LFZhang Xiao2014-06-152-0/+39
| | | | | | | | | In ascii mode, if the CR and LF was separated into different transfer blocks, This LF will be just dropped instead of replacing the previous CR. Add a checking on the first character to fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tftp-hpa: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_install error: make: *** No rule to make target `install'. Stop. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: Remove PR = r0 from all recipesMartin Jansa2013-11-011-1/+0
| | | | | | | | | | | * Remove all PR = "r0" from all .bb files in meta-oe repo. This was done with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i * We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tftpd-hpa: update default tftpboot locationJoe MacDonald2013-10-291-1/+1
| | | | | | | | | The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is configured to use that directory, but the default points at /svc/tftpboot. Correct that so the default points to a location that exists when the package is installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftpd-hpa: fix premature exitDavid Turgeon2013-10-181-6/+7
| | | | | | | | | | | standalone daemon exits as recipe installs file as tftpd-hpa * Changed script so it can consult /etc/default, as daemon name may be subject to change. * Changed the default name to match the recipe Signed-off-by: David Turgeon <david.turgeon@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* tftp-hpa: add error check for disk filled upRoy.Li2013-09-052-1/+84
| | | | | | | | | Add error check when the write-buffer is finally flushed to the file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* recipes: Unify indentationMartin Jansa2013-04-151-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* meta-networking: Fix erroneous use of "startline" in LIC_FILES_CHKSUMPaul Eggleton2012-12-161-2/+2
| | | | | | | | | "beginline" is the correct parameter name. Checksums have been updated where necessary (i.e. if the beginning line was something other than the default of 1). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tftp-hpa: add from OE-Classic, update and tidy upPaul Eggleton2012-11-2712-0/+572
* Update to 5.2 * Add patches from Fedora * Add DESCRIPTION and better SUMMARY * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Update ALTERNATIVE_* definitions * Handle hardcoded paths in initscript Much of this was done by Joe MacDonald <joe.macdonald@windriver.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>