summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/ptpd
Commit message (Collapse)AuthorAgeFilesLines
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-01-272-3/+2
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | 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>
* ptpd: Solve memory leak for function NTPDCrequestLi Zhou2020-11-292-0/+41
| | | | | | | | | | | | | | | | | | Solve the memory leak in function NTPDCrequest detected by valgrind tool. Memory leak log example: ==619== 21 bytes in 1 blocks are still reachable in loss record 1 of 3 ==619== at 0x4A09DB0: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==619== by 0x43512E: NTPDCrequest (ntpdcontrol.c:255) ==619== by 0x43512E: NTPDCquery.isra.1 (ntpdcontrol.c:683) ==619== by 0x4359EE: ntpdInControl (ntpdcontrol.c:807) ==619== by 0x4364F5: ntpServiceUpdate (timingdomain.c:622) ==619== by 0x436935: timingDomainUpdate (timingdomain.c:756) ==619== by 0x4334A7: protocol (protocol.c:263) ==619== by 0x402BAE: main (ptpd.c:131) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptpd: fix upstream check URLPierre-Jean Texier2020-04-041-0/+2
| | | | | | | | | | | | Fixes: $: devtool check-upgrade-status ptpd <...> INFO: ptpd 2.3.1 UNKNOWN_BROKEN None Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptpd: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of ptpd is BSD-2-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptpd: fixed the issue of ptpd2 daemon takes 100% CPUHaiqing Bai2018-12-062-0/+69
| | | | | | | | | | | | The ptpd2 daemon consumes 100% CPU (of a single core) after some amount of stable runtime. This fix added minimum POSIX timer interval to prevent from timers firing to quickly for the process to handle, resulting in 100% CPU and endless signal queue. Reference: https://github.com/ptpd/ptpd/blob/master/ChangeLog Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptpd: add pkgconfig to inheritMax Krummenacher2017-03-241-1/+1
| | | | | | | | | ptpd is patched to use 'pkg-config libpcap', so inherit pkgconfig to have it available in RSS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* remove some more True options to getVar callsAndre McCurdy2017-02-131-1/+1
| | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls. Fix a small number of cases not addressed by the original patch: http://git.openembedded.org/meta-openembedded/commit/?id=efd3696e70a6603f1a45faa4a172433514f0a487 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ptpd: 2.3.1-rc2->2.3.1leimaohui2015-09-112-625/+3
| | | | | | | | | | Delete ptpd-add-dpaa-etsec-support.patch.The reason is the following: - The ptpd-add-dpaa-etsec-support.patch does not suitable for new version. - The upstream didn't accept this patch. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.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>
* ptpd: use pkgconfigJoe MacDonald2015-02-272-1/+37
| | | | | | | pcap-config should not be used for determining how to build against libpcap in a yocto environment. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ptpd: add systemd supportedBian Naimeng2015-02-233-2/+36
| | | | | | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ptpd: add FSL QorIQ DPAA and eTSEC supportZhenhua Luo2014-11-192-1/+624
| | | | | | | | | | This patch is for Freescale QorIQ DPAA and eTSEC which support 1588 hardware assist module, and mainly uses SO_TIMESTAMPING API for HW timestamp and PHC API. Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ptpd: update to version 2.3.1-rc2Joe Slater2014-09-231-4/+14
| | | | | | | | | | | | Add a little processing to find correct directory for source upstream. Update LIC_FILES_CHKSUM since the latest package doesn't include a COPYRIGHT file anymore. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ptpd: update to 2.3.0Franklin S. Cooper Jr2014-06-242-47/+11
| | | | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: Unify indentationMartin Jansa2013-04-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* ptpd-2.2.0: drop the patch adjust-daemon-name.patchJackie Huang2012-11-192-63/+3
| | | | | | | | | | | | The patch adjust-daemon-name.patch is to change the daemon name ptpd2 back to ptpd, which broke some functionality: root@qemu0:~# ptpd -g Error: 1 ptpd daemon(s) detected in parallel, but we were not expecting any. Exiting. so drop it and use the default daemon name ptpd2. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* ptpd: update to 2.2.0jackie huang2012-10-013-0/+125
ptpd: update to 2.2.0 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>