[med-svn] [centrifuge] 01/03: Expose only selected executables to user

Andreas Tille tille at debian.org
Mon Dec 18 15:38:29 UTC 2017


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

tille pushed a commit to branch master
in repository centrifuge.

commit a0dc3c8a3d59e92ce7d4d8b3701a586ac6286c3f
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 18 14:55:48 2017 +0100

    Expose only selected executables to user
---
 debian/bin/centrifuge         | 8 ++++++++
 debian/bin/centrifuge-build   | 1 +
 debian/bin/centrifuge-inspect | 1 +
 debian/control                | 5 +++--
 debian/install                | 1 +
 debian/links                  | 3 +++
 debian/rules                  | 2 +-
 7 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/debian/bin/centrifuge b/debian/bin/centrifuge
new file mode 100755
index 0000000..02d3b9f
--- /dev/null
+++ b/debian/bin/centrifuge
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+exe=`basename $0`
+
+export PATH=/usr/lib/centrifuge:$PATH
+
+/usr/lib/centrifuge/$exe $@
+
diff --git a/debian/bin/centrifuge-build b/debian/bin/centrifuge-build
new file mode 120000
index 0000000..397b56e
--- /dev/null
+++ b/debian/bin/centrifuge-build
@@ -0,0 +1 @@
+centrifuge
\ No newline at end of file
diff --git a/debian/bin/centrifuge-inspect b/debian/bin/centrifuge-inspect
new file mode 120000
index 0000000..397b56e
--- /dev/null
+++ b/debian/bin/centrifuge-inspect
@@ -0,0 +1 @@
+centrifuge
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 5a54a70..22401b8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10)
-Standards-Version: 4.1.1
+Standards-Version: 4.1.2
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/centrifuge.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/centrifuge.git
 Homepage: https://ccb.jhu.edu/software/centrifuge/
@@ -14,7 +14,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          python,
-         hisat2
+         hisat2,
+         jellyfish
 Description: rapid and memory-efficient system for classification of DNA sequences
  Centrifuge is a very rapid and memory-efficient system for the
  classification of DNA sequences from microbial samples, with better
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..8e71dae
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/bin	usr
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..c21e7ba
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+usr/lib/centrifuge/centrifuge-compress.pl	usr/bin/centrifuge-compress
+usr/lib/centrifuge/centrifuge-sort-nt.pl	usr/bin/centrifuge-sort-nt
+usr/lib/centrifuge/centrifuge-download		usr/bin/centrifuge-download
diff --git a/debian/rules b/debian/rules
index 14450ed..7c5246e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,4 @@ export POPCNT_CAPABILITY=0
 	dh $@
 
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr
+	dh_auto_install -- prefix=/usr/lib/centrifuge

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



More information about the debian-med-commit mailing list