Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (5)
refresh patches to address offset fuzz
· a9cc6bec
Tony Mancill
authored
Aug 17, 2019
a9cc6bec
Address cmd strncpy bounds checking with patch (#925869)
· e9d4b698
Tony Mancill
authored
Aug 17, 2019
e9d4b698
Bump Standards-Version to 4.4.0
· d9daad55
Tony Mancill
authored
Aug 17, 2019
d9daad55
Freshen years in debian/copyright
· 033d9a0f
Tony Mancill
authored
Aug 17, 2019
033d9a0f
prepare changelog for upload to unstable
· 60d34d2d
Tony Mancill
authored
Aug 17, 2019
60d34d2d
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
60d34d2d
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)
...
...
debian/control
View file @
60d34d2d
...
...
@@ -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
...
...
debian/copyright
View file @
60d34d2d
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Apache Zoo
k
eeper
Source: http://
hadoop
.apache.org/
zookeeper/releases.html
Upstream-Name: Apache Zoo
K
eeper
Source: http
s
://
zookeeper
.apache.org/
Files: *
Copyright: 2008-201
6
, The Apache Software Foundation
Copyright: 2008-201
8
, 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
...
...
debian/patches/02-patch-build-system.patch
View file @
60d34d2d
...
...
@@ -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
@@ -1
297
,30 +1
297
,10 @@
@@ -1
308
,30 +1
308
,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">
@@ -13
73
,6 +13
53
,9 @@
@@ -13
84
,6 +13
64
,9 @@
<batchtest todir="${test.log.dir}" if="fulltest">
<fileset dir="${test.src.dir}">
<include name="**/*${test.category}Test.java"/>
...
...
debian/patches/07-remove-non-reproducible-manifest-entries.patch
View file @
60d34d2d
...
...
@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.xml
+++ b/build.xml
@@ -6
02
,9 +6
02
,6 @@
@@ -6
13
,9 +6
13
,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"/>
@@ -64
3
,9 +6
40
,6 @@
@@ -6
5
4,9 +6
51
,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"/>
@@ -6
75
,9 +6
69
,6 @@
@@ -6
86
,9 +6
80
,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 +6
84
,6 @@
@@ -
704
,9 +6
95
,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"/>
@@ -7
11
,9 +
699
,6 @@
@@ -7
22
,9 +
710
,6 @@
<fileset file="LICENSE.txt" />
<fileset dir="${test.java.classes}"/>
<manifest>
...
...
debian/patches/08-reproducible-javadoc.patch
View file @
60d34d2d
...
...
@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.xml
+++ b/build.xml
@@ -5
25
,6 +5
25
,8 @@
@@ -5
36
,6 +5
36
,8 @@
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright &copy; ${year} The Apache Software Foundation"
...
...
@@ -12,7 +12,7 @@ Forwarded: no
>
<packageset dir="${java.src.dir}">
<include name="org/apache/**"/>
@@ -5
49
,6 +5
51
,8 @@
@@ -5
60
,6 +5
62
,8 @@
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright &copy; ${year} The Apache Software Foundation"
...
...
debian/patches/13-disable-netty-connection-factory.patch
View file @
60d34d2d
...
...
@@ -3,7 +3,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -4
48
,6 +4
48
,7 @@
@@ -4
55
,6 +4
55
,7 @@
<target name="compile" depends="ivy-retrieve,clover,build-generated">
<javac srcdir="${java.src.dir}" destdir="${build.classes}" includeantruntime="false"
...
...
debian/patches/15-javadoc-doclet.patch
View file @
60d34d2d
...
...
@@ -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
@@ -55
4
,8 +55
4
,6 @@
xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
@@ -5
6
5,8 +5
6
5,6 @@
bottom="Copyright &copy; ${year} The Apache Software Foundation"
locale="en"
additionalparam="-notimestamp"
...
...
debian/patches/17-gcc9-ftbfs-925869.patch
0 → 100644
View file @
60d34d2d
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{
debian/patches/series
View file @
60d34d2d
...
...
@@ -12,3 +12,4 @@
14-ftbfs-with-gcc-8.patch
15-javadoc-doclet.patch
16-ZOOKEEPER-1392.patch
17-gcc9-ftbfs-925869.patch