aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/samba36/patches/320-debug_level_checks.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-08-31 18:50:48 -0700
committerStijn Tintel <stijn@linux-ipv6.be>2020-05-08 03:32:52 +0300
commit73fa1aba94f5cf566007ac18cee3ef08b3ae64bc (patch)
tree12d94da20915031cd34260409e6355c8e05b66b7 /package/network/services/samba36/patches/320-debug_level_checks.patch
parent79da9d78b98e1cd4574a37e2c4c5f8315b91563d (diff)
downloadupstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.tar.gz
upstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.tar.bz2
upstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.zip
samba36: Remove
Samba 3.6 is completely unsupported, in addition to having tons of patches It also causes kernel panics on some platforms when sendfile is enabled. Example: https://github.com/gnubee-git/GnuBee_Docs/issues/45 I have reproduced on ramips as well as mvebu in the past. Samba 4 is an alternative available in the packages repo. cifsd is a lightweight alternative available in the packages repo. It is also a faster alternative to both Samba versions (lower CPU usage). It was renamed to ksmbd. To summarize, here are the alternatives: - ksmbd + luci-app-cifsd - samba4 + luci-app-samba4 Signed-off-by: Rosen Penev <rosenp@gmail.com> [drop samba36-server from GEMINI_NAS_PACKAGES, ksmbd rename + summary] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/network/services/samba36/patches/320-debug_level_checks.patch')
-rw-r--r--package/network/services/samba36/patches/320-debug_level_checks.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/network/services/samba36/patches/320-debug_level_checks.patch b/package/network/services/samba36/patches/320-debug_level_checks.patch
deleted file mode 100644
index c6f2e6e0d9..0000000000
--- a/package/network/services/samba36/patches/320-debug_level_checks.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/lib/util/debug.h
-+++ b/lib/util/debug.h
-@@ -45,7 +45,7 @@ bool dbghdr( int level, const char *loca
- * Redefine DEBUGLEVEL because so we don't have to change every source file
- * that *unnecessarily* references it.
- */
--#define DEBUGLEVEL DEBUGLEVEL_CLASS[DBGC_ALL]
-+#define DEBUGLEVEL 0
-
- /*
- * Define all new debug classes here. A class is represented by an entry in
---- a/source3/nmbd/asyncdns.c
-+++ b/source3/nmbd/asyncdns.c
-@@ -85,7 +85,7 @@ static void asyncdns_process(void)
- struct query_record r;
- unstring qname;
-
-- DEBUGLEVEL = -1;
-+ DEBUGLEVEL_CLASS[DBGC_ALL] = -1;
-
- while (1) {
- NTSTATUS status;