[med-svn] r23381 - in trunk/packages/snap/trunk/debian: . mans

Andreas Tille tille at moszumanska.debian.org
Fri Dec 23 15:06:39 UTC 2016


Author: tille
Date: 2016-12-23 15:06:38 +0000 (Fri, 23 Dec 2016)
New Revision: 23381

Added:
   trunk/packages/snap/trunk/debian/NEWS.Debian
   trunk/packages/snap/trunk/debian/links
Modified:
   trunk/packages/snap/trunk/debian/README.Debian
   trunk/packages/snap/trunk/debian/changelog
   trunk/packages/snap/trunk/debian/mans/snap-hmm.1
Log:
Document name change and upload


Added: trunk/packages/snap/trunk/debian/NEWS.Debian
===================================================================
--- trunk/packages/snap/trunk/debian/NEWS.Debian	                        (rev 0)
+++ trunk/packages/snap/trunk/debian/NEWS.Debian	2016-12-23 15:06:38 UTC (rev 23381)
@@ -0,0 +1,26 @@
+snap (2013-11-29-5) unstable; urgency=medium
+
+  Due to a name conflict with /usr/bin/snap from snapd tool to interact with
+  Ubuntu Core Snappy the main executable needs to be renamed.  This snap
+  package now provides the binary
+  
+    /usr/bin/snap-hmm
+
+  To remain compatible with local user scripts using the name snap the old
+  name of the executable is provided under the PATH
+  
+    /usr/lib/debian-med/bin/snap
+
+  So if you want to use snap with its original name just do the following:
+  Set the PATH variable like
+
+    export PATH=/usr/lib/debian-med/bin:$PATH
+
+  The PATH can be set very easily by making use of the feature of the
+  med-config package of the Debian Med Blend.  Once med-config is
+  installed for Bash users who create a file ${HOME}/.blends containing
+  the string "debian-med" the PATH is automatically extended and thus
+  users who consider themselves Debian Med users have access to the
+  originally named executables.
+
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Dec 2016 12:27:28 +0100

Modified: trunk/packages/snap/trunk/debian/README.Debian
===================================================================
--- trunk/packages/snap/trunk/debian/README.Debian	2016-12-23 11:38:12 UTC (rev 23380)
+++ trunk/packages/snap/trunk/debian/README.Debian	2016-12-23 15:06:38 UTC (rev 23381)
@@ -1,6 +1,37 @@
 snap for Debian
 ---------------
 
+Renaming of main executable
+===========================
+
+  Due to a name conflict with /usr/bin/snap from snapd tool to interact with
+  Ubuntu Core Snappy the main executable needs to be renamed.  This snap
+  package now provides the binary
+
+    /usr/bin/snap-hmm
+
+  To remain compatible with local user scripts using the name snap the old
+  name of the executable is provided under the PATH
+
+    /usr/lib/debian-med/bin/snap
+
+  So if you want to use snap with its original name just do the following:
+  Set the PATH variable like
+
+    export PATH=/usr/lib/debian-med/bin:$PATH
+
+  The PATH can be set very easily by making use of the feature of the
+  med-config package of the Debian Med Blend.  Once med-config is
+  installed for Bash users who create a file ${HOME}/.blends containing
+  the string "debian-med" the PATH is automatically extended and thus
+  users who consider themselves Debian Med users have access to the
+  originally named executables.
+
+
+
+Dropped Perl scripts
+====================
+
 The Perl scripts cds-trainer.pl and noncoding-trainer.pl are needing the
 following Perl modules:
 
@@ -16,4 +47,4 @@
 modules and the user who might really need these is asked to provide
 more detailed information.
 
- -- Andreas Tille <tille at debian.org>  Fri, 25 Oct 2013 16:39:26 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Dec 2016 12:27:28 +0100

Modified: trunk/packages/snap/trunk/debian/changelog
===================================================================
--- trunk/packages/snap/trunk/debian/changelog	2016-12-23 11:38:12 UTC (rev 23380)
+++ trunk/packages/snap/trunk/debian/changelog	2016-12-23 15:06:38 UTC (rev 23381)
@@ -1,11 +1,12 @@
-snap (2013-11-29-5) UNRELEASED; urgency=medium
+snap (2013-11-29-5) unstable; urgency=medium
 
   * debhelper 10
   * d/watch: version=4
   * Rename /usr/bin/snap to /usr/bin/snap-hmm
     Closes: #849161, #849162
+  * README.Debian + NEWS.Debian to inform users about name change
 
- -- Andreas Tille <tille at debian.org>  Fri, 23 Dec 2016 12:27:28 +0100
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Dec 2016 12:44:27 +0100
 
 snap (2013-11-29-4) unstable; urgency=medium
 

Added: trunk/packages/snap/trunk/debian/links
===================================================================
--- trunk/packages/snap/trunk/debian/links	                        (rev 0)
+++ trunk/packages/snap/trunk/debian/links	2016-12-23 15:06:38 UTC (rev 23381)
@@ -0,0 +1,5 @@
+# For compatibility reasons enable Debian Med users to keep on calling snap if PATH properly set
+usr/bin/snap-hmm			usr/lib/debian-med/bin/snap
+# Also link the manpage to the Debian Med name space
+usr/share/man/man1/snap-hmm.1.gz	usr/lib/debian-med/share/man/man1/snap.1.gz
+

Modified: trunk/packages/snap/trunk/debian/mans/snap-hmm.1
===================================================================
--- trunk/packages/snap/trunk/debian/mans/snap-hmm.1	2016-12-23 11:38:12 UTC (rev 23380)
+++ trunk/packages/snap/trunk/debian/mans/snap-hmm.1	2016-12-23 15:06:38 UTC (rev 23381)
@@ -3,7 +3,7 @@
 .SH NAME
 snap-hmm \- Semi-HMM-based Nucleic Acid Parser
 .SH SYNOPSIS
-.B snap
+.B snap-hmm
 [\fIoptions\fR] <\fBHMM file\fR> <\fBFASTA file\fR> [\fIoptions\fR]
 .SH OPTIONS
 .TP




More information about the debian-med-commit mailing list