Files
bpfire/lfs/samba
Adolf Belka 90ea6fac35 samba: Update to version 4.19.5
- Update from version 4.19.3 to 4.19.5
- Update of rootfile not required
- Changelog
    4.19.5
	   * BUG 13688: Windows 2016 fails to restore previous version of a file from a
	     shadow_copy2 snapshot.
	   * BUG 15549: Symlinks on AIX are broken in 4.19 (and a few version before
	     that).
	   * BUG 12421: Fake directory create times has no effect.
	   * BUG 15550: ctime mixed up with mtime by smbd.
	   * BUG 15548: samba-gpupdate --rsop fails if machine is not in a site.
	   * BUG 15557: gpupdate: The root cert import when NDES is not available is
	     broken.
	   * BUG 15552: samba-gpupdate should print a useful message if cepces-submit
	     can't be found.
	   * BUG 15558: samba-gpupdate logging doesn't work.
	   * BUG 15555: smbpasswd reset permissions only if not 0600.
    4.19.4
	   * BUG 13577: net changesecretpw cannot set the machine account password if
	     secrets.tdb is empty.
	   * BUG 15540: For generating doc, take, if defined, env XML_CATALOG_FILES.
	   * BUG 15541: Trivial C typo in nsswitch/winbind_nss_netbsd.c.
	   * BUG 15542: vfs_linux_xfs is incorrectly named.
	   * BUG 15377: systemd stumbled over copyright-message at smbd startup.
	   * BUG 15505: Following intermediate abolute share-local symlinks is broken.
	   * BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to
	     a non-public address disconnects first.
	   * BUG 15544: shadow_copy2 broken when current fileset's directories are
	     removed.
	   * BUG 15377: systemd stumbled over copyright-message at smbd startup.
	   * BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to
	     a non-public address disconnects first.
	   * BUG 15534: smbd does not detect ctdb public ipv6 addresses for multichannel
	     exclusion.
	   * BUG 15469: 'force user = localunixuser' doesn't work if 'allow trusted
	     domains = no' is set.
	   * BUG 15525: smbget debug logging doesn't work.
	   * BUG 15532: smget: username in the smburl and interactive password entry
	     doesn't work.
	   * BUG 15538: smbget auth function doesn't set values for password prompt
	     correctly.
	   * BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to
	     a non-public address disconnects first.
	   * BUG 15440: Unable to copy and write files from clients to Ceph cluster via
	     SMB Linux gateway with Ceph VFS module.
	   * BUG 15547: Multichannel refresh network information.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-02-29 10:24:23 +00:00

129 lines
4.6 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 4.19.5
SUMMARY = A SMB/CIFS File, Print, and Authentication Server
THISAPP = samba-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = samba
PAK_VER = 99
DEPS = avahi cups perl-Parse-Yapp perl-JSON
SERVICES = samba
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 0f0081380ad459cca914e5e4cf505a4783ce97f0fb8c0471a6e558c747c16b0b327e545358265f365599c3807540985bcddb68aa67d14136cee4dbcb5158090c
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--libdir=/usr/lib/ \
--sysconfdir=/var/ipfire \
--localstatedir=/var \
--without-ad-dc \
--with-cachedir=/var/lib/samba \
--with-lockdir=/var/lib/samba \
--with-piddir=/var/run \
--with-ads \
--with-acl-support \
--with-sendfile-support \
--with-winbind \
--enable-avahi \
--enable-cups \
--enable-fhs \
--with-syslog \
--without-smb1-server
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
-mkdir -p /var/ipfire/samba
cd $(DIR_APP)/source3 && install -v -m644 ../examples/smb.conf.default /var/ipfire/samba
cp -vrf $(DIR_SRC)/config/samba/* /var/ipfire/samba/
chown nobody:nobody -R /var/ipfire/samba/
cat /var/ipfire/samba/global /var/ipfire/samba/shares > /var/ipfire/samba/smb.conf
rm -rf /var/lib/samba/private
ln -s /var/ipfire/samba/private /var/lib/samba/private
install -v -m 644 $(DIR_SRC)/config/backup/includes/samba /var/ipfire/backup/addons/includes/samba
-mkdir -p /var/lib/samba/winbindd_privileged
chmod 750 /var/lib/samba/winbindd_privileged
chgrp wbpriv /var/lib/samba/winbindd_privileged
# Create spool directory for print jobs
mkdir -p /var/spool/samba
chmod -v 1777 /var/spool/samba/
# Install password change helper script
install -m 755 $(DIR_SRC)/config/samba/samba-change-password /usr/sbin/samba-change-password
#install initscripts
$(call INSTALL_INITSCRIPTS,$(SERVICES))
@rm -rf $(DIR_APP)
@$(POSTBUILD)