summaryrefslogtreecommitdiffstats
path: root/package/netkitbase
diff options
context:
space:
mode:
Diffstat (limited to 'package/netkitbase')
-rw-r--r--package/netkitbase/Config.in13
-rw-r--r--package/netkitbase/netkitbase-gcc4.patch12
-rw-r--r--package/netkitbase/netkitbase-remove-bcopy.patch31
-rw-r--r--package/netkitbase/netkitbase.mk35
4 files changed, 0 insertions, 91 deletions
diff --git a/package/netkitbase/Config.in b/package/netkitbase/Config.in
deleted file mode 100644
index 49d3b2e199..0000000000
--- a/package/netkitbase/Config.in
+++ /dev/null
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_NETKITBASE
- bool "netkitbase"
- depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
- depends on BR2_USE_MMU # fork()
- depends on BR2_DEPRECATED
- help
- Old-style inetd.
-
- ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
-
-comment "netkitbase needs a toolchain w/ RPC"
- depends on BR2_USE_MMU && BR2_DEPRECATED
- depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
diff --git a/package/netkitbase/netkitbase-gcc4.patch b/package/netkitbase/netkitbase-gcc4.patch
deleted file mode 100644
index 41fbce98af..0000000000
--- a/package/netkitbase/netkitbase-gcc4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur netkit-base-0.17/inetd/servtab.c netkit-base-0.17-patched/inetd/servtab.c
---- netkit-base-0.17/inetd/servtab.c 2000-07-22 15:20:50.000000000 -0500
-+++ netkit-base-0.17-patched/inetd/servtab.c 2005-04-30 21:23:52.649630720 -0500
-@@ -771,7 +771,7 @@
- return;
- }
-
--#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;}
-+#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;}
-
- /*
- * sep->se_wait may be holding the pid of a daemon
diff --git a/package/netkitbase/netkitbase-remove-bcopy.patch b/package/netkitbase/netkitbase-remove-bcopy.patch
deleted file mode 100644
index b74b85b5f0..0000000000
--- a/package/netkitbase/netkitbase-remove-bcopy.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -ur netkit-base-0.17/inetd/builtins.c netkit-base-0.17-patched/inetd/builtins.c
---- netkit-base-0.17/inetd/builtins.c 2000-07-22 15:13:07.000000000 -0500
-+++ netkit-base-0.17-patched/inetd/builtins.c 2006-12-02 00:50:05.801209342 -0600
-@@ -140,10 +140,10 @@
- text[LINESIZ + 1] = '\n';
- for (rs = ring;;) {
- if ((len = endring - rs) >= LINESIZ)
-- bcopy(rs, text, LINESIZ);
-+ memcpy(text, rs, LINESIZ);
- else {
-- bcopy(rs, text, len);
-- bcopy(ring, text + len, LINESIZ - len);
-+ memcpy(text, rs, len);
-+ memcpy(text + len, ring, LINESIZ - len);
- }
- if (++rs == endring)
- rs = ring;
-@@ -183,10 +183,10 @@
- return;
-
- if ((len = endring - rs) >= LINESIZ)
-- bcopy(rs, text, LINESIZ);
-+ memcpy(text, rs, LINESIZ);
- else {
-- bcopy(rs, text, len);
-- bcopy(ring, text + len, LINESIZ - len);
-+ memcpy(text, rs, len);
-+ memcpy(text + len, ring, LINESIZ - len);
- }
- if (++rs == endring)
- rs = ring;
diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk
deleted file mode 100644
index b17ee996db..0000000000
--- a/package/netkitbase/netkitbase.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-################################################################################
-#
-# netkitbase
-#
-################################################################################
-
-NETKITBASE_VERSION = 0.17
-NETKITBASE_SOURCE = netkit-base-$(NETKITBASE_VERSION).tar.gz
-NETKITBASE_SITE = ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
-NETKITBASE_LICENSE = BSD-4c
-
-define NETKITBASE_CONFIGURE_CMDS
- # use ANSI syntax
- $(SED) "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure
- # don't try to run cross compiled binaries while configuring things
- $(SED) "s~./__conftest~#./__conftest~;" $(NETKITBASE_DIR)/configure
- (cd $(@D); \
- $(TARGET_CONFIGURE_OPTS) \
- ./configure \
- --installroot=$(TARGET_DIR))
-endef
-
-define NETKITBASE_BUILD_CMDS
- $(MAKE) -C $(@D)
-endef
-
-define NETKITBASE_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0755 $(@D)/inetd/inetd $(TARGET_DIR)/usr/sbin/inetd
- if [ ! -f $(TARGET_DIR)/etc/inetd.conf ]; then \
- $(INSTALL) -D -m 0644 $(@D)/etc.sample/inetd.conf $(TARGET_DIR)/etc/inetd.conf; \
- $(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf; \
- fi
-endef
-
-$(eval $(generic-package))
OpenPOWER on IntegriCloud