13 Commits

Author SHA1 Message Date
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Martin Jansa 2487442cfb ntpsec, net-snmp: drop ${PE}, ${PR} from /usr/src/debug paths
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-20 09:30:39 -08:00
Lee Chee Yang 0ad3c58736 ntpsec: 1.2.2 -> 1.2.2a
Fix a crash in ntpd if NTS is disabled and an NTS-enabled client request
(mode 3) is received. (CVE-2023-4012) #794

https://gitlab.com/NTPsec/ntpsec/-/releases/NTPsec_1_2_2a

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-22 07:36:16 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
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>
2023-06-21 09:15:20 -07:00
Alex Kiernan 61598be67d ntpsec: Upgrade 1.2.1 -> 1.2.2
Drop backported patches, drop `wscript: Widen the search for tags` as
upstream has merged something similar which means devtool builds now
work.

Add BISONFLAGS support to fix build reproducbility issue.

Drop `--debug` which generates internal debug info.

License-Update: License files moved to separate directory
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 08:51:25 -08:00
Khem Raj 375be9fd60 ntpsec: Add -D_GNU_SOURCE and fix building with devtool
wscript detects .git directory and if its present them invokes git
describe --dirty which does not work on the devtool created git
repository, since its synthesized.

Add GNU_SOURCE define to get strptime() definition

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 09:55:28 -07:00
Alex Kiernan 9444f67b26 ntpsec: Add UPSTREAM_CHECK_URI
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-06 09:07:11 -07:00
Alex Kiernan ccab46e8bf ntpsec: Add glibc-2.34/kernel-5.14 seccomp fixes
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 11:10:02 -08:00
Khem Raj 73acbc2952 ntpsec: Disable seccomp on riscv32
rv32 does not have seccomp support yet.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-02 22:40:22 -08:00
Martin Jansa d6b4f9b460 ntpsec: require x11 in DISTRO_FEATURES
* fixes:
  ERROR: Nothing RPROVIDES 'gnuplot' (but meta-openembedded/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb RDEPENDS on or otherwise requires it)
  gnuplot was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'gnuplot' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['gnuplot']
  NOTE: Runtime target 'ntpsec' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['ntpsec', 'gnuplot']
  NOTE: Runtime target 'ntpsec-python' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['ntpsec-python', 'gnuplot']
  ERROR: Nothing RPROVIDES 'ntpsec-dev' (but meta-openembedded/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'ntpsec-dev'
  NOTE: Runtime target 'ntpsec-dev' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['ntpsec-dev']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-06 12:58:20 -07:00
Khem Raj 1e89f5edc3 ntpsec: Disable documentation
It seems to require asciidoctor and currently does not build
until someone fixes it, disable it for cosnsitency.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-04 10:07:21 -07:00
Khem Raj 00dba6bf6b ntpsec: Disable seccomp on musl/rv32
seccomp on musl is not fully done yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-04 10:07:21 -07:00
Alex Kiernan 57776d013a ntpsec: Add recipe
NTPsec, "a secure, hardened, and improved implementation of Network Time
Protocol derived from NTP Classic, Dave Mills’s original."

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-04 07:43:14 -07:00