[med-svn] r9101 - in trunk/packages/ensembl/ensembl/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Sun Dec 25 18:25:45 UTC 2011


Author: tille
Date: 2011-12-25 18:25:45 +0000 (Sun, 25 Dec 2011)
New Revision: 9101

Modified:
   trunk/packages/ensembl/ensembl/trunk/debian/changelog
   trunk/packages/ensembl/ensembl/trunk/debian/patches/fix_usr_bin_env_typo.patch
   trunk/packages/ensembl/ensembl/trunk/debian/rules
Log:
Four lintian warnings less by ficing execute permissions and missing shebang lines


Modified: trunk/packages/ensembl/ensembl/trunk/debian/changelog
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-25 18:06:47 UTC (rev 9100)
+++ trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-25 18:25:45 UTC (rev 9101)
@@ -33,6 +33,7 @@
     - remove executable flag from JavaScript files
     - remove suspicious scripts in perl/default/das/ because they are
       non-functional
+    - set executable flag when missing (two scripts)
   * debian/ensembl.dirs:
     - Do not create directories in /var/tmp which are created in postinst
       anyway
@@ -47,8 +48,9 @@
   * debian/adjust_shebang_line.sh:
     - Be less verbose but provide an easy option to switch on verbosity
     - Fix another invalid shebang line ("#! perl")
-  * debian/patches/fix_usr_bin_env_typo.patch: Fix typo - should be
-    reported upstream
+  * debian/patches/fix_usr_bin_env_typo.patch:
+    - Fix typo - should be reported upstream
+    - Added "#!/usr/bin/perl" in two Perl scripts
   * debian/ensembl.{config,postinst}: Properly initialise debconf
   * debian/ensembl.preinst: Removed because empty (except dh-make
     templates)

Modified: trunk/packages/ensembl/ensembl/trunk/debian/patches/fix_usr_bin_env_typo.patch
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/patches/fix_usr_bin_env_typo.patch	2011-12-25 18:06:47 UTC (rev 9100)
+++ trunk/packages/ensembl/ensembl/trunk/debian/patches/fix_usr_bin_env_typo.patch	2011-12-25 18:25:45 UTC (rev 9101)
@@ -6,3 +6,17 @@
  
  use strict;
  use warnings;
+--- ensembl-65.orig/perl/common/highlight_method
++++ ensembl-65/perl/common/highlight_method
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ package highlight_method;
+ 
+ use strict;
+--- ensembl-65.orig/perl/default/ajax-pfetch
++++ ensembl-65/perl/default/ajax-pfetch
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use EnsEMBL::Web::RegObj;
+ use EnsEMBL::Web::ExtIndex;
+ use Data::Dumper;

Modified: trunk/packages/ensembl/ensembl/trunk/debian/rules
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-25 18:06:47 UTC (rev 9100)
+++ trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-25 18:25:45 UTC (rev 9101)
@@ -73,6 +73,10 @@
 	# JavaScript should not be executable
 	chmod a-x $(TMPINSTDIR)/public-plugins/orm/htdocs/components/*.js
 
+	# Fix executable flag of two executables
+	chmod a+x $(TMPINSTDIR)/conf/perl.startup
+	chmod a+x $(TMPINSTDIR)/perl/default/genotype
+
 	find $(TMPINSTDIR) -name Makefile.PL -delete
 
 	mkdir -p $(CURDIR)/debian/tmp/etc/default/ensembl.d/




More information about the debian-med-commit mailing list