diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index a095bbc..ed1d597 100644 --- a/debian/control +++ b/debian/control @@ -2,33 +2,64 @@ Source: libre Section: comm Priority: optional Maintainer: Alfred E. Heggestad -Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.6.2 +Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 9.20120311) +Homepage: http://www.creytiv.com/ Package: libre Architecture: any Section: libs -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: Generic library for real-time communications with async IO support + Libre is a portable and generic library for real-time communications + with async IO support and a complete SIP stack with support for protocols + such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client. + . + The current features are: + . + SIP Stack (RFC 3261) + SDP parser + RTP and RTCP stack + DNS-Client + STUN/TURN/ICE stack + BFCP + Jitter-buffer + Async I/O (poll, epoll, select) + UDP/TCP/TLS transport . Design goals: . - - Portable POSIX source code (ANSI C89 and ISO C99 standard) - - Robust, fast, low memory footprint - - RFC compliance - - IPv4 and IPv6 support + Portable POSIX source code (ANSI C89 and ISO C99 standard) + Robust, fast, low memory footprint + RFC compliance + IPv4 and IPv6 support Package: libre-dev Architecture: any Section: libdevel -Depends: libre (= ${Source-Version}), ${shlibs:Depends} -Description: Generic library for real-time communications with async IO support (development files) +Depends: libre (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Generic library for real-time communications (development files) + Libre is a portable and generic library for real-time communications + with async IO support and a complete SIP stack with support for protocols + such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client. + . + The current features are: + . + SIP Stack (RFC 3261) + SDP parser + RTP and RTCP stack + DNS-Client + STUN/TURN/ICE stack + BFCP + Jitter-buffer + Async I/O (poll, epoll, select) + UDP/TCP/TLS transport . Design goals: . - - Portable POSIX source code (ANSI C89 and ISO C99 standard) - - Robust, fast, low memory footprint - - RFC compliance - - IPv4 and IPv6 support + Portable POSIX source code (ANSI C89 and ISO C99 standard) + Robust, fast, low memory footprint + RFC compliance + IPv4 and IPv6 support . This package is only the library development files. diff --git a/debian/copyright b/debian/copyright index af5f641..cd4354b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -2,8 +2,36 @@ This package was debianized by Alfred E. Heggestad It was downloaded from http://www.creytiv.com/ -Copyright Holder: Creytiv.com -License: +Copyright (c) 2010 - 2014, Alfred E. Heggestad +Copyright (c) 2010 - 2014, Richard Aas +Copyright (c) 2010 - 2014, Creytiv.com +All rights reserved. -BSD License + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the Creytiv.com nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/rules b/debian/rules index 44f3e00..684a065 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,10 @@ #export DH_VERBOSE=1 +EXTRA_CFLAGS:="$(shell dpkg-buildflags --get CFLAGS)" +EXTRA_LFLAGS:="$(shell dpkg-buildflags --get LDFLAGS) -Wl,-soname,libre.so" + + configure: configure-stamp configure-stamp: dh_testdir @@ -17,13 +21,14 @@ configure-stamp: touch configure-stamp - build: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - $(MAKE) RELEASE=1 + $(MAKE) RELEASE=1 \ + EXTRA_CFLAGS=$(EXTRA_CFLAGS) \ + EXTRA_LFLAGS=$(EXTRA_LFLAGS) touch $@ @@ -33,7 +38,7 @@ clean: rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. - -$(MAKE) clean + $(MAKE) clean dh_clean @@ -77,12 +82,16 @@ binary-arch: build install dh_fixperms # dh_perl # dh_python -# dh_makeshlibs + dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb +build-arch: build + +build-indep: build + binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure