Browse Source

Merge pull request #62 from m-r-r/master

Lintian errors removed
Martin Duquesnoy 12 years ago
parent
commit
83a92da659
5 changed files with 30 additions and 7 deletions
  1. 8 0
      configure
  2. 14 1
      debian/changelog
  3. 1 1
      debian/control
  4. 7 4
      debian/copyright
  5. 0 1
      debian/docs

+ 8 - 0
configure

@@ -75,6 +75,14 @@ fi
 [ -n "$USE_XINERAMA" ] && CFLAGS="$CFLAGS -DHAVE_XINERAMA"
 [ -n "$USE_IMLIB2" ] && CFLAGS="$CFLAGS -DHAVE_IMLIB2"
 
+# Debian hardening options http://wiki.debian.org/Hardening
+which dpkg-buildflags > /dev/null 2>&1
+if [ $? -eq 0 ];
+then
+    CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 `dpkg-buildflags --get CFLAGS`"
+    LDFLAGS="$LDFLAGS `dpkg-buildflags --get LDFLAGS`"
+fi
+
 cat > Makefile << EOF
 PREFIX=$PREFIX
 XDG_CONFIG_DIR=$XDG_CONFIG_DIR

+ 14 - 1
debian/changelog

@@ -1,4 +1,17 @@
-wmfs (2~beta201206) unstable; urgency=low
+wmfs (2~beta201206-3) unstable; urgency=low
+
+  * No hardening-related Lintiant warnings 
+
+ -- Mickaël Raybaud-Roig <raybaudroigm@gmail.com>  Sun, 24 Jun 2012 16:40:54 +0200
+
+wmfs (2~beta201206-2) unstable; urgency=low
+
+  * Fixed some Lintian warnings
+  * New standards version
+
+ -- Mickaël Raybaud-Roig <raybaudroigm@gmail.com>  Sun, 24 Jun 2012 15:19:38 +0200
+
+wmfs (2~beta201206-1) unstable; urgency=low
 
   * Updated changelog version
   * Added build-depends to the control file

+ 1 - 1
debian/control

@@ -3,7 +3,7 @@ Section: x11
 Priority: extra
 Maintainer: Mickaël Raybaud-Roig <raybaudroigm@gmail.com>
 Build-Depends: debhelper (>= 8.0.0), libimlib2-dev, libxinerama-dev, libx11-dev
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Homepage: http://wmfs.info
 Vcs-Git: git://github.com/xorg62/wmfs.git
 Vcs-Browser: https://github.com/xorg62/wmfs

+ 7 - 4
debian/copyright

@@ -4,13 +4,16 @@ Source: http://wmfs.info
 
 Files: *
 Copyright: 2011-2012 Martin Duquesnoy <xorg62@gmail.com>
-License: BSD-3-Clause
+License: BSD-3-Clauses
 
 Files: debian/*
 Copyright: 2012 Mickaël Raybaud-Roig <raybaudroigm@gmail.com>
-License: WTFPL-v2
+License: WTFPL-2
 
-License: BSD-3-Clause
+License: BSD-3-Clauses
+ Copyright (c) 1983 The Regents of the University of California.
+ All rights reserved.
+ .
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
@@ -35,7 +38,7 @@ License: BSD-3-Clause
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
 
-Licence: WTFPL-v2
+License: WTFPL-2
             DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                     Version 2, December 2004
  .

+ 0 - 1
debian/docs

@@ -1,2 +1 @@
 README
-COPYING