aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:17:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:17:27 +0000
commit4866e905d7e1f11d86374fad4e46aa2bd669c2ba (patch)
treea6a8e9521de92d658903ba9f54cd01e94a34c262
parent4ee7cd4f6f9f85871c8814bb524d3e691a2992a9 (diff)
downloadbusybox-w32-4866e905d7e1f11d86374fad4e46aa2bd669c2ba.tar.gz
busybox-w32-4866e905d7e1f11d86374fad4e46aa2bd669c2ba.tar.bz2
busybox-w32-4866e905d7e1f11d86374fad4e46aa2bd669c2ba.zip
svn add/svn rm to actually move tcp/udpsvd...
-rw-r--r--ipsvd/Config.in20
-rw-r--r--ipsvd/Kbuild9
-rw-r--r--networking/tcpudp.c (renamed from ipsvd/tcpudp.c)5
-rw-r--r--networking/tcpudp_perhost.c (renamed from ipsvd/ipsvd_perhost.c)2
-rw-r--r--networking/tcpudp_perhost.h (renamed from ipsvd/ipsvd_perhost.h)0
5 files changed, 4 insertions, 32 deletions
diff --git a/ipsvd/Config.in b/ipsvd/Config.in
deleted file mode 100644
index 0cb8c62de..000000000
--- a/ipsvd/Config.in
+++ /dev/null
@@ -1,20 +0,0 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "ipsvd Utilities"
7
8config TCPSVD
9 bool "tcpsvd"
10 default n
11 help
12 tcpsvd listens on a tcp port and runs a program for each new connection
13
14config UDPSVD
15 bool "udpsvd"
16 default n
17 help
18 udpsvd listens on a udp port and runs a program for each new connection
19
20endmenu
diff --git a/ipsvd/Kbuild b/ipsvd/Kbuild
deleted file mode 100644
index fc34fea49..000000000
--- a/ipsvd/Kbuild
+++ /dev/null
@@ -1,9 +0,0 @@
1# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7lib-y:=
8lib-$(CONFIG_TCPSVD) += tcpudp.o ipsvd_perhost.o
9lib-$(CONFIG_UDPSVD) += tcpudp.o ipsvd_perhost.o
diff --git a/ipsvd/tcpudp.c b/networking/tcpudp.c
index 729b7bca9..f97787497 100644
--- a/ipsvd/tcpudp.c
+++ b/networking/tcpudp.c
@@ -7,7 +7,7 @@
7 * Licensed under GPLv2, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2, see file LICENSE in this tarball for details.
8 */ 8 */
9 9
10/* Based on ipsvd ipsvd-0.12.1. This tcpsvd accepts all options 10/* Based on ipsvd-0.12.1. This tcpsvd accepts all options
11 * which are supported by one from ipsvd-0.12.1, but not all are 11 * which are supported by one from ipsvd-0.12.1, but not all are
12 * functional. See help text at the end of this file for details. 12 * functional. See help text at the end of this file for details.
13 * 13 *
@@ -33,7 +33,8 @@
33#include <linux/netfilter_ipv4.h> /* wants <limits.h> */ 33#include <linux/netfilter_ipv4.h> /* wants <limits.h> */
34 34
35#include "libbb.h" 35#include "libbb.h"
36#include "ipsvd_perhost.h" 36// TODO: move into this file:
37#include "tcpudp_perhost.h"
37 38
38#ifdef SSLSVD 39#ifdef SSLSVD
39#include "matrixSsl.h" 40#include "matrixSsl.h"
diff --git a/ipsvd/ipsvd_perhost.c b/networking/tcpudp_perhost.c
index 6075c0a3a..3005f12c0 100644
--- a/ipsvd/ipsvd_perhost.c
+++ b/networking/tcpudp_perhost.c
@@ -8,7 +8,7 @@
8 */ 8 */
9 9
10#include "libbb.h" 10#include "libbb.h"
11#include "ipsvd_perhost.h" 11#include "tcpudp_perhost.h"
12 12
13static struct hcc *cc; 13static struct hcc *cc;
14static unsigned cclen; 14static unsigned cclen;
diff --git a/ipsvd/ipsvd_perhost.h b/networking/tcpudp_perhost.h
index 9fc8cee61..9fc8cee61 100644
--- a/ipsvd/ipsvd_perhost.h
+++ b/networking/tcpudp_perhost.h