[Pkg-voip-commits] [dahdi-tools] 281/285: Force the SONAME of libtonezone to be 2.0

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:13 UTC 2016


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

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 6f8f532d5acdd6a537c161554cd5ab2eb70c3bbb
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Sun Jun 26 22:36:29 2016 +0200

    Force the SONAME of libtonezone to be 2.0
    
    For backward compatibility reasons, the SONAME of libtonezone can't just
    be 2 (autotools' standard). It should be 2.0.
    
    This adds soname.patch.
---
 debian/patches/series       |  1 +
 debian/patches/soname.patch | 11 +++++++++++
 debian/rules                |  3 +++
 3 files changed, 15 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ff8e380..0cbb9ee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ zaptel_perl
 echocan_oslec
 init_unload_oslec
 remove_dahdi_speed
+soname.patch
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch
new file mode 100644
index 0000000..1998785
--- /dev/null
+++ b/debian/patches/soname.patch
@@ -0,0 +1,11 @@
+diff --git a/configure.ac b/configure.ac
+index 826a7ec..2afe476 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -392,5 +392,6 @@ AC_CONFIG_FILES([
+ 	xpp/perl_modules/Makefile
+ 	])
+ AC_OUTPUT
++sed -i -e '/^soname_spec=/s/major/&.\\$revision/' libtool
+ 
+ AC_MSG_NOTICE(*** dahdi-tools build successfully configured ***)
diff --git a/debian/rules b/debian/rules
index 566c982..0258914 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,6 +57,9 @@ else
 	$(MAKE) clean
 endif
 
+override_dh_auto_configure:
+	dh_auto_configure
+
 override_dh_auto_install:
 	# also run the 'config' target, in addition to the 'install' target:
 	dh_auto_install -- config

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list