Browse code

pkg/deb: Deprecate lenny

Lenny is not a supported version of debian any more.
At sip-router squeeze and wheezy are being mantained at the moment.
Let's deprecate lenny for future releases.

Jon Bonilla authored on 24/04/2013 14:46:55
Showing 11 changed files
1 1
deleted file mode 100644
... ...
@@ -1,82 +0,0 @@
1
-kamailio (4.0.0) unstable; urgency=low
2
-
3
-  * update to 4.0.0 from upstream
4
-
5
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Mon, 11 Mar 2013 10:40:30 +0100
6
-
7
-kamailio (3.4.0~dev0) unstable; urgency=low
8
-
9
-  * update version to 3.4.0~dev0
10
-
11
- -- Jon Bonilla <manwe@aholab.ehu.es>  Wed, 15 Jun 2012 03:15:00 +0100
12
-
13
-kamailio (3.2.0) unstable; urgency=low
14
-
15
-  * update to 3.2.0 from upstream
16
-
17
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Fri, 29 Apr 2011 12:25:30 +0100
18
-
19
-kamailio (3.1.1) unstable; urgency=low
20
-
21
-  * update to 3.1.1 from upstream
22
-
23
- -- Jon Bonilla <manwe@aholab.ehu.es>  Fri, 3 Dec 2010 16:30:00 +0100
24
-
25
-kamailio (3.1.0) unstable; urgency=low
26
-
27
-  * update to 3.1.0 from upstream
28
-
29
- -- Jon Bonilla <manwe@aholab.ehu.es>  Wed, 6 Oct 2010 17:24:00 +0100
30
-
31
-kamailio (3.0.2.99) unstable; urgency=low
32
-
33
-  * update to 3.0.2.99 for development version builds
34
-
35
- -- Jon Bonilla <manwe@aholab.ehu.es>  Fri, 28 May 2010 22:26:00 +0100
36
-
37
-kamailio (3.0.2) unstable; urgency=low
38
-
39
-  * update to 3.0.2 from upstream
40
-
41
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Thu, 27 May 2010 10:27:36 +0100
42
-
43
-kamailio (3.0.1) unstable; urgency=low
44
-
45
-  * update to 3.0.1 from upstream
46
-
47
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Mon, 08 Mar 2010 20:30:48 +0100
48
-
49
-kamailio (3.0.0) unstable; urgency=low
50
-
51
-  * update to 3.0.0 from upstream
52
-
53
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Mon, 11 Jan 2010 18:30:42 +0100
54
-
55
-kamailio (3.0.0-rc3) unstable; urgency=low
56
-
57
-  * update to 3.0.0-rc3 from upstream
58
-  * updated debian/rules to work with the SIP Router style module packaging
59
-
60
- -- Daniel-Constantin Mierla <miconda@gmail.com>  Fri, 10 Dec 2009 12:10:02 +0100
61
-
62
-kamailio (3.0.0-rc2) unstable; urgency=low
63
-
64
-  * update to 3.0.0-rc2 from upstream
65
-  * updated debian/rules to work with the new style module packaging
66
-
67
- -- Jonas Bergler <jonas.bergler@staff.snap.net.nz>  Wed, 18 Nov 2009 12:30:02 +1300
68
-
69
-kamailio (1.5.0-svn1) unstable; urgency=low
70
-
71
-  * increment debian packaging for trunk
72
-
73
- -- Henning Westerholt <henning.westerholt@1und1.de>  Mon, 02 Mar 2009 17:40:02 +0100
74
-
75
-kamailio (1.4.0-svn1) unstable; urgency=low
76
-
77
-  [ Klaus Darilion ]
78
-  * first release of Kamailio (after renaming from Openser)
79
-
80
- -- Julien BLACHE <jblache@debian.org>  Wed, 12 Dec 2007 17:25:31 +0100
81
-
82
-
83 0
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-5
2 0
deleted file mode 100644
... ...
@@ -1,387 +0,0 @@
1
-Source: kamailio
2
-Section: net
3
-Priority: optional
4
-Maintainer: Jon Bonilla <manwe@aholab.ehu.es>
5
-Build-Depends: bison,
6
-               debhelper (>= 5),
7
-               docbook-xml,
8
-               dpatch,
9
-               dpkg-dev (>= 1.13.19),
10
-               flex,
11
-               libconfuse-dev,
12
-               libcurl3-openssl-dev,
13
-               libdb-dev (>= 4.6.19),
14
-               libexpat1-dev,
15
-               libldap2-dev,
16
-               liblua5.1-0-dev,
17
-               libmemcache-dev,
18
-               libmysqlclient-dev,
19
-               libncurses5-dev,
20
-               libpcre3-dev,
21
-               libperl-dev,
22
-               libpq-dev,
23
-               libpurple-dev,
24
-               libradiusclient-ng-dev,
25
-               libreadline-dev,
26
-               libsasl2-dev,
27
-               libsnmp-dev,
28
-               libsqlite3-dev,
29
-               libssl-dev,
30
-               libxml2-dev,
31
-               libxmlrpc-c3-dev,
32
-               python,
33
-               python-dev,
34
-               unixodbc-dev,
35
-               xsltproc,
36
-               zlib1g-dev
37
-Standards-Version: 3.9.3
38
-Homepage: http://www.kamailio.org/
39
-
40
-Package: kamailio
41
-Architecture: any
42
-Depends: adduser,
43
-         ${misc:Depends},
44
-         ${shlibs:Depends}
45
-Conflicts: kamailio-regex-modules
46
-Suggests: kamailio-berkeley-modules,
47
-          kamailio-carrierroute-modules,
48
-          kamailio-cpl-modules,
49
-          kamailio-dbg,
50
-          kamailio-ldap-modules,
51
-          kamailio-lua-modules,
52
-          kamailio-mysql-modules,
53
-          kamailio-perl-modules,
54
-          kamailio-postgres-modules,
55
-          kamailio-presence-modules,
56
-          kamailio-python-modules,
57
-          kamailio-radius-modules,
58
-          kamailio-snmpstats-modules,
59
-          kamailio-tls-modules,
60
-          kamailio-unixodbc-modules,
61
-          kamailio-xml-modules,
62
-          kamailio-xmpp-modules
63
-Description: very fast and configurable SIP proxy
64
- Kamailio is a very fast and flexible SIP (RFC3261)
65
- proxy server. Written entirely in C, Kamailio can handle thousands calls
66
- per second even on low-budget hardware.
67
- .
68
- C Shell-like scripting language provides full control over the server's
69
- behaviour. Its modular architecture allows only required functionality to be
70
- loaded.
71
- .
72
- Among others, the following modules are available: Digest Authentication, CPL
73
- scripts, Instant Messaging, MySQL support, Presence Agent, Radius
74
- Authentication, Record Routing, SMS Gateway, Jabber/XMPP Gateway, Transaction
75
- Module, Registrar and User Location, XMLRPC Interface.
76
- .
77
- This package contains the main Kamailio binary along with the principal modules
78
- and support binaries.
79
-
80
-Package: kamailio-dbg
81
-Architecture: any
82
-Depends: kamailio (= ${binary:Version}),
83
-         ${shlibs:Depends}
84
-Description: Debugging symbols for Kamailio SIP proxy
85
- Kamailio is a very fast and flexible SIP (RFC3261)
86
- proxy server. Written entirely in C, Kamailio can handle thousands calls
87
- per second even on low-budget hardware.
88
- .
89
- This package provides gdb debugging symbols  for Kamailio
90
-
91
-Package: kamailio-mysql-modules
92
-Architecture: any
93
-Depends: kamailio (= ${binary:Version}),
94
-         mysql-client,
95
-         ${shlibs:Depends}
96
-Replaces: kamailio-mysql-module
97
-Description: MySQL database connectivity module for Kamailio
98
- Kamailio is a very fast and flexible SIP (RFC3261)
99
- proxy server. Written entirely in C, Kamailio can handle thousands calls
100
- per second even on low-budget hardware.
101
- .
102
- This package provides the MySQL database driver for Kamailio.
103
-
104
-Package: kamailio-postgres-modules
105
-Architecture: any
106
-Depends: kamailio (= ${binary:Version}),
107
-         postgresql-client,
108
-         ${shlibs:Depends}
109
-Replaces: kamailio-postgres-module
110
-Description: PostgreSQL database connectivity module for Kamailio
111
- Kamailio is a very fast and flexible SIP (RFC3261)
112
- proxy server. Written entirely in C, Kamailio can handle thousands calls
113
- per second even on low-budget hardware.
114
- .
115
- This package provides the PostgreSQL database driver for Kamailio.
116
-
117
-Package: kamailio-cpl-modules
118
-Architecture: any
119
-Depends: kamailio (= ${binary:Version}),
120
-         ${shlibs:Depends}
121
-Replaces: kamailio-cpl-module
122
-Description: CPL module (CPL interpreter engine) for Kamailio
123
- Kamailio is a very fast and flexible SIP (RFC3261)
124
- proxy server. Written entirely in C, Kamailio can handle thousands calls
125
- per second even on low-budget hardware.
126
- .
127
- This package provides a CPL (Call Processing Language) interpreter for
128
- Kamailio, turning Kamailio into a CPL server (storage and interpreter).
129
-
130
-Package: kamailio-radius-modules
131
-Architecture: any
132
-Depends: kamailio (= ${binary:Version}),
133
-         ${shlibs:Depends}
134
-Description: radius modules for Kamailio
135
- Kamailio is a very fast and flexible SIP (RFC3261)
136
- proxy server. Written entirely in C, Kamailio can handle thousands calls
137
- per second even on low-budget hardware.
138
- .
139
- This package provides a set of Radius modules for Kamailio, for
140
- authentication, peering, group membership and messages URIs checking
141
- against a Radius Server.
142
-
143
-Package: kamailio-unixodbc-modules
144
-Architecture: any
145
-Depends: kamailio (= ${binary:Version}),
146
-         ${shlibs:Depends}
147
-Replaces: kamailio-unixodbc-module
148
-Description: unixODBC database connectivity module for Kamailio
149
- Kamailio is a very fast and flexible SIP (RFC3261)
150
- proxy server. Written entirely in C, Kamailio can handle thousands calls
151
- per second even on low-budget hardware.
152
- .
153
- This package provides the unixODBC database driver for Kamailio.
154
-
155
-Package: kamailio-presence-modules
156
-Architecture: any
157
-Depends: kamailio (= ${binary:Version}),
158
-         ${shlibs:Depends}
159
-Description: SIMPLE presence modules for Kamailio
160
- Kamailio is a very fast and flexible SIP (RFC3261)
161
- proxy server. Written entirely in C, Kamailio can handle thousands calls
162
- per second even on low-budget hardware.
163
- .
164
- This package provides several Kamailio modules for implementing presence
165
- server and presence user agent for RICH presence, registrar-based presence,
166
- external triggered presence and XCAP support.
167
-
168
-Package: kamailio-xml-modules
169
-Architecture: any
170
-Depends: kamailio (= ${binary:Version}),
171
-         ${shlibs:Depends}
172
-Replaces: kamailio-xml-module,
173
-          kamailio-xmlrpc-module
174
-Provides: kamailio-xmlrpc-modules
175
-Description: XML based extensions for Kamailio's Management Interface
176
- Kamailio is a very fast and flexible SIP (RFC3261)
177
- proxy server. Written entirely in C, Kamailio can handle thousands calls
178
- per second even on low-budget hardware.
179
- .
180
- This package provides:
181
- - the XMLRPC transport implementations for Kamailio's
182
- Management and Control Interface.
183
- - xmlops module for XPath operations in configuration file
184
-
185
-Package: kamailio-xmlrpc-modules
186
-Architecture: any
187
-Depends: kamailio-xml-modules (= ${binary:Version})
188
-Description: Transitional package for kamailio-xml-modules
189
- Dummy package for transition handling
190
-
191
-Package: kamailio-perl-modules
192
-Architecture: any
193
-Depends: kamailio (= ${binary:Version}),
194
-         ${shlibs:Depends}
195
-Replaces: kamailio-perl-module
196
-Conflicts: kamailio-perl-module
197
-Description: Perl extensions and database driver for Kamailio
198
- Kamailio is a very fast and flexible SIP (RFC3261)
199
- proxy server. Written entirely in C, Kamailio can handle thousands calls
200
- per second even on low-budget hardware.
201
- .
202
- This package provides an interface for Kamailio to write Perl extensions and
203
- the perlvdb database driver for Kamailio.
204
-
205
-Package: kamailio-snmpstats-modules
206
-Architecture: any
207
-Depends: kamailio (= ${binary:Version}),
208
-         snmpd,
209
-         ${shlibs:Depends}
210
-Replaces: kamailio-snmpstats-module
211
-Description: SNMP AgentX subagent module for Kamailio
212
- Kamailio is a very fast and flexible SIP (RFC3261)
213
- proxy server. Written entirely in C, Kamailio can handle thousands calls
214
- per second even on low-budget hardware.
215
- .
216
- This package provides the snmpstats module for Kamailio. This module acts
217
- as an AgentX subagent which connects to a master agent.
218
-
219
-Package: kamailio-xmpp-modules
220
-Architecture: any
221
-Depends: kamailio (= ${binary:Version}),
222
-         ${shlibs:Depends}
223
-Replaces: kamailio-xmpp-module
224
-Description: XMPP gateway module for Kamailio
225
- Kamailio is a very fast and flexible SIP (RFC3261)
226
- proxy server. Written entirely in C, Kamailio can handle thousands calls
227
- per second even on low-budget hardware.
228
- .
229
- This package provides the SIP to XMPP IM translator module for Kamailio.
230
-
231
-Package: kamailio-carrierroute-modules
232
-Architecture: any
233
-Depends: kamailio (= ${binary:Version}),
234
-         ${shlibs:Depends}
235
-Replaces: kamailio-carrierroute-module
236
-Description: Carrierroute module for Kamailio
237
- Kamailio is a very fast and flexible SIP (RFC3261)
238
- proxy server. Written entirely in C, Kamailio can handle thousands calls
239
- per second even on low-budget hardware.
240
- .
241
- This package provides the carrierroute module for Kamailio, an integrated
242
- solution for routing, balancing and blacklisting.
243
-
244
-Package: kamailio-berkeley-modules
245
-Architecture: any
246
-Depends: db4.6-util,
247
-         kamailio (= ${binary:Version}),
248
-         ${shlibs:Depends}
249
-Replaces: kamailio-berkeley-module
250
-Description: Berkeley Database module for Kamailio
251
- Kamailio is a very fast and flexible SIP (RFC3261)
252
- proxy server. Written entirely in C, Kamailio can handle thousands calls
253
- per second even on low-budget hardware.
254
- .
255
- This package provides the berkeley database module for Kamailio, a
256
- high-performance embedded DB kernel. All database tables are stored
257
- in files, no additional server is necessary.
258
-
259
-Package: kamailio-ldap-modules
260
-Architecture: any
261
-Depends: kamailio (= ${binary:Version}),
262
-         ${shlibs:Depends}
263
-Description: LDAP modules for Kamailio
264
- Kamailio is a very fast and flexible SIP (RFC3261)
265
- proxy server. Written entirely in C, Kamailio can handle thousands calls
266
- per second even on low-budget hardware.
267
- .
268
- This package provides the ldap and h350 modules for Kamailio, enabling LDAP
269
- queries from the Kamailio config and storage of SIP account data in an LDAP
270
- directory.
271
-
272
-Package: kamailio-utils-modules
273
-Architecture: any
274
-Depends: kamailio (= ${binary:Version}),
275
-         ${shlibs:Depends}
276
-Replaces: kamailio-utils-module
277
-Description: Provides a set utility functions for Kamailio
278
- Kamailio is a very fast and flexible SIP (RFC3261)
279
- proxy server. Written entirely in C, Kamailio can handle thousands calls
280
- per second even on low-budget hardware.
281
- .
282
- Provides a set of utility functions for Kamailio, which are not related
283
- to the server configuration.
284
-
285
-Package: kamailio-purple-modules
286
-Architecture: any
287
-Depends: kamailio (= ${binary:Version}),
288
-         ${shlibs:Depends}
289
-Replaces: kamailio-purple-module
290
-Description: Provides the purple module, a multi-protocol IM gateway
291
- Kamailio is a very fast and flexible SIP (RFC3261)
292
- proxy server. Written entirely in C, Kamailio can handle thousands calls
293
- per second even on low-budget hardware.
294
- .
295
- This package provides the purple module, a multi-protocol instant
296
- messaging gateway module.
297
-
298
-Package: kamailio-memcached-modules
299
-Architecture: any
300
-Depends: kamailio (= ${binary:Version}),
301
-         ${shlibs:Depends}
302
-Replaces: kamailio-memcached-module
303
-Description: Provides the memcached module, an interface to the memcached server
304
- Kamailio is a very fast and flexible SIP (RFC3261)
305
- proxy server. Written entirely in C, Kamailio can handle thousands calls
306
- per second even on low-budget hardware.
307
- .
308
- This package provides the memcached module, an interface to the memcached
309
- server, a high-performance, distributed memory object caching system.
310
-
311
-Package: kamailio-tls-modules
312
-Architecture: any
313
-Depends: kamailio (= ${Source-Version}),
314
-         ${shlibs:Depends}
315
-Description: contains the TLS kamailio transport module
316
- This has been split out of the main kamailio package, so that kamailio will not
317
- depend on openssl. This module will enable you to use the TLS transport.
318
-
319
-Package: kamailio-lua-modules
320
-Architecture: any
321
-Depends: kamailio (= ${Source-Version}),
322
-         ${shlibs:Depends}
323
-Description: contains the app_lua module
324
- Kamailio is a very fast and flexible SIP (RFC3261)
325
- proxy server. Written entirely in C, Kamailio can handle thousands calls
326
- per second even on low-budget hardware.
327
- .
328
- This package provides the app_lua module, an extension allowing to
329
- execute embedded Lua applications within configuration file.
330
-
331
-Package: kamailio-python-modules
332
-Architecture: any
333
-Depends: kamailio (= ${Source-Version}),
334
-         ${shlibs:Depends}
335
-Description: contains the app_python module
336
- Kamailio is a very fast and flexible SIP (RFC3261)
337
- proxy server. Written entirely in C, Kamailio can handle thousands calls
338
- per second even on low-budget hardware.
339
- .
340
- This package provides the app_python module, an extension allowing to
341
- execute embedded Python applications within configuration file.
342
-
343
-Package: kamailio-sqlite-modules
344
-Architecture: any
345
-Depends: kamailio (= ${binary:Version}),
346
-         libsqlite3-0,
347
-         ${shlibs:Depends}
348
-Description: SQLite database connectivity module for Kamailio
349
- Kamailio is a very fast and flexible SIP (RFC3261)
350
- proxy server. Written entirely in C, Kamailio can handle thousands calls
351
- per second even on low-budget hardware.
352
- .
353
- This package provides the SQLite database driver for Kamailio.
354
-
355
-Package: kamailio-nth
356
-Architecture: any
357
-Depends: binutils,
358
-         bison,
359
-         bvi,
360
-         flex,
361
-         gcc,
362
-         gdb,
363
-         iftop,
364
-         lsof,
365
-         mc,
366
-         most,
367
-         ngrep,
368
-         psmisc,
369
-         screen,
370
-         sipsak,
371
-         tcpdump,
372
-         vim
373
-Description: Kamailio - package for "nice to have" installation
374
- This is a meta-package for easy installation various useful tools that may be
375
- handy on server with Kamailio installed.
376
-
377
-Package: kamailio-ims-modules
378
-Architecture: any
379
-Depends: ${shlibs:Depends}, kamailio (= ${binary:Version})
380
-Description: Kamailio - IMS Modules
381
- Kamailio is a very fast and flexible SIP (RFC3261)
382
- proxy server. Written entirely in C, Kamailio can handle thousands calls
383
- per second even on low-budget hardware.
384
- .
385
- This package contains various Diameter interfaces and modules for Kamailio
386
- to run as an IMS core.
387
-
388 0
deleted file mode 100644
... ...
@@ -1,27 +0,0 @@
1
-This package was debianized by Andrei Pelinescu-Onciul
2
-<pelinescu-onciul@fokus.fraunhofer.de> on Tue, 16 Jul 2002 15:41:31 +0200.
3
-This package was debianized by Julien BLACHE <jblache@debian.org>
4
-on Thu, 29 Jun 2006 09:55:24 +0200, based on Andrei's work.
5
-
6
-It was downloaded from: http://kamailio.org
7
-
8
-Upstream Authors:
9
-       Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.fraunhofer.de>
10
-       Bogdan-Andrei Iancu <bogdan@voice-system.ro>
11
-       Daniel-Constantin Mierla <miconda@gmail.com>
12
-       Jan Janak <jan@iptel.org>
13
-       Jiri Kuthan <jiri@iptel.org>
14
-       Juha Heinanen
15
-       Ramona-Elena Modroiu
16
-       Maxim Sobolev
17
-       Miklos Tirpak
18
-       Nils Ohlmeier
19
-       and others ; see the AUTHORS file in the source code tree for details
20
-
21
-This software is copyright (c) 2002-2003 by FhG Fokus
22
-
23
-You are free to distribute this software under the terms of
24
-the GNU General Public License.
25
-
26
-On Debian systems, the complete text of the GNU General Public
27
-License can be found in the file `/usr/share/common-licenses/GPL.
28 0
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-Kamailio for Debian
2
-
3
-* init script check for fork=no
4
-
5
-The Kamailio init script will not start Kamailio on boot if fork=no is
6
-specified in the config file. The check in the initscript will match
7
-any occurrence of fork=no in the file, even inside C-style comments.
8
-
9
-You can disable this check in the init script if you wish; just comment
10
-out the calls to the check_fork function in the script. Your changes to
11
-the init script will be preserved upon upgrade, as the file is tagged
12
-as a conffile.
13
-
14
-
15
-* Kamailio setup
16
-
17
-To setup Kamailio, you need to:
18
- - configure Kamailio properly to suit your needs
19
- - edit /etc/default/kamailio, adjust the MEMORY parameter and set
20
-   RUN_KAMAILIO to "yes"
21
-
22
-If you are building an HA cluster using heartbeat or similar, you'll want
23
-to disable the init script by running:
24
-
25
-  update-rc.d kamailio remove
26
-
27
-so that Kamailio will not be launched at system startup. You still need
28
-to set RUN_KAMAILIO to "yes" if you want to use the /etc/init.d/kamailio init
29
-script.
30
-
31
-Set the DUMP_CORE parameter in /etc/default/kamailio to "yes" if you want to
32
-get a core dump in case Kamailio crashes. The debug symbols for Kamailio are
33
-provided by the kamailio-dbg package.
34
-
35 0
deleted file mode 100644
... ...
@@ -1,33 +0,0 @@
1
-#
2
-# Kamailio startup options
3
-#
4
-
5
-# Set to yes to enable kamailio, once configured properly.
6
-RUN_KAMAILIO=no
7
-
8
-# User to run as
9
-USER=kamailio
10
-
11
-# Group to run as
12
-GROUP=kamailio
13
-
14
-# Amount of shared memory to allocate for the running Kamailio server (in Mb)
15
-SHM_MEMORY=64
16
-
17
-# Amount of private memory for each Kamailio process (in Mb)
18
-PKG_MEMORY=4
19
-
20
-# Switch to USER and GROUP by start-stop-daemon or by kamailio itself
21
-# - with recent kernels, changing user ID inside applicaton prevents
22
-#   dumping core files. If the value is 'yes', the suid is done by
23
-#   start-stop-daemon, otherwise it is done by kamailio itself
24
-SSD_SUID=no
25
-
26
-# Enable the server to leave a core file when it crashes.
27
-# Set this to 'yes' to enable Kamailio to leave a core file when it crashes
28
-# or 'no' to disable this feature. This option is case sensitive and only
29
-# accepts 'yes' and 'no' and only in lowercase letters.
30
-# On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to specify
31
-# a directory for the core files to get a dump. Look into the kamailio
32
-# init file for an example configuration.
33
-DUMP_CORE=no
34 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-var/run/kamailio
2
-
3 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-examples/*
2
-
3 0
deleted file mode 100644
... ...
@@ -1,240 +0,0 @@
1
-#! /bin/sh
2
-#
3
-### BEGIN INIT INFO
4
-# Provides:          kamailio
5
-# Required-Start:    $syslog $network $local_fs $remote_fs $time
6
-# Required-Stop:     $syslog $network $local_fs $remote_fs
7
-# Default-Start:     2 3 4 5
8
-# Default-Stop:      0 1 6
9
-# Should-Start:      postgresql mysql radius
10
-# Should-Stop:       postgresql mysql radius
11
-# Short-Description: Start the Kamailio SIP proxy server
12
-# Description:       Start the Kamailio SIP proxy server
13
-### END INIT INFO
14
-
15
-
16
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
17
-DAEMON=/usr/sbin/kamailio
18
-NAME=kamailio
19
-DESC=Kamailio
20
-HOMEDIR=/var/run/kamailio
21
-PIDFILE=$HOMEDIR/$NAME.pid
22
-DEFAULTS=/etc/default/kamailio
23
-CFGFILE=/etc/kamailio/kamailio.cfg
24
-RUN_KAMAILIO=no
25
-
26
-
27
-# Do not start kamailio if fork=no is set in the config file
28
-# otherwise the boot process will just stop.
29
-check_fork ()
30
-{
31
-  if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" $CFGFILE; then
32
-    echo "Not starting $DESC: fork=no specified in config file. Run /etc/init.d/kamailio debug instead."
33
-    exit 1
34
-  fi
35
-}
36
-
37
-
38
-check_kamailio_config ()
39
-{
40
-  # Check if kamailio configuration is valid before starting the server.
41
-  set +e
42
-  out=$($DAEMON -M $PKG_MEMORY -c 2>&1 > /dev/null)
43
-  retcode=$?
44
-  set -e
45
-  if [ "$retcode" != '0' ]; then
46
-    echo "Not starting $DESC: invalid configuration file!"
47
-    echo -e "\n$out\n"
48
-    exit 1
49
-  fi
50
-}
51
-
52
-
53
-check_homedir ()
54
-{
55
-  # Create HOMEDIR directory in case it doesn't exist.
56
-  # Useful in Ubuntu as /var/run/ content is deleted in shutdown.
57
-  if [ ! -d $HOMEDIR ]; then
58
-    mkdir $HOMEDIR
59
-  fi
60
-
61
-  # Set the appropiate owner and group
62
-  chown ${USER}:${GROUP} $HOMEDIR
63
-}
64
-
65
-
66
-create_radius_seqfile ()
67
-{
68
-  # Create a radius sequence file to be used by the radius client if
69
-  # radius accounting is enabled. This is needed to avoid any issue
70
-  # with the file not being writable if kamailio first starts as user
71
-  # root because DUMP_CORE is enabled and creates this file as user
72
-  # root and then later it switches back to user kamailio and cannot
73
-  # write to the file. If the file exists before kamailio starts, it
74
-  # won't change it's ownership and will be writable for both root
75
-  # and kamailio, no matter what options are chosen at install time
76
-  RADIUS_SEQ_FILE=$HOMEDIR/kamailio_radius.seq
77
-
78
-  if [ ! -f $RADIUS_SEQ_FILE ]; then
79
-      touch $RADIUS_SEQ_FILE
80
-  fi
81
-
82
-  chown ${USER}:${GROUP} $RADIUS_SEQ_FILE
83
-  chmod 660 $RADIUS_SEQ_FILE
84
-}
85
-
86
-
87
-if [ ! -f $DAEMON ]; then
88
-  echo "No $DESC daemon at $DAEMON."
89
-  case "$1" in
90
-  status)
91
-    # LSB - 4: program or service status is unknown.
92
-    exit 4
93
-    ;;
94
-  *)
95
-    # LSB - 5: program is not installed.
96
-    exit 5
97
-    ;;
98
-  esac
99
-fi
100
-
101
-
102
-# Load startup options if available.
103
-if [ -f $DEFAULTS ]; then
104
-  . $DEFAULTS || true
105
-fi
106
-
107
-
108
-if [ "$RUN_KAMAILIO" != "yes" ]; then
109
-  echo "$DESC not yet configured. Edit $DEFAULTS first."
110
-  exit 0
111
-fi
112
-
113
-
114
-set -e
115
-
116
-
117
-SHM_MEMORY=$((`echo $SHM_MEMORY | sed -e 's/[^0-9]//g'`))
118
-PKG_MEMORY=$((`echo $PKG_MEMORY | sed -e 's/[^0-9]//g'`))
119
-[ $SHM_MEMORY -le 0 ] && SHM_MEMORY=64
120
-[ $PKG_MEMORY -le 0 ] && PKG_MEMORY=4
121
-[ -z "$USER" ]  && USER=kamailio
122
-[ -z "$GROUP" ] && GROUP=kamailio
123
-
124
-
125
-if test "$DUMP_CORE" = "yes" ; then
126
-  # set proper ulimit.
127
-  ulimit -c unlimited
128
-
129
-  # directory for the core dump files.
130
-  # COREDIR=/tmp/corefiles
131
-  # [ -d $COREDIR ] || mkdir $COREDIR
132
-  # chmod 777 $COREDIR
133
-  # echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
134
-fi
135
-
136
-
137
-if [ "$SSD_SUID" != "yes" ]; then
138
-  OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP"
139
-  SSDOPTS=""
140
-else
141
-  OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY"
142
-  SSDOPTS="--chuid $USER:$GROUP"
143
-fi
144
-
145
-
146
-start_kamailio_daemon ()
147
-{
148
-  start-stop-daemon --start --quiet --pidfile $PIDFILE $SSDOPTS \
149
-    --exec $DAEMON -- $OPTIONS
150
-  res=$?
151
-
152
-  echo -n "$NAME "
153
-  if [ $res -eq 0 ] ; then
154
-    echo "started."
155
-    exit 0
156
-  else
157
-    if [ ! -r "$PIDFILE" ]; then
158
-      echo "error, failed to start."
159
-      exit 1
160
-    elif read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then
161
-      echo "already running."
162
-      exit 0
163
-    else
164
-      echo "error, failed to start ($PIDFILE exists)."
165
-      exit 1
166
-    fi
167
-  fi
168
-}
169
-
170
-
171
-case "$1" in
172
-  start|debug)
173
-    check_kamailio_config
174
-    check_homedir
175
-    create_radius_seqfile
176
-
177
-    if [ "$1" != "debug" ]; then
178
-      check_fork
179
-    fi
180
-
181
-    echo "Starting $DESC:"
182
-    set +e
183
-    start_kamailio_daemon
184
-    ;;
185
-
186
-  stop)
187
-    echo -n "Stopping $DESC: $NAME "
188
-    set +e
189
-    start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
190
-      --exec $DAEMON
191
-
192
-    if [ $? -eq 0 ] ; then
193
-      echo "stopped."
194
-      exit 0
195
-    else
196
-      echo "failed to stop."
197
-      exit 1
198
-    fi
199
-    ;;
200
-    
201
-  restart|force-reload)
202
-    check_kamailio_config
203
-    check_homedir
204
-    create_radius_seqfile
205
-
206
-    echo "Restarting $DESC:"
207
-    set +e
208
-    start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE --retry=5 \
209
-      --exec $DAEMON
210
-    if [ $? -ne 0 ] ; then
211
-      echo "$NAME failed to stop."
212
-      exit 1
213
-    fi
214
-    start_kamailio_daemon
215
-    ;;
216
-
217
-  status)
218
-    echo -n "Status of $DESC: $NAME "
219
-    if [ ! -r "$PIDFILE" ]; then
220
-      echo "is not running."
221
-      exit 3
222
-    fi
223
-    if read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then
224
-      echo "is running."
225
-      exit 0
226
-    else
227
-      echo "is not running but $PIDFILE exists."
228
-      exit 1
229
-    fi
230
-    ;;
231
-
232
-  *)
233
-    N=/etc/init.d/$NAME
234
-    echo "Usage: $N {start|stop|restart|force-reload|debug|status}" >&2
235
-    exit 1
236
-    ;;
237
-esac
238
-
239
-
240
-exit 0
241 0
deleted file mode 100644
... ...
@@ -1,48 +0,0 @@
1
-#! /bin/sh
2
-#
3
-# $Id$
4
-
5
-PKG=kamailio
6
-DEFAULTS=/etc/default/kamailio
7
-HOMEDIR=/var/run/kamailio
8
-
9
-set -e
10
-
11
-# summary of how this script can be called:
12
-#        * <postinst> `configure' <most-recently-configured-version>
13
-#        * <old-postinst> `abort-upgrade' <new version>
14
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
15
-#          <new-version>
16
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
17
-#          <failed-install-package> <version> `removing'
18
-#          <conflicting-package> <version>
19
-# for details, see http://www.debian.org/doc/debian-policy/ or
20
-# the debian-policy package
21
-#
22
-# quoting from the policy:
23
-#     Any necessary prompting should almost always be confined to the
24
-#     post-installation script, and should be protected with a conditional
25
-#     so that unnecessary prompting doesn't happen if a package's
26
-#     installation fails and the `postinst' is called with `abort-upgrade',
27
-#     `abort-remove' or `abort-deconfigure'.
28
-
29
-case "$1" in
30
-    configure)
31
-        adduser --quiet --system --group --disabled-password \
32
-                --shell /bin/false --gecos "Kamailio" \
33
-                --home $HOMEDIR kamailio || true
34
-
35
-        ;;
36
-
37
-    abort-upgrade|abort-remove|abort-deconfigure)
38
-
39
-        ;;
40
-
41
-    *)
42
-        echo "postinst called with unknown argument \`$1'" >&2
43
-        exit 1
44
-        ;;
45
-esac
46
-
47
-#DEBHELPER#
48
-
49 0
deleted file mode 100755
... ...
@@ -1,227 +0,0 @@
1
-#!/usr/bin/make -f
2
-# Sample debian/rules that uses debhelper.
3
-# GNU copyright 1997 to 1999 by Joey Hess.
4
-#
5
-# $Id$
6
-#
7
-# History:
8
-# --------
9
-#  2009-07-08  updated for sip-router (andrei)
10
-#  2009-12-10  updated for kamailio 3.0 (daniel)
11
-
12
-
13
-# Uncomment this to turn on verbose mode.
14
-#export DH_VERBOSE=1
15
-
16
-# This is the debhelper compatibility version to use.
17
-# export DH_COMPAT=4
18
-#  -- already set in compat
19
-export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) debug"
20
-
21
-# modules not in the "main" kamailio package
22
-EXCLUDED_MODULES= geoip
23
-
24
-# extra modules to skip, because they are not compilable now
25
-# - regardless if they go to the main kamailio package or to some module package,
26
-# they will be excluded from compile and install of all
27
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy
28
-#EXTRA_EXCLUDED_MODULES=
29
-
30
-# possible module directories that can appear in MODULES_SP
31
-# (only used for deducing a module name)
32
-MDIRS=modules
33
-
34
-# modules packaged in separate packages (complete with full modules_* path)
35
-# with the package name: kamailio-$(module_name)-module
36
-MODULES_SP=
37
-
38
-# module groups that are packaged in seperate packages
39
-# (with the name kamailio-$(group_name)-modules)
40
-# Note: the order is important (should be in dependency order, the one
41
-# on which other depend first)
42
-PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
43
-			   ldap xml perl utils purple memcached tls \
44
-			   snmpstats carrierroute xmpp cpl lua python \
45
-			   sqlite ims
46
-
47
-# name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
48
-LIBDIR ?= lib
49
-
50
-# directories with possible duplicate libraries (that should be deleted
51
-# from current module* packages)
52
-DUP_LIBS_DIRS=$(CURDIR)/debian/kamailio/usr/$(LIBDIR)/kamailio \
53
-			$(CURDIR)/debian/kamailio-db-modules/usr/$(LIBDIR)/kamailio
54
-
55
-# modules names out of modules sp
56
-MODULES_SP_NAMES=$(filter-out $(MDIRS),$(subst /, ,$(MODULES_SP)))
57
-
58
-# "function" to get package short name out of a dir/module_name
59
-# it also transforms db_foo into foo
60
-mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
61
-
62
-define PACKAGE_GRP_BUILD_template
63
-	# package all the modules in PACKAGE_GROUPS in separate packages
64
-	$(foreach grp,$(PACKAGE_GROUPS),\
65
-		$(MAKE) every-module group_include="k$(grp)"
66
-	)
67
-endef
68
-
69
-
70
-define PACKAGE_MODULE_BUILD_template
71
-	# package all the modules MODULES_SP in separate packages
72
-	$(foreach mod,$(MODULES_SP),\
73
-		$(MAKE) modules modules="$(mod)"
74
-	)
75
-endef
76
-
77
-
78
-define PACKAGE_GRP_INSTALL_template
79
-	$(foreach grp,$(PACKAGE_GROUPS),\
80
-		$(MAKE) install-modules-all group_include="k$(grp)" \
81
-		basedir=$(CURDIR)/debian/kamailio-$(grp)-modules \
82
-		cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
83
-		doc-dir=share/doc/kamailio-$(grp)-modules
84
-		# eliminate duplicate libs
85
-		-for d in $(DUP_LIBS_DIRS); do \
86
-			test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
87
-			for r in $$d/lib*; do \
88
-				if [ "$$r" != "$$d/lib*" ]; then \
89
-					echo "removing $(grp) lib `basename $$r` present also in $$d";\
90
-					rm -f $(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"` ; \
91
-				fi \
92
-			done ; \
93
-		done
94
-	)
95
-endef
96
-
97
-
98
-define PACKAGE_MODULE_INSTALL_template
99
-	$(foreach mod,$(MODULES_SP),
100
-		$(MAKE) install-modules-all modules="$(mod)" \
101
-				modules_s="" modules_k="" \
102
-				basedir=$(CURDIR)/debian/kamailio-$(call mod_name,$(mod))-module \
103
-				doc-dir=share/doc/kamailio-$(call mod_name,$(mod))-module
104
-		# eliminate duplicate libs
105
-		-for d in $(DUP_LIBS_DIRS); do \
106
-			test "$$d" != "$(CURDIR)/debian/kamailio-$(call mod_name,$(mod))-module/usr/$(LIBDIR)/kamailio" &&\
107
-			for r in $$d/lib*; do \
108
-				if [ "$$r" != "$$d/lib*" ]; then \
109
-					echo "removing $(call mod_name, $(mod)) lib `basename $$r` present also in $$d";\
110
-					rm -f $(CURDIR)/debian/kamailio-$(call mod_name,$(mod))-module/usr/$(LIBDIR)/kamailio/`basename "$$r"` ; \
111
-				fi \
112
-			done ; \
113
-		done
114
-	)
115
-endef
116
-
117
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
118
-	CFLAGS += -g
119
-endif
120
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
121
-	INSTALL_PROGRAM += -s
122
-endif
123
-
124
-configure: configure-stamp
125
-configure-stamp:
126
-	dh_testdir
127
-	# Add here commands to configure the package.
128
-	$(MAKE) FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=$(CURDIR)/debian/kamailio \
129
-			cfg_target=/etc/kamailio/ \
130
-			basedir=$(CURDIR)/debian/kamailio \
131
-			skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
132
-			group_include="kstandard"
133
-
134
-	touch configure-stamp
135
-
136
-
137
-build: build-stamp
138
-
139
-build-stamp: configure-stamp 
140
-	dh_testdir
141
-	# Add here commands to compile the package.
142
-	$(MAKE) all
143
-	# make groups
144
-	$(call PACKAGE_GRP_BUILD_template)
145
-	# make single-module packages
146
-	$(call PACKAGE_MODULE_BUILD_template)
147
-	touch build-stamp
148
-
149
-clean:
150
-	dh_testdir
151
-	dh_testroot
152
-	rm -f build-stamp configure-stamp
153
-	# Add here commands to clean up after the build process.
154
-	-$(MAKE) maintainer-clean
155
-	dh_clean
156
-
157
-install: build
158
-	dh_testdir
159
-	dh_testroot
160
-	dh_clean -k
161
-	dh_installdirs
162
-	# Add here commands to install the package into debian/kamailio
163
-	$(MAKE) install group_include="kstandard"
164
-	# fix etc/kamailio dir location -- not needed -- andrei
165
-	# mv -f $(CURDIR)/debian/kamailio/usr/etc $(CURDIR)/debian/kamailio
166
-	# make group packages
167
-	$(call PACKAGE_GRP_INSTALL_template)
168
-	# make single module packages
169
-	$(call PACKAGE_MODULE_INSTALL_template)
170
-	# install /etc/default/kamailio file
171
-	mkdir -p $(CURDIR)/debian/kamailio/etc/default
172
-	cp -f debian/kamailio.default $(CURDIR)/debian/kamailio/etc/default/kamailio
173
-	#dh_movefiles
174
-
175
-
176
-
177
-# This single target is used to build all the packages, all at once, or
178
-# one at a time. So keep in mind: any options passed to commands here will
179
-# affect _all_ packages. Anything you want to only affect one package
180
-# should be put in another target, such as the install target.
181
-binary-common: 
182
-	dh_testdir
183
-	dh_testroot
184
-	dh_installdebconf	
185
-	dh_installdocs
186
-	dh_installexamples
187
-	dh_installmenu
188
-#	dh_installlogrotate
189
-#	dh_installemacsen
190
-#	dh_installpam
191
-#	dh_installmime
192
-	dh_installinit  -- defaults 23
193
-	dh_installcron
194
-	dh_installman
195
-	dh_installinfo
196
-#	dh_undocumented
197
-	dh_installchangelogs ChangeLog 
198
-	dh_link
199
-	dh_strip --dbg-package=kamailio-dbg
200
-	dh_compress 
201
-	dh_fixperms
202
-	dh_makeshlibs
203
-	dh_installdeb
204
-#	dh_perl
205
-	dh_shlibdeps
206
-	dh_gencontrol
207
-	dh_md5sums
208
-	dh_builddeb
209
-
210
-# Build architecture-independent packages using the common target
211
-binary-indep: build install
212
-# (Uncomment this next line if you have such packages.)
213
-#        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
214
-# We have nothing to do by default.
215
-
216
-
217
-# Build architecture-dependent packages using the common target
218
-binary-arch: build install
219
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
220
-
221
-# Any other binary targets build just one binary package at a time.
222
-binary-%: build install
223
-	$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
224
-
225
-binary: binary-indep binary-arch
226
-.PHONY: build clean binary-indep binary-arch binary install configure
227
-