Преглед изворни кода

use embedded heimdal and bundled com_err

Waldemar Brodkorb пре 9 година
родитељ
комит
a797fbeb4d
2 измењених фајлова са 24 додато и 2 уклоњено
  1. 2 2
      package/samba/Makefile
  2. 22 0
      package/samba/patches/patch-wscript_build

+ 2 - 2
package/samba/Makefile

@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		samba
 PKG_VERSION:=		4.2.1
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_HASH:=		37eaa239c116dc2c22c29c5a2931eb178ed22e48b594687247446703119b4ac3
 PKG_DESCR:=		file and print server
 PKG_SECTION:=		net/fs
@@ -45,7 +45,7 @@ CONFIGURE_ARGS+=	--enable-fhs \
 			--disable-cups \
 			--disable-avahi \
 			--disable-rpath \
-			--bundled-libraries='!asn1_compile,!compile_et' \
+			--bundled-libraries='com_err,!asn1_compile,!compile_et' \
 			--disable-rpath-install
 CONFIGURE_ENV+=		PYTHON_CONFIG="$(STAGING_TARGET_DIR)/usr/bin/python-config" \
 			python_LDFLAGS="" \

+ 22 - 0
package/samba/patches/patch-wscript_build

@@ -0,0 +1,22 @@
+--- samba-4.2.1.orig/wscript_build	2014-12-20 09:07:55.000000000 -0600
++++ samba-4.2.1/wscript_build	2015-04-30 23:51:25.915427028 -0500
+@@ -123,18 +123,7 @@ bld.RECURSE('libcli/samsync')
+ bld.RECURSE('libcli/registry')
+ bld.RECURSE('source4/lib/policy')
+ bld.RECURSE('libcli/named_pipe_auth')
+-
+-if bld.CONFIG_GET('KRB5_VENDOR') in (None, 'heimdal'):
+-    if bld.CONFIG_GET("HEIMDAL_KRB5_CONFIG") and bld.CONFIG_GET("USING_SYSTEM_KRB5"):
+-        # When both HEIMDAL_KRB5_CONFIG and KRB5_CONFIG are set and not equal,
+-        # it means one is Heimdal-specific (krb5-config.heimdal, for example)
+-        # and there is system heimdal
+-        bld.PROCESS_SEPARATE_RULE('system_heimdal')
+-    else:
+-        bld.PROCESS_SEPARATE_RULE('embedded_heimdal')
+-else:
+-    bld.PROCESS_SEPARATE_RULE('system_mitkrb5')
+-
++bld.PROCESS_SEPARATE_RULE('embedded_heimdal')
+ bld.RECURSE('libcli/smbreadline')
+ bld.RECURSE('codepages')
+ if bld.AD_DC_BUILD_IS_ENABLED():