diff --git a/packages/sysutils/busybox/patches/30_telnetd.diff b/packages/sysutils/busybox/patches/30_telnetd.diff new file mode 100644 index 0000000000..e2c9fc5c93 --- /dev/null +++ b/packages/sysutils/busybox/patches/30_telnetd.diff @@ -0,0 +1,12 @@ +diff -Naur busybox-1.15.0/networking/telnetd.c busybox-1.15.0a/networking/telnetd.c +--- busybox-1.15.0/networking/telnetd.c 2009-08-21 00:26:14.000000000 +0200 ++++ busybox-1.15.0a/networking/telnetd.c 2009-08-30 11:38:57.000000000 +0200 +@@ -63,7 +63,7 @@ + }; + #define G (*(struct globals*)&bb_common_bufsiz1) + #define INIT_G() do { \ +- G.loginpath = "/bin/login"; \ ++ G.loginpath = "/bin/sh"; \ + G.issuefile = "/etc/issue.net"; \ + } while (0) + diff --git a/packages/sysutils/busybox/patches/50_busybox-1.15.0-unpack.diff b/packages/sysutils/busybox/patches/50_busybox-1.15.0-unpack.diff new file mode 100644 index 0000000000..954618b872 --- /dev/null +++ b/packages/sysutils/busybox/patches/50_busybox-1.15.0-unpack.diff @@ -0,0 +1,12 @@ +diff -urpN busybox-1.15.0/archival/libunarchive/data_extract_all.c busybox-1.15.0-unpack/archival/libunarchive/data_extract_all.c +--- busybox-1.15.0/archival/libunarchive/data_extract_all.c 2009-08-21 00:26:13.000000000 +0200 ++++ busybox-1.15.0-unpack/archival/libunarchive/data_extract_all.c 2009-08-30 01:05:39.000000000 +0200 +@@ -132,7 +132,7 @@ void FAST_FUNC data_extract_all(archive_ + #endif + lchown(file_header->name, file_header->uid, file_header->gid); + } +- if (S_ISLNK(file_header->mode)) { ++ if (!S_ISLNK(file_header->mode)) { + /* uclibc has no lchmod, glibc is even stranger - + * it has lchmod which seems to do nothing! + * so we use chmod... */