aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/samba36/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-08-31 18:50:48 -0700
committerStijn Tintel <stijn@linux-ipv6.be>2020-05-08 03:32:52 +0300
commit73fa1aba94f5cf566007ac18cee3ef08b3ae64bc (patch)
tree12d94da20915031cd34260409e6355c8e05b66b7 /package/network/services/samba36/Makefile
parent79da9d78b98e1cd4574a37e2c4c5f8315b91563d (diff)
downloadupstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.tar.gz
upstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.tar.bz2
upstream-73fa1aba94f5cf566007ac18cee3ef08b3ae64bc.zip
samba36: Remove
Samba 3.6 is completely unsupported, in addition to having tons of patches It also causes kernel panics on some platforms when sendfile is enabled. Example: https://github.com/gnubee-git/GnuBee_Docs/issues/45 I have reproduced on ramips as well as mvebu in the past. Samba 4 is an alternative available in the packages repo. cifsd is a lightweight alternative available in the packages repo. It is also a faster alternative to both Samba versions (lower CPU usage). It was renamed to ksmbd. To summarize, here are the alternatives: - ksmbd + luci-app-cifsd - samba4 + luci-app-samba4 Signed-off-by: Rosen Penev <rosenp@gmail.com> [drop samba36-server from GEMINI_NAS_PACKAGES, ksmbd rename + summary] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/network/services/samba36/Makefile')
-rw-r--r--package/network/services/samba36/Makefile191
1 files changed, 0 insertions, 191 deletions
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
deleted file mode 100644
index 161f6b45aa..0000000000
--- a/package/network/services/samba36/Makefile
+++ /dev/null
@@ -1,191 +0,0 @@
-#
-# Copyright (C) 2007-2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=samba
-PKG_VERSION:=3.6.25
-PKG_RELEASE:=15
-
-PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
- https://download.samba.org/pub/samba/stable
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
-
-PKG_LICENSE:=GPL-3.0
-PKG_LICENSE_FILES:=COPYING
-PKG_CPE_ID:=cpe:/a:samba:samba
-
-PKG_BUILD_PARALLEL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-MAKE_PATH:=source3
-CONFIGURE_PATH:=source3
-
-PKG_BUILD_BIN:=$(PKG_BUILD_DIR)/$(MAKE_PATH)/bin
-
-define Package/samba/Default
- SECTION:=net
- CATEGORY:=Network
- TITLE:=Samba 3.6 SMB/CIFS
- URL:=https://www.samba.org/
- MAINTAINER:=Felix Fietkau <nbd@nbd.name>
-endef
-
-define Package/samba36-server
- $(call Package/samba/Default)
- TITLE+= server
- DEPENDS:=+USE_GLIBC:librt $(ICONV_DEPENDS)
-endef
-
-define Package/samba36-hotplug
- $(call Package/samba/Default)
- TITLE+= hotplug script for auto sharing
- DEPENDS:=+blockd
-endef
-
-define Package/samba36-client
- $(call Package/samba/Default)
- TITLE+= client
- DEPENDS:=+libreadline +libncurses
-endef
-
-define Package/samba36-net
- $(call Package/samba/Default)
- TITLE+= net commands
- DEPENDS:=+libreadline +libncurses
-endef
-
-define Package/samba36-server/config
- config PACKAGE_SAMBA_MAX_DEBUG_LEVEL
- int "Maximum level of compiled-in debug messages"
- depends on PACKAGE_samba36-server || PACKAGE_samba36-client
- default -1
-endef
-
-define Package/samba36-server/description
- The Samba software suite is a collection of programs that implements the
- SMB protocol for UNIX systems, allowing you to serve files and printers to
- Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred
- to as the LanManager or Netbios protocol.
-endef
-
-TARGET_CFLAGS += -DMAX_DEBUG_LEVEL=$(CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL) -D__location__=\\\"\\\" -ffunction-sections -fdata-sections
-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 \
- libreplace_cv_HAVE_IFACE_IFCONF=yes \
- $(if $(CONFIG_IPV6),,libreplace_cv_HAVE_IPV6=no libreplace_cv_HAVE_IPV6_V6ONLY=no) \
- LINUX_LFS_SUPPORT=yes \
- samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
- samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
- samba_cv_HAVE_IFACE_IFCONF=yes \
- samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
- samba_cv_HAVE_SECURE_MKSTEMP=yes \
- samba_cv_HAVE_WRFILE_KEYTAB=no \
- samba_cv_USE_SETREUID=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 \
- samba_cv_zlib_1_2_3=no \
- ac_cv_path_PYTHON="" \
- ac_cv_path_PYTHON_CONFIG=""
-
-CONFIGURE_ARGS += \
- --exec-prefix=/usr \
- --prefix=/ \
- --disable-avahi \
- --disable-cups \
- --disable-external-libtalloc \
- --disable-external-libtdb \
- --disable-external-libtevent \
- --disable-pie \
- --disable-relro \
- --disable-static \
- --disable-swat \
- --disable-shared-libs \
- --with-libiconv="$(ICONV_PREFIX)" \
- --with-codepagedir=/etc/samba \
- --with-configdir=/etc/samba \
- --with-included-iniparser \
- --with-included-popt \
- --with-lockdir=/var/lock \
- --with-logfilebase=/var/log \
- --with-nmbdsocketdir=/var/nmbd \
- --with-piddir=/var/run \
- --with-privatedir=/etc/samba \
- --with-sendfile-support \
- --without-acl-support \
- --without-cluster-support \
- --without-ads \
- --without-krb5 \
- --without-ldap \
- --without-pam \
- --without-winbind \
- --without-libtdb \
- --without-libtalloc \
- --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=
-
-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
- $(INSTALL_CONF) ./files/samba.config $(1)/etc/config/samba
- $(INSTALL_DIR) $(1)/etc/samba
- $(INSTALL_CONF) ./files/smb.conf.template $(1)/etc/samba
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/lowcase.dat $(1)/etc/samba
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/upcase.dat $(1)/etc/samba
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/valid.dat $(1)/etc/samba
- $(INSTALL_DIR) $(1)/etc/init.d
- $(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) samba_multicall $(1)/usr/sbin/smbd
- $(LN) samba_multicall $(1)/usr/sbin/nmbd
- $(LN) samba_multicall $(1)/usr/sbin/smbpasswd
-endef
-
-define Package/samba36-hotplug/install
- $(INSTALL_DIR) $(1)/etc/hotplug.d/mount
- $(INSTALL_CONF) ./files/samba.hotplug $(1)/etc/hotplug.d/mount/60-samba
-endef
-
-define Package/samba36-client/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_BUILD_BIN)/smbclient $(1)/usr/sbin
- $(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-hotplug))
-$(eval $(call BuildPackage,samba36-net))
-