Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/kannel/files/
Date: Mon, 11 Jul 2016 12:49:49
Message-Id: 1468238871.6899c25cbd848c56ddd7f7104010fb959077e4a0.monsieurp@gentoo
1 commit: 6899c25cbd848c56ddd7f7104010fb959077e4a0
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 10 20:17:09 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 11 12:07:51 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6899c25c
7
8 app-mobilephone/kannel: remove unused patches/files
9
10 Closes: https://github.com/gentoo/gentoo/pull/1863
11
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 .../files/kannel-1.4.1-custom-wap-ports.patch | 354 ---------------------
15 .../kannel/files/kannel-1.4.1-nolex.patch | 22 --
16 app-mobilephone/kannel/files/kannel-confd | 10 -
17 app-mobilephone/kannel/files/kannel-initd | 68 ----
18 4 files changed, 454 deletions(-)
19
20 diff --git a/app-mobilephone/kannel/files/kannel-1.4.1-custom-wap-ports.patch b/app-mobilephone/kannel/files/kannel-1.4.1-custom-wap-ports.patch
21 deleted file mode 100644
22 index c7afe96..0000000
23 --- a/app-mobilephone/kannel/files/kannel-1.4.1-custom-wap-ports.patch
24 +++ /dev/null
25 @@ -1,354 +0,0 @@
26 -diff -Nru gateway-1.4.1.orig/gw/bb_udp.c gateway-1.4.1/gw/bb_udp.c
27 ---- gateway-1.4.1.orig/gw/bb_udp.c 2005-02-11 17:35:48.000000000 +0200
28 -+++ gateway-1.4.1/gw/bb_udp.c 2006-11-16 00:28:56.346802750 +0200
29 -@@ -78,7 +78,7 @@
30 - #include "gwlib/gwlib.h"
31 - #include "msg.h"
32 - #include "bearerbox.h"
33 --
34 -+#include "custports.h"
35 - /* passed from bearerbox core */
36 -
37 - extern volatile sig_atomic_t bb_status;
38 -@@ -352,13 +352,13 @@
39 - while (gwlist_len(ifs) > 0) {
40 - iface = gwlist_extract_first(ifs);
41 - info(0, "Adding interface %s", octstr_get_cstr(iface));
42 -- add_service(9200, octstr_get_cstr(iface)); /* wsp */
43 -- add_service(9201, octstr_get_cstr(iface)); /* wsp/wtp */
44 -+ add_service(port_wsp, octstr_get_cstr(iface)); /* wsp */
45 -+ add_service(port_wtp, octstr_get_cstr(iface)); /* wsp/wtp */
46 -
47 - #ifdef HAVE_WTLS_OPENSSL
48 - if (allow_wtls) {
49 -- add_service(9202, octstr_get_cstr(iface)); /* wsp/wtls */
50 -- add_service(9203, octstr_get_cstr(iface)); /* wsp/wtp/wtls */
51 -+ add_service(port_wsps, octstr_get_cstr(iface)); /* wsp/wtls */
52 -+ add_service(port_wtps, octstr_get_cstr(iface)); /* wsp/wtp/wtls */
53 - }
54 - #else
55 - if (allow_wtls)
56 -diff -Nru gateway-1.4.1.orig/gw/bearerbox.c gateway-1.4.1/gw/bearerbox.c
57 ---- gateway-1.4.1.orig/gw/bearerbox.c 2006-05-09 08:44:31.000000000 +0300
58 -+++ gateway-1.4.1/gw/bearerbox.c 2006-11-16 00:28:56.346802750 +0200
59 -@@ -77,6 +77,7 @@
60 - #include "bearerbox.h"
61 - #include "shared.h"
62 - #include "dlr.h"
63 -+#include "custports.h"
64 -
65 - /* global variables; included to other modules as needed */
66 -
67 -@@ -280,7 +281,6 @@
68 - {
69 - static int started = 0;
70 - if (started) return 0;
71 --
72 - udp_start(cfg);
73 -
74 - start_wap(cfg);
75 -@@ -353,6 +353,7 @@
76 - int ssl_enabled = 0;
77 - #endif /* HAVE_LIBSSL */
78 -
79 -+ ReadCustomPorts(cfg);
80 - /* defaults: use localtime and markers for access-log */
81 - lf = m = 1;
82 -
83 -diff -Nru gateway-1.4.1.orig/gw/custports.c gateway-1.4.1/gw/custports.c
84 ---- gateway-1.4.1.orig/gw/custports.c 1970-01-01 02:00:00.000000000 +0200
85 -+++ gateway-1.4.1/gw/custports.c 2006-11-16 00:28:56.346802750 +0200
86 -@@ -0,0 +1,88 @@
87 -+/* ====================================================================
88 -+ * The Kannel Software License, Version 1.0
89 -+ *
90 -+ * Copyright (c) 2001-2004 Kannel Group
91 -+ * Copyright (c) 1998-2001 WapIT Ltd.
92 -+ * All rights reserved.
93 -+ *
94 -+ * Redistribution and use in source and binary forms, with or without
95 -+ * modification, are permitted provided that the following conditions
96 -+ * are met:
97 -+ *
98 -+ * 1. Redistributions of source code must retain the above copyright
99 -+ * notice, this list of conditions and the following disclaimer.
100 -+ *
101 -+ * 2. Redistributions in binary form must reproduce the above copyright
102 -+ * notice, this list of conditions and the following disclaimer in
103 -+ * the documentation and/or other materials provided with the
104 -+ * distribution.
105 -+ *
106 -+ * 3. The end-user documentation included with the redistribution,
107 -+ * if any, must include the following acknowledgment:
108 -+ * "This product includes software developed by the
109 -+ * Kannel Group (http://www.kannel.org/)."
110 -+ * Alternately, this acknowledgment may appear in the software itself,
111 -+ * if and wherever such third-party acknowledgments normally appear.
112 -+ *
113 -+ * 4. The names "Kannel" and "Kannel Group" must not be used to
114 -+ * endorse or promote products derived from this software without
115 -+ * prior written permission. For written permission, please
116 -+ * contact org@××××××.org.
117 -+ *
118 -+ * 5. Products derived from this software may not be called "Kannel",
119 -+ * nor may "Kannel" appear in their name, without prior written
120 -+ * permission of the Kannel Group.
121 -+ *
122 -+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
123 -+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
124 -+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
125 -+ * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
126 -+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
127 -+ * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
128 -+ * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
129 -+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
130 -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
131 -+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
132 -+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
133 -+ * ====================================================================
134 -+ *
135 -+ * This software consists of voluntary contributions made by many
136 -+ * individuals on behalf of the Kannel Group. For more information on
137 -+ * the Kannel Group, please see <http://www.kannel.org/>.
138 -+ *
139 -+ * Portions of this software are based upon software originally written at
140 -+ * WapIT Ltd., Helsinki, Finland for the Kannel project.
141 -+ */
142 -+
143 -+/*
144 -+ * gw/custports.c
145 -+ *
146 -+ * Implementation of reading custom UDP ports used by wapbox
147 -+ *
148 -+ * Lubor Kolar <kolar@××××××.cz>, 14.03.2006
149 -+ */
150 -+
151 -+#include <custports.h>
152 -+
153 -+long port_wsp = 9200; // connectionless default
154 -+long port_wtp = 9201; // connection-oriented default
155 -+long port_wsps = 9202; // connectionless secure default
156 -+long port_wtps = 9203; // connection-oriented secure
157 -+
158 -+
159 -+void ReadCustomPorts(Cfg *config)
160 -+{
161 -+ CfgGroup *grp;
162 -+ grp = cfg_get_single_group(config, octstr_imm("wapbox"));
163 -+ if(grp == NULL)
164 -+ return;
165 -+
166 -+ if(cfg_get_integer(&port_wsp, grp, octstr_imm("wsp-port")) != -1)
167 -+ info(0, "Using custom WSP port %ld", port_wsp);
168 -+ if(cfg_get_integer(&port_wtp, grp, octstr_imm("wtp-port")) != -1)
169 -+ info(0, "Using custom WSP/WTP port %ld", port_wtp);
170 -+ if(cfg_get_integer(&port_wsps, grp, octstr_imm("wsps-port")) != -1)
171 -+ info(0, "Using custom WSP/WTLS port %ld", port_wsps);
172 -+ if(cfg_get_integer(&port_wtps, grp, octstr_imm("wtps-port")) != -1)
173 -+ info(0, "Using custom WSP/WTP/WTLS port %ld", port_wtps);
174 -+}
175 -diff -Nru gateway-1.4.1.orig/gw/custports.h gateway-1.4.1/gw/custports.h
176 ---- gateway-1.4.1.orig/gw/custports.h 1970-01-01 02:00:00.000000000 +0200
177 -+++ gateway-1.4.1/gw/custports.h 2006-11-16 00:28:56.346802750 +0200
178 -@@ -0,0 +1,77 @@
179 -+/* ====================================================================
180 -+ * The Kannel Software License, Version 1.0
181 -+ *
182 -+ * Copyright (c) 2001-2004 Kannel Group
183 -+ * Copyright (c) 1998-2001 WapIT Ltd.
184 -+ * All rights reserved.
185 -+ *
186 -+ * Redistribution and use in source and binary forms, with or without
187 -+ * modification, are permitted provided that the following conditions
188 -+ * are met:
189 -+ *
190 -+ * 1. Redistributions of source code must retain the above copyright
191 -+ * notice, this list of conditions and the following disclaimer.
192 -+ *
193 -+ * 2. Redistributions in binary form must reproduce the above copyright
194 -+ * notice, this list of conditions and the following disclaimer in
195 -+ * the documentation and/or other materials provided with the
196 -+ * distribution.
197 -+ *
198 -+ * 3. The end-user documentation included with the redistribution,
199 -+ * if any, must include the following acknowledgment:
200 -+ * "This product includes software developed by the
201 -+ * Kannel Group (http://www.kannel.org/)."
202 -+ * Alternately, this acknowledgment may appear in the software itself,
203 -+ * if and wherever such third-party acknowledgments normally appear.
204 -+ *
205 -+ * 4. The names "Kannel" and "Kannel Group" must not be used to
206 -+ * endorse or promote products derived from this software without
207 -+ * prior written permission. For written permission, please
208 -+ * contact org@××××××.org.
209 -+ *
210 -+ * 5. Products derived from this software may not be called "Kannel",
211 -+ * nor may "Kannel" appear in their name, without prior written
212 -+ * permission of the Kannel Group.
213 -+ *
214 -+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
215 -+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
216 -+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
217 -+ * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
218 -+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
219 -+ * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
220 -+ * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
221 -+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
222 -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
223 -+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
224 -+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
225 -+ * ====================================================================
226 -+ *
227 -+ * This software consists of voluntary contributions made by many
228 -+ * individuals on behalf of the Kannel Group. For more information on
229 -+ * the Kannel Group, please see <http://www.kannel.org/>.
230 -+ *
231 -+ * Portions of this software are based upon software originally written at
232 -+ * WapIT Ltd., Helsinki, Finland for the Kannel project.
233 -+ */
234 -+
235 -+/*
236 -+ * gw/custports.h
237 -+ *
238 -+ * Implementation of wapbox custom UDP ports)
239 -+ *
240 -+ * Lubor Kolar <kolar@××××××.cz>, 14.03.2006
241 -+ */
242 -+
243 -+#ifndef CUSTPORTS_H
244 -+#define CUSTPORTS_H
245 -+
246 -+#include "gwlib/gwlib.h"
247 -+
248 -+extern long port_wsp; // connectionless
249 -+extern long port_wtp; // connection-oriented
250 -+extern long port_wsps; // connectionless secure
251 -+extern long port_wtps; // connection-oriented secure
252 -+
253 -+void ReadCustomPorts(Cfg *config);
254 -+#endif /* CUSTPORTS_H */
255 -+
256 -diff -Nru gateway-1.4.1.orig/gw/wapbox.c gateway-1.4.1/gw/wapbox.c
257 ---- gateway-1.4.1.orig/gw/wapbox.c 2006-03-28 15:00:19.000000000 +0300
258 -+++ gateway-1.4.1/gw/wapbox.c 2006-11-16 00:28:56.350803000 +0200
259 -@@ -84,17 +84,11 @@
260 - #include "gwlib/pki.h"
261 - #endif
262 - #include "radius/radius_acct.h"
263 -+#include "custports.h"
264 -
265 - static void config_reload(int reload);
266 - static long logfilelevel=-1;
267 -
268 --enum {
269 -- CONNECTIONLESS_PORT = 9200,
270 -- CONNECTION_ORIENTED_PORT = 9201,
271 -- WTLS_CONNECTIONLESS_PORT = 9202,
272 -- WTLS_CONNECTION_ORIENTED_PORT = 9203
273 --};
274 --
275 - enum { DEFAULT_TIMER_FREQ = 1};
276 -
277 - static Octstr *bearerbox_host;
278 -@@ -131,6 +125,8 @@
279 -
280 - cfg_dump(cfg);
281 -
282 -+ ReadCustomPorts(cfg);
283 -+
284 - /*
285 - * Extract info from the core group.
286 - */
287 -@@ -772,9 +768,9 @@
288 - * XXXX here should be suspend/resume, add RSN
289 - */
290 - } else if (msg_type(msg) == wdp_datagram) {
291 -- switch (msg->wdp_datagram.destination_port) {
292 -- case CONNECTIONLESS_PORT:
293 -- case CONNECTION_ORIENTED_PORT:
294 -+ if(msg->wdp_datagram.destination_port == port_wsp
295 -+ || msg->wdp_datagram.destination_port == port_wtp)
296 -+ {
297 - dgram = wap_event_create(T_DUnitdata_Ind);
298 - dgram->u.T_DUnitdata_Ind.addr_tuple = wap_addr_tuple_create(
299 - msg->wdp_datagram.source_address,
300 -@@ -785,19 +781,22 @@
301 - msg->wdp_datagram.user_data = NULL;
302 -
303 - wap_dispatch_datagram(dgram);
304 -- break;
305 -- case WTLS_CONNECTIONLESS_PORT:
306 -- case WTLS_CONNECTION_ORIENTED_PORT:
307 -+ }
308 -+ else
309 -+ if(msg->wdp_datagram.destination_port == port_wsps
310 -+ || msg->wdp_datagram.destination_port == port_wtps)
311 -+ {
312 - #if (HAVE_WTLS_OPENSSL)
313 - dgram = wtls_unpack_wdp_datagram(msg);
314 - if (dgram != NULL)
315 - wtls_dispatch_event(dgram);
316 - #endif
317 -- break;
318 -- default:
319 -+ }
320 -+ else
321 -+ {
322 - panic(0,"Bad packet received! This shouldn't happen!");
323 - break;
324 -- }
325 -+ }
326 - } else {
327 - warning(0, "Received other message than wdp/admin, ignoring!");
328 - }
329 -diff -Nru gateway-1.4.1.orig/gw/wap_push_ppg.c gateway-1.4.1/gw/wap_push_ppg.c
330 ---- gateway-1.4.1.orig/gw/wap_push_ppg.c 2005-10-06 15:48:26.000000000 +0300
331 -+++ gateway-1.4.1/gw/wap_push_ppg.c 2006-11-16 00:28:56.350803000 +0200
332 -@@ -88,6 +88,7 @@
333 - #include "wap_push_pap_compiler.h"
334 - #include "wap_push_pap_mime.h"
335 - #include "wap_push_ppg_pushuser.h"
336 -+#include "custports.h"
337 -
338 - enum {
339 - TIME_EXPIRED = 0,
340 -@@ -1768,10 +1769,10 @@
341 -
342 - if (!cless_accepted) {
343 - cliport = CONNECTED_CLIPORT;
344 -- servport = CONNECTED_SERVPORT;
345 -+ servport = port_wtp;
346 - } else {
347 - cliport = CONNECTIONLESS_PUSH_CLIPORT;
348 -- servport = CONNECTIONLESS_SERVPORT;
349 -+ servport = port_wsp;
350 - }
351 -
352 - address_type = (**e).u.Push_Message.address_type;
353 -diff -Nru gateway-1.4.1.orig/gw/wap_push_ppg.h gateway-1.4.1/gw/wap_push_ppg.h
354 ---- gateway-1.4.1.orig/gw/wap_push_ppg.h 2005-02-11 17:35:48.000000000 +0200
355 -+++ gateway-1.4.1/gw/wap_push_ppg.h 2006-11-16 00:28:56.350803000 +0200
356 -@@ -167,9 +167,7 @@
357 - */
358 - enum {
359 - CONNECTIONLESS_PUSH_CLIPORT = 2948,
360 -- CONNECTIONLESS_SERVPORT = 9200,
361 - CONNECTED_CLIPORT = 9209,
362 -- CONNECTED_SERVPORT = 9201
363 - };
364 -
365 - struct PPGSessionMachine {
366 -diff -Nru gateway-1.4.1.orig/gwlib/cfg.def gateway-1.4.1/gwlib/cfg.def
367 ---- gateway-1.4.1.orig/gwlib/cfg.def 2006-08-28 15:06:13.000000000 +0300
368 -+++ gateway-1.4.1/gwlib/cfg.def 2006-11-16 00:30:55.042220750 +0200
369 -@@ -153,6 +153,10 @@
370 - OCTSTR(concatenation)
371 - OCTSTR(max-messages)
372 - OCTSTR(wml-strict)
373 -+ OCTSTR(wsp-port)
374 -+ OCTSTR(wtp-port)
375 -+ OCTSTR(wsps-port)
376 -+ OCTSTR(wtps-port)
377 - )
378 -
379 -
380
381 diff --git a/app-mobilephone/kannel/files/kannel-1.4.1-nolex.patch b/app-mobilephone/kannel/files/kannel-1.4.1-nolex.patch
382 deleted file mode 100644
383 index 07dfd14..0000000
384 --- a/app-mobilephone/kannel/files/kannel-1.4.1-nolex.patch
385 +++ /dev/null
386 @@ -1,22 +0,0 @@
387 -diff -Nru gateway-1.4.1.orig/configure.in gateway-1.4.1/configure.in
388 ---- gateway-1.4.1.orig/configure.in 2008-06-24 02:00:07.000000000 +0200
389 -+++ gateway-1.4.1/configure.in 2008-06-24 02:06:05.000000000 +0200
390 -@@ -108,7 +108,6 @@
391 - AC_PROG_INSTALL
392 - AC_PROG_RANLIB
393 - AC_PROG_YACC
394 --AC_PROG_LEX
395 - AC_PATH_PROG(CONVERT, convert)
396 - AC_PATH_PROG(PERL, perl)
397 -
398 -diff -Nru gateway-1.4.1.orig/Makefile.in gateway-1.4.1/Makefile.in
399 ---- gateway-1.4.1.orig/Makefile.in 2006-05-09 07:46:56.000000000 +0200
400 -+++ gateway-1.4.1/Makefile.in 2008-06-24 02:06:21.000000000 +0200
401 -@@ -60,7 +60,6 @@
402 - SHELL = @SHELL@
403 - VERSION = @VERSION@
404 - SUFFIX = @SUFFIX@
405 --LEX = @LEX@
406 - PERL = @PERL@
407 - YACC = @YACC@
408 -
409
410 diff --git a/app-mobilephone/kannel/files/kannel-confd b/app-mobilephone/kannel/files/kannel-confd
411 deleted file mode 100644
412 index 686be7e..0000000
413 --- a/app-mobilephone/kannel/files/kannel-confd
414 +++ /dev/null
415 @@ -1,10 +0,0 @@
416 -START_SMSBOX=yes
417 -START_WAPBOX=yes
418 -
419 -#See the documentation for setting proper options
420 -#Note: verbosity codes are strange!
421 -# Default is 0, which means 'debug'. 1 is 'info, 2 'warning', 3 'error' and 4 'panic'
422 -
423 -BEARERBOX_OPTS="--verbosity 1 --logfile bearerbox.log"
424 -SMSBOX_OPTS="--verbosity 1 --logfile smsbox.log"
425 -WAPBOX_OPTS="--verbosity 1 --logfile wapbox.log"
426
427 diff --git a/app-mobilephone/kannel/files/kannel-initd b/app-mobilephone/kannel/files/kannel-initd
428 deleted file mode 100644
429 index ddb5c7a..0000000
430 --- a/app-mobilephone/kannel/files/kannel-initd
431 +++ /dev/null
432 @@ -1,68 +0,0 @@
433 -#!/sbin/openrc-run
434 -
435 -depend() {
436 - need net
437 - after mysql postgresql sshd
438 -}
439 -
440 -checkconfig() {
441 - if [ ! -f /etc/kannel/kannel.conf ] ; then
442 - eerror "/etc/kannel/kannel.conf file doesn't exists!"
443 - return 1
444 - fi
445 - #set the location of logs
446 - if ! cd /var/log/kannel ; then
447 - eerror "/var/log/kannel directory doesn't exists!"
448 - return 1
449 - fi
450 -}
451 -
452 -start() {
453 - checkconfig || return 1
454 -
455 - einfo "Starting Kannel"
456 - ebegin " - Bearer Box"
457 - start-stop-daemon --start --quiet --chuid kannel --exec /usr/sbin/bearerbox \
458 - --background -- $BEARERBOX_OPTS /etc/kannel/kannel.conf
459 - eend $? || return 1
460 -
461 - if [ "$START_SMSBOX" = "yes" ] ; then
462 - ebegin " - SMS Box"
463 - start-stop-daemon --start --quiet --chuid kannel --exec /usr/sbin/smsbox \
464 - --background -- $SMSBOX_OPTS /etc/kannel/kannel.conf
465 - eend $?
466 - fi
467 -
468 - if [ "$START_WAPBOX" = "yes" ] ; then
469 - ebegin " - WAP Box"
470 - start-stop-daemon --start --quiet --chuid kannel --exec /usr/sbin/wapbox \
471 - --background -- $WAPBOX_OPTS /etc/kannel/kannel.conf
472 - eend $?
473 - fi
474 -
475 - return 0
476 -}
477 -
478 -stop() {
479 - if [ "$START_WAPBOX" = "yes" ] ; then
480 - einfo "Stopping Kannel"
481 - ebegin " - WAP Box"
482 - start-stop-daemon --stop --quiet --exec /usr/sbin/wapbox
483 - eend $?
484 - fi
485 -
486 - if [ "$START_SMSBOX" = "yes" ] ; then
487 - ebegin " - SMS Box"
488 - start-stop-daemon --stop --quiet --exec /usr/sbin/smsbox
489 - eend $?
490 - fi
491 -
492 - ebegin " - Bearer Box"
493 - start-stop-daemon --stop --quiet --exec /usr/sbin/bearerbox
494 - eend $?
495 -
496 - #stopping any other processes owned by kannel user
497 - start-stop-daemon --stop --quiet --user kannel
498 -
499 - return 0
500 -}