07234b4379
Samba3 patch is updated again so it applies after the new serive function update (#29075). I just tested it on my router and everything (still) seems to work. So please commit it. Through all versions these things are added to the original package in the repositories: * Updates samba3 package to version 3.0.37 * Splits nmbd and mountcifs into separate packages * Added settings to remove printing support and to make smbd even smaller * Removed LDAP, Kerebos and AD support * Added iconv support Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl> git-svn-id: svn://svn.openwrt.org/openwrt/packages@29343 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
865 B
Diff
24 lines
865 B
Diff
|
|
Index: samba-3.0.37/source/configure
|
|
===================================================================
|
|
--- samba-3.0.37.orig/source/configure 2011-04-03 20:35:20.000000000 +0200
|
|
+++ samba-3.0.37/source/configure 2011-04-03 20:36:51.000000000 +0200
|
|
@@ -22548,6 +22548,17 @@
|
|
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
$as_echo "$ac_header_preproc" >&6; }
|
|
|
|
+# Force disable RPC
|
|
+$as_echo "test=$ac_header" >&6
|
|
+if test "$ac_header" = "rpc/rpc.h"; then
|
|
+ if test "$ac_header_compiler" = "yes" -o "$ac_header_preproc" = "yes"; then
|
|
+ $as_echo "RPC support force disabled by OpenWRT patch" >&5
|
|
+ $as_echo "RPC support force disabled by OpenWRT patch" >&6
|
|
+ fi
|
|
+fi
|
|
+ac_header_compiler=no
|
|
+ac_header_preproc=no
|
|
+
|
|
# So? What about this header?
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
yes:no: )
|