[med-svn] [psortb] 01/01: conf files are needed to run psortb - assume for a moment it is not intended that users change these conf files so they are in /usr/lib/psortb rather than /etc/psortb

Andreas Tille tille at debian.org
Tue Apr 25 07:47:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository psortb.

commit 5aa5646a41bcc02524901106ffd6d9c11a194837
Author: Andreas Tille <tille at debian.org>
Date:   Tue Apr 25 09:46:22 2017 +0200

    conf files are needed to run psortb - assume for a moment it is not intended that users change these conf files so they are in /usr/lib/psortb rather than /etc/psortb
---
 debian/install                    |  1 +
 debian/patches/path_to_conf.patch | 22 ++++++++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/install b/debian/install
index 006b81a..e8db52f 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1,2 @@
 psort/bin/psort	usr/bin
+psort/conf	usr/lib/psort
diff --git a/debian/patches/path_to_conf.patch b/debian/patches/path_to_conf.patch
new file mode 100644
index 0000000..80f227f
--- /dev/null
+++ b/debian/patches/path_to_conf.patch
@@ -0,0 +1,22 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 17 Mar 2017 10:23:15 +010
+Description: Fix path to conf and other binaries
+ It is assumed that conf should not be changed by the user.
+ In case it turns out that users need to change this the files should be
+ moved to /etc/psortb
+
+--- a/psort/bin/psort
++++ b/psort/bin/psort
+@@ -59,9 +59,9 @@ MAIN: {
+   my $psort_analysis = 'psort';
+   my $psort_output = 'bayes';
+ 
+-  my $root = '/usr/local/psortb-3.0';
+-  my $blastdir = '/usr/local/bio/blast';
+-  my $pftools = '/usr/local/bin/';
++  my $root = '/usr/lib/psort';
++  my $blastdir = '/usr/bin';
++  my $pftools = '/usr/bin';
+   my $pfscan_module = 'Profile';
+ 
+   # Pull any options off of the command line.
diff --git a/debian/patches/series b/debian/patches/series
index 64eaee1..67e46e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ biosquid_includes.patch
 fix_hmmer_interface.patch
 fix_build_Algorithm-SVM.patch
 remove-bundled-party-libsvm.patch
+path_to_conf.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/psortb.git



More information about the debian-med-commit mailing list