projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
samba36: Don't resolve interfaces.
[openwrt/openwrt.git]
/
package
/
network
/
services
/
samba36
/
Makefile
diff --git
a/package/network/services/samba36/Makefile
b/package/network/services/samba36/Makefile
index 2644f7d565563fb31ab4d6ccc0aa8aff840f9da0..81bad871aa418dd33b9d3b7776c581ad5171adff 100644
(file)
--- a/
package/network/services/samba36/Makefile
+++ b/
package/network/services/samba36/Makefile
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2007-201
2
OpenWrt.org
+# Copyright (C) 2007-201
4
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-8,18
+8,18
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=samba
include $(TOPDIR)/rules.mk
PKG_NAME:=samba
-PKG_VERSION:=3.6.
11
-PKG_RELEASE:=
2
+PKG_VERSION:=3.6.
25
+PKG_RELEASE:=
8
-PKG_SOURCE_URL:=http
://ftp
.samba.org/pub/samba \
- http://ftp.samba.org/pub/samba/old-versions
+PKG_SOURCE_URL:=http
s://download
.samba.org/pub/samba \
+ https://download.samba.org/pub/samba/stable
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_
MD5SUM:=9039e0ab3e4fc632ff0a1a8f2433edb4
+PKG_
HASH:=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
-PKG_LICENSE:=GPL
v3
+PKG_LICENSE:=GPL
-3.0
PKG_LICENSE_FILES:=COPYING
PKG_LICENSE_FILES:=COPYING
-PKG_MAINTAINER:=Felix Fietkau <nbd@
openwrt.org
>
+PKG_MAINTAINER:=Felix Fietkau <nbd@
nbd.name
>
PKG_BUILD_PARALLEL:=1
PKG_BUILD_PARALLEL:=1
@@
-34,15
+34,23
@@
define Package/samba36-server
SECTION:=net
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS server
SECTION:=net
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS server
- URL:=http://www.samba.org/
- DEPENDS:=+USE_
EGLIBC:librt
+ URL:=http
s
://www.samba.org/
+ DEPENDS:=+USE_
GLIBC:librt $(ICONV_DEPENDS)
endef
define Package/samba36-client
SECTION:=net
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS client
endef
define Package/samba36-client
SECTION:=net
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS client
- URL:=http://www.samba.org/
+ URL:=https://www.samba.org/
+ DEPENDS:=+libreadline +libncurses
+endef
+
+define Package/samba36-net
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=Samba 3.6 SMB/CIFS net commands
+ URL:=https://www.samba.org/
DEPENDS:=+libreadline +libncurses
endef
DEPENDS:=+libreadline +libncurses
endef
@@
-51,7
+59,6
@@
define Package/samba36-server/config
int "Maximum level of compiled-in debug messages"
depends on PACKAGE_samba36-server || PACKAGE_samba36-client
default -1
int "Maximum level of compiled-in debug messages"
depends on PACKAGE_samba36-server || PACKAGE_samba36-client
default -1
-
endef
define Package/samba36-server/description
endef
define Package/samba36-server/description
@@
-65,6
+72,8
@@
TARGET_CFLAGS += -DMAX_DEBUG_LEVEL=$(CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL) -D__l
TARGET_LDFLAGS += -Wl,--gc-sections
CONFIGURE_VARS += \
TARGET_LDFLAGS += -Wl,--gc-sections
CONFIGURE_VARS += \
+ ac_cv_lib_attr_getxattr=no \
+ ac_cv_search_getxattr=no \
ac_cv_file__proc_sys_kernel_core_pattern=yes \
libreplace_cv_HAVE_C99_VSNPRINTF=yes \
libreplace_cv_HAVE_GETADDRINFO=yes \
ac_cv_file__proc_sys_kernel_core_pattern=yes \
libreplace_cv_HAVE_C99_VSNPRINTF=yes \
libreplace_cv_HAVE_GETADDRINFO=yes \
@@
-80,8
+89,11
@@
CONFIGURE_VARS += \
samba_cv_USE_SETRESUID=yes \
samba_cv_have_setreuid=yes \
samba_cv_have_setresuid=yes \
samba_cv_USE_SETRESUID=yes \
samba_cv_have_setreuid=yes \
samba_cv_have_setresuid=yes \
+ ac_cv_header_libunwind_h=no \
ac_cv_header_zlib_h=no \
ac_cv_header_zlib_h=no \
- samba_cv_zlib_1_2_3=no
+ samba_cv_zlib_1_2_3=no \
+ ac_cv_path_PYTHON="" \
+ ac_cv_path_PYTHON_CONFIG=""
CONFIGURE_ARGS += \
--exec-prefix=/usr \
CONFIGURE_ARGS += \
--exec-prefix=/usr \
@@
-93,6
+105,7
@@
CONFIGURE_ARGS += \
--disable-static \
--disable-swat \
--disable-shared-libs \
--disable-static \
--disable-swat \
--disable-shared-libs \
+ --with-libiconv="$(ICONV_PREFIX)" \
--with-codepagedir=/etc/samba \
--with-configdir=/etc/samba \
--with-included-iniparser \
--with-codepagedir=/etc/samba \
--with-configdir=/etc/samba \
--with-included-iniparser \
@@
-103,6
+116,7
@@
CONFIGURE_ARGS += \
--with-piddir=/var/run \
--with-privatedir=/etc/samba \
--with-sendfile-support \
--with-piddir=/var/run \
--with-privatedir=/etc/samba \
--with-sendfile-support \
+ --without-acl-support \
--without-cluster-support \
--without-ads \
--without-krb5 \
--without-cluster-support \
--without-ads \
--without-krb5 \
@@
-114,14
+128,21
@@
CONFIGURE_ARGS += \
--without-libnetapi \
--without-libsmbclient \
--without-libsmbsharemodes \
--without-libnetapi \
--without-libsmbclient \
--without-libsmbsharemodes \
+ --without-libtevent \
--without-libaddns \
--with-shared-modules=pdb_tdbsam,pdb_wbc_sam,idmap_nss,nss_info_template,auth_winbind,auth_wbc,auth_domain
MAKE_FLAGS += DYNEXP= PICFLAG= MODULES=
--without-libaddns \
--with-shared-modules=pdb_tdbsam,pdb_wbc_sam,idmap_nss,nss_info_template,auth_winbind,auth_wbc,auth_domain
MAKE_FLAGS += DYNEXP= PICFLAG= MODULES=
+define Package/samba36-server/conffiles
+/etc/config/samba
+/etc/samba/smb.conf.template
+/etc/samba/smbpasswd
+endef
+
define Package/samba36-server/install
$(INSTALL_DIR) $(1)/etc/config
define Package/samba36-server/install
$(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_
DATA
) ./files/samba.config $(1)/etc/config/samba
+ $(INSTALL_
CONF
) ./files/samba.config $(1)/etc/config/samba
$(INSTALL_DIR) $(1)/etc/samba
$(INSTALL_DATA) ./files/smb.conf.template $(1)/etc/samba
$(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/lowcase.dat $(1)/etc/samba
$(INSTALL_DIR) $(1)/etc/samba
$(INSTALL_DATA) ./files/smb.conf.template $(1)/etc/samba
$(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/lowcase.dat $(1)/etc/samba
@@
-131,9
+152,9
@@
define Package/samba36-server/install
$(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_BIN)/samba_multicall $(1)/usr/sbin
$(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_BIN)/samba_multicall $(1)/usr/sbin
-
ln -sf
samba_multicall $(1)/usr/sbin/smbd
-
ln -sf
samba_multicall $(1)/usr/sbin/nmbd
-
ln -sf
samba_multicall $(1)/usr/sbin/smbpasswd
+
$(LN)
samba_multicall $(1)/usr/sbin/smbd
+
$(LN)
samba_multicall $(1)/usr/sbin/nmbd
+
$(LN)
samba_multicall $(1)/usr/sbin/smbpasswd
endef
define Package/samba36-client/install
endef
define Package/samba36-client/install
@@
-142,6
+163,12
@@
define Package/samba36-client/install
$(INSTALL_BIN) $(PKG_BUILD_BIN)/nmblookup $(1)/usr/sbin
endef
$(INSTALL_BIN) $(PKG_BUILD_BIN)/nmblookup $(1)/usr/sbin
endef
+define Package/samba36-net/install
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_BIN)/net $(1)/usr/sbin
+endef
+
$(eval $(call BuildPackage,samba36-client))
$(eval $(call BuildPackage,samba36-server))
$(eval $(call BuildPackage,samba36-client))
$(eval $(call BuildPackage,samba36-server))
+$(eval $(call BuildPackage,samba36-net))