diff options
-rw-r--r-- | compat_reports/3.0.6_to_3.0.7/compat_report.html | 1170 | ||||
-rw-r--r-- | libcouchbase-0002-add-LCB_PLUGINS_DIR-option-to-set-directory-for-IO-p.patch | 82 | ||||
-rw-r--r-- | libcouchbase.spec | 17 | ||||
-rw-r--r-- | libcouchbase.xml | 2 |
4 files changed, 1183 insertions, 88 deletions
diff --git a/compat_reports/3.0.6_to_3.0.7/compat_report.html b/compat_reports/3.0.6_to_3.0.7/compat_report.html new file mode 100644 index 0000000..172f94b --- /dev/null +++ b/compat_reports/3.0.6_to_3.0.7/compat_report.html @@ -0,0 +1,1170 @@ +<!-- kind:binary;verdict:incompatible;affected:3.9;added:0;removed:0;type_problems_high:0;type_problems_medium:7;type_problems_low:5;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:1;type_changes_other:2;constant_changes_other:1;tool_version:2.3 --> +<!-- kind:source;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:4;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:4;type_changes_other:4;constant_changes_other:1;tool_version:2.3 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width,initial-scale=1" /> +<meta name="keywords" content="libcouchbase, compatibility, API, ABI, report" /> +<meta name="description" content="API/ABI compatibility report for the libcouchbase library between 3.0.6 and 3.0.7 versions" /> +<title>libcouchbase: 3.0.6 to 3.0.7 compatibility report</title> +<style type="text/css"> +body { + font-family:Arial, sans-serif; + background-color:White; + color:Black; +} +hr { + color:Black; + background-color:Black; + height:1px; + border:0; +} +h1 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.625em; +} +h2 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.25em; + white-space:nowrap; +} +span.section { + font-weight:bold; + cursor:pointer; + color:#003E69; + white-space:nowrap; + margin-left:0.3125em; +} +span.new_sign { + font-weight:bold; + margin-left:1.65em; + color:#003E69; +} +span.new_sign_lbl { + margin-left:3em; + font-size:1em; + color:Black; +} +span:hover.section { + color:#336699; +} +span.sect_aff { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:#cc3300; +} +span.sect_info { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:Black; +} +span.ext { + font-weight:normal; +} +span.h_name { + color:#cc3300; + font-size:0.875em; + font-weight:bold; +} +div.h_list, div.lib_list { + font-size:0.94em; + padding-left:0.4em; +} +span.ns { + color:#408080; + font-size:0.94em; +} +span.lib_name { + color:Green; + font-size:0.875em; + font-weight:bold; +} +span.iname { + font-weight:bold; + color:#003E69; + margin-left:0.3125em; +} +span.iname_b { + font-weight:bold; +} +span.iname_a { + color:#333333; + font-weight:bold; + font-size:0.94em; +} +span.sym_p { + font-weight:normal; + white-space:normal; +} +span.sym_pd { + white-space:normal; +} +span.sym_p span, span.sym_pd span { + white-space:nowrap; +} +div.affect { + padding-left:1em; + padding-bottom:10px; + font-size:0.87em; + font-style:italic; + line-height:0.9em; +} +div.affected { + padding-left:1.9em; + padding-top:10px; +} +table.ptable { + border-collapse:collapse; + border:1px outset black; + margin-left:0.95em; + margin-top:3px; + margin-bottom:3px; + width:56.25em; +} +table.ptable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + text-align:left; + vertical-align:top; + max-width:28em; + word-wrap:break-word; +} +table.ptable th.pn { + width:2%; +} +table.ptable th.chg { + width:47%; +} +table.vtable { + border-collapse:collapse; + border:1px outset black; + margin-left:1.9em; + margin-top:0.7em; +} +table.vtable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + vertical-align:top; + max-width:450px; + word-wrap:break-word; +} +table.ptable th, table.vtable th { + background-color:#eeeeee; + font-weight:bold; + color:#333333; + font-family:Verdana, Arial; + font-size:0.875em; + border:1px solid gray; + text-align:center; + vertical-align:top; + white-space:nowrap; + padding:3px; +} +table.summary { + border-collapse:collapse; + border:1px outset black; +} +table.summary th { + background-color:#eeeeee; + font-weight:normal; + text-align:left; + font-size:0.94em; + white-space:nowrap; + border:1px inset gray; + padding:3px; +} +table.summary td { + text-align:right; + white-space:nowrap; + border:1px inset gray; + padding:3px 5px 3px 10px; +} +span.mngl { + padding-left:1em; + font-size:0.875em; + cursor:text; + color:#444444; + font-weight:bold; +} +span.pleft { + padding-left:2.5em; +} +span.sym_ver { + color:#333333; + white-space:nowrap; + font-family:"DejaVu Sans Mono", Monospace; +} +span.attr { + color:#333333; + font-weight:normal; +} +span.color_p { + font-style:italic; + color:Brown; +} +span.p { + font-style:italic; +} +span.fp { + font-style:italic; + background-color:#DCDCDC; +} +span.ttype { + font-weight:normal; +} +span.nowrap { + white-space:nowrap; +} +span.value { + font-weight:bold; +} +.passed { + background-color:#CCFFCC; + font-weight:normal; +} +.warning { + background-color:#F4F4AF; + font-weight:normal; +} +.failed { + background-color:#FFCCCC; + font-weight:normal; +} +.new { + background-color:#C6DEFF; + font-weight:normal; +} +.compatible { + background-color:#CCFFCC; + font-weight:normal; +} +.almost_compatible { + background-color:#FFDAA3; + font-weight:normal; +} +.incompatible { + background-color:#FFCCCC; + font-weight:normal; +} +.gray { + background-color:#DCDCDC; + font-weight:normal; +} +.top_ref { + font-size:0.69em; +} +.footer { + font-size:0.75em; +} + +.tabset { + float:left; +} +a.tab { + border:1px solid Black; + float:left; + margin:0px 5px -1px 0px; + padding:3px 5px 3px 5px; + position:relative; + font-size:0.875em; + background-color:#DDD; + text-decoration:none; + color:Black; +} +a.disabled:hover +{ + color:Black; + background:#EEE; +} +a.active:hover +{ + color:Black; + background:White; +} +a.active { + border-bottom-color:White; + background-color:White; +} +div.tab { + border-top:1px solid Black; + padding:0px; + width:100%; + clear:both; +} +</style> +<script type="text/javascript" language="JavaScript"> +<!-- +function showContent(header, id) +{ + e = document.getElementById(id); + if(e.style.display == 'none') + { + e.style.display = 'block'; + e.style.visibility = 'visible'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); + } + else + { + e.style.display = 'none'; + e.style.visibility = 'hidden'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); + } +} +function initTabs() +{ + var url = window.location.href; + if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) + { + var tab1 = document.getElementById('BinaryID'); + var tab2 = document.getElementById('SourceID'); + tab1.className='tab disabled'; + tab2.className='tab active'; + } + var sets = document.getElementsByTagName('div'); + for (var i = 0; i < sets.length; i++) + { + if (sets[i].className.indexOf('tabset') != -1) + { + var tabs = []; + var links = sets[i].getElementsByTagName('a'); + for (var j = 0; j < links.length; j++) + { + if (links[j].className.indexOf('tab') != -1) + { + tabs.push(links[j]); + links[j].tabs = tabs; + var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); + //reset all tabs on start + if (tab) + { + if (links[j].className.indexOf('active')!=-1) { + tab.style.display = 'block'; + } + else { + tab.style.display = 'none'; + } + } + links[j].onclick = function() + { + var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); + if (tab) + { + //reset all tabs before change + for (var k = 0; k < this.tabs.length; k++) + { + document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; + this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); + } + this.className = 'tab active'; + tab.style.display = 'block'; + // window.location.hash = this.id.replace('ID', ''); + return false; + } + } + } + } + } + } + if(url.indexOf('#')!=-1) { + location.href=location.href; + } +} +if (window.addEventListener) window.addEventListener('load', initTabs, false); +else if (window.attachEvent) window.attachEvent('onload', initTabs); +--> +</script> +</head> +<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libcouchbase</span> library between <span style='color:Red;'>3.0.6</span> and <span style='color:Red;'>3.0.7</span> versions on <span style='color:Blue;'>x86_64</span></h1> + + <br/> + <div class='tabset'> + <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> + <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> + </div><div id='BinaryTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libcouchbase</td></tr> +<tr><th>Version #1</th><td>3.0.6</td></tr> +<tr><th>Version #2</th><td>3.0.7</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>GCC Version</th><td>10</td></tr> +<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>25</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>610 / 360</td></tr> +<tr><th>Compatibility</th> +<td class='warning'>96.1%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td class='failed'><a href='#Type_Binary_Problems_Medium' style='color:Blue;'>7</a></td></tr> +<tr><td>Low</td><td class='warning'><a href='#Type_Binary_Problems_Low' style='color:Blue;'>5</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Binary_Problems_Low' style='color:Blue;'>1</a></td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Types' style='color:Blue;'>2</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Constants' style='color:Blue;'>1</a></td></tr> +</table> + +<a name='Medium_Risk_Binary_Problems'></a><a name='Type_Binary_Problems_Medium'></a> +<h2>Problems with Data Types, Medium Severity <span class='failed'> 7 </span></h2><hr/> +<span class='h_name'>vbucket.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_1')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVER <span class='failed'> 5 </span></span> +<br/> +<div id="c_1" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Field <b>eventingpath</b> has been added at the middle position of this structural type.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications.</td> +</tr> +<tr> +<th>2</th> +<td>Size of field <b>alt_svc</b> has been changed from <b>112</b> bytes to <b>136</b> bytes.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken.</td> +</tr> +<tr> +<th>3</th> +<td>Size of field <b>svc</b> has been changed from <b>112</b> bytes to <b>136</b> bytes.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken.</td> +</tr> +<tr> +<th>4</th> +<td>Size of field <b>svc_ssl</b> has been changed from <b>112</b> bytes to <b>136</b> bytes.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken.</td> +</tr> +<tr> +<th>5</th> +<td>Size of field <b>alt_svc_ssl</b> has been changed from <b>112</b> bytes to <b>136</b> bytes.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Previous accesses of applications and library functions to this field may be broken.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_2')"> +[+] affected symbols: 48 (7.9%)</span> +<div id="c_2" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers' in 1st parameter 'from' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers' in the return value (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers' in 1st parameter 'conf' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>4th parameter 'servers' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers' in 1st parameter 'vbc' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<span class="section" onclick="javascript:showContent(this, 'c_3')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVICES <span class='failed'> 2 </span></span> +<br/> +<div id="c_3" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Field <b>eventing</b> has been added at the middle position of this structural type.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications.</td> +</tr> +<tr> +<th>2</th> +<td>Field <b>eventing_base_</b> has been added at the middle position of this structural type.</td> +<td>1) Size of the inclusive type has been changed.<br/>2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_4')"> +[+] affected symbols: 48 (7.9%)</span> +<div id="c_4" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers.svc' in 1st parameter 'from' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers.svc' in the return value (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers.svc' in 1st parameter 'conf' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'servers.alt_svc' in 4th parameter 'servers' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers.svc' in 1st parameter 'vbc' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Binary_Problems'></a><a name='Type_Binary_Problems_Low'></a> +<h2>Problems with Data Types, Low Severity <span class='warning'> 5 </span></h2><hr/> +<span class='h_name'>couchbase.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_5')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcb_HTTP_TYPE <span class='warning'> 1 </span></span> +<br/> +<div id="c_5" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Value of member <b>LCB_HTTP_TYPE_MAX</b> has been changed from <b>7</b> to <b>8</b>.</td> +<td>Applications may execute a wrong branch of code in the library and therefore change the behavior.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_6')"> +[+] affected symbols: 1 (0.2%)</span> +<div id="c_6" style="display:none;"> +<div class='affected'><span class='iname_a'>lcb_cmdhttp_create <span class='sym_p'><span>( lcb_CMDHTTP** <i>cmd</i></span>, <span>enum lcb_HTTP_TYPE <span class='fp'>type</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcb_HTTP_TYPE'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<span class='h_name'>vbucket.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_7')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcbvb_SVCTYPE <span class='warning'> 1 </span></span> +<br/> +<div id="c_7" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Value of member <b>LCBVB_SVCTYPE__MAX</b> has been changed from <b>8</b> to <b>9</b>.</td> +<td>Applications may execute a wrong branch of code in the library and therefore change the behavior.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_8')"> +[+] affected symbols: 5 (0.8%)</span> +<div id="c_8" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_get_hostport <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_port <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost_ex <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span>, <span>int* <i>used</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_resturl <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +</div> +</div> +<br/><br/></div> + +<span class="section" onclick="javascript:showContent(this, 'c_9')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVER <span class='warning'> 1 </span></span> +<br/> +<div id="c_9" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Size of this type has been changed from <b>512</b> bytes to <b>616</b> bytes.</td> +<td>The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_10')"> +[+] affected symbols: 48 (7.9%)</span> +<div id="c_10" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers' in 1st parameter 'from' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers' in the return value (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers' in 1st parameter 'conf' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>4th parameter 'servers' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers' in 1st parameter 'vbc' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<span class="section" onclick="javascript:showContent(this, 'c_11')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVICES <span class='warning'> 2 </span></span> +<br/> +<div id="c_11" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Size of this type has been changed from <b>112</b> bytes to <b>136</b> bytes.</td> +<td>The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications.</td> +</tr> +<tr> +<th>2</th> +<td>Type of field <b>hoststrs</b> has been changed from <b>char*[8]</b> to <b>char*[9]</b>.</td> +<td>Replacement of the field data type may indicate a change in the semantic meaning of the field.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_12')"> +[+] affected symbols: 48 (7.9%)</span> +<div id="c_12" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers.svc' in 1st parameter 'from' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers.svc' in the return value (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers.svc' in 1st parameter 'conf' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'servers.alt_svc' in 4th parameter 'servers' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers.svc' in 1st parameter 'vbc' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Constant_Binary_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 1 </span></h2><hr/> +<span class='h_name'>cntl.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_13')"> +<span class='ext'>[+]</span> LCB_CNTL__MAX</span> +<br/> +<div id="c_13" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>LCB_CNTL__MAX</b> has been changed from <b>0x63</b> to <b>0x64</b>.</td> +<td>Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes'></a><a name='Other_Binary_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 2 </span></h2><hr/> +<span class='h_name'>couchbase.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_14')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcb_HTTP_TYPE <span class='passed'> 1 </span></span> +<br/> +<div id="c_14" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>LCB_HTTP_TYPE_EVENTING</b> with value <b>7</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_15')"> +[+] affected symbols: 1 (0.2%)</span> +<div id="c_15" style="display:none;"> +<div class='affected'><span class='iname_a'>lcb_cmdhttp_create <span class='sym_p'><span>( lcb_CMDHTTP** <i>cmd</i></span>, <span>enum lcb_HTTP_TYPE <span class='fp'>type</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcb_HTTP_TYPE'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<span class='h_name'>vbucket.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_16')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcbvb_SVCTYPE <span class='passed'> 1 </span></span> +<br/> +<div id="c_16" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>LCBVB_SVCTYPE_EVENTING</b> with value <b>8</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_17')"> +[+] affected symbols: 5 (0.8%)</span> +<div id="c_17" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_get_hostport <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_port <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost_ex <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span>, <span>int* <i>used</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_resturl <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 1 </span></h2><hr/> +<span class='h_name'>cntl.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_18')"> +<span class='ext'>[+]</span> LCB_CNTL_SEARCH_TIMEOUT</span> +<br/> +<div id="c_18" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>LCB_CNTL_SEARCH_TIMEOUT</b> with value <b>0x63</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 25 </span></h2><hr/> +<div class='h_list'> +assert.h<br/> +auth.h<br/> +cntl-private.h<br/> +cntl.h<br/> +configuration.h<br/> +couchbase.h<br/> +crypto.h<br/> +iops.h<br/> +ixmgmt.h<br/> +kvbuf.h<br/> +libev_io_opts.h<br/> +libevent_io_opts.h<br/> +libuv_compat.h<br/> +libuv_io_opts.h<br/> +logger.h<br/> +metrics.h<br/> +pktfwd.h<br/> +plugin-internal.h<br/> +select_io_opts.h<br/> +sysdefs.h<br/> +tracing.h<br/> +utils.h<br/> +vbucket.h<br/> +visibility.h<br/> +wsaerr.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libcouchbase.so.6.0.7<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><div id='SourceTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libcouchbase</td></tr> +<tr><th>Version #1</th><td>3.0.6</td></tr> +<tr><th>Version #2</th><td>3.0.7</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>25</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>615 / 366</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td class='warning'><a href='#Type_Source_Problems_Low' style='color:Blue;'>4</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Source_Problems_Low' style='color:Blue;'>4</a></td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Types' style='color:Blue;'>4</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Constants' style='color:Blue;'>1</a></td></tr> +</table> + +<a name='Low_Risk_Source_Problems'></a><a name='Type_Source_Problems_Low'></a> +<h2>Problems with Data Types, Low Severity <span class='warning'> 4 </span></h2><hr/> +<span class='h_name'>vbucket.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_19')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVER <span class='warning'> 1 </span></span> +<br/> +<div id="c_19" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Field <b>eventingpath</b> has been added to this type.</td> +<td>This field will not be initialized or used by old client applications.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_20')"> +[+] affected symbols: 49 (8%)</span> +<div id="c_20" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers' in 1st parameter 'from' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers' in the return value (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers' in 1st parameter 'conf' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>4th parameter 'servers' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers' in 1st parameter 'vb' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers' in 1st parameter 'vbc' (pointer) has base type 'struct lcbvb_SERVER'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers' in 1st parameter 'cfg' (pointer) has base type 'struct lcbvb_SERVER'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<span class="section" onclick="javascript:showContent(this, 'c_21')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> lcbvb_SERVICES <span class='warning'> 3 </span></span> +<br/> +<div id="c_21" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Field <b>eventing</b> has been added to this type.</td> +<td>This field will not be initialized or used by old client applications.</td> +</tr> +<tr> +<th>2</th> +<td>Field <b>eventing_base_</b> has been added to this type.</td> +<td>This field will not be initialized or used by old client applications.</td> +</tr> +<tr> +<th>3</th> +<td>Type of field <b>hoststrs</b> has been changed from <b>char*[8]</b> to <b>char*[9]</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_22')"> +[+] affected symbols: 49 (8%)</span> +<div id="c_22" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_compare <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>from</span></span>, <span>lcbvb_CONFIG* <i>to</i></span> )</span></span><br/> +<div class='affect'>Field 'from.servers.svc' in 1st parameter 'from' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_create <span class='sym_p'>( )</span></span><br/> +<div class='affect'>Field 'retval.servers.svc' in the return value (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_destroy <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>conf</span></span> )</span></span><br/> +<div class='affect'>Field 'conf.servers.svc' in 1st parameter 'conf' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genconfig_ex <span class='sym_p'><span>( lcbvb_CONFIG* <i>vb</i></span>, <span>char const* <i>name</i></span>, <span>char const* <i>uuid</i></span>, <span>struct lcbvb_SERVER const* <span class='fp'>servers</span></span>, <span>unsigned int <i>nservers</i></span>, <span>unsigned int <i>nreplica</i></span>, <span>unsigned int <i>nvbuckets</i></span> )</span></span><br/> +<div class='affect'>Field 'servers.alt_svc' in 4th parameter 'servers' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_genffmap <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>vb</span></span> )</span></span><br/> +<div class='affect'>Field 'vb.servers.svc' in 1st parameter 'vb' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_capibase <span class='sym_p'><span>( lcbvb_CONFIG* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_distmode <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_error <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>vbc</span></span> )</span></span><br/> +<div class='affect'>Field 'vbc.servers.svc' in 1st parameter 'vbc' (pointer) is of type 'struct lcbvb_SERVICES'.</div> +<span class='iname_a'>lcbvb_get_hostname <span class='sym_p'><span>( lcbvb_CONFIG const* <span class='fp'>cfg</span></span>, <span>unsigned int <i>ix</i></span> )</span></span><br/> +<div class='affect'>Field 'cfg.servers.svc' in 1st parameter 'cfg' (pointer) is of type 'struct lcbvb_SERVICES'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Constant_Source_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 4 </span></h2><hr/> +<span class='h_name'>cntl.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_23')"> +<span class='ext'>[+]</span> LCB_CNTL__MAX</span> +<br/> +<div id="c_23" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>LCB_CNTL__MAX</b> has been changed from <b>0x63</b> to <b>0x64</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<span class='h_name'>configuration.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_24')"> +<span class='ext'>[+]</span> LCB_VERSION</span> +<br/> +<div id="c_24" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>LCB_VERSION</b> has been changed from <b>0x030006</b> to <b>0x030007</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_25')"> +<span class='ext'>[+]</span> LCB_VERSION_CHANGESET</span> +<br/> +<div id="c_25" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>LCB_VERSION_CHANGESET</b> has been changed from <b>"e7b53f01b5c8653e4f4c3ea87e6e1af9c1277a34"</b> to <b>"d2d3666e269b41413408aaae96eb289f1cb4f8ec"</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_26')"> +<span class='ext'>[+]</span> LCB_VERSION_STRING</span> +<br/> +<div id="c_26" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>LCB_VERSION_STRING</b> has been changed from <b>"3.0.6"</b> to <b>"3.0.7"</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes'></a><a name='Other_Source_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 4 </span></h2><hr/> +<span class='h_name'>couchbase.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_27')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcb_HTTP_TYPE <span class='passed'> 2 </span></span> +<br/> +<div id="c_27" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>LCB_HTTP_TYPE_EVENTING</b> with value <b>7</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>Value of member <b>LCB_HTTP_TYPE_MAX</b> has been changed from <b>7</b> to <b>8</b>.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_28')"> +[+] affected symbols: 1 (0.2%)</span> +<div id="c_28" style="display:none;"> +<div class='affected'><span class='iname_a'>lcb_cmdhttp_create <span class='sym_p'><span>( lcb_CMDHTTP** <i>cmd</i></span>, <span>enum lcb_HTTP_TYPE <span class='fp'>type</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcb_HTTP_TYPE'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<span class='h_name'>vbucket.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_29')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> lcbvb_SVCTYPE <span class='passed'> 2 </span></span> +<br/> +<div id="c_29" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>LCBVB_SVCTYPE_EVENTING</b> with value <b>8</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>Value of member <b>LCBVB_SVCTYPE__MAX</b> has been changed from <b>8</b> to <b>9</b>.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_30')"> +[+] affected symbols: 5 (0.8%)</span> +<div id="c_30" style="display:none;"> +<div class='affected'><span class='iname_a'>lcbvb_get_hostport <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_port <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_randhost_ex <span class='sym_p'><span>( lcbvb_CONFIG const* <i>cfg</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span>, <span>int* <i>used</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +<span class='iname_a'>lcbvb_get_resturl <span class='sym_p'><span>( lcbvb_CONFIG* <i>cfg</i></span>, <span>unsigned int <i>ix</i></span>, <span>enum lcbvb_SVCTYPE <span class='fp'>type</span></span>, <span>enum lcbvb_SVCMODE <i>mode</i></span> )</span></span><br/> +<div class='affect'>3rd parameter 'type' is of type 'enum lcbvb_SVCTYPE'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 1 </span></h2><hr/> +<span class='h_name'>cntl.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_31')"> +<span class='ext'>[+]</span> LCB_CNTL_SEARCH_TIMEOUT</span> +<br/> +<div id="c_31" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>LCB_CNTL_SEARCH_TIMEOUT</b> with value <b>0x63</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 25 </span></h2><hr/> +<div class='h_list'> +assert.h<br/> +auth.h<br/> +cntl-private.h<br/> +cntl.h<br/> +configuration.h<br/> +couchbase.h<br/> +crypto.h<br/> +iops.h<br/> +ixmgmt.h<br/> +kvbuf.h<br/> +libev_io_opts.h<br/> +libevent_io_opts.h<br/> +libuv_compat.h<br/> +libuv_io_opts.h<br/> +logger.h<br/> +metrics.h<br/> +pktfwd.h<br/> +plugin-internal.h<br/> +select_io_opts.h<br/> +sysdefs.h<br/> +tracing.h<br/> +utils.h<br/> +vbucket.h<br/> +visibility.h<br/> +wsaerr.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libcouchbase.so.6.0.7<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><hr/> +<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> +</div> +<br/> + +</body></html> diff --git a/libcouchbase-0002-add-LCB_PLUGINS_DIR-option-to-set-directory-for-IO-p.patch b/libcouchbase-0002-add-LCB_PLUGINS_DIR-option-to-set-directory-for-IO-p.patch deleted file mode 100644 index 9034b0c..0000000 --- a/libcouchbase-0002-add-LCB_PLUGINS_DIR-option-to-set-directory-for-IO-p.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 99729147fa930b8ffed4153dcae2bca62bebcdb0 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Thu, 12 Nov 2020 11:26:35 +0100 -Subject: [PATCH] add LCB_PLUGINS_DIR option to set directory for IO plugins - ---- - CMakeLists.txt | 1 + - cmake/config-cmake.h.in | 4 ++-- - plugins/io/libev/CMakeLists.txt | 2 +- - plugins/io/libevent/CMakeLists.txt | 2 +- - plugins/io/libuv/CMakeLists.txt | 2 +- - 5 files changed, 6 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5789bac7..90061ee9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -41,6 +41,7 @@ endif() - OPTION(LCB_NO_TESTS "Disable building of tests" OFF) - OPTION(LCB_NO_TOOLS "Disable building of additional tools" OFF) - OPTION(LCB_NO_PLUGINS "Disable the building of IO plugins for external libs" OFF) -+SET(LCB_PLUGINS_DIR "libcouchbase" CACHE STRING "Directory for IO plugins") - OPTION(LCB_BUILD_LIBEVENT "Build the libevent plugin" ON) - OPTION(LCB_BUILD_LIBEV "Build the libev plugin (if available)" ON) - OPTION(LCB_BUILD_LIBUV "Build the libuv plugin (if available)" ON) -diff --git a/cmake/config-cmake.h.in b/cmake/config-cmake.h.in -index 30f66da8..1fc26d2a 100644 ---- a/cmake/config-cmake.h.in -+++ b/cmake/config-cmake.h.in -@@ -61,7 +61,7 @@ - #include "config_static.h" - #endif - --#define LCB_LIBDIR "${CMAKE_INSTALL_LIBDIR}/libcouchbase" -+#define LCB_LIBDIR "${CMAKE_INSTALL_LIBDIR}/${LCB_PLUGINS_DIR}" - - #define LCB_SYSTEM "${CMAKE_SYSTEM}" - #define LCB_SYSTEM_PROCESSOR "${CMAKE_SYSTEM_PROCESSOR}" -@@ -76,4 +76,4 @@ - #cmakedefine HAVE_PKCS5_PBKDF2_HMAC - #cmakedefine LCB_DUMP_PACKETS - --#cmakedefine LCB_TLS_LOG_KEYS -\ No newline at end of file -+#cmakedefine LCB_TLS_LOG_KEYS -diff --git a/plugins/io/libev/CMakeLists.txt b/plugins/io/libev/CMakeLists.txt -index c2441d36..cf144f0e 100644 ---- a/plugins/io/libev/CMakeLists.txt -+++ b/plugins/io/libev/CMakeLists.txt -@@ -28,4 +28,4 @@ ENDIF() - - INSTALL(TARGETS - couchbase_libev -- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/libcouchbase") -+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${LCB_PLUGINS_DIR}") -diff --git a/plugins/io/libevent/CMakeLists.txt b/plugins/io/libevent/CMakeLists.txt -index 485d6342..339e5a95 100644 ---- a/plugins/io/libevent/CMakeLists.txt -+++ b/plugins/io/libevent/CMakeLists.txt -@@ -24,7 +24,7 @@ IF(LCB_EMBED_PLUGIN_LIBEVENT) - SET(LCB_LINK_SPEC "${LCB_LINKS_SPEC} ${LIBEVENT_LIBRARIES}") - ELSE() - ADD_LIBRARY(couchbase_libevent SHARED plugin-libevent.c) -- INSTALL(TARGETS couchbase_libevent LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/libcouchbase") -+ INSTALL(TARGETS couchbase_libevent LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${LCB_PLUGINS_DIR}") - TARGET_LINK_LIBRARIES(couchbase_libevent ${LIBEVENT_LIBRARIES}) - ENDIF() - -diff --git a/plugins/io/libuv/CMakeLists.txt b/plugins/io/libuv/CMakeLists.txt -index 46c63dd8..9954c0f5 100644 ---- a/plugins/io/libuv/CMakeLists.txt -+++ b/plugins/io/libuv/CMakeLists.txt -@@ -40,5 +40,5 @@ INCLUDE_DIRECTORIES(AFTER ${LIBUV_INCLUDE_DIR}) - ADD_DEFINITIONS(-DLIBCOUCHBASE_INTERNAL=1) - INSTALL(TARGETS - couchbase_libuv -- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/libcouchbase" -+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${LCB_PLUGINS_DIR}" - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) --- -2.25.4 - diff --git a/libcouchbase.spec b/libcouchbase.spec index b58c1c3..dd23beb 100644 --- a/libcouchbase.spec +++ b/libcouchbase.spec @@ -31,8 +31,8 @@ Name: %{libname}%{soname} %else Name: %{libname} %endif -Version: 3.0.6 -Release: 2%{?dist} +Version: 3.0.7 +Release: 1%{?dist} Summary: Couchbase client library Group: System Environment/Libraries License: ASL 2.0 @@ -40,18 +40,18 @@ URL: http://www.couchbase.com/communities/c/getting-started Source0: http://packages.couchbase.com/clients/c/%{libname}-%{version}.tar.gz Patch0: %{libname}-0001-enforce-system-crypto-policies.patch -Patch1: %{libname}-0002-add-LCB_PLUGINS_DIR-option-to-set-directory-for-IO-p.patch %if 0%{?rhel} == 7 %global dtsenable source /opt/rh/devtoolset-8/enable BuildRequires: devtoolset-8-toolchain +BuildRequires: cmake3 >= 3.5.1 %else BuildRequires: gcc BuildRequires: gcc-c++ +BuildRequires: cmake >= 3.5.1 %endif BuildRequires: libtool BuildRequires: openssl-devel -BuildRequires: cmake >= 2.8.9 BuildRequires: pkgconfig(libevent) >= 2.0.20 BuildRequires: libev-devel >= 3 %if %{with uv} @@ -166,14 +166,17 @@ a Couchbase Server. %prep %setup -q -n %{libname}-%{version} %patch0 -p1 -b .crypto -%patch1 -p1 -b .plugdir %build %{?dtsenable} gcc --version +%if 0%{?rhel} == 7 +%cmake3 \ +%else %cmake \ +%endif -DLCB_BUILD_LIBEVENT=ON \ -DLCB_BUILD_LIBEV=ON \ %if %{with uv} @@ -250,6 +253,10 @@ make %{_smp_mflags} alltests test ARGS=%{_smp_mflags} %changelog +* Wed Dec 16 2020 Remi Collet <remi@remirepo.net> - 3.0.7-1 +- update to 3.0.7 +- drop patch merged upstream + * Mon Nov 16 2020 Remi Collet <remi@remirepo.net> - 3.0.6-2 - cleanup and only rename for fedora < 34 diff --git a/libcouchbase.xml b/libcouchbase.xml index c597296..79ae868 100644 --- a/libcouchbase.xml +++ b/libcouchbase.xml @@ -9,7 +9,7 @@ <version> <!-- Version of the library --> -2.10.8 +3.0.7 </version> <headers> |