mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #9514 from heitbaum/cifs
cifs-utils: update to 7.1 and dependencies
This commit is contained in:
commit
9c10a65597
48
packages/devel/talloc/config/talloc-cache.txt
Normal file
48
packages/devel/talloc/config/talloc-cache.txt
Normal file
@ -0,0 +1,48 @@
|
||||
Checking simple C program: OK
|
||||
rpath library support: OK
|
||||
-Wl,--version-script support: OK
|
||||
Checking getconf LFS_CFLAGS: NO
|
||||
Checking for large file support without additional flags: OK
|
||||
Checking for -D_LARGE_FILES: OK
|
||||
Checking correct behavior of strtoll: NO
|
||||
Checking for working strptime: OK
|
||||
Checking for C99 vsnprintf: OK
|
||||
Checking for HAVE_SHARED_MMAP: OK
|
||||
Checking for HAVE_MREMAP: OK
|
||||
Checking for HAVE_INCOHERENT_MMAP: NO
|
||||
Checking for HAVE_SECURE_MKSTEMP: OK
|
||||
Checking for HAVE_IFACE_GETIFADDRS: OK
|
||||
Checking for kernel change notify support: OK
|
||||
Checking for Linux kernel oplocks: OK
|
||||
Checking for kernel share modes: OK
|
||||
Checking if can we convert from CP850 to UCS-2LE: OK
|
||||
Checking if can we convert from UTF-8 to UCS-2LE: OK
|
||||
Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK
|
||||
Checking whether we can use Linux thread-specific credentials: OK
|
||||
Checking whether setreuid is available: OK
|
||||
Checking whether setresuid is available: OK
|
||||
Checking whether seteuid is available: OK
|
||||
Checking whether fcntl locking is available: OK
|
||||
Checking whether fcntl lock supports open file description locks: OK
|
||||
Checking for the maximum value of the 'time_t' type: OK
|
||||
Checking whether the realpath function allows a NULL argument: OK
|
||||
Checking whether POSIX capabilities are available: OK
|
||||
Checking for ftruncate extend: OK
|
||||
vfs_fileid checking for statfs() and struct statfs.f_fsid: OK
|
||||
getcwd takes a NULL argument: OK
|
||||
Checking uname sysname type: "Linux"
|
||||
Checking uname release type: "3.0.0"
|
||||
Checking uname version type: "#1 Tue Nov 1 12:34:56 UTC 2013"
|
||||
Checking value of NSIG: "32"
|
||||
Checking value of _NSIG: "64"
|
||||
Checking value of SIGRTMAX: "64"
|
||||
Checking value of SIGRTMIN: "32"
|
||||
Checking errno of iconv for illegal multibyte sequence: "0"
|
||||
Checking for a 64-bit host to support lmdb: NO
|
||||
Checking value of GNUTLS_CIPHER_AES_128_CFB8: OK
|
||||
Checking value of GNUTLS_MAC_AES_CMAC_128: OK
|
||||
Checking whether fcntl supports flags to send direct I/O availability signals: OK
|
||||
Checking whether fcntl supports setting/geting hints: OK
|
||||
Checking for gnutls fips mode support: NO
|
||||
Checking for readlink breakage: NO
|
||||
Checking whether fcntl supports setting/getting hints: OK
|
62
packages/devel/talloc/package.mk
Normal file
62
packages/devel/talloc/package.mk
Normal file
@ -0,0 +1,62 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="talloc"
|
||||
PKG_VERSION="2.4.2"
|
||||
PKG_SHA256="85ecf9e465e20f98f9950a52e9a411e14320bc555fa257d87697b7e7a9b1d8a6"
|
||||
PKG_LICENSE="LGPL-3.0-or-later"
|
||||
PKG_SITE="https://talloc.samba.org/"
|
||||
PKG_URL="https://www.samba.org/ftp/talloc/talloc-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="talloc is a hierarchical, reference counted memory pool system with destructors"
|
||||
|
||||
configure_package() {
|
||||
PKG_WAF_VERBOSE="-v"
|
||||
|
||||
PKG_CONFIGURE_OPTS="--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--localstatedir=/var \
|
||||
--cross-compile \
|
||||
--cross-answers=${PKG_BUILD}/cache.txt \
|
||||
--hostcc=gcc \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--disable-rpath-private-install"
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
# talloc uses its own build directory
|
||||
cd ${PKG_BUILD}
|
||||
rm -rf .${TARGET_NAME}
|
||||
|
||||
# support 64-bit offsets and seeks on 32-bit platforms
|
||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||
export CFLAGS+=" -D_FILE_OFFSET_BITS=64 -D_OFF_T_DEFINED_ -Doff_t=off64_t -Dlseek=lseek64"
|
||||
fi
|
||||
}
|
||||
|
||||
configure_target() {
|
||||
cp ${PKG_DIR}/config/talloc-cache.txt ${PKG_BUILD}/cache.txt
|
||||
echo "Checking uname machine type: \"${TARGET_ARCH}\"" >>${PKG_BUILD}/cache.txt
|
||||
|
||||
PYTHON_CONFIG="${SYSROOT_PREFIX}/usr/bin/python3-config" \
|
||||
python_LDFLAGS="" python_LIBDIR="" \
|
||||
PYTHON=${TOOLCHAIN}/bin/python3 ./configure ${PKG_CONFIGURE_OPTS}
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make ${PKG_SAMBA_TARGET} -j${CONCURRENCY_MAKE_LEVEL}
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
PYTHONHASHSEED=1 WAF_MAKE=1 ./buildtools/bin/waf install ${PKG_WAF_VERBOSE} --destdir=${SYSROOT_PREFIX} -j${CONCURRENCY_MAKE_LEVEL}
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/lib
|
||||
cp -PR ${PKG_BUILD}/bin/default/libtalloc.so* ${INSTALL}/usr/lib
|
||||
}
|
@ -2,12 +2,12 @@
|
||||
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cifs-utils"
|
||||
PKG_VERSION="7.0"
|
||||
PKG_SHA256="0defaab85bd3ea46ffc45ab41fb0d0ad54d05ae2cfaa7e503de86d4f12bc8161"
|
||||
PKG_VERSION="7.1"
|
||||
PKG_SHA256="a21123f76a4a6a36c9653189ba4918ebdf3cfcd3f9092730a47ff3450b5b5b2a"
|
||||
PKG_LICENSE="GPL-3.0-or-later"
|
||||
PKG_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
|
||||
PKG_URL="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_DEPENDS_TARGET="toolchain talloc"
|
||||
PKG_LONGDESC="Linux CIFS userspace utilities"
|
||||
PKG_BUILD_FLAGS="-cfg-libs"
|
||||
|
||||
|
@ -8,7 +8,7 @@ PKG_SHA256="bd02f55da538358c929505b21fdd8aeba53027eab14c849432a53ed0bae1c7c2"
|
||||
PKG_LICENSE="GPLv3+"
|
||||
PKG_SITE="https://www.samba.org"
|
||||
PKG_URL="https://download.samba.org/pub/samba/stable/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host attr heimdal:host e2fsprogs Python3 libunwind zlib readline popt libaio connman gnutls wsdd2"
|
||||
PKG_DEPENDS_TARGET="autotools:host gcc:host heimdal:host attr connman e2fsprogs gnutls libaio libunwind popt Python3 readline talloc wsdd2 zlib"
|
||||
PKG_NEED_UNPACK="$(get_pkg_directory heimdal) $(get_pkg_directory e2fsprogs)"
|
||||
PKG_LONGDESC="A free SMB / CIFS fileserver and client."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user