From 621ec4ae1ab97abe427a2bb39616b82733b0c78b Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 6 May 2012 07:14:22 +0000 Subject: [PATCH] debian: fix issues raised by lintian on source package --- debian/bootstrap.sh | 8 +++++--- debian/copyright | 21 +++++++++++++++++++-- debian/freeswitch-dev.install | 3 ++- debian/rules | 6 ++++++ 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 6c41ebc817..2b7afe5472 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -143,7 +143,7 @@ Build-Depends: # bootstrapping automake (>= 1.9), autoconf, libtool, # core build - build-essential, wget, pkg-config, + dpkg-dev, gcc, g++, libc6-dev, make, wget, pkg-config, # configure options libssl-dev, unixodbc-dev, libncurses5-dev, libjpeg8-dev, @@ -156,7 +156,7 @@ Build-Depends: bison, zlib1g-dev, # module build-depends $(debian_wrap "${mod_build_depends}") -Standards-Version: 3.9.2 +Standards-Version: 3.9.3 Homepage: http://freeswitch.org/ Vcs-Git: git://git.freeswitch.org/freeswitch Vcs-Browser: http://git.freeswitch.org/git/freeswitch/ @@ -325,6 +325,7 @@ Description: development libraries and header files for FreeSWITCH Package: freeswitch-doc Architecture: all +Depends: \${misc:Depends} Description: documentation for FreeSWITCH $(debian_wrap "${fs_description}") . @@ -465,7 +466,8 @@ EOF print_mod_install () { cat < +Copyright: 2012, Travis Cross License: MPL or GPL2+ (at your option) + This packaging may be distributed under either (at your option) the + terms of the MPLv1.1 as described in docs/COPYING in the FreeSWITCH + source tree, or under the terms of the GNU GPL, version 2 or later, + as found on Debian systems in /usr/share/common-licenses/GPL-2. + +Files: * +Copyright: 2012, Anthony Minessale II and many other contributors +License: MPL + The contents of these files are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use these files except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + . + Software distributed under the License is distributed on an "AS IS" basis, + WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + for the specific language governing rights and limitations under the + License. diff --git a/debian/freeswitch-dev.install b/debian/freeswitch-dev.install index 704d7b1444..97685b764b 100644 --- a/debian/freeswitch-dev.install +++ b/debian/freeswitch-dev.install @@ -1,4 +1,5 @@ /usr/include /usr/lib/freeswitch/mod/*.la -/usr/lib/*.{a,la} +/usr/lib/*.a +/usr/lib/*.la /usr/lib/pkgconfig diff --git a/debian/rules b/debian/rules index 62fdd7a93d..d8291d2548 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,12 @@ binary-arch: binary-indep: @$(call show_vars) dh $@ +build-arch: + @$(call show_vars) + dh $@ +build-indep: + @$(call show_vars) + dh $@ build: debian/.stamp-bootstrap @$(call show_vars) dh $@