[med-svn] r21991 - in trunk/packages/wise/trunk/debian: . patches

Sascha Steinbiss sascha-guest at moszumanska.debian.org
Thu May 19 22:05:36 UTC 2016


Author: sascha-guest
Date: 2016-05-19 22:05:36 +0000 (Thu, 19 May 2016)
New Revision: 21991

Added:
   trunk/packages/wise/trunk/debian/patches/11_consistent_manual_dates.patch
Modified:
   trunk/packages/wise/trunk/debian/changelog
   trunk/packages/wise/trunk/debian/control
   trunk/packages/wise/trunk/debian/patches/series
   trunk/packages/wise/trunk/debian/rules
Log:
make reproducible, hardening, housekeeping


Modified: trunk/packages/wise/trunk/debian/changelog
===================================================================
--- trunk/packages/wise/trunk/debian/changelog	2016-05-19 22:01:16 UTC (rev 21990)
+++ trunk/packages/wise/trunk/debian/changelog	2016-05-19 22:05:36 UTC (rev 21991)
@@ -1,3 +1,15 @@
+wise (2.4.1-18) unstable; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+    - Fix dates in manual .tex files.
+    - Use stable order for API inputs.
+  * Bump Standards-Version.
+  * Enable full hardening.
+  * Use secure Vcs-Browser.
+
+ -- Sascha Steinbiss <sascha at steinbiss.name>  Thu, 19 May 2016 21:53:30 +0000
+
 wise (2.4.1-17) unstable; urgency=medium
 
   * debian/tests/control: explicitly depend on wise.  This avoids that

Modified: trunk/packages/wise/trunk/debian/control
===================================================================
--- trunk/packages/wise/trunk/debian/control	2016-05-19 22:01:16 UTC (rev 21990)
+++ trunk/packages/wise/trunk/debian/control	2016-05-19 22:05:36 UTC (rev 21991)
@@ -12,8 +12,8 @@
                hevea,
                docbook-to-man,
                libglib2.0-dev
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/wise/
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/wise/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/wise/trunk/
 Homepage: http://www.ebi.ac.uk/~birney/wise2/
 

Added: trunk/packages/wise/trunk/debian/patches/11_consistent_manual_dates.patch
===================================================================
--- trunk/packages/wise/trunk/debian/patches/11_consistent_manual_dates.patch	                        (rev 0)
+++ trunk/packages/wise/trunk/debian/patches/11_consistent_manual_dates.patch	2016-05-19 22:05:36 UTC (rev 21991)
@@ -0,0 +1,34 @@
+Description: Use fixed dates for manuals.
+ These make the build reproducible. I have picked the file modificatin dates of
+ the corresponding source .tex files.
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/docs/dynamite.tex
++++ b/docs/dynamite.tex
+@@ -10,6 +10,7 @@
+ Hinxton, Cambridge CB10 1SA,\\
+ England.\\
+ Email: birney at sanger.ac.uk}
++\date{18/6/2001}
+ 
+ \maketitle
+  
+--- a/docs/wise2.tex
++++ b/docs/wise2.tex
+@@ -13,6 +13,7 @@
+ Hinxton, Cambridge CB10 1SD,\\
+ England.\\
+ Email: birney at ebi.ac.uk}
++\date{18/6/2001}
+ 
+ \maketitle
+  
+--- a/docs/wise2api.tex
++++ b/docs/wise2api.tex
+@@ -10,6 +10,7 @@
+ Hinxton, Cambridge CB10 1SA,\\
+ England.\\
+ Email: birney at sanger.ac.uk}
++\date{18/6/2001}
+ 
+ \maketitle
+  

Modified: trunk/packages/wise/trunk/debian/patches/series
===================================================================
--- trunk/packages/wise/trunk/debian/patches/series	2016-05-19 22:01:16 UTC (rev 21990)
+++ trunk/packages/wise/trunk/debian/patches/series	2016-05-19 22:05:36 UTC (rev 21991)
@@ -8,3 +8,4 @@
 08_mayhem.patch
 09_dnal-add-return-statement.patch
 10_fix_path_to_data_files.patch
+11_consistent_manual_dates.patch

Modified: trunk/packages/wise/trunk/debian/rules
===================================================================
--- trunk/packages/wise/trunk/debian/rules	2016-05-19 22:01:16 UTC (rev 21990)
+++ trunk/packages/wise/trunk/debian/rules	2016-05-19 22:05:36 UTC (rev 21991)
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
+export LC_ALL=C.UTF-8
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # hardening flags
 DPKG_EXPORT_BUILDFLAGS = 1
@@ -18,7 +20,7 @@
 	$(MAKE) -C src all
 	$(MAKE) -C debian/manpages.d
 #	build documentation manually (docs/makefile is not useable)
-	cat src/models/*.tex src/dynlibsrc/*.tex | perl docs/gettex.pl > docs/temp.tex
+	find src/models/ src/dynlibsrc/ -name '*.tex' -print0 | LC_ALL=C sort -z | xargs -0 cat | perl docs/gettex.pl > docs/temp.tex
 	cat docs/wise2api.tex docs/temp.tex docs/apiend.tex > docs/api.tex
 #	<bugfix>
 	sed -i 's/ sw_wrap / sw\\_wrap /' docs/api.tex




More information about the debian-med-commit mailing list