openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2020
- 1 participants
- 2816 discussions
Hello community,
here is the log from the commit of package 00Meta for openSUSE:Leap:15.2:ARM:Images checked in at 2020-08-31 06:46:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:ARM:Images/00Meta (Old)
and /work/SRC/openSUSE:Leap:15.2:ARM:Images/.00Meta.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "00Meta"
Mon Aug 31 06:46:00 2020 rev:143 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ version_totest ++++++
--- /var/tmp/diff_new_pack.qBx3Xd/_old 2020-08-31 06:46:01.285263613 +0200
+++ /var/tmp/diff_new_pack.qBx3Xd/_new 2020-08-31 06:46:01.289263615 +0200
@@ -1 +1 @@
-1.32
\ No newline at end of file
+1.33
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package 00Meta for openSUSE:Leap:15.2:Images checked in at 2020-08-31 02:45:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Images/00Meta (Old)
and /work/SRC/openSUSE:Leap:15.2:Images/.00Meta.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "00Meta"
Mon Aug 31 02:45:25 2020 rev:486 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ version_snapshot ++++++
--- /var/tmp/diff_new_pack.I4yhjD/_old 2020-08-31 02:45:26.753061123 +0200
+++ /var/tmp/diff_new_pack.I4yhjD/_new 2020-08-31 02:45:26.757061126 +0200
@@ -1 +1 @@
-31.153
\ No newline at end of file
+31.155
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package 00Meta for openSUSE:Leap:15.2:Images checked in at 2020-08-31 01:16:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Images/00Meta (Old)
and /work/SRC/openSUSE:Leap:15.2:Images/.00Meta.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "00Meta"
Mon Aug 31 01:16:26 2020 rev:485 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ version_totest ++++++
--- /var/tmp/diff_new_pack.z8xFjH/_old 2020-08-31 01:16:28.462219269 +0200
+++ /var/tmp/diff_new_pack.z8xFjH/_new 2020-08-31 01:16:28.466219271 +0200
@@ -1 +1 @@
-31.154
\ No newline at end of file
+31.155
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package graphviz for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:22:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/graphviz (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.graphviz.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "graphviz"
Mon Aug 31 00:22:20 2020 rev:3 rq:830065 version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.mkFWX6/_old 2020-08-31 00:22:21.656773019 +0200
+++ /var/tmp/diff_new_pack.mkFWX6/_new 2020-08-31 00:22:21.656773019 +0200
@@ -1 +1 @@
-<link package='graphviz.12963' cicount='copy' />
+<link package='graphviz.13792' cicount='copy' />
1
0
Hello community,
here is the log from the commit of package graphviz.13792 for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:22:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/graphviz.13792 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.graphviz.13792.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "graphviz.13792"
Mon Aug 31 00:22:18 2020 rev:1 rq:830065 version:2.40.1
Changes:
--------
New Changes file:
--- /dev/null 2020-08-06 00:20:10.149648038 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.graphviz.13792.new.3399/graphviz-addons.changes 2020-08-31 00:22:20.156773497 +0200
@@ -0,0 +1,1101 @@
+-------------------------------------------------------------------
+Thu May 28 12:19:07 UTC 2020 - Christian Vögl <christian.voegl(a)suse.com>
+
+- Added graphviz-null_dereference.patch to fix CVE-2018-10196
+ (boo#1093447)
+
+-------------------------------------------------------------------
+Tue Apr 16 16:06:18 UTC 2019 - Christian Vögl <christian.voegl(a)suse.com>
+
+- Added graphivz-malformed_input.patch from commit 839085f8
+ to fix CVE-2019-11023 (boo#1132091)
+
+-------------------------------------------------------------------
+Tue Jan 16 13:50:45 UTC 2018 - dimstar(a)opensuse.org
+
+- Disable building the graphviz-ocaml package: we have no consumer
+ of it, but not building it allows us to elminiate a build cycle.
+
+-------------------------------------------------------------------
+Thu Oct 26 10:01:19 CEST 2017 - pth(a)suse.de
+
+- Reverse last change.
+
+-------------------------------------------------------------------
+Wed Oct 25 10:58:28 CEST 2017 - pth(a)suse.de
+
+- Remove pre_checkin.sh and graphviz-addon.* as they aren't needed
+ anymore.
+
+-------------------------------------------------------------------
+Mon Oct 23 15:57:03 CEST 2017 - pth(a)suse.de
+
+- Replace the recommends for graphviz-gnome by a 'supplements packageand'
+ so that graphviz doesn't pull in all the X11 related stuff on a
+ machine without graphical desktop (bsc#930442).
+
+-------------------------------------------------------------------
+Wed Oct 4 15:43:37 UTC 2017 - dimstar(a)opensuse.org
+
+- Exclude %{_mandir}/man1/smyrna.1%{ext_man} from graphiz' main
+ package, since the man page is packaged in the -smyrna sub
+ package already.
+
+-------------------------------------------------------------------
+Mon Aug 7 11:45:08 UTC 2017 - tchvatal(a)suse.com
+
+- Add bcond for java and ocaml that can be overriden in staging prj
+
+-------------------------------------------------------------------
+Thu Aug 3 12:56:24 UTC 2017 - tchvatal(a)suse.com
+
+- Drop smyrna and gvedit separate spec, now handled by
+ graphviz-addons
+ * Switch graphviz-gvedit to Qt5:
+ + graphviz-qt5.patch
+- Drop graphviz-plugin subkpg in favor of graphviz-addons.spec
+ that is generated from graphviz directly
+- Make sure all patches are applied also in main package so none
+ get lost by accident
+- Refresh patch graphviz-plugins-fix_install_dirs.patch
+- Make sure graphviz php plugins are generated using php7
+ * set the php7 path in graphviz-plugins-fix_install_dirs.patch
+- Remove tkspline from tcl package as it is no longer shipped
+- Make sure the pic/pie is enforced on all the libs/bins
+
+-------------------------------------------------------------------
+Wed Aug 2 12:46:02 UTC 2017 - tchvatal(a)suse.com
+
+- Update to 2.40.1 release:
+ * Remove usage of ast_common.h
+ * network-simplex fixes and optimization (Stephen North)
+ * built-in tred tool now available in the various swig generated
+ language bindings (John Ellson)
+ * number rounding added to SVG renderer (same as PS and TK rounding)
+ to aid regression testing. (John Ellson)
+ * additional regressson test framework, used in Travis CI builds. (Erwin Janssen)
+ * PHP7 support (requires swig-3.0.11 or later). (John Ellson)
+ * Allow user to specify clustering algorithm in gvmap. (Emden Gansner)
+ * Add Sierpinski graph generator to gvgen. (Emden Gansner)
+ * Extensive code cleanup (Erwin Janssen)
+ * Removal of libgd source - use vanilla libgd from separate install
+ * Windows builds (Erwin Janssen)
+ * Appveyor CI for automated Windows build testing (Erwin Janssen)
+ * Travis CI for Fedora/Centos builds (Erwin Janssen)
+ * Added JSON output format, -Tjson (Emden Gansner)
+ * New curved arrowhead, cylinder node shape.
+ * Resolves bugs: 2599, 1172
+ * Add cylinder shape for databases.
+ * Free installed plugins
+ * Update makefile for dot so that the using libpanco_C in the static build include PANGOFT2
+ as well as PANGOCAIRO_LIBS (needed for some versions of Ubuntu)
+ * Add json output format
+ * output class value in svg files
+ * Add plain shape for use with HTML-like labels.
+ * Add icurve arrowhead.
+ * Revert to old, translate to origin semantics in neato, etc. Add flag notranslate if that is
+ what the user desires.
+- Run over with spec-cleaner and convert deps to pkgconfig
+- Fix Group
+- Remove unused pre requirements as there is no pre phase
+- Inline sed changes and do not rely on pipes
+- Do not add needless requires to devel pkg, there are no such stated
+ dependencies in any of the .pc files provided
+- Add pre_checkin.sh scriptlet to allow generating of the extras subpkg
+ instead of having independent spec files
+
+-------------------------------------------------------------------
+Sun May 28 11:46:05 UTC 2017 - bwiedemann(a)suse.com
+
+- Add reproducible.patch to not have binaries depend on build system timings
+
+-------------------------------------------------------------------
+Wed Jun 10 06:54:27 UTC 2015 - mpluskal(a)suse.com
+
+- Remove pangocairo and lasi support as it introduces build cycle
+
+-------------------------------------------------------------------
+Thu Apr 9 07:38:01 UTC 2015 - opensuse.lietuviu.kalba(a)gmail.com
+
+- Build with pangocairo and lasi support.
+
+-------------------------------------------------------------------
+Mon Nov 17 03:14:00 UTC 2014 - Led <ledest(a)gmail.com>
+
+- fix ksh-specific constrictions in gvmap.sh script
+- add patches:
+ + graphviz-2.38.0-fix-gvmap.patch
+
+-------------------------------------------------------------------
+Tue Jul 15 11:33:27 UTC 2014 - toddrme2178(a)gmail.com
+
+- Remove upstream-included patch graphviz-ppc64le_lib64_support.patch
+ from graphviz-plugins.spec
+
+-------------------------------------------------------------------
+Fri May 23 16:46:05 CEST 2014 - pth(a)suse.de
+
+- Fix URL to point to the new location of the sources.
+
+-------------------------------------------------------------------
+Fri May 23 14:23:57 CEST 2014 - pth(a)suse.de
+
+- Update to 2.38.0. Changes since 2.36.0:
+ - Resolve bugs: 2409, 2413, 2417, 2420, 2422, 2423, 2425
+ - Enable packing for dot
+ - Allow scaling to work for all non-dot layouts
+ - Add overline text characteristic.
+ - Fix bugs in gvpr and gv.cpp so edges can be created in subgraphs.
+ - Add edgepaint program for coloring edges to make them easier to
+ tell apart.
+ - Modify neato to avoid unnecessary translations of output. This
+ allows positions given on input to remain the same on output.
+ - Fix swig java package to work and support gv.renderresult.
+ - Fix test for the absence of layout (old test relied on statically
+ allocated Agraphinfo_t).
+ - HTML-like tables and cells can now specify which borders should be drawn.
+ - The fixedsize attribute now takes the value "shape" which allows
+ labels much larger than the node shape.
+
+- Remove graphviz-fix-includes.patch as the fix has been done
+ upstream.
+- Add graphviz-array_overflow.patch to fix an off-by-one error.
+
+-------------------------------------------------------------------
+Tue Feb 4 15:52:00 CET 2014 - pth(a)suse.de
+
+- Update to 2.36,0:
+ (graphviz tracker lives at http://www.graphviz.org/mantisbt/my_view_page.php)
+
+ Fixed bugs:
+ * The xdot pad attribute is documented to have a default value of
+ 0.0555 (inches, equals 0002091:0000004 points). However when no
+ pad attribute was specified, xdot output behaved as though the
+ default was 0 (graphviz tracker 2372).
+ * Graphviz gave incorrect svg when labels contained HTML entities
+ (graphviz tracker 2384).
+ * Building gvedit failed with undefined references (graphviz
+ tracker 2388).
+ * Document that edge[style=tapered] does not support colorList and
+ that edge[style=tapered] does not work with arrowType:none
+ (graphviz tracker 2391).
+ * Use a stronger test for orthogonal routing and, if it fails, revert
+ to line segments for edges (graphviz tracker 2393).
+ * Fix xdot background polygon coordinates being "nan" with no nodes
+ (graphviz tracker 2393).
+ * Circo couldn't rescale a graph using the mindist attribute
+ (graphviz tracker 2395).
+ - Remove old libgraph sources from distributions.
+ - Move master git repo to github.com
+
+ September 15, 2013
+ - Add <S> element for strike-through to HTML-like labels.
+
+ - This version also fixes the security bugs reported in january.
+
+-------------------------------------------------------------------
+Tue Feb 4 13:19:20 CET 2014 - pth(a)suse.de
++++ 904 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.graphviz.13792.new.3399/graphviz-addons.changes
New Changes file:
graphviz.changes: same change
New:
----
graphviz-2.20.2-interpreter_names.patch
graphviz-2.40.1.tar.gz
graphviz-addons.changes
graphviz-addons.spec
graphviz-array_overflow.patch
graphviz-fix-pkgIndex.patch
graphviz-malformed_input.patch
graphviz-no_strict_aliasing.patch
graphviz-null_dereference.patch
graphviz-plugins-fix_install_dirs.patch
graphviz-qt5.patch
graphviz-rpmlintrc
graphviz-smyrna-link_against_glu.patch
graphviz-useless_warnings.patch
graphviz.changes
graphviz.spec
pre_checkin.sh
reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ graphviz-addons.spec ++++++
++++ 639 lines (skipped)
graphviz.spec: same change
++++++ graphviz-2.20.2-interpreter_names.patch ++++++
--- tclpkg/gv/demo/modgraph.lua
+++ tclpkg/gv/demo/modgraph.lua
@@ -1,4 +1,4 @@
-#!/usr/bin/lua
+#!/usr/bin/lua5.1
-- display the kernel module dependencies
++++++ graphviz-array_overflow.patch ++++++
---
lib/common/htmltable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: lib/common/htmltable.c
===================================================================
--- lib/common/htmltable.c.orig 2014-04-13 22:40:25.000000000 +0200
+++ lib/common/htmltable.c 2014-05-23 00:01:41.203062717 +0200
@@ -300,8 +300,8 @@ static void doBorder(GVJ_t * job, htmlda
gvrender_polyline(job, AF+2, 4);
break;
case BORDER_TOP|BORDER_LEFT|BORDER_BOTTOM :
- AF[5] = AF[1];
- AF[6] = AF[2];
+ AF[4] = AF[1];
+ AF[5] = AF[2];
gvrender_polyline(job, AF+3, 4);
break;
case BORDER_LEFT|BORDER_BOTTOM|BORDER_RIGHT :
++++++ graphviz-fix-pkgIndex.patch ++++++
--- tclpkg/mkpkgindex.sh
+++ tclpkg/mkpkgindex.sh
@@ -22,4 +22,4 @@
echo " package require Tk 8.3" >>pkgIndex.tcl
;;
esac
-echo " load [file join \$dir $lib] $2\"" >>pkgIndex.tcl
+echo " load $lib $2\"" >>pkgIndex.tcl
++++++ graphviz-malformed_input.patch ++++++
diff --git a/cmd/tools/graphml2gv.c b/cmd/tools/graphml2gv.c
index f4798089e616b03bb6e612e92bb2a1577be4d0b9..b9fc9730c410c67160713d74f76e4e75bd33f486 100644
--- a/cmd/tools/graphml2gv.c
+++ b/cmd/tools/graphml2gv.c
@@ -468,8 +468,10 @@ startElementHandler(void *userData, const char *name, const char **atts)
if (pos > 0) {
const char *attrname;
attrname = atts[pos];
-
- bind_node(attrname);
+ if (G == 0)
+ fprintf(stderr,"node %s outside graph, ignored\n",attrname);
+ else
+ bind_node(attrname);
pushString(&ud->elements, attrname);
}
@@ -495,21 +497,25 @@ startElementHandler(void *userData, const char *name, const char **atts)
if (tname)
head = tname;
- bind_edge(tail, head);
+ if (G == 0)
+ fprintf(stderr,"edge source %s target %s outside graph, ignored\n",(char*)tail,(char*)head);
+ else {
+ bind_edge(tail, head);
- t = AGTAIL(E);
- tname = agnameof(t);
+ t = AGTAIL(E);
+ tname = agnameof(t);
- if (strcmp(tname, tail) == 0) {
- ud->edgeinverted = FALSE;
- } else if (strcmp(tname, head) == 0) {
- ud->edgeinverted = TRUE;
- }
+ if (strcmp(tname, tail) == 0) {
+ ud->edgeinverted = FALSE;
+ } else if (strcmp(tname, head) == 0) {
+ ud->edgeinverted = TRUE;
+ }
- pos = get_xml_attr("id", atts);
- if (pos > 0) {
- setEdgeAttr(E, GRAPHML_ID, (char *) atts[pos], ud);
- }
+ pos = get_xml_attr("id", atts);
+ if (pos > 0) {
+ setEdgeAttr(E, GRAPHML_ID, (char *) atts[pos], ud);
+ }
+ }
} else {
/* must be some extension */
fprintf(stderr,
@@ -530,7 +536,7 @@ static void endElementHandler(void *userData, const char *name)
char *ele_name = topString(ud->elements);
if (ud->closedElementType == TAG_GRAPH) {
Agnode_t *node = agnode(root, ele_name, 0);
- agdelete(root, node);
+ if (node) agdelete(root, node);
}
popString(&ud->elements);
Current_class = TAG_GRAPH;
diff --git a/lib/cgraph/grammar.y b/lib/cgraph/grammar.y
index 90aa27387100330692861912636fe241b83809b7..127a7241a3a91586fc0f8e7f777d76856e37499e 100644
--- a/lib/cgraph/grammar.y
+++ b/lib/cgraph/grammar.y
@@ -22,6 +22,7 @@ extern void yyerror(char *); /* gets mapped to aagerror, see below */
#endif
static char Key[] = "key";
+static int SubgraphDepth = 0;
typedef union s { /* possible items in generic list */
Agnode_t *n;
@@ -542,6 +543,7 @@ static void startgraph(char *name, int directed, int strict)
static Agdesc_t req; /* get rid of warnings */
if (G == NILgraph) {
+ SubgraphDepth = 0;
req.directed = directed;
req.strict = strict;
req.maingraph = TRUE;
@@ -562,6 +564,11 @@ static void endgraph()
static void opensubg(char *name)
{
+ if (++SubgraphDepth >= YYMAXDEPTH/2) {
+ char buf[128];
+ sprintf(buf,"subgraphs nested more than %d deep",YYMAXDEPTH);
+ agerr(AGERR,buf);
+ }
S = push(S,agsubg(S->g,name,TRUE));
agstrfree(G,name);
}
@@ -569,6 +576,7 @@ static void opensubg(char *name)
static void closesubg()
{
Agraph_t *subg = S->g;
+ --SubgraphDepth;
S = pop(S);
S->subg = subg;
assert(subg);
diff --git a/lib/cgraph/obj.c b/lib/cgraph/obj.c
index 7b1c8c1010d5ae31f7adf116be4d97a831f34bd8..709774e3db42e9069d17b90f855390b19ae8beb2 100644
--- a/lib/cgraph/obj.c
+++ b/lib/cgraph/obj.c
@@ -168,6 +168,8 @@ void agdelcb(Agraph_t * g, void *obj, Agcbstack_t * cbstack)
Agraph_t *agroot(void* obj)
{
+ // fixes CVE-2019-11023 by moving the problem to the caller :-)
+ if (obj == 0) return NILgraph;
switch (AGTYPE(obj)) {
case AGINEDGE:
case AGOUTEDGE:
++++++ graphviz-no_strict_aliasing.patch ++++++
---
lib/vmalloc/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Index: lib/vmalloc/Makefile.am
===================================================================
--- lib/vmalloc/Makefile.am.orig 2013-09-07 03:07:52.000000000 +0200
+++ lib/vmalloc/Makefile.am 2013-09-11 18:51:30.719515603 +0200
@@ -9,6 +9,8 @@ libvmalloc_C_la_SOURCES = malloc.c vmbes
vmprofile.c vmregion.c vmsegment.c vmset.c vmstat.c vmstrdup.c \
vmtrace.c vmwalk.c
+libvmalloc_C_la_CFLAGS = -fno-strict-aliasing
+
${top_builddir}/FEATURE/vmalloc: ${top_srcdir}/lib/vmalloc/features/vmalloc
mkdir -p ${top_builddir}/FEATURE
${top_srcdir}/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run ${top_srcdir}/lib/vmalloc/features/vmalloc > $@
++++++ graphviz-null_dereference.patch ++++++
diff --git a/lib/dotgen/conc.c b/lib/dotgen/conc.c
index dd13e936b..f7307d23b 100644
--- a/lib/dotgen/conc.c
+++ b/lib/dotgen/conc.c
@@ -159,7 +159,11 @@ static void rebuild_vlists(graph_t * g)
for (r = GD_minrank(g); r <= GD_maxrank(g); r++) {
lead = GD_rankleader(g)[r];
- if (GD_rank(dot_root(g))[r].v[ND_order(lead)] != lead) {
+ if (lead == NULL) {
+ agerr(AGERR, "rebuiltd_vlists: lead is null for rank %d\n", r);
+ longjmp(jbuf, 1);
+ }
+ else if (GD_rank(dot_root(g))[r].v[ND_order(lead)] != lead) {
agerr(AGERR, "rebuiltd_vlists: rank lead %s not in order %d of rank %d\n",
agnameof(lead), ND_order(lead), r);
longjmp(jbuf, 1);
++++++ graphviz-plugins-fix_install_dirs.patch ++++++
---
configure | 6 +++---
configure.ac | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -22158,8 +22158,8 @@ test -n "$PHP" || PHP="php"
PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib"
fi
fi
- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
- PHP_INSTALL_DATADIR="/usr/share/php"
+ PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php7/extensions"
+ PHP_INSTALL_DATADIR="/usr/share/php7"
PHP_LIBS=
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
@@ -23834,7 +23834,7 @@ $as_echo "using $TCLCONFIG" >&6; }
$as_echo "$as_me: WARNING: Unable to find tclConfig.sh. The Tcl packages will not be built" >&2;}
use_tcl="No (missing tclConfig.sh)"
fi
- TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}"
+ TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}
fi
if test "x$use_tcl" = "x"; then
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -1102,8 +1102,8 @@ else
PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib"
fi
fi
- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules"
- PHP_INSTALL_DATADIR="/usr/share/php"
+ PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php7/extensions"
+ PHP_INSTALL_DATADIR="/usr/share/php7"
PHP_LIBS=
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PHP_INCLUDES"
++++++ graphviz-qt5.patch ++++++
Index: graphviz-2.40.1/cmd/gvedit/csettings.cpp
===================================================================
--- graphviz-2.40.1.orig/cmd/gvedit/csettings.cpp
+++ graphviz-2.40.1/cmd/gvedit/csettings.cpp
@@ -16,7 +16,7 @@
#include "csettings.h"
#include "qmessagebox.h"
#include "qfiledialog.h"
-#include <QtGui>
+#include <QtWidgets>
#include <qfile.h>
#include "mdichild.h"
#include "string.h"
Index: graphviz-2.40.1/cmd/gvedit/imageviewer.h
===================================================================
--- graphviz-2.40.1.orig/cmd/gvedit/imageviewer.h
+++ graphviz-2.40.1/cmd/gvedit/imageviewer.h
@@ -15,7 +15,7 @@
#ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H
-#include <QtGui>
+#include <QtWidgets>
#include <QMainWindow>
#include <QPrinter>
Index: graphviz-2.40.1/cmd/gvedit/mainwindow.cpp
===================================================================
--- graphviz-2.40.1.orig/cmd/gvedit/mainwindow.cpp
+++ graphviz-2.40.1/cmd/gvedit/mainwindow.cpp
@@ -11,7 +11,7 @@
* Contributors: See CVS logs. Details at http://www.graphviz.org/
*************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include <qframe.h>
#include "mainwindow.h"
#include "mdichild.h"
Index: graphviz-2.40.1/cmd/gvedit/mdichild.cpp
===================================================================
--- graphviz-2.40.1.orig/cmd/gvedit/mdichild.cpp
+++ graphviz-2.40.1/cmd/gvedit/mdichild.cpp
@@ -12,7 +12,7 @@
*************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "mdichild.h"
#include "mainwindow.h"
Index: graphviz-2.40.1/cmd/gvedit/ui_settings.h
===================================================================
--- graphviz-2.40.1.orig/cmd/gvedit/ui_settings.h
+++ graphviz-2.40.1/cmd/gvedit/ui_settings.h
@@ -10,22 +10,22 @@
#ifndef UI_SETTINGS_H
#define UI_SETTINGS_H
-#include <QtCore/QVariant>
-#include <QtGui/QAction>
-#include <QtGui/QApplication>
-#include <QtGui/QButtonGroup>
-#include <QtGui/QComboBox>
-#include <QtGui/QDialog>
-#include <QtGui/QFrame>
-#include <QtGui/QHBoxLayout>
-#include <QtGui/QHeaderView>
-#include <QtGui/QLabel>
-#include <QtGui/QLineEdit>
-#include <QtGui/QPushButton>
-#include <QtGui/QSpacerItem>
-#include <QtGui/QTextEdit>
-#include <QtGui/QVBoxLayout>
-#include <QtGui/QWidget>
+#include <QVariant>
+#include <QAction>
+#include <QApplication>
+#include <QButtonGroup>
+#include <QComboBox>
+#include <QDialog>
+#include <QFrame>
+#include <QHBoxLayout>
+#include <QHeaderView>
+#include <QLabel>
+#include <QLineEdit>
+#include <QPushButton>
+#include <QSpacerItem>
+#include <QTextEdit>
+#include <QVBoxLayout>
+#include <QWidget>
QT_BEGIN_NAMESPACE
Index: graphviz-2.40.1/configure.ac
===================================================================
--- graphviz-2.40.1.orig/configure.ac
+++ graphviz-2.40.1/configure.ac
@@ -2561,10 +2561,10 @@ if test "x$with_qt" != "xyes"; then
use_qt="No (disabled)"
else
- AC_CHECK_PROGS(QMAKE,qmake-qt4 qmake-qt3 qmake,false)
+ AC_CHECK_PROGS(QMAKE,qmake-qt5 qmake,false)
if test "$QMAKE" != "false"; then
- PKG_CHECK_MODULES(QTCORE, [QtCore],[
- PKG_CHECK_MODULES(QTGUI, [QtGui],[
+ PKG_CHECK_MODULES(QTCORE, [Qt5Core],[
+ PKG_CHECK_MODULES(QTGUI, [Qt5Widgets Qt5PrintSupport],[
use_qt="Yes"
],[
use_qt="No (QtGui not available)"
++++++ graphviz-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *
addFilter("graphviz.* shlib-policy-missing-suffix")
addFilter("graphviz.* rpm-buildroot-usage")
addFilter("graphviz.* postun-without-ldconfig")
addFilter("graphviz.* non-devel-buildrequires")
addFilter("graphviz.* %install-no-mkdir-buildroot")
addFilter("graphviz-perl.* perl5-naming-policy-not-applied")
addFilter("graphviz-python.* python-naming-policy-not-applied")
addFilter("graphviz.* devel-file-in-non-devel-package")
++++++ graphviz-smyrna-link_against_glu.patch ++++++
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2013-10-23 17:25:44.020188917 +0200
+++ configure.ac 2013-10-23 17:26:17.637411247 +0200
@@ -2811,7 +2811,7 @@ else
AC_CHECK_HEADER(GL/glut.h,
AC_CHECK_LIB(glut,main,
- [GLUT_LIBS="$GLUT_LIBS -lglut"
+ [GLUT_LIBS="$GLUT_LIBS -lglut $(pkg-config --libs glu)"
use_glut="Yes"
AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
use_glut="No (missing libglut)"
++++++ graphviz-useless_warnings.patch ++++++
---
tclpkg/gv/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Index: tclpkg/gv/Makefile.am
===================================================================
--- tclpkg/gv/Makefile.am.orig 2013-09-05 17:59:52.837755940 +0200
+++ tclpkg/gv/Makefile.am 2013-09-05 18:00:53.696332434 +0200
@@ -20,6 +20,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/lib/cdt \
-I$(top_srcdir)/lib/pathplan
+AM_CXXFLAGS = -Wno-unused-label -Wno-unused-function \
+ -Wno-unused-but-set-variable
LIBS = -lc
BASESOURCES = gv.cpp gv.i gv_builtins.c
++++++ pre_checkin.sh ++++++
#!/usr/bin/sh
cp graphviz.changes graphviz-addons.changes
sed \
-e 's:%bcond_with extras:%bcond_without extras:' \
-e 's#Name: graphviz#Name: graphviz-addons#' \
graphviz.spec > graphviz-addons.spec
++++++ reproducible.patch ++++++
Do not have binaries depend on build system timings
because we are building in VMs anyway
and users might have different hardware
Index: graphviz-2.38.0/lib/sfio/features/sfio
===================================================================
--- graphviz-2.38.0.orig/lib/sfio/features/sfio
+++ graphviz-2.38.0/lib/sfio/features/sfio
@@ -260,9 +260,7 @@ tst output{
unlink(file);
- if(4*mmtm <= 3*rdtm) /* mmap is great! */
- printf("#define _mmap_worthy 2 \n");
- else if(4*mmtm <= 5*rdtm) /* mmap is good */
+ /* mmap is good */
printf("#define _mmap_worthy 1 \n");
return 0;
1
0
Hello community,
here is the log from the commit of package graphviz-addons for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:22:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/graphviz-addons (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.graphviz-addons.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "graphviz-addons"
Mon Aug 31 00:22:17 2020 rev:3 rq:830065 version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.iMghgu/_old 2020-08-31 00:22:18.548774009 +0200
+++ /var/tmp/diff_new_pack.iMghgu/_new 2020-08-31 00:22:18.548774009 +0200
@@ -1 +1 @@
-<link package='graphviz-addons.12963' cicount='copy' />
+<link package='graphviz-addons.13792' cicount='copy' />
1
0
Hello community,
here is the log from the commit of package yast2-network for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:22:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/yast2-network (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.yast2-network.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network"
Mon Aug 31 00:22:08 2020 rev:2 rq:830063 version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.E8NAe8/_old 2020-08-31 00:22:09.344776941 +0200
+++ /var/tmp/diff_new_pack.E8NAe8/_new 2020-08-31 00:22:09.344776941 +0200
@@ -1 +1 @@
-<link package='yast2-network.13483' cicount='copy' />
+<link package='yast2-network.13788' cicount='copy' />
1
0
Hello community,
here is the log from the commit of package yast2-network.13788 for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:22:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/yast2-network.13788 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.yast2-network.13788.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network.13788"
Mon Aug 31 00:22:07 2020 rev:1 rq:830063 version:4.2.75
Changes:
--------
New Changes file:
--- /dev/null 2020-08-06 00:20:10.149648038 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.yast2-network.13788.new.3399/yast2-network.changes 2020-08-31 00:22:08.544777196 +0200
@@ -0,0 +1,10391 @@
+-------------------------------------------------------------------
+Tue Jul 28 08:45:12 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not crash when configuring an IPv6 route through AutoYaST
+ (bsc#1174353)
+- 4.2.75
+
+-------------------------------------------------------------------
+Thu Jul 16 08:45:00 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Permit to write networking config changes without touching the
+ service and other components like the firewall (bsc#1173298)
+- 4.2.74
+
+-------------------------------------------------------------------
+Tue Jul 14 14:07:39 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Permit dot characters in the hostname allowing to specify it as
+ a FQDN (bsc#1173298)
+- 4.2.73
+
+-------------------------------------------------------------------
+Tue Jun 30 13:52:44 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not remove automatically aliases from /etc/hosts during an
+ autoinstallation (bsc#1173213)
+- 4.2.72
+
+-------------------------------------------------------------------
+Fri Jun 19 13:04:18 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Parse correctly udev rules keys using underscores (bsc#1167256)
+- 4.2.71
+
+-------------------------------------------------------------------
+Mon Jun 15 11:53:03 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
+
+- Do not export interfaces <aliases> section when there are no
+ aliases to export (bsc#1172922).
+- 4.2.70
+
+-------------------------------------------------------------------
+Thu Jun 11 08:24:34 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Try to install the wireless-tools package when the package is
+ not installed and the wifi networks are scanned (bsc#1168479)
+- 4.2.69
+
+-------------------------------------------------------------------
+Wed Jun 10 11:10:29 UTC 2020 - José Iván López González <jlopez(a)suse.com>
+
+- Avoid error when accessing to Bond Slaves in s390 (bsc#1172444).
+- 4.2.68
+
+-------------------------------------------------------------------
+Mon Jun 8 08:15:26 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- AutoYaST: Udev rules are written or copied to the target system
+ properly when defined in the profile (bsc#1169663).
+- AutoYaST: Fixed the copy or merge of the linuxrc interfaces
+ configuration when the installation network configuration is
+ selected to be kept.
+- 4.2.67
+
+-------------------------------------------------------------------
+Thu Apr 16 07:19:26 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not try to install kernel packages anymore since ISDN support
+ was already dropped which was the most common use case. Removed
+ also hardware methods used mainly for ISDN config. (bsc#1151187)
+- 4.2.66
+
+-------------------------------------------------------------------
+Thu Apr 2 11:33:49 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
+
+- AutoYaST: Do not try to activate network devices that are already
+ active in S390 systems (bsc#1163149). Related to jsc#SLE-7396.
+- AutoYaST: Allow to use spaces or colons to separate channel IDs
+ in the "chanids" element.
+- 4.2.65
+
+-------------------------------------------------------------------
+Fri Mar 27 14:30:34 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Refresh the current system cached network configuration with the
+ one written avoiding inconsistencies during installation
+ (bsc#1162987)
+- 4.2.64
+
+-------------------------------------------------------------------
+Thu Mar 19 13:52:31 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- AutoYaST: do not crash when defined dns section whitout hostname
+ (bsc#1166953)
+- AutoYaST: handle the dhcp_hostname option in the dns section
+ correctly
+- 4.2.63
+
+-------------------------------------------------------------------
+Wed Mar 18 09:42:36 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do a reload of configured interfaces when writing the
+ configuration during a ssh or vnc installation (bsc#1166287)
+- 4.2.62
+
+-------------------------------------------------------------------
+Tue Mar 10 14:29:36 UTC 2020 - Josef Reidinger <jreidinger(a)suse.com>
+
+- Store ip forwarding set during installation to target system
+ (bsc#1159295)
+- 4.2.61
+
+-------------------------------------------------------------------
+Mon Mar 2 21:01:33 UTC 2020 - Michal Filka <mfilka(a)suse.com>
+
+- bsc#1164506
+ - fixed setting hostname in installer
+- bsc#1164587
+ - fixed setting hostname according to AY profile
+- 4.2.60
+
+-------------------------------------------------------------------
+Mon Mar 2 19:12:32 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not modify interface name when enslaving it (bsc#1165463)
+- 4.2.59
+
+-------------------------------------------------------------------
+Thu Feb 27 20:40:51 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not crash when running the network configuration client if
+ the config has not been read by a previous client (bsc#1101514)
+- 4.2.58
+
+-------------------------------------------------------------------
+Tue Feb 25 12:16:42 CET 2020 - schubi(a)suse.de
+
+- Using SysctlConfig class: Handle sysctl entries in different
+ directories (bsc#1151649).
+- 4.2.57
+
+-------------------------------------------------------------------
+Fri Feb 21 09:53:25 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not crash when checking if a given 'host' is local or not
+ (bsc#1163305)
+- 4.2.56
+
+-------------------------------------------------------------------
+Wed Feb 19 11:52:25 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
+
+- Add a class to represent NTP servers (jsc#SLE-7188).
+- 4.2.55
+
+-------------------------------------------------------------------
+Wed Feb 19 07:34:39 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not crash with an exception when editing the hardware
+ configuration of a new unplugged connection (bsc#1162679)
+
+-------------------------------------------------------------------
+Fri Feb 7 17:31:31 UTC 2020 - Michal Filka <mfilka(a)suse.com>
+
+- bsc#1162271
+ - fixed validation of hostname
+- 4.2.54
+
+-------------------------------------------------------------------
+Fri Feb 7 15:50:13 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Fix the installation proposal text reflecting the network
+ configuration changes (bsc#1162796)
+- 4.2.53
+
+-------------------------------------------------------------------
+Thu Feb 6 15:48:23 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Prevent assignation of values not defined in the AutoYaST profile
+ when reading the interfaces section (bsc#1162671)
+- 4.2.52
+
+-------------------------------------------------------------------
+Tue Feb 4 19:06:52 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Do not break when reading interface config files with trailing
+ spaces (bsc#1161300)
+- 4.2.51
+
+-------------------------------------------------------------------
+Mon Feb 3 10:44:31 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
+
+- Fix connection configuration summary when using a remote
+ IP address (bsc#1162483)
+- 4.2.50
+
+-------------------------------------------------------------------
+Fri Jan 31 07:23:15 UTC 2020 - Knut Anderssen <kanderssen(a)suse.com>
++++ 10194 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.yast2-network.13788.new.3399/yast2-network.changes
New:
----
yast2-network-4.2.75.tar.bz2
yast2-network.changes
yast2-network.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
#
# spec file for package yast2-network
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: yast2-network
Version: 4.2.75
Release: 0
Summary: YaST2 - Network Configuration
License: GPL-2.0-only
Group: System/YaST
URL: https://github.com/yast/yast-network
Source0: %{name}-%{version}.tar.bz2
# testsuite
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.15
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
#for install task
BuildRequires: yast2-storage-ng
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
# CFA::SysctlConfig
BuildRequires: yast2 >= 4.2.67
BuildRequires: yast2-packager >= 4.0.18
# Product control need xml agent
BuildRequires: yast2-xml
# cfa for parsing hosts
BuildRequires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
# lenses are needed to use cfa
BuildRequires: augeas-lenses
PreReq: /bin/rm
#netconfig (FaTE #303618)
Requires: sysconfig >= 0.80.0
Requires: yast2-proxy
Requires: yast2-storage-ng
# CFA::SysctlConfig
Requires: yast2 >= 4.2.67
# Packages::vnc_packages
Requires: augeas-lenses
Requires: yast2-packager >= 4.0.18
Requires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
# BusID of all the cards with the same one (bsc#1007172)
Requires: hostname
Requires: hwinfo >= 21.35
Requires: yast2-ruby-bindings >= 1.0.0
Requires: yast2-xml
# testsuite
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
# carrier detection
Conflicts: yast2-core < 2.10.6
Obsoletes: yast2-network-devel-doc <= 3.1.154
Provides: yast2-network-devel-doc = %{version}
BuildArch: noarch
%build
%description
This package contains the YaST2 component for network configuration.
%prep
%setup -q
%check
%yast_check
%install
%yast_install
%yast_metainfo
%files
%{yast_yncludedir}
%{yast_clientdir}
%{yast_moduledir}
%{yast_desktopdir}
%{yast_scrconfdir}
%{yast_agentdir}
%{yast_schemadir}
%{yast_libdir}
%{yast_ydatadir}
%{yast_icondir}
%{yast_metainfodir}
%license COPYING
%doc %{yast_docdir}
%changelog
1
0
Hello community,
here is the log from the commit of package mariadb.13787 for openSUSE:Leap:15.2:Update checked in at 2020-08-31 00:21:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/mariadb.13787 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.mariadb.13787.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb.13787"
Mon Aug 31 00:21:55 2020 rev:1 rq:830062 version:10.4.14
Changes:
--------
New Changes file:
--- /dev/null 2020-08-06 00:20:10.149648038 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.mariadb.13787.new.3399/mariadb.changes 2020-08-31 00:22:03.012778958 +0200
@@ -0,0 +1,3383 @@
+-------------------------------------------------------------------
+Thu Aug 20 08:17:53 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- Update to 10.4.14 [bsc#1175596]
+ * release notes and changelog:
+ https://mariadb.com/kb/en/library/mariadb-10414-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10414-changelog
+ * fixes for the following security vulnerabilities: none
+ * the update fixes [bsc#1174559] and [bsc#1173516] (MariaDB crashes
+ at db_sync from Keystone)
+- refresh mariadb-10.2.4-fortify-and-O.patch
+- fix patch sequence
+- tune the testsuite to avoid randomly failing tests
+- update suse_skipped_tests.list
+
+-------------------------------------------------------------------
+Thu May 28 12:12:54 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- Build with oqgraph by default for all codestreams [jsc#SLE-12253]
+
+-------------------------------------------------------------------
+Fri May 22 14:46:36 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- Update to 10.4.13
+ * release notes and changelog:
+ https://mariadb.com/kb/en/library/mariadb-10413-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10413-changelog
+ * fixes for the following security vulnerabilities:
+ CVE-2020-2752, CVE-2020-2812, CVE-2020-2814, CVE-2020-2760,
+ CVE-2020-13249
+- fixes [bsc#1168380] (the same as [bsc#1166781])
+ MDEV-21244 mysql_upgrade creating empty global_priv table support
+ upgrades from 5.2 privilege tables
+- drop specfile "hacks" as things work correctly in upstream now:
+ * renaming tmpfiles.conf -> mariadb.conf
+ * installing pam_user_map.so to /lib64/security for non 32bit
+ architectures
+ * sysusers.conf was renamed to mariadb.conf
+- update suse_skipped_tests.list
+
+-------------------------------------------------------------------
+Mon Apr 27 16:42:24 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- move mariadb-client-test from client subpackage to test subpackage
+ so the symlink from mariadb-client-test -> mysql_client_test works
+ [bsc#1170204]
+
+-------------------------------------------------------------------
+Mon Mar 9 12:24:01 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- update the list of the skipped tests
+
+-------------------------------------------------------------------
+Wed Mar 4 15:10:44 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- test macros: clarify who is admin and user of the database,
+ fix build with 10.4
+- modified sources
+ % macros.mariadb-test
+
+-------------------------------------------------------------------
+Fri Feb 21 14:21:22 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- disable testing with rpm macros as it does not work as for 10.4,
+ needs to be investigated
+- remove @VERSION@ from mariadb.service and mariadb@.service
+
+-------------------------------------------------------------------
+Tue Feb 4 13:10:24 UTC 2020 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- update to 10.4.12 [jsc#SLE-8269]
+ * Changes & Improvements
+ https://mariadb.com/kb/en/changes-improvements-in-mariadb-104/
+ https://mariadb.com/kb/en/changes-improvements-in-mariadb-103/
+ * Fixes for the following security vulnerabilities:
+ CVE-2020-2574
+ * don't let mysql_install_db set SUID bit for auth_pam_tool
+ in rpm/deb packages CVE-2020-7221 [bsc#1160868]
+- pack pam_user_map.so module in the /%{_lib}/security directory
+ and user_map.conf configuration file in the /etc/security directory
+- fix race condition with mysql_upgrade_info status file by moving
+ it to the location owned by root (/var/lib/misc) CVE-2019-18901
+ [bsc#1160895]
+- move .run-mysql_upgrade file from $datadir/.run-mysql_upgrade
+ to /var/lib/misc/.mariadb_run_upgrade so the mysql user can't
+ use it for a symlink attack [bsc#1160912]
+- change -DWITH_COMMENT and -DCOMPILATION_COMMENT to be
+ SUSE/openSUSE independent
+- enhance mariadb.service and mariadb@.service with various options
+ (Documentation=, User=, Group=, KillSignal=, SendSIGKILL=,
+ Restart=, RestartSec=, CapabilityBoundingSet=, ProtectSystem=,
+ ProtectHome=, PermissionsStartOnly= and UMask=) [bsc#1160878]
+- mysql-systemd-helper: use systemd-tmpfiles instead of shell
+ script operations for a cleaner and safer creating of /run/mysql
+ [bsc#1160883]
+- pack mariadb variants of the mysql binaries (e.g. mariadb-dumpslow
+ is a symlink to mysqldumpslow and the like)
+- update suse_skipped_tests.list
+- _constraints: increase physicalmemory value
+- package auth_pam_tool setuid binary properly
+- add cracklib-password-check subpackage but do not build it right
+ now (cracklib-dict-full >= 2.9.0 is not available yet)
+- add rcmariadb compat link
+- add mariadb-rpmlintrc file
+- do not move my_safe_process to bindir but use rpmlint
+ arch-dependent-file-in-usr-share exception for it (this file
+ is used just for the testing and it doesn't have to be in bindir
+- added rpm test macros: %mysql_testserver_start,
+ %mysql_testserver_cconf, %mysql_testserver_stop
+ First two consuments are python-sortinghat and python-mysqlclient.
+- remove sql_mode from my.ini/my.cnf as NO_ENGINE_SUBSTITUTION and
+ STRICT_TRANS_TABLES are already set by default from version
+ 10.2.4 [bsc#1144314]
+- add "BuildRequires: python3" as some tests and myrocks_hotbackup
+ script need python3. Make the PYTHON_SHEBANG value configurable
+ [bsc#1142909]
+- add "Requires: python3-mysqlclient" that is needed by
+ myrocks_hotbackup script
+- remove "innodb_file_format" option from my.ini (my.cnf) file that
+ was removed in MariaDB 10.3.1. Also remove "innodb_file_per_table=ON"
+ option that is by default ON and it's redundant now.
+- Use FAT LTO objects in order to provide proper static library.
+- refresh README.install and suse-test-run
+- rename libmysqld subpackage (embedded library) to libmariadbd as
+ libmysqld.so was renamed to libmariadbd.so (MDEV-14953)
+- simplify removing static libs (we don't need to have .static)
+- add perl(Memoize) and perl(Symbol) to BuildRequires and Requires
+ that are needed for tests
+- replace Requires pwdutils with shadow
+- build RocksDB only for x86_64 as other platforms are not supported
+- add the following patches
+ * add mariadb-10.2.19-link-and-enable-c++11-atomics.patch to link
+ against libatomic where necessary and use C++11 atomics instead
+ of gcc built-in atomics
+ * mariadb-10.4.12-harden_setuid.patch to harden auth_pam_tool
+ setuid-root binary [bsc#1160285]
+ * mariadb-10.4.12-fix-install-db.patch to improve default behaviour
+ of mysql_install_db. This prevents performing security sensitive
+ actions to be performed but instead only warns the caller
+ (bsc#1160868)
+- refresh mariadb-10.2.4-fortify-and-O.patch
+- remove the following patches:
+ * mysql-community-server-5.1.45-multi-configuration.patch as
+ we have the same configuration in /etc/my.cnf and it doesn't make
+ any sense to keep it twice. Moreover the patched file
+ support-files/my-medium.cnf.sh was removed in upstream
+ * mariadb-5.5.28-install_db-quiet.patch and add "--rpm"
+ option to the mysql_install_db script that does basically the same
+ [bsc#1080891]
+ * mariadb-5.2.3-cnf.patch as all patched files were removed
+ upstream
+ * remove mariadb-10.1.12-deharcode-libdir.patch because it's not
+ needed - we don't build libmariadb library in mariadb package
+ anymore so we don't need to take care about LIBDIR and PLUGINDIR
+ here. Moreover we shouldn't (and we don't) touch *_RPM
+ variables as they are internal) [bsc#1080891]
+ * mariadb-10.2.9-galera_cnf.patch as it's not clear what the
+ correct path to galera wsrep provider is while users can use
+ galera 3, galera 4 or galera compiled on their own
+
+-------------------------------------------------------------------
+Mon Nov 11 17:00:52 UTC 2019 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- update to 10.2.29 GA
+ * Fixes for the following security vulnerabilities:
+ * 10.2.29: none
+ * 10.2.28: CVE-2019-2974, CVE-2019-2938
+ * 10.2.27: none
+ * 10.2.26: CVE-2019-2805, CVE-2019-2740, CVE-2019-2739,
+ CVE-2019-2737, CVE-2019-2758
+ * release notes and changelog:
+ https://mariadb.com/kb/en/library/mariadb-10229-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10229-changelog
+ https://mariadb.com/kb/en/library/mariadb-10228-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10228-changelog
+ https://mariadb.com/kb/en/library/mariadb-10227-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10227-changelog
+ https://mariadb.com/kb/en/library/mariadb-10226-release-notes
+ https://mariadb.com/kb/en/library/mariadb-10226-changelog
+- refresh
+ mariadb-10.0.15-logrotate-su.patch
+ mariadb-10.2.4-logrotate.patch
+- tracker bug [bsc#1156669]
+- update the list of the skipped tests
+ * add main.gis_notembedded to the skipped tests (fails when
+ latin1 is not set)
+ * add unit.conc_connection
+
+-------------------------------------------------------------------
+Wed Aug 7 11:39:05 UTC 2019 - Kristyna Streitova <kstreitova(a)suse.com>
+
+- adjust mysql-systemd-helper ("shutdown protected MySQL" section)
+ so it checks both ping response and the pid in a process list
+ as it can take some time till the process is terminated.
+ Otherwise it can lead to "found left-over process" situation
+ when regular mariadb is started [bsc#1143215]
+
++++ 3186 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.mariadb.13787.new.3399/mariadb.changes
New:
----
README.debug
README.install
_constraints
macros.mariadb-test
mariadb-10.0.15-logrotate-su.patch
mariadb-10.1.1-mysqld_multi-features.patch
mariadb-10.2.19-link-and-enable-c++11-atomics.patch
mariadb-10.2.4-fortify-and-O.patch
mariadb-10.2.4-logrotate.patch
mariadb-10.4.12-fix-install-db.patch
mariadb-10.4.12-harden_setuid.patch
mariadb-10.4.14.tar.gz
mariadb-10.4.14.tar.gz.sig
mariadb-rpmlintrc
mariadb.changes
mariadb.keyring
mariadb.service
mariadb.spec
mariadb.target
mariadb@.service
my.ini
mysql-systemd-helper
mysql.SuSEfirewall2
suse-test-run
suse_skipped_tests.list
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mariadb.spec ++++++
++++ 920 lines (skipped)
++++++ README.debug ++++++
Debugging mysqld crashes
========================
Author: Michal Marek <mmarek(a)suse.cz>
Last modified: 2014-11-21
Contents
--------
1) Query log
2) Coredumps and Backtraces
3) Trace files
In case your MySQL server crashes, here are some hints on what to
include in a bugreport at https://bugzilla.novell.com/ . Please report
there only bugs in the MySQL packages packaged by Novell/SUSE, bugs in
binaries / source provided by MySQL AB should be reported at
http://bugs.mysql.com/ .
1) Query log
------------
Note: Skip this chapter if you already have an exact query that
crashes the server
To find out which query possibly crashed the server, add the following
line to your /etc/my.cnf into section [mysqld]:
log=/var/lib/mysql/mysqld-query.log
Mysqld then will, at some performance cost, log all queries into this
file. After a server crash, you can examine the queries from the time it
crashed and try to reproduce the crash with single queries (this might
not allways work, eg. if the crash is caused by some race condition).
Note that this log file may become extremly large, so if you decide to
attach it whole to the bugzilla, don't forget to
xz -k9 /var/lib/mysql/mysqld-query.log
and attach the xzipped file instead.
2) Coredumps and Backtraces
---------------------------
Another valuable information for the developers is the backtrace. The
easies way to get one is to let mysqld produce a coredump. Add the
following line to your /etc/my.cnf into section [mysqld]:
core-file
The core file will be written to the /var/lib/mysql/ directory. I
suggest setting the kernel variable kernel.core_uses_pid to 1
sysctl -w kernel.core_uses_pid=1
so that the coredumps don't overwrite each other if you experience
multiple crashes.
After you got the core file, install the gdb and mysql-debuginfo
packages and run
gdb /usr/sbin/mysqld /var/lib/mysql/<core>
(gdb) bt
Replace the <core> with the actual name of the coredump.
3) Trace files
--------------
The trace file will contain various debug information and function
calls/returns and will become _extremly_ huge after a while, so don't
attach it to bugzilla unless requested.
Add the following line to your /etc/my.cnf into section [mysqld]:
stack-trace
The trace file will be then written to /var/lib/mysql directory.
++++++ README.install ++++++
You have just installed MariaDB server for the first time.
You can start it via:
systemctl start mariadb
or
rcmysql start
During the first start, empty database will be created for you automatically.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER!
To do so, start the server and run the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h <hostname> password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
++++++ _constraints ++++++
<constraints>
<overwrite>
<conditions>
<arch>i586</arch>
<arch>x86_64</arch>
<arch>ppc64le</arch>
</conditions>
<hardware>
<physicalmemory>
<size unit="G">10</size>
</physicalmemory>
<memory>
<size unit="G">10</size>
</memory>
</hardware>
</overwrite>
<overwrite>
<conditions/>
<hardware>
<disk>
<size unit="G">13</size>
</disk>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</overwrite>
</constraints>
++++++ macros.mariadb-test ++++++
%__mysql_test_run_dir /tmp/mysql
%__mysql_test_user dbuser
%__mysql_test_pass dbuserpass
%__mysql_test_cconf abuild-myclient.cnf
%__mysql_test_port 63306
#
# macro: mysql_testserver_start -- start a test mysqld instance
#
# usage: %mysql_test_start -u <dbuser> -p <dbpassword> -t <port>
#
%mysql_testserver_start(u:p:t:) \
TEST_RUN_DIR=%{__mysql_test_run_dir} \
TEST_USER="%{-u:%{-u*}}" \
if [ -z "$TEST_USER" ]; then \
TEST_USER='%{__mysql_test_user}' \
fi \
TEST_PASS="%{-p:%{-p*}}" \
if [ -z "$TEST_PASS" ]; then \
TEST_PASS='%{__mysql_test_pass}' \
fi \
TEST_PORT="%{-t:%{-t*}}" \
if [ -z "$TEST_PORT" ]; then \
TEST_PORT='%{__mysql_test_port}' \
fi \
\
[ -d $TEST_RUN_DIR ] && rm -r $TEST_RUN_DIR \
mkdir -p $TEST_RUN_DIR/datadir{,-private} \
\
cat << EOF > $TEST_RUN_DIR/my.cnf \
[client] \
socket = $TEST_RUN_DIR/mysql.sock \
port = $TEST_PORT \
[mysqld] \
user = abuild \
log-error = $TEST_RUN_DIR/mysqld.log \
secure_file_priv = $TEST_RUN_DIR/datadir-private \
datadir = $TEST_RUN_DIR/datadir \
server-id = 1 \
socket = $TEST_RUN_DIR/mysql.sock \
port = $TEST_PORT \
sql_mode = '' \
EOF\
\
echo '>>> Initializing databases' \
mysql_install_db --defaults-file=$TEST_RUN_DIR/my.cnf \
\
echo '>>> Invoking mysqld' \
/usr/sbin/mysqld --defaults-file=$TEST_RUN_DIR/my.cnf& \
sleep 2 \
\
echo '>>> Creating authentication database (credentials: $TEST_USER, $TEST_PASS)' \
mysqladmin --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild password abuildpw \
mysqladmin --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild --password=abuildpw create testhat \
cat << EOF > $TEST_RUN_DIR/create_auth.sql \
CREATE USER '$TEST_USER'@'localhost' IDENTIFIED BY '$TEST_PASS'; \
GRANT ALL PRIVILEGES ON * . * TO '$TEST_USER'@'localhost'; \
FLUSH PRIVILEGES; \
EOF\
mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild --password=abuildpw < $TEST_RUN_DIR/create_auth.sql \
%nil
#
# macro mysql_testserver_cconf -- generate client access conf
#
%mysql_testserver_cconf(n:t:) \
TEST_RUN_DIR=%{__mysql_test_run_dir} \
TEST_CCONF="%{-n:%{-n*}}" \
if [ -z "$TEST_CCONF" ]; then \
TEST_CCONF='%{__mysql_test_cconf}' \
fi \
TEST_PORT="%{-t:%{-t*}}" \
if [ -z "$TEST_PORT" ]; then \
TEST_PORT='%{__mysql_test_port}' \
fi \
cat << EOF > $TEST_CCONF \
[client] \
user = abuild \
password = abuildpw \
database = test \
socket = $TEST_RUN_DIR/mysql.sock \
port = $TEST_PORT \
EOF\
%nil
#
# macro: mysql_testserver_stop -- start a test mysqld instance
#
# usage: %mysql_test_stop
#
%mysql_testserver_stop() \
TEST_RUN_DIR=%{__mysql_test_run_dir} \
echo '>>> Shutting the mysql server down' \
cat << EOF > $TEST_RUN_DIR/shutdown.sql \
SHUTDOWN; \
EOF\
mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild --password=abuildpw < $TEST_RUN_DIR/shutdown.sql \
%nil
++++++ mariadb-10.0.15-logrotate-su.patch ++++++
PATCH-P0-SUSE: Fix for logrorate config
This patch fixes the logrotarte config file for mariadb.
Read more at https://www.novell.com/support/kb/doc.php?id=7005219
Index: support-files/mysql-log-rotate.sh
===================================================================
--- support-files/mysql-log-rotate.sh.orig
+++ support-files/mysql-log-rotate.sh
@@ -20,6 +20,7 @@
/var/log/mysql/*.log {
# create 600 mysql mysql
+ su mysql mysql
notifempty
daily
rotate 3
++++++ mariadb-10.1.1-mysqld_multi-features.patch ++++++
PATCH-P0-FEATURE-UPSTREAM: Add more functionality to mysqld_multi script
Adds reload funcionality to mysqld_multi.sh perl script and adds --datadir
support.
Maintainer: Michal Hrusecky <Michal.Hrusecky(a)opensuse.org>
Index: scripts/mysqld_multi.sh
===================================================================
--- scripts/mysqld_multi.sh.orig
+++ scripts/mysqld_multi.sh
@@ -36,6 +36,7 @@
use Getopt::Long;
use POSIX qw(strftime getcwd);
+use File::Path qw(mkpath);
$|=1;
$VER="2.20";
@@ -162,6 +163,7 @@ sub main
usage() if (!defined($ARGV[0]) ||
(!($ARGV[0] =~ m/^start$/i) &&
!($ARGV[0] =~ m/^stop$/i) &&
+ !($ARGV[0] =~ m/^reload$/i) &&
!($ARGV[0] =~ m/^report$/i)));
if (!$opt_no_log)
@@ -175,7 +177,7 @@ sub main
print strftime "%a %b %e %H:%M:%S %Y", localtime;
print "\n";
}
- if ($ARGV[0] =~ m/^start$/i)
+ if (($ARGV[0] =~ m/^start$/i) || ($ARGV[0] =~ m/^reload$/i))
{
if (!defined(($mysqld= my_which($opt_mysqld))) && $opt_verbose)
{
@@ -184,7 +186,11 @@ sub main
print "This is OK, if you are using option \"mysqld=...\" in ";
print "groups [mysqldN] separately for each.\n\n";
}
- start_mysqlds();
+ if ($ARGV[0] =~ m/^start$/i) {
+ start_mysqlds();
+ } elsif ($ARGV[0] =~ m/^reload$/i) {
+ reload_mysqlds();
+ }
}
else
{
@@ -344,6 +350,39 @@ sub start_mysqlds()
$com= "$mysqld";
for ($j = 0, $tmp= ""; defined($options[$j]); $j++)
{
+ if ("--datadir=" eq substr($options[$j], 0, 10)) {
+ $datadir = $options[$j];
+ $datadir =~ s/\-\-datadir\=//;
+ eval { mkpath($datadir) };
+ if ($@) {
+ print "FATAL ERROR: Cannot create data directory $datadir: $!\n";
+ exit(1);
+ }
+ if (! -d $datadir."/mysql") {
+ if (-w $datadir) {
+ print "\n\nInstalling new database in $datadir\n\n";
+ $install_cmd="@bindir@/mysql_install_db ";
+ $install_cmd.="--user=mysql ";
+ $install_cmd.="--datadir=$datadir";
+ system($install_cmd);
+ } else {
+ print "\n";
+ print "FATAL ERROR: Tried to create mysqld under group [$groups[$i]],\n";
+ print "but the data directory is not writable.\n";
+ print "data directory used: $datadir\n";
+ exit(1);
+ }
+ }
+
+ if (! -d $datadir."/mysql") {
+ print "\n";
+ print "FATAL ERROR: Tried to start mysqld under group [$groups[$i]],\n";
+ print "but no data directory was found or could be created.\n";
+ print "data directory used: $datadir\n";
+ exit(1);
+ }
+ }
+
if ("--mysqladmin=" eq substr($options[$j], 0, 13))
{
# catch this and ignore
@@ -408,6 +447,58 @@ sub start_mysqlds()
}
####
+#### reload multiple servers
+####
+
+sub reload_mysqlds()
+{
+ my (@groups, $com, $tmp, $i, @options, $j);
+
+ if (!$opt_no_log)
+ {
+ w2log("\nReloading MySQL servers\n","$opt_log",0,0);
+ }
+ else
+ {
+ print "\nReloading MySQL servers\n";
+ }
+ @groups = &find_groups($groupids);
+ for ($i = 0; defined($groups[$i]); $i++)
+ {
+ $mysqld_server = $mysqld;
+ @options = defaults_for_group($groups[$i]);
+
+ for ($j = 0, $tmp= ""; defined($options[$j]); $j++)
+ {
+ if ("--mysqladmin=" eq substr($options[$j], 0, 13))
+ {
+ # catch this and ignore
+ }
+ elsif ("--mysqld=" eq substr($options[$j], 0, 9))
+ {
+ $options[$j] =~ s/\-\-mysqld\=//;
+ $mysqld_server = $options[$j];
+ }
+ elsif ("--pid-file=" eq substr($options[$j], 0, 11))
+ {
+ $options[$j] =~ s/\-\-pid-file\=//;
+ $pid_file = $options[$j];
+ }
+ }
+ $com = "killproc -p $pid_file -HUP $mysqld_server";
+ system($com);
+
+ $com = "touch $pid_file";
+ system($com);
+ }
+ if (!$i && !$opt_no_log)
+ {
+ w2log("No MySQL servers to be reloaded (check your GNRs)",
+ "$opt_log", 0, 0);
+ }
+}
+
+###
#### stop multiple servers
####
@@ -770,7 +861,7 @@ sub usage
$my_progname version $VER by Jani Tolonen
Description:
-$my_progname can be used to start, or stop any number of separate
+$my_progname can be used to start, reload, or stop any number of separate
mysqld processes running in different TCP/IP ports and UNIX sockets.
$my_progname can read group [mysqld_multi] from my.cnf file. You may
@@ -788,16 +879,16 @@ integer starting from 1. These groups sh
[mysqld] group, but with those port, socket and any other options
that are to be used with each separate mysqld process. The number
in the group name has another function; it can be used for starting,
-stopping, or reporting any specific mysqld server.
+reloading, stopping, or reporting any specific mysqld server.
-Usage: $my_progname [OPTIONS] {start|stop|report} [GNR,GNR,GNR...]
-or $my_progname [OPTIONS] {start|stop|report} [GNR-GNR,GNR,GNR-GNR,...]
+Usage: $my_progname [OPTIONS] {start|reload|stop|report} [GNR,GNR,GNR...]
+or $my_progname [OPTIONS] {start|reload|stop|report} [GNR-GNR,GNR,GNR-GNR,...]
-The GNR means the group number. You can start, stop or report any GNR,
+The GNR means the group number. You can start, reload, stop or report any GNR,
or several of them at the same time. (See --example) The GNRs list can
be comma separated or a dash combined. The latter means that all the
GNRs between GNR1-GNR2 will be affected. Without GNR argument all the
-groups found will either be started, stopped, or reported. Note that
+groups found will either be started, reloaded, stopped, or reported. Note that
syntax for specifying GNRs must appear without spaces.
Options:
++++++ mariadb-10.2.19-link-and-enable-c++11-atomics.patch ++++++
Author: Vicențiu Ciorbaru <vicentiu(a)mariadb.org>
Date: Fri Dec 21 19:14:04 2018 +0200
Link with libatomic to enable C11 atomics support
Some architectures (mips) require libatomic to support proper
atomic operations. Check first if support is available without
linking, otherwise use the library.
--- a/configure.cmake
+++ b/configure.cmake
@@ -926,7 +926,25 @@ int main()
long long int *ptr= &var;
return (int)__atomic_load_n(ptr, __ATOMIC_SEQ_CST);
}"
-HAVE_GCC_C11_ATOMICS)
+HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC)
+IF (HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC)
+ SET(HAVE_GCC_C11_ATOMICS True)
+ELSE()
+ SET(OLD_CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES})
+ LIST(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
+ CHECK_CXX_SOURCE_COMPILES("
+ int main()
+ {
+ long long int var= 1;
+ long long int *ptr= &var;
+ return (int)__atomic_load_n(ptr, __ATOMIC_SEQ_CST);
+ }"
+ HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC)
+ IF(HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC)
+ SET(HAVE_GCC_C11_ATOMICS True)
+ ENDIF()
+ SET(CMAKE_REQUIRED_LIBRARIES ${OLD_CMAKE_REQUIRED_LIBRARIES})
+ENDIF()
IF(WITH_VALGRIND)
SET(HAVE_valgrind 1)
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -78,6 +78,10 @@ TARGET_LINK_LIBRARIES(mysys dbug strings
${LIBNSL} ${LIBM} ${LIBRT} ${LIBDL} ${LIBSOCKET} ${LIBEXECINFO} ${CRC32_LIBRARY})
DTRACE_INSTRUMENT(mysys)
+IF (HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC)
+ TARGET_LINK_LIBRARIES(mysys atomic)
+ENDIF()
+
IF(HAVE_BFD_H)
TARGET_LINK_LIBRARIES(mysys bfd)
ENDIF(HAVE_BFD_H)
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -178,6 +178,10 @@ ELSE()
SET(MYSQLD_SOURCE main.cc ${DTRACE_PROBES_ALL})
ENDIF()
+IF (HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC)
+ TARGET_LINK_LIBRARIES(sql atomic)
+ENDIF()
+
IF(MSVC AND NOT WITHOUT_DYNAMIC_PLUGINS)
++++++ mariadb-10.2.4-fortify-and-O.patch ++++++
PATCH-P0-FIX-HACK: Not enforcing specific flags
Useing some CFLAGS from distribution and some enforced can and leads to the
conflicts like FORTIFY and -O0. Removing hardcoded options.
Maintainer: Michal Hrusecky <mhrusecky(a)suse.cz>
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -242,7 +242,6 @@ IF(SECURITY_HARDENED AND NOT WITH_ASAN A
MY_CHECK_AND_SET_COMPILER_FLAG("-pie -fPIC")
MY_CHECK_AND_SET_LINKER_FLAG("-Wl,-z,relro,-z,now")
MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector --param=ssp-buffer-size=4")
- MY_CHECK_AND_SET_COMPILER_FLAG("-D_FORTIFY_SOURCE=2" RELEASE RELWITHDEBINFO)
ENDIF()
INCLUDE(wsrep)
Index: storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake
===================================================================
--- storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake.orig
+++ storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake
@@ -26,11 +26,9 @@ endif ()
if (CMAKE_VERSION VERSION_LESS 3.0)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG TOKU_PTHREAD_DEBUG=1 TOKU_DEBUG_TXN_SYNC=1)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DRD TOKU_PTHREAD_DEBUG=1 TOKU_DEBUG_TXN_SYNC=1)
- set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DRD _FORTIFY_SOURCE=2)
else ()
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
$<$<OR:$<CONFIG:DEBUG>,$<CONFIG:DRD>>:TOKU_PTHREAD_DEBUG=1 TOKU_DEBUG_TXN_SYNC=1>
- $<$<CONFIG:DRD>:_FORTIFY_SOURCE=2>
)
endif ()
@@ -93,23 +91,23 @@ endif ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
## set extra debugging flags and preprocessor definitions
-set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 ${CMAKE_C_FLAGS_DEBUG}")
-set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 ${CMAKE_CXX_FLAGS_DEBUG}")
+set(CMAKE_C_FLAGS_DEBUG "-g3 ${CMAKE_C_FLAGS_DEBUG}")
+set(CMAKE_CXX_FLAGS_DEBUG "-g3 ${CMAKE_CXX_FLAGS_DEBUG}")
## flags to use when we want to run DRD on the resulting binaries
## DRD needs debugging symbols.
## -O0 makes it too slow, and -O2 inlines too much for our suppressions to work. -O1 is just right.
-set(CMAKE_C_FLAGS_DRD "-g3 -O1 ${CMAKE_C_FLAGS_DRD}")
-set(CMAKE_CXX_FLAGS_DRD "-g3 -O1 ${CMAKE_CXX_FLAGS_DRD}")
+set(CMAKE_C_FLAGS_DRD "-g3 ${CMAKE_C_FLAGS_DRD}")
+set(CMAKE_CXX_FLAGS_DRD "-g3 ${CMAKE_CXX_FLAGS_DRD}")
## set extra release flags
## need to set flags for RelWithDebInfo as well because we want the MySQL/MariaDB builds to use them
if (CMAKE_CXX_COMPILER_ID STREQUAL Clang)
# have tried -flto and -O4, both make our statically linked executables break apple's linker
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -O3 -UNDEBUG")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g -O3 -UNDEBUG")
- set(CMAKE_C_FLAGS_RELEASE "-g -O3 ${CMAKE_C_FLAGS_RELEASE} -UNDEBUG")
- set(CMAKE_CXX_FLAGS_RELEASE "-g -O3 ${CMAKE_CXX_FLAGS_RELEASE} -UNDEBUG")
+ set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -UNDEBUG")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g -UNDEBUG")
+ set(CMAKE_C_FLAGS_RELEASE "-g ${CMAKE_C_FLAGS_RELEASE} -UNDEBUG")
+ set(CMAKE_CXX_FLAGS_RELEASE "-g ${CMAKE_CXX_FLAGS_RELEASE} -UNDEBUG")
else ()
if (APPLE)
set(FLTO_OPTS "-fwhole-program")
@@ -117,10 +115,10 @@ else ()
set(FLTO_OPTS "-fuse-linker-plugin")
endif()
# we overwrite this because the default passes -DNDEBUG and we don't want that
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-flto ${FLTO_OPTS} ${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -O3 -UNDEBUG")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-flto ${FLTO_OPTS} ${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g -O3 -UNDEBUG")
- set(CMAKE_C_FLAGS_RELEASE "-g -O3 -flto ${FLTO_OPTS} ${CMAKE_C_FLAGS_RELEASE} -UNDEBUG")
- set(CMAKE_CXX_FLAGS_RELEASE "-g -O3 -flto ${FLTO_OPTS} ${CMAKE_CXX_FLAGS_RELEASE} -UNDEBUG")
+ set(CMAKE_C_FLAGS_RELWITHDEBINFO "-flto ${FLTO_OPTS} ${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -UNDEBUG")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-flto ${FLTO_OPTS} ${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g -UNDEBUG")
+ set(CMAKE_C_FLAGS_RELEASE "-g -flto ${FLTO_OPTS} ${CMAKE_C_FLAGS_RELEASE} -UNDEBUG")
+ set(CMAKE_CXX_FLAGS_RELEASE "-g -flto ${FLTO_OPTS} ${CMAKE_CXX_FLAGS_RELEASE} -UNDEBUG")
set(CMAKE_EXE_LINKER_FLAGS "-g ${FLTO_OPTS} ${CMAKE_EXE_LINKER_FLAGS}")
set(CMAKE_SHARED_LINKER_FLAGS "-g ${FLTO_OPTS} ${CMAKE_SHARED_LINKER_FLAGS}")
endif ()
++++++ mariadb-10.2.4-logrotate.patch ++++++
PATCH-P0-FIX-SUSE: Fix log file path for logrotate
In SUSE we've got MySQL log in different directory. It's located in
/var/log/mysql by default. It also adds some extra error message.
Maintainer: Michal Hrusecky <Michal.Hrusecky(a)opensuse.org>
Index: support-files/mysql-log-rotate.sh
===================================================================
--- support-files/mysql-log-rotate.sh.orig
+++ support-files/mysql-log-rotate.sh
@@ -18,7 +18,7 @@
# ATTENTION: This /root/.my.cnf should be readable ONLY
# for root !
-@localstatedir@/mysqld.log {
+/var/log/mysql/*.log {
# create 600 mysql mysql
notifempty
daily
@@ -32,6 +32,14 @@
then
@bindir@/mysqladmin --local flush-error-log \
flush-engine-log flush-general-log flush-slow-log
+ ret=$?
+ if test $ret -ne 0
+ then
+ echo "/etc/logrotate.d/mariadb failed, probably because" >&2
+ echo "the root acount is protected by password." >&2
+ echo "See comments in /etc/logrotate.d/mariadb on how to fix this" >&2
+ exit $ret
+ fi
fi
endscript
}
++++++ mariadb-10.4.12-fix-install-db.patch ++++++
Index: mariadb-10.4.12/scripts/mysql_install_db.sh
===================================================================
--- mariadb-10.4.12.orig/scripts/mysql_install_db.sh
+++ mariadb-10.4.12/scripts/mysql_install_db.sh
@@ -482,20 +482,22 @@ if test -n "$user"
then
if test -z "$srcdir" -a "$in_rpm" -eq 0
then
- chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
- chmod 04755 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
- if test $? -ne 0
+ tool_ownership=`stat -c "%U:%G" "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"`
+ tool_mode=`stat -c "%a" "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"`
+
+ if test "$tool_ownership" != "root:root" -o "$tool_mode" != "4755"
then
- echo "Couldn't set an owner to '$pamtooldir/auth_pam_tool_dir/auth_pam_tool'."
- echo "It must be root, the PAM authentication plugin doesn't work otherwise.."
+ echo "Permissions/ownership of the '$pamtooldir/auth_pam_tool_dir/auth_pam_tool' file are bad."
+ echo "It must be owned by root:root and have mode 4750."
echo
fi
- chown $user "$pamtooldir/auth_pam_tool_dir" && \
- chmod 0700 "$pamtooldir/auth_pam_tool_dir"
- if test $? -ne 0
+
+ dir_ownership=`stat -c "%U:%G" "$pamtooldir/auth_pam_tool_dir"`
+ dir_mode=`stat -c "%a" "$pamtooldir/auth_pam_tool_dir"`
+ if test "$dir_ownership" != "root:mysql" -o "$dir_mode" != "750"
then
- echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory"
- echo "to the '$user' user. Check that you have the necessary permissions and try again."
+ echo "Permissions/ownership of the '$pamtooldir/auth_pam_tool_dir' directory are bad."
+ echo "It must be owned by root:mysql and have mode 0750, the PAM authentication plugin doesn't work otherwise.."
echo
fi
fi
++++++ mariadb-10.4.12-harden_setuid.patch ++++++
SUSE specific patch that hardens the auth_pam_tool setuid-root binary.
Matthias Gerstner wants it as a prerequisite for allowing auth_pam_tool
setuid-root binary in [bsc#1160285].
Index: mariadb-10.4.12/plugin/auth_pam/auth_pam_base.c
===================================================================
--- mariadb-10.4.12.orig/plugin/auth_pam/auth_pam_base.c
+++ mariadb-10.4.12/plugin/auth_pam/auth_pam_base.c
@@ -149,6 +149,12 @@ static int pam_auth_base(struct param *p
const char *service = info->auth_string && info->auth_string[0]
? info->auth_string : "mysql";
+ if( strcmp(service, "mysql") != 0 )
+ {
+ PAM_DEBUG((stderr, "PAM: rejecting non-standard PAM service %s\n", service));
+ return CR_ERROR;
+ }
+
param->ptr = param->buf + 1;
PAM_DEBUG((stderr, "PAM: pam_start(%s, %s)\n", service, info->user_name));
++++++ mariadb-rpmlintrc ++++++
# This file contains a list of exceptions for rpmlint checker
# Zero-length
# Some test results can be zero-length files
addFilter(r'(zero-length|pem-certificate) /usr/share/mysql-test/*')
# Permissions
# wsrep_sst_common
# It contains a parser of arguments for other sst scripts.
# It is meant to be sourced, not to be executed alone.
# So it correctly does not have shebang nor executable bit.
addFilter(r'non-executable-in-bin /usr/bin/wsrep_sst_common 644')
addFilter(r'script-without-shebang /usr/bin/wsrep_sst_common')
# Wrong location
# wsrep_check_version is a wsrep version check utility. Used in testing only.
addFilter(r'arch-dependent-file-in-usr-share .* /usr/share/mysql-test/lib/My/SafeProcess/wsrep_check_version')
# my_safe_process is an utility that encapsulates process creation, monitoring and cleanup. Used in testing only.
addFilter(r'arch-dependent-file-in-usr-share .* /usr/share/mysql-test/lib/My/SafeProcess/my_safe_process')
# pam_mariadb_mtr.so is a pam module to test pam authentication plugin. Used in pam.test only.
addFilter(r'arch-dependent-file-in-usr-share .* /usr/share/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so')
++++++ mariadb.keyring ++++++
pub 1024D/1BB943DB 2010-02-02
uid [ unknown] MariaDB Package Signing Key <package-signing-key(a)mariadb.org>
uid [ unknown] Daniel Bartholomew (Monty Program signing key) <dbart(a)askmonty.org>
sub 4096g/672557E6 2010-02-02
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQGiBEtohJARBACxvZpWSIMTp/e7BUzSW+WDL7Pl0JDg6v7ZJFGJk9qo+5JXIiis
497Ul0FmVJ6EoyVzfpqe5FyUvqtLCkM6UP5adyvXTHi1KMiYacu2q5yRhDpMKbpM
LkAg23Yyz1yK/d0TsAkerLJ6K1Bh8NIm44Op+qFrDxeYZDIR5Q8WaCdK8wCg/jc8
p/4XaKq74ghUHEX+35qk63UD/0YEsgHrsRQZ42wKNeO8ZUJKqCVHXYJrCq7DhRhn
U5aYnuK3op0JusPN5fdIGkKwJy24dWRoRfNIIg0WvM8qUNrC2NvhomnZNudsI0Jb
XapRemrIwbvrZToD6ei1awdVqa5fT6XIxV4MSQEwn47qmUNSz/0TkUmB3VZ2EL/j
zfHUA/91ZfAdWCmRemTLWRrzIYYJKyEInZ0qwZVrkyMY8+T7b2/6RGR0f2oV1dOx
cjbd0+N3vKrUkjuzkcVu/oB8wq9UBfuSHwsxYqub4gvIh0/LW+CsWa955sQ/Hj9H
48j3nUHaXqM9uJyMMgMlCdo3rLpnYCJH8w2kFfLHIDksMs1YtLQ9TWFyaWFEQiBQ
YWNrYWdlIFNpZ25pbmcgS2V5IDxwYWNrYWdlLXNpZ25pbmcta2V5QG1hcmlhZGIu
b3JnPohiBBMRAgAiBQJREUepAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAK
CRDLywgqG7lD28y4AJ0aByfYvJWqBm5PZjusZiG0vo9SRwCeM0izj/oryMu0fJi3
kRbTlojzCd20Q0RhbmllbCBCYXJ0aG9sb21ldyAoTW9udHkgUHJvZ3JhbSBzaWdu
aW5nIGtleSkgPGRiYXJ0QGFza21vbnR5Lm9yZz6IYAQTEQIAIAUCS2iEkAIbAwYL
CQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEMvLCCobuUPboDgAoNQVrK4i5LXTgwnW
ke2MxsXCoHDnAJ93j733YuNkV64aHEUwWxNCkkwUkbkEDQRLaIS4EBAApZ0wvxpQ
VlZ6OEFa9SBQ5eclRIOjXjKqkYGkvIx+jUmqCYfOgfPixOGYS5Q2KwHNz4XEOIOA
1kyClAoAAgOEGUxj8CxnbBk10IVo/JBONjdqKYPZ2YNdeIIrKXEmai4i5hK5AfZH
oyqsV5aqxGkGeVUju/coyRJY6La8iL+RBuxiRuUPWymGjtISAR6fSiN8f/kRly/y
9LmMO8JcOpeieqLUFPK6KuzhI4F0nFkHJpZPDNOHHl+GmAZ+SqZxmIrpkGymd36h
TKxW4nlnN6kqc1gMwdn1L/u/D+C/jhMbTTssqiMZeyP9uFmnMB3ls1NV8OxvbxcT
BG0M7g4AlffUQKpUrNhIBoC3R7UbYQ3CTZX1Qp/TBzbfRAgGhdWBQDQEd3/Ll9G4
QaCs9I+4W68rkAr7e7IylHyfEi9oYQkXFIEeaAhiENmJBpcLpas/yNJoLayqzPsQ
+lRNg3omFntPtZolkMi6orRNixrgXV64m/01YNjmBFTqsp5wOq2j0cmTkbOWqdnl
mGPg2El1ufebJc6YWS1nFm6YRpN/B3QbtAnar1Cb+IHlr0haTOYhQp+XFN+k1brq
s+Sufa8/rz6N5tsm+W5GjHKvHr24FTa02u3H4lIqNlNBkzZZKhzAhxEWiJzwc/f2
upG5vdplrM/YCU+XTotYPb5ZEXQe2mD/rXMAAwUP/0f1DOJIfnMrh1o/3RKqDq8k
7tlv2GEEv0VEnh8ty4dMb8Dos2M1Oc4Kv9QLB3DXcS4/L4JW5vF0QgSAzq1r5oBT
1zaMcqDS6OUlHrWUi8aDNt5EPQuEGdP2/iTDeAq4r8eCYrHRC7egldyRZrmWNfcZ
N6/G9K+JSjhWfSWWSBRIqb+UxcQNCp6i6tvVSxCfLK1R4P4kA/Z4Co2vywIfVfPh
Hd5nIWNl1yl9O3r04GCNTjzwsv/dhUGDFIVsghgehZuL0Bb7hDuyvZ2ShALumZ5t
7mU/SJ2hOk3klO+2bIJB0gquUkWn/4g1h2Tp9XVWrI1x6GUBxRYkwC4tWajzWeVC
5hcDVAdqYN0H0HVj/CEgrEWlCVv1hJ0JYAsjX8Cj1QuZB1i34fjEkgybMjo3oCU5
GCSiNmvtTeUpexyY/7iHAdyoZHFT+fQS84VMYKFT4tTYH+5jTa62yfPhn63TYPor
rRyTqG8aJQLnczm0NN5R5mriYJQjr4Pj8PSSwWck/Gt8R5vb+C69+uXINB6OKqhG
6xU0bqnCIxt3OhVS7v0SfHjn0+il/JOc/ev9wm6G5FxmEWOoYwibmaDzHfc9N1HM
RzjTENI7fyJPNFj9IDkpwk4E3ylrkuVl2KEmYDJ9T9ny4UMnQ7Sb6w59UhxMIFtR
TPNpQJWCWXfhWUAo4WfCiEkEGBECAAkFAktohLgCGwwACgkQy8sIKhu5Q9vThgCg
7R7ImT+21phcbxVYBQZjiJVY/2YAnRKPeNKPNIviaUUV7kxMXt949GQX
=zBws
-----END PGP PUBLIC KEY BLOCK-----
++++++ mariadb.service ++++++
# It's not recommended to modify this unit file because your changes
# would be overwritten during the package update.
#
# However, there are 2 methods how to customize this unit file:
#
# 1) Copy this unit file from /usr/lib/systemd/system to
# /etc/systemd/system and modify the chosen settings.
#
# 2) Create a directory named mariadb.service.d/ within /etc/systemd/system
# and place a drop-in file name.conf there that only changes the specific
# settings one is interested in.
#
# see systemd.unit(5) for details
#
# Example - increasing of the TimeoutSec= limit
# mkdir /etc/systemd/system/mariadb.service.d
# cat > /etc/systemd/system/mariadb.service.d/timeout.conf << EOF
# [Service]
# TimeoutSec=600
# EOF
[Unit]
Description=MariaDB database server
Documentation=man:mysqld(8)
Documentation=https://mariadb.com/kb/en/library/systemd/
Wants=basic.target
Conflicts=mariadb.target
After=basic.target network.target
[Install]
WantedBy=multi-user.target
Alias=mysql.service
[Service]
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper install
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper upgrade
ExecStart=/usr/lib/mysql/mysql-systemd-helper start
Type=notify
User=mysql
Group=mysql
KillSignal=SIGTERM
# Don't want to see an automated SIGKILL ever
SendSIGKILL=no
# Restart crashed server only, on-failure would also restart, for example, when
# my.cnf contains unknown option
Restart=on-abort
RestartSec=5s
# Configures the time to wait for start-up/stop
TimeoutSec=300
# CAP_IPC_LOCK To allow memlock to be used as non-root user
# CAP_DAC_OVERRIDE To allow auth_pam_tool (which is SUID root) to read /etc/shadow when it's chmod 0
# does nothing for non-root, not needed if /etc/shadow is u+r
# CAP_AUDIT_WRITE auth_pam_tool needs it on Debian for whatever reason
CapabilityBoundingSet=CAP_IPC_LOCK CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full
# Prevent accessing /home, /root and /run/user
ProtectHome=true
# Execute pre and post scripts as root, otherwise it does it as User=
PermissionsStartOnly=true
UMask=007
++++++ mariadb.target ++++++
[Unit]
Description=MySQL target allowing to control multi setup
++++++ mariadb@.service ++++++
# It's not recommended to modify this unit file because your changes
# would be overwritten during the package update.
#
# However, there are 2 methods how to customize this unit file:
#
# 1) Copy this unit file from /usr/lib/systemd/system to
# /etc/systemd/system and modify the chosen settings.
#
# 2) Create a directory named mariadb.service.d/ within /etc/systemd/system
# and place a drop-in file name.conf there that only changes the specific
# settings one is interested in.
#
# see systemd.unit(5) for details
#
# Example - increasing of the TimeoutSec= limit
# mkdir /etc/systemd/system/mariadb.service.d
# cat > /etc/systemd/system/mariadb.service.d/timeout.conf << EOF
# [Service]
# TimeoutSec=600
# EOF
[Unit]
Description=MariaDB database server - %I instance
Documentation=man:mysqld(8)
Documentation=https://mariadb.com/kb/en/library/systemd/
Wants=basic.target
PartOf=mariadb.target
After=basic.target network.target
[Install]
WantedBy=multi-user.target
Alias=mysql.service
[Service]
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper install %i
ExecStartPre=/usr/lib/mysql/mysql-systemd-helper upgrade %i
ExecStart=/usr/lib/mysql/mysql-systemd-helper start %i
Type=notify
User=mysql
Group=mysql
KillSignal=SIGTERM
# Don't want to see an automated SIGKILL ever
SendSIGKILL=no
# Restart crashed server only, on-failure would also restart, for example, when
# my.cnf contains unknown option
Restart=on-abort
RestartSec=5s
# Configures the time to wait for start-up/stop
TimeoutSec=300
# CAP_IPC_LOCK To allow memlock to be used as non-root user
# CAP_DAC_OVERRIDE To allow auth_pam_tool (which is SUID root) to read /etc/shadow when it's chmod 0
# does nothing for non-root, not needed if /etc/shadow is u+r
# CAP_AUDIT_WRITE auth_pam_tool needs it on Debian for whatever reason
CapabilityBoundingSet=CAP_IPC_LOCK CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full
# Prevent accessing /home, /root and /run/user
ProtectHome=true
# Execute pre and post scripts as root, otherwise it does it as User=
PermissionsStartOnly=true
UMask=007
++++++ my.ini ++++++
# The following options will be passed to all MariaDB clients
[client]
# Please note that storing the password in this file is not safe. For this
# purpose you can, for example, list your password in the [client] section
# of the '~/.my.cnf' configuration file with an access mode set to 400 or 600.
# password = your_password
# port = 3306
# socket = /run/mysql/mysql.sock
# The MariaDB server
[mysqld]
# For security reasons, bind to 127.0.0.1 by default to enable networking
# only on the loopback interface.
bind-address = 127.0.0.1
# If log-error is not set, mysqld will write to "/var/lib/mysql/$HOSTNAME.err"
# which is not beneficial for rotating the log file if it grows in size.
log-error = /var/log/mysql/mysqld.log
# Enable the slow query log to see queries with especially long duration
# slow_query_log=1
# slow_query_log_file = /var/log/mysql/mysqld_slow.log
# Operations 'LOAD DATA', 'SELECT ... INTO' and 'LOAD FILE()' will only
# work with files in the specified directory
secure_file_priv = /var/lib/mysql-files
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin=mysql-bin
# binlog_format=mixed
# Remove leading # if you want to store your database elsewhere
# datadir = /var/lib/mysql
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1
# These are commonly set, remove the # and set as required.
# port = 3306
# socket = /run/mysql/mysql.sock
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
# Configure the MariaDB server to use SSL
# ssl-ca=/etc/mysql/ssl/ca-cert.pem
# ssl-cert=/etc/mysql/ssl/server-cert.pem
# ssl-key=/etc/mysql/ssl/server-key.pem
[mysqld_multi]
mysqld = /usr/bin/mysqld_safe
mysqladmin = /usr/bin/mysqladmin
log = /var/log/mysqld_multi.log
# If you want to use mysqld_multi uncomment 1 or more mysqld sections
# below or add your own ones.
# WARNING
# --------
# If you uncomment mysqld1 than make absolutely sure, that database mysql,
# configured above, is not started. This may result in corrupted data!
#
# [mysqld1]
# port = 3306
# datadir = /var/lib/mysql
# pid-file = /var/lib/mysql/mysqld.pid
# socket = /var/lib/mysql/mysql.sock
# user = mysql
# [mysqld2]
# port = 3307
# datadir = /var/lib/mysql-databases/mysqld2
# pid-file = /var/lib/mysql-databases/mysqld2/mysql.pid
# socket = /var/lib/mysql-databases/mysqld2/mysql.sock
# user = mysql
# [mysqld3]
# port = 3308
# datadir = /var/lib/mysql-databases/mysqld3
# pid-file = /var/lib/mysql-databases/mysqld3/mysql.pid
# socket = /var/lib/mysql-databases/mysqld3/mysql.sock
# user = mysql
# [mysqld6]
# port = 3309
# datadir = /var/lib/mysql-databases/mysqld6
# pid-file = /var/lib/mysql-databases/mysqld6/mysql.pid
# socket = /var/lib/mysql-databases/mysqld6/mysql.sock
# user = mysql
!includedir /etc/my.cnf.d
++++++ mysql-systemd-helper ++++++
#!/bin/bash
die() {
echo "$1"
exit 1
}
# Read options from config file
read_config() {
# Initial settings
MYSQLVER="$(echo @MYSQLVER@ | sed 's|\.[0-9]\+$||')"
mysql_daemon_user=mysql
mysql_daemon_group=mysql
# status information directory (e.g. info about a necessity of upgrade, current version etc)
mariadb_status_dir="/var/lib/misc"
if [[ -z "$INSTANCE" ]]; then
datadir=/var/lib/mysql
socket="/run/mysql/mysql.sock"
else
datadir="/var/lib/mysql-$INSTANCE"
socket="/run/mysql/mysql.${INSTANCE}.sock"
fi
# Read options - important for multi setup
if [[ -n "$INSTANCE" ]]; then
opts="$(/usr/bin/my_print_defaults mysqld mysqld_multi "$INSTANCE" --defaults-extra-file=/etc/my${INSTANCE}.cnf)"
tmp_opts="$opts"
config="/etc/my${INSTANCE}.cnf"
else
opts="$(/usr/bin/my_print_defaults mysqld)"
tmp_opts="$opts"
config="/etc/my.cnf"
fi
# Update local variables according to the settings from config
for arg in $tmp_opts; do
case "$arg" in
--basedir=*) basedir="$(echo "$arg" | sed -e 's/^[^=]*=//')" ;;
--socket=*) socket="$(echo "$arg" | sed -e 's/^[^=]*=//')" ;;
--datadir=*) datadir="$(echo "$arg" | sed -e 's/^[^=]*=//')" ;;
--user=*) mysql_daemon_user="$(echo "$arg" | sed -e 's/^[^=]*=//')" ;;
esac
done
# work-around for lost+found directory in $datadir (bug #986251)
if [ -d "$datadir/lost+found" ]
then
ignore_db_dir="--ignore-db-dir=lost+found"
else
ignore_db_dir=""
fi
}
# Create new empty database if needed
mysql_install() {
if [[ ! -d "$datadir/mysql" ]]; then
echo "Creating MySQL privilege database... "
mysql_install_db --rpm --user="$mysql_daemon_user" --datadir="$datadir" || \
die "Creation of MySQL database in $datadir failed"
echo -n "$MYSQLVER" > "$mariadb_status_dir"/mariadb_upgrade_info
fi
}
# Upgrade database if needed
mysql_upgrade() {
# Run mysql_upgrade on every package install/upgrade. Not always
# necessary, but doesn't do any harm.
if [[ -f "$mariadb_status_dir/.mariadb_run_upgrade" ]]; then
echo "Checking MySQL configuration for obsolete options..."
sed -i -e 's|^\([[:blank:]]*\)skip-locking|\1skip-external-locking|' \
-e 's|^\([[:blank:]]*skip-federated\)|#\1|' /etc/my.cnf
# instead of running mysqld --bootstrap, which wouldn't allow
# us to run mysql_upgrade, we start a full-featured server with
# --skip-grant-tables and restict access to it by unix
# permissions of the named socket
echo "Trying to run upgrade of MySQL databases..."
# Check whether upgrade process is not already running
protected="$(cat "/run/mysql/protecteddir.$INSTANCE" 2> /dev/null)"
if [[ -n "$protected" && -d "$protected" ]]; then
pid="$(cat "$protected/mysqld.pid" 2> /dev/null)"
if [[ "$pid" && -d "/proc/$pid" ]] &&
[[ $(readlink "/proc/$pid/exe" | grep -q "mysql") ]]; then
die "Another upgrade in already in progress!"
else
echo "Stale files from previous upgrade detected, cleaned them up"
rm -rf "$protected"
rm -f "/run/mysql/protecteddir.$INSTANCE"
fi
fi
protected="$(mktemp -d -p /var/tmp mysql-protected.XXXXXX | tee "/run/mysql/protecteddir.$INSTANCE")"
[ -n "$protected" ] || die "Can't create a tmp dir '$protected'"
# Create a secure tmp dir
chown --no-dereference "$mysql_daemon_user:$mysql_daemon_group" "$protected" || die "Failed to set group/user to '$protected'"
chmod 0700 "$protected" || die "Failed to set permissions to '$protected'"
# Run protected MySQL accessible only though socket in our directory
echo "Running protected MySQL... "
/usr/sbin/mysqld \
--defaults-file="$config" \
--user="$mysql_daemon_user" \
--skip-networking \
--skip-grant-tables \
$ignore_db_dir \
--log-error="$protected/log_upgrade_run" \
--socket="$protected/mysql.sock" \
--pid-file="$protected/mysqld.pid" &
mysql_wait "$protected/mysql.sock" || die "MySQL didn't start, can't continue"
# Run upgrade itself
echo "Running upgrade itself..."
echo "It will do some chek first and report all errors and tries to correct them"
echo
if /usr/bin/mysql_upgrade --no-defaults --force --socket="$protected/mysql.sock"; then
echo "Everything upgraded successfully"
up_ok=""
rm -f "$mariadb_status_dir/.mariadb_run_upgrade"
[[ $(grep -q "^$MYSQLVER" "$mariadb_status_dir/mariadb_upgrade_info" 2> /dev/null) ]] || \
echo -n "$MYSQLVER" > "$mariadb_status_dir/mariadb_upgrade_info"
else
echo "Upgrade failed"
up_ok="false"
fi
# Shut down MySQL
echo "Shutting down protected MySQL"
protected_pid=$(cat "$protected/mysqld.pid")
kill $protected_pid
for i in {1..30}; do
/usr/bin/mysqladmin --socket="$protected/mysql.sock" ping > /dev/null 2>&1
# Check both ping response and the pid in a process list as it can take some time till the process is terminated.
# Otherwise it can lead to "found left-over process" situation when regular mariadb is started.
if [[ $? -eq 1 ]] && ! ps -p $protected_pid > /dev/null 2>&1; then
break
fi
sleep 1
done
/usr/bin/mysqladmin --socket="$protected/mysql.sock" ping > /dev/null 2>&1 && kill -9 $protected_pid
# Cleanup
echo "Final cleanup"
if [[ -z "$up_ok" ]]; then
rm -rf "$protected" "/run/mysql/protecteddir.$INSTANCE"
else
die "Something failed during upgrade, please check logs"
fi
fi
}
mysql_wait() {
[[ -z "$1" ]] || socket="$1"
echo "Waiting for MySQL to start"
for i in {1..60}; do
/usr/bin/mysqladmin --socket="$socket" ping > /dev/null 2>&1 && break
sleep 1
done
if /usr/bin/mysqladmin --socket="$socket" ping > /dev/null 2>&1; then
echo "MySQL is alive"
return 0
else
echo "MySQL is still dead"
return 1
fi
}
mysql_start() {
exec /usr/sbin/mysqld \
--defaults-file="$config" \
$ignore_db_dir \
--user="$mysql_daemon_user"
}
# We rely on output in english at some points
LC_ALL=C
INSTANCE="$2"
read_config
# Make sure that /run/mysql is created and has correct permissions (bsc#1038740)
systemd-tmpfiles --create /usr/lib/tmpfiles.d/mariadb.conf
case "$1" in
install)
mysql_install ;;
upgrade)
mysql_upgrade ;;
start)
mysql_start ;;
wait)
mysql_wait ;;
*)
echo "Supported commands are:"
echo " install - creates empty database if needed"
echo " upgrade - tries to migrate data to newer version if needed"
echo " start - tries to start instance"
echo " wait - waits till instance is pingable"
echo "All commands can take extra argument which is group from 'mysqld_multi' you want to work with"
;;
esac
++++++ mysql.SuSEfirewall2 ++++++
## Name: MySQL server
## Description: opens ports for MySQL in order to allow other hosts connect to it
# space separated list of allowed TCP ports
TCP="3306"
++++++ suse-test-run ++++++
#!/usr/bin/perl
#
# Test the SUSE mariadb package using the mysql-test framework
my $id = getpwnam("mysql") or die "can't find user \"mysql\": $!";
my $dir = "/usr/share/mysql-test/";
if ($< == 0) {
($<, $>) = ($id, $id);
if ($< != $id || $> != $id) {
die "can't switch to user mysql(id $id): $!";
}
}
chdir($dir) or die "can't cd to $dir: $!";
exec("./mysql-test-run.pl", "--big-test", @ARGV);
die "can't execute mysql-test-run.pl: $!";
++++++ suse_skipped_tests.list ++++++
#----------------------------------------------------------------
# The SSL tests that are failing correctly
main.ssl_7937 : bsc#937835, MDEV-8404
main.ssl_crl : bsc#937835, MDEV-8404
main.ssl_8k_key : bsc#937835, MDEV-8404
# Main and perfschema tests
main.userstat : bsc#937836, MDEV-8446
perfschema.nesting : bsc#937836, MDEV-8446
perfschema.socket_summary_by_event_name_func : bsc#937836, MDEV-8446
perfschema.socket_summary_by_instance_func : bsc#937836, MDEV-8446
# Failing because of "Self Signed Certificate in the Certificate Chain"
perfschema.cnf_option : all
rpl.rpl_row_img_blobs : all MDEV-13875
rpl.rpl_row_img_eng_min : all MDEV-13875
rpl.rpl_row_img_eng_noblob : all MDEV-13875
# The tests of plugins we don't build
main.plugin_auth : since 10.4.10 - all, we don't build mysql_clear_password plugin
plugins.auth_ed25519 : since 10.4.10 - all, we don't build client_ed25519 plugin
plugins.multiauth : since 10.4.10 - all, we don't build client_ed25519 plugin
unit.ed25519 : since 10.4.12 - ppc, we don't build client_ed25519 plugin
#----------------------------------------------------------------
# Needs to be investigated (issues trackers will be added)
sys_vars.slave_parallel_threads_basic : since 10.3.16 - x86_64, i386, s390x, armv7l, aarch64, ppc64, ppc64le
main.gis_notembedded : since 10.3.16 - x86_64, i386, s390x, armv7l, aarch64, ppc64, ppc64le
versioning.partition : since 10.3.16 - armv7l
innodb.innodb-page_compression_lzma : since 10.3.20 - armv7l
sys_vars.sysvars_wsrep : since 10.4.12 - ppc
rpl.rpl_ip_mix : since 10.4.10 - all
rpl.rpl_ip_mix2 : since 10.4.10 - all
rpl.rpl_ipv4_as_ipv6 : since 10.4.10 - all
rpl.rpl_ipv6 : since 10.4.10 - all
perfschema.socket_instances_func : since 10.4.10 - all
main.ipv4_and_ipv6 : since 10.4.10 - all
main.ipv4_as_ipv6 : since 10.4.10 - all
main.ipv6 : since 10.4.10 - all
main.information_schema : since 10.4.10 - all
main.system_mysql_db : since 10.4.10 - all
main.gis_notembedded : since 10.4.10 - all
funcs_1.is_columns_mysql : since 10.4.10 - all
sys_vars.tcp_nodelay : since 10.4.10 - all
binlog_encryption.rpl_cant_read_event_incident : since 10.4.12 - s390x
encryption.innodb-page_encryption_compression : since 10.4.12 - s390x
encryption.innodb-bad-key-change : since 10.4.12 - s390x
rpl.rpl_report_port : since 10.4.12 - s390x
rpl.rpl_reset_slave_fail : since 10.4.12 - s390x
innodb.rename_table : since 10.4.12 - s390x
mariabackup.missing_ibd : since 10.4.12 - s390x
rpl.rpl_heartbeat_basic : since 10.4.12 - x86_64
oqgraph.social : since 10.4.12 - i586 (MDEV-22280)
sys_vars.have_rtree_keys_basic : since 10.4.13 - x86_64
main.func_int : since 10.4.13 - i586
main.mysql-bug45236 : since 10.4.13 - i586
parts.partition_exch_qa_13 : since 10.4.13 - ppc64le
main.trigger_null-8605 : since 10.4.13 - ppc64le
main.partition_rename_longfilename : since 10.4.13 - x86_64
main.not_embedded_server : since 10.4.13 - aarch64
gcol.gcol_supported_sql_funcs_myisam : since 10.4.13 - i586
main.func_digest : since 10.4.13 - i586
main.ps_11bugs : since 10.4.13 - i586
perfschema.myisam_table_io : since 10.4.13 - x86_64
sys_vars.aria_sync_log_dir_basic : since 10.4.13 - x86_64
main.system_mysql_db_refs : since 10.4.13 - x86_64
funcs_1.myisam_storedproc_08 : since 10.4.13 - s390x
main.table_elim : since 10.4.13 - x86_64
rpl.rpl_temporary : since 10.4.13 - x86_64
main.mysqltest_ps : since 10.4.13 - i586
main.ssl_system_ca : since 10.4.14 - all
main.func_regexp_pcre : since 10.4.14 - s390x
perfschema.memory_table_io : since 10.4.14 - i586
maria.mrr : since 10.4.14 - i586
main.windows : since 10.4.14 - x86_64
main.delimiter_command_case_sensitivity : since 10.4.14 - aarch64
maria.concurrent : since 10.4.14 - x86_64
1
0
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2020-08-30 21:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Sun Aug 30 21:03:11 2020 rev:1246 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
15.1:update_1598798233.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0