[med-svn] r10835 - in trunk/packages/vcftools/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Sat May 12 08:23:51 UTC 2012


Author: tille
Date: 2012-05-12 08:23:51 +0000 (Sat, 12 May 2012)
New Revision: 10835

Added:
   trunk/packages/vcftools/trunk/debian/patches/use-dpkg-buildflags.patch
Modified:
   trunk/packages/vcftools/trunk/debian/changelog
   trunk/packages/vcftools/trunk/debian/patches/series
Log:
Enable hardening flags and upload to unstable


Modified: trunk/packages/vcftools/trunk/debian/changelog
===================================================================
--- trunk/packages/vcftools/trunk/debian/changelog	2012-05-12 08:09:56 UTC (rev 10834)
+++ trunk/packages/vcftools/trunk/debian/changelog	2012-05-12 08:23:51 UTC (rev 10835)
@@ -1,4 +1,4 @@
-vcftools (0.1.9-1) UNRELEASED; urgency=low
+vcftools (0.1.9-1) unstable; urgency=low
 
   * New upstream version
   * debian/upstream: Added citations
@@ -9,6 +9,8 @@
   * debian/{rules,install,examples}: use debhelper files to install
     files (upstream changed some targets so the old copying mechanism
     did not worked any more)
+  * debian/patches/use-dpkg-buildflags.patch: Enable propagation of
+    hardening flags
 
  -- Andreas Tille <tille at debian.org>  Sat, 12 May 2012 09:31:58 +0200
 

Modified: trunk/packages/vcftools/trunk/debian/patches/series
===================================================================
--- trunk/packages/vcftools/trunk/debian/patches/series	2012-05-12 08:09:56 UTC (rev 10834)
+++ trunk/packages/vcftools/trunk/debian/patches/series	2012-05-12 08:23:51 UTC (rev 10835)
@@ -1 +1,2 @@
 make.patch
+use-dpkg-buildflags.patch

Added: trunk/packages/vcftools/trunk/debian/patches/use-dpkg-buildflags.patch
===================================================================
--- trunk/packages/vcftools/trunk/debian/patches/use-dpkg-buildflags.patch	                        (rev 0)
+++ trunk/packages/vcftools/trunk/debian/patches/use-dpkg-buildflags.patch	2012-05-12 08:23:51 UTC (rev 10835)
@@ -0,0 +1,24 @@
+Author: Andreas Tille <tille at debian.org>
+Date: Sat, 12 May 2012 09:31:58 +0200
+Description: Enable propagation of hardening flags
+
+--- vcftools_0.1.9.orig/cpp/Makefile
++++ vcftools_0.1.9/cpp/Makefile
+@@ -11,7 +11,7 @@
+ 	VCFTOOLS_PCA = 0
+ endif
+ # Compiler flags
+-CPPFLAGS = -O2 -Wall -Wextra
++CPPFLAGS += -O2 -Wall -Wextra
+ #CPPFLAGS = -g 
+ # Included libraries (zlib)
+ LIB = -lz 
+@@ -36,7 +36,7 @@
+ all: vcftools
+ 
+ vcftools: $(SOURCES)
+-	$(CPP) $(CPPFLAGS) $(SOURCES) -o $@ $(LIB)
++	$(CPP) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SOURCES) -o $@ $(LIB)
+ ifdef BINDIR
+ 	cp $(CURDIR)/$@ $(BINDIR)/$@
+ endif




More information about the debian-med-commit mailing list