[med-svn] [ea-utils] 01/02: Rename alc -> ea-alc due to name space conflict

Andreas Tille tille at debian.org
Thu Dec 3 14:32:02 UTC 2015


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

tille pushed a commit to branch master
in repository ea-utils.

commit acfeffa3ecaaf19ed4774024291b0fae64bf1e77
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 3 15:27:07 2015 +0100

    Rename alc -> ea-alc due to name space conflict
---
 debian/README.Debian           | 34 ++++++++++++++++++++++++++++++++++
 debian/changelog               |  6 ++++++
 debian/links                   |  2 ++
 debian/man/{alc.1 => ea-alc.1} |  0
 debian/rules                   |  4 +++-
 5 files changed, 45 insertions(+), 1 deletion(-)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..9af2526
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,34 @@
+ea-utils for Debian
+===================
+
+Name conflict with usr/bin/alc from package amule-utils-gui
+-----------------------------------------------------------
+
+At http://bugs.debian.org/794334
+you can read the full discussion about a name clash between one
+component of amule-utils-gui and ea-utils.
+The short story is: We are facing a name clash in the Free Software
+universe and we have to circumvent this somehow.  Following the
+arguing in the bug discussion the ea-utils package has to do the name
+change:
+
+The original /usr/bin/alc will be moved to 
+
+        /usr/lib/debian-med/bin/alc
+
+So if you want to use alc directly just do the following:  Set
+the PATH variable like
+
+  export PATH=/usr/lib/debian-med/bin:$PATH
+
+This makes sure that scripts you are using will find the correct alc
+executable.
+
+We keep on providing a binary
+
+        /usr/bin/ea-alc
+
+for those users who don't want to fiddle around with their PATH but
+could live with a renamed binary.
+
+ -- Andreas Tille <tille at debian.org>  Thu, 03 Dec 2015 15:15:42 +0100
diff --git a/debian/changelog b/debian/changelog
index f114023..e1b8eb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ea-utils (1.1.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Move /usr/bin/alc to /usr/lib/debian-med/bin/alc
+
+ -- Andreas Tille <tille at debian.org>  Thu, 03 Dec 2015 15:15:42 +0100
+
 ea-utils (1.1.2+dfsg-1) unstable; urgency=medium
 
   * Initial upload to Debian (Closes: #793585)
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..9f37ab4
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+/usr/bin/ea-alc			/usr/lib/debian-med/bin/alc
+/usr/share/man/man1/ea-alc.1.gz	/usr/lib/debian-med/share/man/man1/alc.1.gz
diff --git a/debian/man/alc.1 b/debian/man/ea-alc.1
similarity index 100%
rename from debian/man/alc.1
rename to debian/man/ea-alc.1
diff --git a/debian/rules b/debian/rules
index 5db379d..520f3e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,11 @@
 export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -I/usr/include/google
 export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -I/usr/include/google
 
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+
 %:
 	dh $@
 
 override_dh_auto_install:
 	dh_auto_install -- PREFIX='$${DESTDIR}/usr'
-
+	mv debian/$(DEBPKGNAME)/usr/bin/alc debian/$(DEBPKGNAME)/usr/bin/ea-alc

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



More information about the debian-med-commit mailing list