Ver Fonte

samba36: revert r40341

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 40343
John Crispin há 11 anos atrás
pai
commit
c78af071de

+ 4 - 4
package/network/services/samba36/Makefile

@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=samba
-PKG_VERSION:=3.6.15
-PKG_RELEASE:=1
+PKG_VERSION:=3.6.11
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=http://ftp.samba.org/pub/samba \
-	http://ftp.samba.org/pub/samba/stable
+	http://ftp.samba.org/pub/samba/old-versions
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM:=d9424e9badb089bd51e6cfc752b21dfa
+PKG_MD5SUM:=9039e0ab3e4fc632ff0a1a8f2433edb4
 
 PKG_LICENSE:=GPLv3
 PKG_LICENSE_FILES:=COPYING

+ 1 - 1
package/network/services/samba36/patches/100-configure_fixes.patch

@@ -1,6 +1,6 @@
 --- a/source3/configure
 +++ b/source3/configure
-@@ -13346,10 +13346,7 @@ if test x"$libreplace_cv_HAVE_GETADDRINF
+@@ -13318,10 +13318,7 @@ if test x"$libreplace_cv_HAVE_GETADDRINF
  	# see bug 5910, use our replacements if we detect
  	# a broken system.
  	if test "$cross_compiling" = yes; then :

+ 1 - 1
package/network/services/samba36/patches/111-owrt_smbpasswd.patch

@@ -1,6 +1,6 @@
 --- a/source3/Makefile.in
 +++ b/source3/Makefile.in
-@@ -1017,7 +1017,7 @@ TEST_LP_LOAD_OBJ = param/test_lp_load.o
+@@ -1017,7 +1017,7 @@ TEST_LP_LOAD_OBJ = param/test_lp_load.o 
  
  PASSWD_UTIL_OBJ = utils/passwd_util.o
  

+ 10 - 10
package/network/services/samba36/patches/200-remove_printer_support.patch

@@ -25,7 +25,7 @@
  	dfs_commands,
 --- a/source3/printing/spoolssd.c
 +++ b/source3/printing/spoolssd.c
-@@ -165,6 +165,10 @@ void start_spoolssd(struct tevent_contex
+@@ -153,6 +153,10 @@ void start_spoolssd(struct tevent_contex
  	NTSTATUS status;
  	int ret;
  
@@ -51,7 +51,7 @@
  			d_printf(_("Usage:\n"));
 --- a/source3/smbd/reply.c
 +++ b/source3/smbd/reply.c
-@@ -5206,7 +5206,11 @@ void reply_printopen(struct smb_request
+@@ -5196,7 +5196,11 @@ void reply_printopen(struct smb_request 
  		return;
  	}
  
@@ -64,7 +64,7 @@
  		reply_nterror(req, NT_STATUS_ACCESS_DENIED);
  		END_PROFILE(SMBsplopen);
  		return;
-@@ -5312,7 +5316,10 @@ void reply_printqueue(struct smb_request
+@@ -5302,7 +5306,10 @@ void reply_printqueue(struct smb_request
  	   is really quite gross and only worked when there was only
  	   one printer - I think we should now only accept it if they
  	   get it right (tridge) */
@@ -78,7 +78,7 @@
  		return;
 --- a/source3/smbd/lanman.c
 +++ b/source3/smbd/lanman.c
-@@ -784,6 +784,10 @@ static bool api_DosPrintQGetInfo(struct
+@@ -784,6 +784,10 @@ static bool api_DosPrintQGetInfo(struct 
  	union spoolss_JobInfo *job_info = NULL;
  	union spoolss_PrinterInfo printer_info;
  
@@ -133,7 +133,7 @@
  	if (!str1 || !str2 || !p) {
  		return False;
  	}
-@@ -4792,6 +4812,10 @@ static bool api_WPrintJobGetInfo(struct
+@@ -4792,6 +4812,10 @@ static bool api_WPrintJobGetInfo(struct 
  	struct spoolss_DevmodeContainer devmode_ctr;
  	union spoolss_JobInfo info;
  
@@ -177,7 +177,7 @@
  	if (!str1 || !str2 || !p) {
  		return False;
  	}
-@@ -5374,6 +5410,10 @@ static bool api_WPrintDriverEnum(struct
+@@ -5374,6 +5410,10 @@ static bool api_WPrintDriverEnum(struct 
  	int succnt;
  	struct pack_desc desc;
  
@@ -303,7 +303,7 @@
  	}
 --- a/source3/smbd/process.c
 +++ b/source3/smbd/process.c
-@@ -2423,8 +2423,10 @@ static bool housekeeping_fn(const struct
+@@ -2476,8 +2476,10 @@ static bool housekeeping_fn(const struct
  
  	change_to_root_user();
  
@@ -316,7 +316,7 @@
  	check_reload(sconn, time_mono(NULL));
 --- a/source3/smbd/server.c
 +++ b/source3/smbd/server.c
-@@ -123,7 +123,9 @@ static void smb_pcap_updated(struct mess
+@@ -126,7 +126,9 @@ static void smb_pcap_updated(struct mess
  {
  	struct tevent_context *ev_ctx =
  		talloc_get_type_abort(private_data, struct tevent_context);
@@ -327,7 +327,7 @@
  	DEBUG(10,("Got message saying pcap was updated. Reloading.\n"));
  	change_to_root_user();
  	reload_printers(ev_ctx, msg);
-@@ -1277,6 +1279,7 @@ extern void build_options(bool screen);
+@@ -1231,6 +1233,7 @@ extern void build_options(bool screen);
  	 * The print backend init also migrates the printing tdb's,
  	 * this requires a winreg pipe.
  	 */
@@ -335,7 +335,7 @@
  	if (!print_backend_init(smbd_messaging_context()))
  		exit(1);
  
-@@ -1315,7 +1318,7 @@ extern void build_options(bool screen);
+@@ -1262,7 +1265,7 @@ extern void build_options(bool screen);
  				       smbd_messaging_context());
  		}
  	}

+ 4 - 4
package/network/services/samba36/patches/250-remove_domain_logon.patch

@@ -99,7 +99,7 @@
  	dfs_commands,
 --- a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
 +++ b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
-@@ -824,6 +824,10 @@ WERROR _wkssvc_NetrJoinDomain2(struct pi
+@@ -820,6 +820,10 @@ WERROR _wkssvc_NetrJoinDomain2(struct pi
  	WERROR werr;
  	struct security_token *token = p->session_info->security_token;
  
@@ -110,7 +110,7 @@
  	if (!r->in.domain_name) {
  		return WERR_INVALID_PARAM;
  	}
-@@ -901,6 +905,10 @@ WERROR _wkssvc_NetrUnjoinDomain2(struct
+@@ -897,6 +901,10 @@ WERROR _wkssvc_NetrUnjoinDomain2(struct 
  	WERROR werr;
  	struct security_token *token = p->session_info->security_token;
  
@@ -147,7 +147,7 @@
  	/* lookup a DC first */
  
  	if ( !get_dc_name(domain, NULL, dc_name, &dc_ss) ) {
-@@ -243,6 +250,10 @@ NTSTATUS change_trust_account_password(
+@@ -243,6 +250,10 @@ NTSTATUS change_trust_account_password( 
  	struct cli_state *cli = NULL;
  	struct rpc_pipe_client *netlogon_pipe = NULL;
  
@@ -172,7 +172,7 @@
  }
 --- a/source3/smbd/process.c
 +++ b/source3/smbd/process.c
-@@ -2431,8 +2431,10 @@ static bool housekeeping_fn(const struct
+@@ -2484,8 +2484,10 @@ static bool housekeeping_fn(const struct
  	/* check if we need to reload services */
  	check_reload(sconn, time_mono(NULL));
  

+ 1 - 1
package/network/services/samba36/patches/260-remove_samr.patch

@@ -98,7 +98,7 @@
  	if (!str1 || !str2 || !p) {
  		return False;
  	}
-@@ -2541,6 +2545,10 @@ static bool api_NetUserGetGroups(struct
+@@ -2541,6 +2545,10 @@ static bool api_NetUserGetGroups(struct 
  	NTSTATUS status, result;
  	struct dcerpc_binding_handle *b;
  

+ 1 - 1
package/network/services/samba36/patches/270-remove_registry_backend.patch

@@ -30,7 +30,7 @@
  			"supported by backend");
 --- a/source3/smbd/server.c
 +++ b/source3/smbd/server.c
-@@ -1230,8 +1230,10 @@ extern void build_options(bool screen);
+@@ -1184,8 +1184,10 @@ extern void build_options(bool screen);
  		exit(1);
  	}
  

+ 1 - 1
package/network/services/samba36/patches/310-remove_error_strings.patch

@@ -200,7 +200,7 @@
  
  	result = talloc_asprintf(talloc_tos(), "NT_STATUS(0x%08x)",
  				 NT_STATUS_V(nt_code));
-@@ -767,12 +773,14 @@ NTSTATUS nt_status_string_to_code(const
+@@ -767,12 +773,14 @@ NTSTATUS nt_status_string_to_code(const 
  {
  	int idx = 0;
  

Diff do ficheiro suprimidas por serem muito extensas
+ 112 - 112
package/network/services/samba36/patches/330-librpc_default_print.patch


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff