-
Notifications
You must be signed in to change notification settings - Fork 9
/
gl-mt6000-main-smb-openwrt-feeds-packages.patch
41 lines (38 loc) · 1.5 KB
/
gl-mt6000-main-smb-openwrt-feeds-packages.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/net/samba4/Makefile b/net/samba4/Makefile
index 4afa87463..87a389455 100644
--- a/net/samba4/Makefile
+++ b/net/samba4/Makefile
@@ -39,6 +39,7 @@ PKG_CONFIG_DEPENDS:= \
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
@@ -68,7 +69,8 @@ define Package/samba4-libs
+PACKAGE_libpam:libpam \
+SAMBA4_SERVER_VFS:attr \
+SAMBA4_SERVER_AVAHI:libavahi-client \
- +SAMBA4_SERVER_AD_DC:python3-cryptodome +SAMBA4_SERVER_AD_DC:python3-markdown +SAMBA4_SERVER_AD_DC:python3-dns +SAMBA4_SERVER_AD_DC:libopenldap +SAMBA4_SERVER_AD_DC:jansson +SAMBA4_SERVER_AD_DC:libarchive +SAMBA4_SERVER_AD_DC:acl +SAMBA4_SERVER_AD_DC:attr
+ +SAMBA4_SERVER_AD_DC:python3-cryptodome +SAMBA4_SERVER_AD_DC:python3-markdown +SAMBA4_SERVER_AD_DC:python3-dns +SAMBA4_SERVER_AD_DC:libopenldap +SAMBA4_SERVER_AD_DC:jansson +SAMBA4_SERVER_AD_DC:libarchive +SAMBA4_SERVER_AD_DC:acl +SAMBA4_SERVER_AD_DC:attr \
+ $(ICONV_DEPENDS)
endef
define Package/samba4-server
@@ -148,7 +150,7 @@ CONFIGURE_ARGS:=$(filter-out \
--build=% \
--program-prefix=% \
--program-suffix=% \
- --disable-nls \
+ --enable-nls \
--disable-ipv6 \
, $(CONFIGURE_ARGS))
@@ -178,7 +180,8 @@ CONFIGURE_ARGS += \
--disable-spotlight \
--enable-fhs \
--without-automount \
- --without-iconv \
+ --with-libiconv="$(ICONV_PREFIX)" \
+ --with-iconv \
--without-lttng \
--without-pam \
--without-systemd \