[med-svn] r3020 - in trunk/packages/mlstdbnet/trunk/debian: . patches

tille at alioth.debian.org tille at alioth.debian.org
Sun Jan 18 17:09:14 UTC 2009


Author: tille
Date: 2009-01-18 17:09:14 +0000 (Sun, 18 Jan 2009)
New Revision: 3020

Modified:
   trunk/packages/mlstdbnet/trunk/debian/control
   trunk/packages/mlstdbnet/trunk/debian/patches/10_config_location.patch
Log:
Depends bioperl


Modified: trunk/packages/mlstdbnet/trunk/debian/control
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/control	2009-01-18 14:57:43 UTC (rev 3019)
+++ trunk/packages/mlstdbnet/trunk/debian/control	2009-01-18 17:09:14 UTC (rev 3020)
@@ -14,7 +14,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, emboss, blast2, postgresql-8.3,
  libcgi-pm-perl, libdbd-pg-perl, libxml-perl, dbconfig-common, apache2,
- imagemagic | graphicsmagic
+ imagemagick | graphicsmagick, bioperl
 Recommends: libapache2-mod-perl2
 Description: mlst typing database
  mlstdbNet is the software that drives the majority of publicly available

Modified: trunk/packages/mlstdbnet/trunk/debian/patches/10_config_location.patch
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/patches/10_config_location.patch	2009-01-18 14:57:43 UTC (rev 3019)
+++ trunk/packages/mlstdbnet/trunk/debian/patches/10_config_location.patch	2009-01-18 17:09:14 UTC (rev 3020)
@@ -9,3 +9,20 @@
  #######End Local configuration########################
  
  #######Lexically-scoped variables#####################
+--- mlstdbnet_v2.0.0.orig/cgi-bin/mlstdbnet.pl
++++ mlstdbnet_v2.0.0/cgi-bin/mlstdbnet.pl
+@@ -29,9 +29,11 @@
+ use DBI;
+ use strict;
+ 
+-use FindBin;
+-use lib ( ("$FindBin::Bin/lib")     =~ /^(.*)$/ );    #untaint lib directory
+-use lib ( ("$FindBin::Bin/Plugins") =~ /^(.*)$/ );
++# There is no need to keep private modules in cgi-bin dir so just
++# move them to /usr/share/perl5 to keep lintian happy
++use lib ( '/usr/share/perl5/mlstdbnet/lib' ) ;
++use lib ( '/usr/share/perl5/mlstdbnet/Plugins' ) ;
++
+ use Parser;
+ use Utils;
+ use Plugins;




More information about the debian-med-commit mailing list