[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770127: unblock: mbuffer/20140310-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Please unblock package mbuffer:

The 20140310-3 version fixes a grave bug - mbuffer would build, but
not be able to run at all on kfreebsd-*, since the FreeBSD kernel
checks more rigorously the fields of the sigaction structure even
if the signal is being set to be ignored.

mbuffer (20140310-3) unstable; urgency=medium

  * Add the 15-sigaction patch to initialize all the relevant fields
    in the sigaction structure.  This satisfies the stricter
    requirements of the FreeBSD kernel used in kfreebsd-*.
    Thanks, Bernhard Übelacker <bernhardu@vr-web.de> and
    Alexander Dahl <post@lespocky.de>.  Closes: #770005

 -- Peter Pentchev <roam@ringlet.net>  Wed, 19 Nov 2014 02:09:59 +0200

Full debdiff attached.

unblock mbuffer/20140310-3

G'luck,
Peter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUa+y9AAoJEGUe77AlJ98TagoP/ihoDqOBwvp19YzUqzcgXusL
U0szJLHl0dumuUMotAtRCNj66u5WthU6En2lePxHfjPXahdbXZqRISJT/r6Z24FZ
TaNwgvaQ/MoiWSgwew9/JWESAwR73Rd0xKOBMA9QWxbavbc9knynscu1YYCv9/R9
cKigfyIpab7LF4HApM8qMkShlFIhier3STJienz8neJUmqeVKmG4WS6O7lxJkQyd
tj8zPCEkGUimcScxYjRVuJ2p7iSzmzc8+LWGwaXdnnYGp092i+AX7TNZPgKfPNI/
DJAtmmiVLEC8tj5UR2LpOSSL4ichovMwQehSEjQz+IoJWdaBlvJw1UOfvNH3qpgZ
I2hgwySi/3mNnZtMpNFBUZMA9TqIRTl0AIkH4UdJ5+gGpmt7RuOkqNQNRr94SAW6
ltk+NKSSEJAoc0j6MnWifYhN/dI9y8rL3kusOoqLqiADHo7pDO3ysaDva4vJBitY
5MguSPkQWzTxCB/auOAXo5w+naRvojEKbvu1sjgFTZRdI1mbtxDzM9GNvqM9UXh/
TQHPwl/Ebk6R+0+GhqITgOgbRUt/JKutCI75lsgv9IGgXeR1qRCOsJxFZw7AIL7O
c0DhblBgIqPRSOisFm6JsT0qtQm2HxIQtYcP3WYM5Wls1cLJKW8CFSW/p5gEdAPh
6DAPvTU5TlFigy0BAvsO
=T4n2
-----END PGP SIGNATURE-----

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mbuffer-20140310/debian/changelog mbuffer-20140310/debian/changelog
--- mbuffer-20140310/debian/changelog	2014-10-25 21:14:52.000000000 +0300
+++ mbuffer-20140310/debian/changelog	2014-11-19 02:10:01.000000000 +0200
@@ -1,3 +1,13 @@
+mbuffer (20140310-3) unstable; urgency=medium
+
+  * Add the 15-sigaction patch to initialize all the relevant fields
+    in the sigaction structure.  This satisfies the stricter
+    requirements of the FreeBSD kernel used in kfreebsd-*.
+    Thanks, Bernhard Übelacker <bernhardu@vr-web.de> and
+    Alexander Dahl <post@lespocky.de>.  Closes: #770005
+
+ -- Peter Pentchev <roam@ringlet.net>  Wed, 19 Nov 2014 02:09:59 +0200
+
 mbuffer (20140310-2) unstable; urgency=medium
 
   * Use dh-autoreconf *and* autotools-dev so that config.sub/guess are
diff -Nru mbuffer-20140310/debian/patches/15-sigaction.patch mbuffer-20140310/debian/patches/15-sigaction.patch
--- mbuffer-20140310/debian/patches/15-sigaction.patch	1970-01-01 02:00:00.000000000 +0200
+++ mbuffer-20140310/debian/patches/15-sigaction.patch	2014-11-19 00:47:27.000000000 +0200
@@ -0,0 +1,17 @@
+Description: Initialize all the fields in the sigaction structure
+Author: Bernhard Übelacker <bernhardu@vr-web.de>
+Bug-Debian: https://bugs.debian.org/770005
+Forwarded: not-yet
+Last-Update: 2014-11-18
+
+--- a/mbuffer.c
++++ b/mbuffer.c
+@@ -2355,6 +2355,8 @@
+ 
+ 	debugmsg("checking if we have a controlling terminal...\n");
+ 	sig.sa_handler = SIG_IGN;
++	sigemptyset(&sig.sa_mask);
++	sig.sa_flags = 0;
+ 	err = sigaction(SIGTTIN,&sig,0);
+ 	assert(err == 0);
+ 	fl = fcntl(STDERR_FILENO,F_GETFL);
diff -Nru mbuffer-20140310/debian/patches/series mbuffer-20140310/debian/patches/series
--- mbuffer-20140310/debian/patches/series	2014-10-23 00:38:37.000000000 +0300
+++ mbuffer-20140310/debian/patches/series	2014-11-19 00:41:39.000000000 +0200
@@ -5,3 +5,4 @@
 12-path-max.patch
 13-off-by-one.patch
 14-autoconf.patch
+15-sigaction.patch

Reply to: