[Debian-iot-packaging] [radlib] 01/01: Import Debian changes 2.12.0-5

Thorsten Alteholz alteholz at moszumanska.debian.org
Sat Sep 9 17:01:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

alteholz pushed a commit to branch master
in repository radlib.

commit cb0d713d1af3520f2110d082d063fd31ce4a3f94
Author: Thorsten Alteholz <debian at alteholz.de>
Date:   Fri Sep 8 18:12:00 2017 +0200

    Import Debian changes 2.12.0-5
    
    radlib (2.12.0-5) unstable; urgency=medium
    
      * add patch umask.patch (Closes: #873365)
      * debian/control: bump standard to 4.1.0 (no changes)
      * debian/control: remove redundant dependency of autotools-dev
---
 debian/changelog           |  8 ++++++++
 debian/control             |  4 ++--
 debian/patches/series      |  1 +
 debian/patches/umask.patch | 19 +++++++++++++++++++
 4 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 72938d7..60fd087 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+radlib (2.12.0-5) unstable; urgency=medium
+
+  * add patch umask.patch (Closes: #873365)
+  * debian/control: bump standard to 4.1.0 (no changes)
+  * debian/control: remove redundant dependency of autotools-dev
+
+ -- Thorsten Alteholz <debian at alteholz.de>  Fri, 08 Sep 2017 18:12:00 +0200
+
 radlib (2.12.0-4) unstable; urgency=medium
 
   * drop dependency for libc6 (Closes: #862520)
diff --git a/debian/control b/debian/control
index 5715164..47b2f26 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: radlib
 Priority: extra
 Maintainer: Debian IoT Maintainers <debian-iot-maintainers at lists.alioth.debian.org>
 Uploaders: Thorsten Alteholz <debian at alteholz.de>
-Build-Depends: debhelper (>= 10), autotools-dev, libsqlite3-dev
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10), libsqlite3-dev
+Standards-Version: 4.1.0
 Section: libs
 Homepage: http://www.radlib.teel.ws
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-iot/radlib.git
diff --git a/debian/patches/series b/debian/patches/series
index 666e09d..f430f43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 compile-errors.patch
+umask.patch
diff --git a/debian/patches/umask.patch b/debian/patches/umask.patch
new file mode 100644
index 0000000..b723320
--- /dev/null
+++ b/debian/patches/umask.patch
@@ -0,0 +1,19 @@
+Description: don't set umask(0) to prevent creation of world writeable files
+Author: Thorsten Alteholz <debian at alteholz.de>
+Index: radlib-2.12.0/src/radsysutils.c
+===================================================================
+--- radlib-2.12.0.orig/src/radsysutils.c	2009-12-06 20:22:09.000000000 +0100
++++ radlib-2.12.0/src/radsysutils.c	2017-09-08 14:28:16.441561336 +0200
+@@ -177,7 +177,11 @@
+     }
+ 
+     // clear the file mode mask
+-    umask (0);
++    /*
++     * this should not be done
++     * see -> https://sourceforge.net/p/radlib/bugs/2/
++     */
++    // umask (0);
+ 
+ // ARM microcontrollers seem to have issues with dup2
+ #ifndef __arm__

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/radlib.git



More information about the Debian-iot-packaging mailing list