samba4: update to 4.9.15
* update to 4.9.15 * fixes CVE-2019-10218, CVE-2019-14833, CVE-2019-14847 * update smb.conf.template (aio, sendfile) Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
parent
827969027a
commit
d08b1279eb
2 changed files with 42 additions and 28 deletions
|
@ -2,7 +2,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=samba
|
PKG_NAME:=samba
|
||||||
PKG_VERSION:=4.9.13
|
PKG_VERSION:=4.9.15
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
@ -12,7 +12,7 @@ PKG_SOURCE_URL:=https://ftp.heanet.ie/mirrors/ftp.samba.org/stable/ \
|
||||||
http://www.nic.funet.fi/index/samba/pub/samba/stable/ \
|
http://www.nic.funet.fi/index/samba/pub/samba/stable/ \
|
||||||
http://samba.mirror.bit.nl/samba/ftp/stable/ \
|
http://samba.mirror.bit.nl/samba/ftp/stable/ \
|
||||||
https://download.samba.org/pub/samba/stable/
|
https://download.samba.org/pub/samba/stable/
|
||||||
PKG_HASH:=ab18331e37766b13dbb07d1f115bda3d794917baf502d0ca2b2b8fff014b88f2
|
PKG_HASH:=377102b80b97941bf0d131b828cae8415190e5bdd2928c2e2c954e29f1904496
|
||||||
|
|
||||||
PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
|
PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
|
||||||
PKG_LICENSE:=GPL-3.0-only
|
PKG_LICENSE:=GPL-3.0-only
|
||||||
|
|
|
@ -43,8 +43,22 @@
|
||||||
## LAN/WAN options (IPTOS_LOWDELAY TCP_NODELAY) WAN (IPTOS_THROUGHPUT)
|
## LAN/WAN options (IPTOS_LOWDELAY TCP_NODELAY) WAN (IPTOS_THROUGHPUT)
|
||||||
socket options = IPTOS_LOWDELAY TCP_NODELAY
|
socket options = IPTOS_LOWDELAY TCP_NODELAY
|
||||||
|
|
||||||
## lower CPU useage if supported
|
## If this integer parameter is set to a non-zero value, Samba will read from files asynchronously when the request size is bigger than this value.
|
||||||
use sendfile = yes
|
## Note that it happens only for non-chained and non-chaining reads and when not using write cache.
|
||||||
|
## The only reasonable values for this parameter are 0 (no async I/O) and 1 (always do async I/O).
|
||||||
|
## (1/0)
|
||||||
|
#aio read size = 0
|
||||||
|
#aio write size = 0
|
||||||
|
|
||||||
|
## If Samba has been built with asynchronous I/O support, Samba will not wait until write requests are finished before returning the result to the client for files listed in this parameter.
|
||||||
|
## Instead, Samba will immediately return that the write request has been finished successfully, no matter if the operation will succeed or not.
|
||||||
|
## This might speed up clients without aio support, but is really dangerous, because data could be lost and files could be damaged.
|
||||||
|
#aio write behind = /*.tmp/
|
||||||
|
|
||||||
|
## lower CPU useage if supported and aio is disabled (aio read size = 0 ; aio write size = 0)
|
||||||
|
## currently broken (NOTE: see https://bugzilla.samba.org/show_bug.cgi?id=14095 )
|
||||||
|
## (no, yes)
|
||||||
|
#use sendfile = yes
|
||||||
|
|
||||||
## samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained.
|
## samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained.
|
||||||
#blocking locks = No
|
#blocking locks = No
|
||||||
|
|
Loading…
Reference in a new issue