aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/samba/APKBUILD')
-rw-r--r--main/samba/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index 5f93be6bba..da943c08d6 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
-pkgver=4.13.3
-pkgrel=1
+pkgver=4.14.5
+pkgrel=0
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="https://www.samba.org/"
arch="all"
@@ -95,6 +95,11 @@ source="
pkggroups="winbind"
# secfixes:
+# 4.14.4-r0:
+# - CVE-2021-20254
+# 4.14.2-r0:
+# - CVE-2020-27840
+# - CVE-2021-20277
# 4.12.9-r0:
# - CVE-2020-14318
# - CVE-2020-14323
@@ -153,17 +158,12 @@ pkggroups="winbind"
# - CVE-2017-2619
build() {
- local _jobs=$JOBS
local _idmap_modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2
local _pdb_modules=pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
local _auth_modules=auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4
- if [ -z "$_jobs" ]; then
- _jobs=$(awk '/^core id/ {n++} END{print n}' /proc/cpuinfo)
- fi
./configure \
--prefix=/usr \
- --jobs=${_jobs:-2} \
--sysconfdir=/etc/$pkgname \
--with-configdir=/etc/$pkgname \
--localstatedir=/var \
@@ -181,7 +181,7 @@ build() {
--bundled-libraries=NONE,ntdb,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,cmocka \
--disable-rpath-install \
--without-gpgme
- make
+ make -j"$(nproc)"
}
package() {
@@ -261,7 +261,6 @@ _common_server_libs() {
usr/lib/$pkgname/libnpa-tstream-samba4.so \
usr/lib/$pkgname/libprinting-migrate-samba4.so \
usr/lib/$pkgname/libsmbd-base-samba4.so \
- usr/lib/$pkgname/libsmbd-conn-samba4.so \
usr/lib/$pkgname/libsmbldaphelper-samba4.so \
usr/lib/$pkgname/pdb
}
@@ -602,7 +601,8 @@ libs() {
"$pkgdir"/usr
}
-sha512sums="e7d29a89ba31ac6ca6c2dfd2629b8e07e47f4b1f265907847b43845dcf19a2200bcb1ca9f6845dd39c1ffca5dbf89f998bcc4defe33f5e3c4d8006ec9c6e88ab samba-4.13.3.tar.gz
+sha512sums="
+ef50aae93141a41034a10eb0b1a135d4b8b28c63663b930d24d6199d9ffd1fd139b6443d1859df19d3299b507a4a1c2810de057e2affd4e8b8cfc7175fdd7b39 samba-4.14.5.tar.gz
58de5e79fdfd06e828d478e112d581d333a8bee88d2602b92204d780f0d707b27dd84f8e2e6b00fca40da81c8fe99aa5bcec70d8b393d3a0a83199c72a4aa48b getpwent_r.patch
b7906d66fe55a980a54161ee3f311b51bcbce76b8d4c8cc1ba6d0c5bdf98232cb192b9d2c1aa7b3e2742f5b9848c6cf429347940eefe66c3e0eda1d5aac1bf93 musl_uintptr.patch
1854577d0e4457e27da367a6c7ec0fb5cfd63cefea0a39181c9d6e78cf8d3eb50878cdddeea3daeec955d00263151c2f86ea754ff4276ef98bc52c0276d9ffe8 netdb-defines.patch
@@ -613,4 +613,5 @@ bc2df70e327fea5dfbd923600225f1448815d842c37d6937dd74eab7f7699d7f52cd7a8e28a61233
c0bbe1186b150a9bb2a0b741a8cfbd7a5109e5fed1eaa07aaa38cf026ebe054d38cc01e2496f0cab7b40f743e1b7ecfbf8a4d5820810226c4152021df65f36dc pidl.patch
96070e2461370437f48571e7de550c13a332fef869480cfe92e7cac73a998f6c2ee85d2580df58211953bebd0e577691aa710c8edddf3ea0f30e9d47d0a2fd44 samba.initd
e2b49cb394e758447ca97de155a61b4276499983a0a5c00b44ae621c5559b759a766f8d1c8d3ee98ad5560f4064a847a7a20cfa2e14f85c061bec8b80fd649eb samba.confd
-3458a4e1f8a8b44c966afb339b2dca51615be049f594c14911fc4d8203623deee416b6fe881436e246fc7d49c97a2b3bf9c5f33ba774302b24190a1103d6b67d samba.logrotate"
+3458a4e1f8a8b44c966afb339b2dca51615be049f594c14911fc4d8203623deee416b6fe881436e246fc7d49c97a2b3bf9c5f33ba774302b24190a1103d6b67d samba.logrotate
+"