[med-svn] r8347 - in trunk/packages/readseq/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Fri Oct 28 14:27:41 UTC 2011


Author: tille
Date: 2011-10-28 14:27:41 +0000 (Fri, 28 Oct 2011)
New Revision: 8347

Added:
   trunk/packages/readseq/trunk/debian/dirs
   trunk/packages/readseq/trunk/debian/patches/gcc-4.6_format-security.patch
Modified:
   trunk/packages/readseq/trunk/debian/changelog
   trunk/packages/readseq/trunk/debian/compat
   trunk/packages/readseq/trunk/debian/control
   trunk/packages/readseq/trunk/debian/patches/series
   trunk/packages/readseq/trunk/debian/rules
Log:
Fix FTBFS error; move from cdbs to dh, general packaging updates


Modified: trunk/packages/readseq/trunk/debian/changelog
===================================================================
--- trunk/packages/readseq/trunk/debian/changelog	2011-10-28 14:25:45 UTC (rev 8346)
+++ trunk/packages/readseq/trunk/debian/changelog	2011-10-28 14:27:41 UTC (rev 8347)
@@ -1,10 +1,17 @@
-readseq (1-9) UNRELEASED; urgency=low
+readseq (1-9) unstable; urgency=low
 
   * Remove [Biology] from description
-  * Standards-Version: 3.9.1 (no changes needed)
+  * Standards-Version: 3.9.2 (no changes needed)
   * debian/source/format: 3.0 (quilt)
+  * debian/get-orig-source: Make sure repackaging is binary reproducible
+  * Fixed Vcs fields
+  * Debhelper 8 (control+compat)
+  * debian/rules: switch to short dh syntax
+  * debian/patches/gcc-4.6_format-security.patch: Fix format-security issue
+    Closes: #643465
+  * debian/dirs: Create dirs used by dh_auto_install
 
- -- Andreas Tille <tille at debian.org>  Sat, 07 Aug 2010 19:30:43 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 28 Oct 2011 16:15:21 +0200
 
 readseq (1-8) unstable; urgency=low
 

Modified: trunk/packages/readseq/trunk/debian/compat
===================================================================
--- trunk/packages/readseq/trunk/debian/compat	2011-10-28 14:25:45 UTC (rev 8346)
+++ trunk/packages/readseq/trunk/debian/compat	2011-10-28 14:27:41 UTC (rev 8347)
@@ -1 +1 @@
-7
+8

Modified: trunk/packages/readseq/trunk/debian/control
===================================================================
--- trunk/packages/readseq/trunk/debian/control	2011-10-28 14:25:45 UTC (rev 8346)
+++ trunk/packages/readseq/trunk/debian/control	2011-10-28 14:27:41 UTC (rev 8347)
@@ -4,11 +4,11 @@
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 7.0), cdbs, quilt, ncbi-tools-dev
-Standards-Version: 3.9.1
+Build-Depends: debhelper (>= 8), quilt, ncbi-tools-dev
+Standards-Version: 3.9.2
 Homepage: http://iubio.bio.indiana.edu/soft/molbio/readseq/
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/readseq/trunk/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/readseq/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/readseq/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/readseq/trunk/
 
 Package: readseq
 Architecture: any

Added: trunk/packages/readseq/trunk/debian/dirs
===================================================================
--- trunk/packages/readseq/trunk/debian/dirs	                        (rev 0)
+++ trunk/packages/readseq/trunk/debian/dirs	2011-10-28 14:27:41 UTC (rev 8347)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/doc/readseq/tests

Added: trunk/packages/readseq/trunk/debian/patches/gcc-4.6_format-security.patch
===================================================================
--- trunk/packages/readseq/trunk/debian/patches/gcc-4.6_format-security.patch	                        (rev 0)
+++ trunk/packages/readseq/trunk/debian/patches/gcc-4.6_format-security.patch	2011-10-28 14:27:41 UTC (rev 8347)
@@ -0,0 +1,27 @@
+Author: Andreas Tille <tille at debian.org>
+Date: Fri, 28 Oct 2011 16:15:21 +0200
+Closes: #643465
+Description: When using -Werror=format-security with gcc-4.6 some function
+ calls are throwing erros.  This patch replates [f]printf by [f]puts to
+ fix the problem
+
+--- readseq-1.orig/readseq.c
++++ readseq-1/readseq.c
+@@ -335,7 +335,7 @@
+ {
+   short   i, midi;
+ 
+-  fprintf(stderr,title);
++  fputs(title, stderr);
+   fprintf(stderr,
+   "usage: readseq [-options] in.seq > out.seq\n");
+   fprintf(stderr," options\n");
+@@ -988,7 +988,7 @@
+               if (seqout == 0) fprintf( foo,"\\\\\\\n");
+               break;
+             case kASN1:
+-              if (seqout == 0) fprintf( foo, kASN1headline);
++              if (seqout == 0) fputs(kASN1headline, foo);
+               break;
+ 
+             case kPhylip:

Modified: trunk/packages/readseq/trunk/debian/patches/series
===================================================================
--- trunk/packages/readseq/trunk/debian/patches/series	2011-10-28 14:25:45 UTC (rev 8346)
+++ trunk/packages/readseq/trunk/debian/patches/series	2011-10-28 14:27:41 UTC (rev 8347)
@@ -2,3 +2,4 @@
 20-Makefile.patch
 30-arb-code-patches.patch
 552830.patch
+gcc-4.6_format-security.patch

Modified: trunk/packages/readseq/trunk/debian/rules
===================================================================
--- trunk/packages/readseq/trunk/debian/rules	2011-10-28 14:25:45 UTC (rev 8346)
+++ trunk/packages/readseq/trunk/debian/rules	2011-10-28 14:27:41 UTC (rev 8347)
@@ -1,15 +1,17 @@
 #!/usr/bin/make -f
-# debian/rules for readseq using cdbs
+# debian/rules for readseq
 # Andreas Tille <tille at debian.org>, GPL
 
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
+%:
+	dh $@
 
-DEB_COMPRESS_EXCLUDE := help
-
-clean::
+override_dh_clean:
+	dh_clean
 	rm -f readseq
 
+override_dh_auto_test:
+	# Sorry, I'm too lazy for now to fix this test
+	# Any help is welcome!!!
+
 get-orig-source:
 	. debian/get-orig-source




More information about the debian-med-commit mailing list