summaryrefslogtreecommitdiff
path: root/packages/netkit-base
diff options
context:
space:
mode:
Diffstat (limited to 'packages/netkit-base')
-rw-r--r--packages/netkit-base/.mtn2git_empty0
-rw-r--r--packages/netkit-base/netkit-base-0.17/.mtn2git_empty0
-rw-r--r--packages/netkit-base/netkit-base-0.17/configure.patch12
-rw-r--r--packages/netkit-base/netkit-base-0.17/inetd.conf20
-rwxr-xr-x[-rw-r--r--]packages/netkit-base/netkit-base-0.17/init33
-rw-r--r--packages/netkit-base/netkit-base-0.17/mconfig.patch20
6 files changed, 85 insertions, 0 deletions
diff --git a/packages/netkit-base/.mtn2git_empty b/packages/netkit-base/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/netkit-base/.mtn2git_empty
diff --git a/packages/netkit-base/netkit-base-0.17/.mtn2git_empty b/packages/netkit-base/netkit-base-0.17/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/netkit-base/netkit-base-0.17/.mtn2git_empty
diff --git a/packages/netkit-base/netkit-base-0.17/configure.patch b/packages/netkit-base/netkit-base-0.17/configure.patch
index e69de29bb2..8bddc21151 100644
--- a/packages/netkit-base/netkit-base-0.17/configure.patch
+++ b/packages/netkit-base/netkit-base-0.17/configure.patch
@@ -0,0 +1,12 @@
+diff -urNd netkit-base-0.17/configure netkit-base-0.17-new/configure
+--- netkit-base-0.17/configure 2000-07-29 13:00:28.000000000 -0500
++++ netkit-base-0.17-new/configure 2002-10-02 14:06:12.000000000 -0500
+@@ -13,7 +13,7 @@
+ MANMODE='644'
+ SUIDMODE='4755'
+
+-while [ x$1 != x ]; do case $1 in
++while [ x"$1" != x ]; do case $1 in
+
+ --help)
+ cat <<EOF
diff --git a/packages/netkit-base/netkit-base-0.17/inetd.conf b/packages/netkit-base/netkit-base-0.17/inetd.conf
index e69de29bb2..b02fe850c9 100644
--- a/packages/netkit-base/netkit-base-0.17/inetd.conf
+++ b/packages/netkit-base/netkit-base-0.17/inetd.conf
@@ -0,0 +1,20 @@
+# /etc/inetd.conf: see inetd(8) for further informations.
+#
+# Internet server configuration database
+#
+# If you want to disable an entry so it isn't touched during
+# package updates just comment it out with a single '#' character.
+#
+# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
+#
+#:INTERNAL: Internal services
+#echo stream tcp nowait root internal
+#echo dgram udp wait root internal
+#chargen stream tcp nowait root internal
+#chargen dgram udp wait root internal
+#discard stream tcp nowait root internal
+#discard dgram udp wait root internal
+#daytime stream tcp nowait root internal
+#daytime dgram udp wait root internal
+#time stream tcp nowait root internal
+#time dgram udp wait root internal
diff --git a/packages/netkit-base/netkit-base-0.17/init b/packages/netkit-base/netkit-base-0.17/init
index e69de29bb2..cf50bcd546 100644..100755
--- a/packages/netkit-base/netkit-base-0.17/init
+++ b/packages/netkit-base/netkit-base-0.17/init
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# start/stop inetd super server.
+
+if ! [ -x /usr/sbin/inetd ]; then
+ exit 0
+fi
+
+case "$1" in
+ start)
+ echo -n "Starting internet superserver:"
+ echo -n " inetd" ; start-stop-daemon -S -x /usr/sbin/inetd > /dev/null
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping internet superserver:"
+ echo -n " inetd" ; start-stop-daemon -K -x /usr/sbin/inetd > /dev/null
+ echo "."
+ ;;
+ restart)
+ echo -n "Restarting internet superserver:"
+ echo -n " inetd "
+ killall -HUP inetd
+ echo "."
+ ;;
+ *)
+ echo "Usage: /etc/init.d/inetd {start|stop|restart}"
+ exit 1
+ ;;
+esac
+
+exit 0
+
diff --git a/packages/netkit-base/netkit-base-0.17/mconfig.patch b/packages/netkit-base/netkit-base-0.17/mconfig.patch
index e69de29bb2..26f2f2b6b6 100644
--- a/packages/netkit-base/netkit-base-0.17/mconfig.patch
+++ b/packages/netkit-base/netkit-base-0.17/mconfig.patch
@@ -0,0 +1,20 @@
+diff -urNd netkit-base-0.17/MCONFIG netkit-base-0.17-new/MCONFIG
+--- netkit-base-0.17/MCONFIG 1969-12-31 18:00:00.000000000 -0600
++++ netkit-base-0.17-new/MCONFIG 2002-10-12 13:33:16.000000000 -0500
+@@ -0,0 +1,16 @@
++BINDIR=/usr/bin
++SBINDIR=/usr/sbin
++MANDIR=/usr/man
++ROOTBINDIR=/bin
++BINMODE=755
++DAEMONMODE=755
++MANMODE=644
++SUIDMODE=4755
++PREFIX=/usr
++EXECPREFIX=/usr
++ROOTPREFIX=
++INSTALLROOT=
++CC=arm-linux-gcc
++CFLAGS=-I/usr/src/coding/projects/userspace/buildroot/output/staging/usr/include -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
++LDFLAGS=
++LIBS=