Skip to content

Commit 66e2353

Browse files
authored
Add Debian build rules
1 parent 100be54 commit 66e2353

10 files changed

+323
-2
lines changed

.update

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sun Jun 26 14:53:10 UTC 2020
1+
Sun Jun 26 20:50:10 UTC 2020

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dnl information on the package
1111
dnl ---------------------------
1212

1313
dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR
14-
AC_INIT([sofia-sip], [1.12.10devel])
14+
AC_INIT([sofia-sip], [1.12.12])
1515

1616
CFLAGS="$CFLAGS $CONFIGURE_CFLAGS"
1717
CXXFLAGS="$CXXFLAGS $CONFIGURE_CXXFLAGS"

debian/changelog

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sofia-sip (1.12.12-1) unstable; urgency=medium
2+
3+
* Initial Release.
4+
5+
-- FreeSWITCH Solutions <packages@freeswitch.com> Wed, 22 Jul 2020 23:58:37 +0200
6+
7+
sofia-sip (1.12.12-0) unstable; urgency=low
8+
9+
* Stub Release.
10+
11+
-- FreeSWITCH Solutions <packages@freeswitch.com> Wed, 22 Jul 2020 23:54:37 +0200

debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Source: sofia-sip
2+
Section: net
3+
Priority: optional
4+
Maintainer: FreeSWITCH Solutions <packages@freeswitch.com>
5+
Build-Depends: debhelper (>= 9), pkg-config, libglib2.0-dev, libssl-dev,
6+
dpkg-dev (>= 1.13.19)
7+
Build-Depends-Indep: doxygen, graphviz,
8+
Standards-Version: 3.9.6
9+
Homepage: http://sofia-sip.sourceforge.net/
10+
Vcs-Git: git://github.com/freeswitch/sofia-sip
11+
Vcs-Browser: git://github.com/freeswitch/sofia-sip
12+
13+
Package: sofia-sip-bin
14+
Architecture: any
15+
Section: net
16+
Depends: libsofia-sip-ua0 (>= ${binary:Version}), ${shlibs:Depends}
17+
Description: Sofia-SIP library utilities
18+
Sofia-SIP is an open-source SIP User-Agent library, compliant
19+
with the IETF RFC3261 specification. It can be used as
20+
a building block for SIP client software for uses such as VoIP,
21+
IM, and many other real-time and person-to-person communication
22+
services.
23+
.
24+
This package provides a set of console tools and helper
25+
applications for use in scripts, testing and other uses. All
26+
the tools utilize the Sofia-SIP library.
27+
28+
Package: libsofia-sip-ua0
29+
Architecture: any
30+
Section: libs
31+
Depends: ${shlibs:Depends}
32+
Description: Sofia-SIP library runtime
33+
Sofia-SIP is an open-source SIP User-Agent library, compliant
34+
with the IETF RFC3261 specification. It can be used as
35+
a building block for SIP client software for uses such as VoIP,
36+
IM, and many other real-time and person-to-person communication
37+
services.
38+
.
39+
The library is implemented in ANSI C, and provides an extensive
40+
set of features for implementing SIP/SIMPLE User-Agents. Highlights
41+
include full UDP/TCP/TLS support, IPv4/6 support, SIMPLE presence
42+
and messaging support, SIP offer/answer engine and numerous
43+
mechanisms for NAT/FW traversal.
44+
.
45+
This package provides the main library runtime files.
46+
47+
Package: libsofia-sip-ua-dev
48+
Architecture: any
49+
Section: libdevel
50+
Depends: libsofia-sip-ua0 (= ${binary:Version})
51+
Description: Sofia-SIP library development files
52+
Sofia-SIP is an open-source SIP User-Agent library, compliant
53+
with the IETF RFC3261 specification. It can be used as
54+
a building block for SIP client software for uses such as VoIP,
55+
IM, and many other real-time and person-to-person communication
56+
services.
57+
.
58+
This package provides the headers and libraries needed to build
59+
applications against the Sofia-SIP library.

debian/copyright

+228
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
This package was debianized by FreeSWITCH Solutions
2+
<packages@freeswitch.com> on Mon, 20 Jul 2020 11:54:40 +0200.
3+
4+
It was cloned from:
5+
git://github.com/freeswitch/sofia-sip
6+
7+
Copyright (C) 2020 FreeSWITCH Solutions and others (see the
8+
in individual files for a detailed list of copyright holders).
9+
10+
This library is free software; you can redistribute it and/or
11+
modify it under the terms of the GNU Lesser General Public License
12+
as published by the Free Software Foundation; either version 2.1 of
13+
the License, or (at your option) any later version.
14+
15+
This library is distributed in the hope that it will be useful, but
16+
WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
Lesser General Public License (LICENSE) for more details.
19+
20+
On Debian systems, the complete text of the GNU Lesser General Public
21+
License can be found in /usr/share/common-licenses/LGPL-2.1.
22+
23+
----------------------------------------------------------------------------
24+
25+
libsofia-sip-ua/su/inet_ntop.c
26+
27+
The package also contains files licensed by Internet Software Consortium.
28+
These files are distributed with the following copyright notice:
29+
30+
Copyright (c) 1996 by Internet Software Consortium.
31+
32+
Permission to use, copy, modify, and distribute this software for any
33+
purpose with or without fee is hereby granted, provided that the above
34+
copyright notice and this permission notice appear in all copies.
35+
36+
THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
37+
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
38+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
39+
CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
40+
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
41+
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
42+
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
43+
SOFTWARE.
44+
45+
----------------------------------------------------------------------------
46+
47+
libsofia-sip-ua/su/inet_pton.c
48+
49+
The package also contains files licensed by Internet Software Consortium and
50+
Internet Systems Consortium, Inc.. These files are distributed with the
51+
following copyright notice:
52+
53+
Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
54+
Copyright (c) 1996,1999 by Internet Software Consortium.
55+
56+
Permission to use, copy, modify, and distribute this software for any
57+
purpose with or without fee is hereby granted, provided that the above
58+
copyright notice and this permission notice appear in all copies.
59+
60+
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
61+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
62+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
63+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
64+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
65+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
66+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
67+
68+
----------------------------------------------------------------------------
69+
70+
libsofia-sip-ua/su/su_addrinfo.h
71+
libsofia-sip-ua/su/su_addrinfo.c
72+
73+
The package also contains files licensed by WIDE Project. These files are
74+
distributed with the following copyright notice:
75+
76+
Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
77+
All rights reserved.
78+
79+
Redistribution and use in source and binary forms, with or without
80+
modification, are permitted provided that the following conditions
81+
are met:
82+
1. Redistributions of source code must retain the above copyright
83+
notice, this list of conditions and the following disclaimer.
84+
2. Redistributions in binary form must reproduce the above copyright
85+
notice, this list of conditions and the following disclaimer in the
86+
documentation and/or other materials provided with the distribution.
87+
3. Neither the name of the project nor the names of its contributors
88+
may be used to endorse or promote products derived from this software
89+
without specific prior written permission.
90+
91+
THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
92+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
93+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
94+
ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
95+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
96+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
97+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
98+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
99+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
100+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
101+
SUCH DAMAGE.
102+
103+
----------------------------------------------------------------------------
104+
105+
libsofia-sip-ua/su/getopt.c
106+
107+
The package also contains files licensed by IBM Corporation. These files are
108+
distributed with the following copyright notice:
109+
110+
This module contains code made available by IBM
111+
Corporation on an AS IS basis. Any one receiving the
112+
module is considered to be licensed under IBM copyrights
113+
to use the IBM-provided source code in any way he or she
114+
deems fit, including copying it, compiling it, modifying
115+
it, and redistributing it, with or without
116+
modifications. No license under any IBM patents or
117+
patent applications is to be implied from this copyright
118+
license.
119+
120+
A user of the module should understand that IBM cannot
121+
provide technical support for the module and will not be
122+
responsible for any consequences of use of the program.
123+
124+
Any notices, including this one, are not to be removed
125+
from the module without the prior written consent of
126+
IBM.
127+
128+
----------------------------------------------------------------------------
129+
130+
libsofia-sip-ua/su/su_md5.c
131+
132+
The package also contains files written by Colin Plumb. These files are
133+
distributed with the following copyright notice:
134+
135+
This code implements the MD5 message-digest algorithm. The algorithm is due
136+
to Ron Rivest. This code was initially written by Colin Plumb in 1993, no
137+
copyright is claimed. This code is in the public domain; do with it what you
138+
wish.
139+
140+
Equivalent code is available from RSA Data Security, Inc. This code has
141+
been tested against that, and is equivalent, except that you don't need
142+
to include two pages of legalese with every copy.
143+
144+
----------------------------------------------------------------------------
145+
146+
libsofia-sip-ua/su/strtoull.c
147+
148+
The package also contains files licensed by University of California and Sun
149+
Microsystems. These files are distributed with the following copyright
150+
notice:
151+
152+
Copyright (c) 1988 The Regents of the University of California.
153+
Copyright (c) 1994 Sun Microsystems, Inc.
154+
155+
The following license.terms for information on usage and redistribution
156+
of this individual file, and for a DISCLAIMER OF ALL WARRANTIES.
157+
158+
This software is copyrighted by the Regents of the University of
159+
California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
160+
Corporation and other parties. The following terms apply to all files
161+
associated with the software unless explicitly disclaimed in
162+
individual files.
163+
164+
The authors hereby grant permission to use, copy, modify, distribute,
165+
and license this software and its documentation for any purpose, provided
166+
that existing copyright notices are retained in all copies and that this
167+
notice is included verbatim in any distributions. No written agreement,
168+
license, or royalty fee is required for any of the authorized uses.
169+
Modifications to this software may be copyrighted by their authors
170+
and need not follow the licensing terms described here, provided that
171+
the new terms are clearly indicated on the first page of each file where
172+
they apply.
173+
174+
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
175+
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
176+
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
177+
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
178+
POSSIBILITY OF SUCH DAMAGE.
179+
180+
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
181+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
182+
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
183+
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
184+
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
185+
MODIFICATIONS.
186+
187+
GOVERNMENT USE: If you are acquiring this software on behalf of the
188+
U.S. government, the Government shall have only "Restricted Rights"
189+
in the software and related documentation as defined in the Federal
190+
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
191+
are acquiring the software on behalf of the Department of Defense, the
192+
software shall be classified as "Commercial Computer Software" and the
193+
Government shall have only "Restricted Rights" as defined in Clause
194+
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
195+
authors grant the U.S. Government and others acting in its behalf
196+
permission to use and distribute the software in accordance with the
197+
terms specified in this license.
198+
199+
----------------------------------------------------------------------------
200+
201+
libsofia-sip-ua/ipt/rc4.c
202+
203+
The package also contains files written by Pekka Pessi. These files are
204+
distributed with the following copyright notice:
205+
206+
Copyright (c) 1996 Pekka Pessi. All rights reserved.
207+
208+
This source code is provided for unrestricted use. Users may copy or
209+
modify this source code without charge.
210+
211+
THIS SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND
212+
INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A
213+
PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE
214+
PRACTICE.
215+
216+
This source code is provided with no support and without any obligation
217+
on the part of author to assist in its use, correction, modification or
218+
enhancement.
219+
220+
AUTHOR SHALL HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF
221+
COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE OR ANY PART
222+
THEREOF.
223+
224+
In no event will author be liable for any lost revenue or profits or
225+
other special, indirect and consequential damages, even if author has
226+
been advised of the possibility of such damages.
227+
228+
----------------------------------------------------------------------------

debian/libsofia-sip-ua-dev.install

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
usr/include/*/*/*.h
2+
usr/include/*/*/*.h.in
3+
usr/lib/libsofia-sip-ua.a
4+
usr/lib/libsofia-sip-ua.so
5+
usr/lib/pkgconfig/sofia-sip-ua.pc
6+
usr/share/sofia-sip/msg_parser.awk
7+
usr/share/sofia-sip/tag_dll.awk

debian/libsofia-sip-ua0.install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/libsofia-sip-ua.so.*

debian/rules

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@ --with autoreconf
5+
6+
override_dh_auto_configure:
7+
./configure \
8+
--prefix=/usr \
9+
--with-pic \
10+
--with-glib=no \
11+
--disable-stun
12+
13+
override_dh_auto_test:

debian/sofia-sip-bin.install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/bin/*

0 commit comments

Comments
 (0)