Commit Graph

26 Commits

Author SHA1 Message Date
Zhang Peng 732f5800cf gnuplot: fix CVE-2025-31180
CVE-2025-31180:
A flaw was found in gnuplot. The CANVAS_text() function may lead to a
segmentation fault and cause a system crash.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-31180]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/b2343fd02c4fff94957f0151b73daa0a1f7fec49/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08:00
Zhang Peng 02d046e20d gnuplot: fix CVE-2025-31179
CVE-2025-31179:
A flaw was found in gnuplot. The xstrftime() function may lead to a
segmentation fault, causing a system crash.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-31179]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/ed647df512786b3c94429dd5c864715301e03ea5/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08:00
Zhang Peng 3d810d7d3b gnuplot: fix CVE-2025-31178
CVE-2025-31178:
A flaw was found in gnuplot. The GetAnnotateString() function may lead to a
segmentation fault and cause a system crash.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-31178]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/b78cc829a18e9436daaa859c96f3970157f3171e/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08:00
Zhang Peng dd4b10de44 gnuplot: fix CVE-2025-31177
CVE-2025-31177:
gnuplot is affected by a heap buffer overflow at function utf8_copy_one.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-31177]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/226809aebb345e74d371bb43a2b434b490be527a/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08:00
Zhang Peng a3826c4999 gnuplot: fix CVE-2025-31176
CVE-2025-31176:
A flaw was found in gnuplot. The plot3d_points() function may lead to a segmentation
fault and cause a system crash.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-31176]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/b456a3ef618f55a20b3071d336cb20514274f1d4/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08:00
Zhang Peng 9d3537ef42 gnuplot: fix CVE-2025-3359
CVE-2025-3359:
A flaw was found in GNUPlot. A segmentation fault via IO_str_init_static_internal
may jeopardize the environment.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2025-3359]

Upstream patches:
[https://sourceforge.net/p/gnuplot/gnuplot-main/ci/a5897feadc4be73b0ffd8458556c47117bd24d03/]

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-09-12 08:15:12 +08: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
Preeti Sachan 0bb3d4b6a0 gnuplot: inherit pkgconfig
Inherited pkgconfig to fix pngcairo terminal compilation enabled
by default with pkgconfig option PACKAGECONFIG[cairo]

Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-19 09:45:38 -07:00
Khem Raj 150581b637 gnuplot: Disable libcerf and fix typo
We do not carry recipe for libcerf, so disable it explicitly so the
native builds are also a bit more deterministic.

Fix a typo in knob to disable wxwidgets

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-10 10:05:35 -07:00
Wang Mingyu 2d41a2195a gnuplot: upgrade 5.4.2 -> 5.4.3
Changelog:
=========
NEW "set pm3d border retrace" will use quadrangle color for the border
NEW "nogrid" flag for plots to opt out of dgrid3d processing
NEW option "above|below y=<val>" for "plot with fillsteps"
NEW "set style histogram nokeyseparators" suppress blank key entries Bug #2473
CHANGE always allow palette color for non-plot elements of 2D plot
FIX contours were incorrectly allocated space in the key even if "notitle"
FIX evaluation of unary minus in front of ternary operator Bug #2468
FIX arm and s390 require "signed char" Bugs #2467 #2450
FIX range errors if "smooth csplines" applied with x-axis reversed Bug #2465
FIX handle various corner cases found by fuzzing
FIX textcolor should accept "linetype N" Bug #2459
FIX Windows: handling of Window messages for piped input Bugs #2204 #2412
FIX aquaterm: auto-configuration use of Frameworks Bug #2419
FIX qt: pm3d quadrangle borders for transparent surfaces
FIX png/gif: gdlib auto-configuration issues
FIX dumb: limit enhanced text markup to single-line vertical displacement

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 08:30:51 -08:00
Andreas Müller 60e962ace9 gnuplot: upgrade 5.4.1 -> 5.4.2
Changes in 5.4.2
    NEW in "using" context, $# means "number of columns in current data line"
    NEW define on program entry: I = sqrt(-1) = {0.,1.}
    NEW support input data that uses epidemiological date-week formats
    NEW optional fillcolor for "set key opaque"
    NEW provide and document use of a plugin to provide uigamma function
    CHANGE much improved domain and precision for igamma function
    CHANGE generate only one key entry per multi-dataset input file Bug #2380
    CHANGE (Windows): attempt to convert unicode on command line to UTF-8
    CHANGE clip `with image` to plot boundary in 2D plots
    CHANGE In gprintf format "%c", add no space for a null prefix Bug #2266
    CHANGE Make auto-placement of left border less sensitive to plot size Bug #2415
    FIX time formats %U %W Bug #2390
    FIX left-justification of titles in splot with user-specified key position
    FIX clipping of filled polygons that have only 1 or 2 vertices Bug #2400
    FIX "set tics front" unexpectedly made all grid lines invisible
    FIX more terminals support requested linewidth for textbox borders
    FIX indexing of multiple matrix data sets in a single input file
    FIX do not inject extra '\n' into input stream after 'set term' Bug #2292
    FIX cairo terminals: Do not lose font info during multi-line enhanced text
    FIX cairo terminals (Windows): ignore "text scaling" from user screen settings
    FIX pm: better mousing and font handling
    FIX win: instabilities associated with changing window size Bug #2301 #2304
    FIX wxt: use of multiple plot windows from single-threaded wxt terminal
    FIX qt: prevent creation of zombie gnuplot_qt process Bug #2188

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 08:17:18 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
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>
2021-08-03 10:21:25 -07:00
Andreas Müller 861a983eae gnuplot: upgrade 5.2.8 -> 5.4.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-22 05:54:00 -07:00
Khem Raj 92441f9d6a meta-oe: Add leading whitespace for append operator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:25:53 -08:00
Wang Mingyu b13e4afdf0 gnuplot: upgrade 5.2.2 -> 5.2.8
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 00:50:59 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Hongxu Jia ddf939a1cb gnuplot: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Andreas Müller 2a3bc6d719 gnuplot: update 5.0.5 -> 5.2.2 and rework
* merge gnuplot.inc to recipe - nothing else requres gnuplot.inc
* add native build required to build all kind of docs
* patches were far from applying so they were reworked:
  * subdirs.patch -> 0001...-0002...
  * lua-loadlibs-configure-in-fix.patch: Test with lua in PACKAGECONFIG without
    issues
* qt4 packageconfig was replaced by qt5 (build tested)
* make desktop file work

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:45:10 -07:00
Qi.Chen@windriver.com 2372fb6412 gnuplot: upgrade to 5.0.5
Add PACKAGECONFIG for 'qt4' and default to not enable it as there's
do_compile failure when qt4 is enabled.

The obsolete '--without-lisp-files' option is removed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:42 +01:00
Martin Jansa 37a841321d recipes: add x11 to required DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Robert Yang 05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Stephen Arnold 797b517efc gnuplot: added upstream license file and updated recipe to match
This fixes QA warnings about missing license file and updates the license
type to match custom license file.

Upstream-Status: Inappropriate (distribution/packaging fix)

Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00
Tim Orling 8b29bc67af gnuplot: upgrade to 4.6.5
* automake patch from 4.4.4 is no longer needed
* PACKAGECONFIG for lua (lua term is only useful for LaTeX)
* linking problems with dlopen, etc. in lua loadlibs.c fixed
  ** this same problem was seen in jansa world builds for 4.4.4
  ** I am not able to replicate that error on 4.4.4

NOTE: qt is supported by this version, but I was not able to
figure out the configuration...

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00
Martin Jansa 784427fd2d gnuplot: Add PACKAGECONFIG for cairo
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:14:32 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* 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>
2013-04-15 16:23:17 +02:00
Martin Jansa edd4f5c9bb gnuplot: import from meta-smartphone
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-31 00:14:54 +02:00