Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu


 changelog                     |   24 ++++++++++++++++++++++++
 control                       |    3 ++-
 patches/fix-stack-smash.patch |   12 ++++++++++++
 patches/series                |    1 +
 rules                         |    4 +++-
 5 files changed, 42 insertions(+), 2 deletions(-)

diff -Nru chkrootkit-0.50/debian/changelog chkrootkit-0.50/debian/changelog
--- chkrootkit-0.50/debian/changelog    2015-03-23 11:22:11.000000000 +0200
+++ chkrootkit-0.50/debian/changelog    2017-05-11 19:59:11.000000000 +0300
@@ -1,3 +1,27 @@
+chkrootkit (0.50-3.2~deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for jessie.
+
+ -- Adrian Bunk <b...@debian.org>  Thu, 11 May 2017 19:58:29 +0300
+
+chkrootkit (0.50-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/fix-stack-smash.patch:
+    - Fix segfault when running chkrootkit. (Closes: #767403)
+
+ -- Artur Rona <ari-tc...@ubuntu.com>  Sun, 06 Sep 2015 21:48:14 +0200
+
+chkrootkit (0.50-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add missing dependency on openssh-client. Closes: #785322
+  * Add Built-Using field to track the source package required to rebuild
+    the statically linked binary. Closes: #769353
+
+ -- Raphaƫl Hertzog <hert...@debian.org>  Tue, 07 Jul 2015 17:48:12 +0200
+
 chkrootkit (0.50-3) unstable; urgency=high
 
   * [9e1ed7f] Ignore Suckit false positive (Closes: #740898)
diff -Nru chkrootkit-0.50/debian/control chkrootkit-0.50/debian/control
--- chkrootkit-0.50/debian/control      2015-03-23 11:22:11.000000000 +0200
+++ chkrootkit-0.50/debian/control      2015-07-07 19:01:01.000000000 +0300
@@ -11,7 +11,8 @@
 
 Package: chkrootkit
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, binutils, net-tools, debconf, 
procps
+Built-Using: ${Built-Using}
+Depends: ${shlibs:Depends}, ${misc:Depends}, binutils, net-tools, debconf, 
procps, openssh-client
 Description: rootkit detector
  The chkrootkit security scanner searches the local system for signs
  that it is infected with a 'rootkit'. Rootkits are set of programs
diff -Nru chkrootkit-0.50/debian/patches/fix-stack-smash.patch 
chkrootkit-0.50/debian/patches/fix-stack-smash.patch
--- chkrootkit-0.50/debian/patches/fix-stack-smash.patch        1970-01-01 
02:00:00.000000000 +0200
+++ chkrootkit-0.50/debian/patches/fix-stack-smash.patch        2014-10-30 
22:26:29.000000000 +0200
@@ -0,0 +1,12 @@
+diff -Naurp chkrootkit-0.49.orig//chkutmp.c chkrootkit-0.49//chkutmp.c
+--- chkrootkit-0.49.orig//chkutmp.c    2009-07-30 09:43:17.000000000 -0400
++++ chkrootkit-0.49//chkutmp.c 2011-03-14 09:31:05.394307962 -0400
+@@ -98,7 +98,7 @@ int fetchps(struct ps_line *psl_p)
+               while (isspace(*s))     /* skip spaces */
+                   s++;
+               d = pid;
+-              for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= 
UT_LINESIZE; x++)   /* grab pid */
++              for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= UT_PIDSIZE; 
x++)    /* grab pid */
+                   ;
+               *d = '\0';
+               curp->ps_pid = atoi(pid);
diff -Nru chkrootkit-0.50/debian/patches/series 
chkrootkit-0.50/debian/patches/series
--- chkrootkit-0.50/debian/patches/series       2015-03-23 11:22:11.000000000 
+0200
+++ chkrootkit-0.50/debian/patches/series       2015-09-06 22:48:07.000000000 
+0300
@@ -16,3 +16,4 @@
 kfreebsd.patch
 php.patch
 Suckitfalse.patch
+fix-stack-smash.patch
diff -Nru chkrootkit-0.50/debian/rules chkrootkit-0.50/debian/rules
--- chkrootkit-0.50/debian/rules        2015-03-23 11:22:11.000000000 +0200
+++ chkrootkit-0.50/debian/rules        2015-07-07 18:55:13.000000000 +0300
@@ -26,6 +26,8 @@
        INSTALL_PROGRAM += -s
 endif
 
+BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), 
' -W libc-dev-bin)
+
 configure: configure-stamp
 configure-stamp:
        dh_testdir
@@ -80,7 +82,7 @@
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
-       dh_gencontrol
+       dh_gencontrol -- -VBuilt-Using="$(BUILT_USING)"
        dh_md5sums
        dh_builddeb
 
 

Reply via email to