Skip to content
Commits on Source (5)
zookeeper (3.4.13-3) unstable; urgency=medium
* Address FTBFS with GCC 9 (Closes: #925869)
* Bump Standards-Version to 4.4.0
* Freshen years in debian/copyright and update Source:
-- tony mancill <tmancill@debian.org> Sat, 17 Aug 2019 10:59:19 -0700
zookeeper (3.4.13-2) unstable; urgency=medium
* Add patch for CVE-2019-0201 (Debian: #929283)
......
......@@ -35,7 +35,7 @@ Build-Depends:
pkg-config,
procps,
python-all-dev (>= 2.6.6-3~)
Standards-Version: 4.2.1
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/zookeeper.git
Vcs-Browser: https://salsa.debian.org/java-team/zookeeper
Homepage: https://zookeeper.apache.org
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Apache Zookeeper
Source: http://hadoop.apache.org/zookeeper/releases.html
Upstream-Name: Apache ZooKeeper
Source: https://zookeeper.apache.org/
Files: *
Copyright: 2008-2016, The Apache Software Foundation
Copyright: 2008-2018, The Apache Software Foundation
License: Apache-2.0
Files: src/contrib/zooinspector/src/java/com/*
......@@ -232,6 +232,7 @@ License: BSD-3-clause
Files: debian/*
Copyright: 2010, Thomas Koch <thomas.koch@ymc.ch>,
2011, Canonical Ltd (http://www.canonical.com)
2015-2019, tony mancill <tmancill@debian.org>
License: Apache-2.0
License: Apache-2.0
......
......@@ -4,7 +4,7 @@ Author: James Page <james.page@ubuntu.com>, Thomas Koch <thomas@koch.ro>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -1297,30 +1297,10 @@
@@ -1308,30 +1308,10 @@
<target name="test-init" depends="jar,compile-test">
<delete dir="${test.log.dir}" />
<delete dir="${test.tmp.dir}" />
......@@ -35,7 +35,7 @@ Forwarded: not-needed
</target>
<condition property="quicktest">
@@ -1373,6 +1353,9 @@
@@ -1384,6 +1364,9 @@
<batchtest todir="${test.log.dir}" if="fulltest">
<fileset dir="${test.src.dir}">
<include name="**/*${test.category}Test.java"/>
......
......@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.xml
+++ b/build.xml
@@ -602,9 +602,6 @@
@@ -613,9 +613,6 @@
<fileset dir="${src_generated.dir}" excludes="**/.generated"/>
<manifest>
<attribute name="Main-Class" value="org.apache.zookeeper.server.quorum.QuorumPeerMain" />
......@@ -13,7 +13,7 @@ Forwarded: no
<attribute name="Implementation-Title" value="org.apache.zookeeper"/>
<attribute name="Implementation-Version" value="${revision}"/>
<attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
@@ -643,9 +640,6 @@
@@ -654,9 +651,6 @@
<fileset dir="${build.classes}" excludes="**/.generated"/>
<manifest>
<attribute name="Main-Class" value="org.apache.zookeeper.server.quorum.QuorumPeerMain" />
......@@ -23,7 +23,7 @@ Forwarded: no
<attribute name="Implementation-Title" value="org.apache.zookeeper"/>
<attribute name="Implementation-Version" value="${revision}"/>
<attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
@@ -675,9 +669,6 @@
@@ -686,9 +680,6 @@
<fileset dir="${java.src.dir}"/>
<fileset dir="${src_generated.dir}" excludes="**/.generated"/>
<manifest>
......@@ -33,7 +33,7 @@ Forwarded: no
<attribute name="Implementation-Title" value="org.apache.zookeeper"/>
<attribute name="Implementation-Version" value="${revision}"/>
<attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
@@ -693,9 +684,6 @@
@@ -704,9 +695,6 @@
<fileset file="LICENSE.txt" />
<fileset dir="${build.javadoc}"/>
<manifest>
......@@ -43,7 +43,7 @@ Forwarded: no
<attribute name="Implementation-Title" value="org.apache.zookeeper"/>
<attribute name="Implementation-Version" value="${revision}"/>
<attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
@@ -711,9 +699,6 @@
@@ -722,9 +710,6 @@
<fileset file="LICENSE.txt" />
<fileset dir="${test.java.classes}"/>
<manifest>
......
......@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.xml
+++ b/build.xml
@@ -525,6 +525,8 @@
@@ -536,6 +536,8 @@
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
......@@ -12,7 +12,7 @@ Forwarded: no
>
<packageset dir="${java.src.dir}">
<include name="org/apache/**"/>
@@ -549,6 +551,8 @@
@@ -560,6 +562,8 @@
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
......
......@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -448,6 +448,7 @@
@@ -455,6 +455,7 @@
<target name="compile" depends="ivy-retrieve,clover,build-generated">
<javac srcdir="${java.src.dir}" destdir="${build.classes}" includeantruntime="false"
......
......@@ -10,11 +10,9 @@ Forwarded: not-needed
build.xml | 2 --
1 file changed, 2 deletions(-)
diff --git a/build.xml b/build.xml
index 9e81b99..7c1fa40 100644
--- a/build.xml
+++ b/build.xml
@@ -554,8 +554,6 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
@@ -565,8 +565,6 @@
bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
locale="en"
additionalparam="-notimestamp"
......
Description: Address FTBFS with GCC 9
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925869
Author: tony mancill <tmancill@debian.org>
--- a/src/c/src/cli.c
+++ b/src/c/src/cli.c
@@ -549,14 +549,14 @@
if (argc > 2) {
if(strncmp("cmd:",argv[2],4)==0){
size_t cmdlen = strlen(argv[2]);
- if (cmdlen > sizeof(cmd)) {
+ if (cmdlen >= sizeof(cmd)) {
fprintf(stderr,
"Command length %zu exceeds max length of %zu\n",
cmdlen,
- sizeof(cmd));
+ sizeof(cmd)-1);
return 2;
}
- strncpy(cmd, argv[2]+4, sizeof(cmd));
+ strncpy(cmd, argv[2]+4, sizeof(cmd)-1);
batchMode=1;
fprintf(stderr,"Batch mode: %s\n",cmd);
}else{
......@@ -12,3 +12,4 @@
14-ftbfs-with-gcc-8.patch
15-javadoc-doclet.patch
16-ZOOKEEPER-1392.patch
17-gcc9-ftbfs-925869.patch