|
|
|
|
@@ -1,15 +1,16 @@
|
|
|
|
|
# Template file for 'samba'
|
|
|
|
|
pkgname=samba
|
|
|
|
|
version=4.13.2
|
|
|
|
|
revision=3
|
|
|
|
|
version=4.13.3
|
|
|
|
|
revision=1
|
|
|
|
|
build_style=waf3
|
|
|
|
|
build_helper="qemu"
|
|
|
|
|
configure_script="buildtools/bin/waf"
|
|
|
|
|
_idmap_modules="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2"
|
|
|
|
|
_pdb_modules="pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4"
|
|
|
|
|
_auth_modules="auth_unix,auth_wbc,auth_server,auth_netlogind,autH_script,auth_samba4"
|
|
|
|
|
configure_args="--enable-fhs --sbindir=/usr/bin --localstatedir=/var
|
|
|
|
|
--sysconfdir=/etc --with-piddir=/run/samba --with-sockets-dir=/run/samba
|
|
|
|
|
configure_args="--enable-fhs --sbindir=/usr/bin
|
|
|
|
|
--localstatedir=/var --sysconfdir=/etc --with-piddir=/run/samba
|
|
|
|
|
--with-sockets-dir=/run/samba --with-lockdir=/run/lock/samba
|
|
|
|
|
--with-privatedir=/etc/samba/private --with-pammodulesdir=/usr/lib/security
|
|
|
|
|
--with-modulesdir=/usr/lib/samba --disable-rpath --disable-rpath-install
|
|
|
|
|
--without-systemd --without-gettext --bundled-libraries=NONE
|
|
|
|
|
@@ -26,7 +27,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
|
homepage="http://www.samba.org"
|
|
|
|
|
distfiles="http://download.samba.org/pub/samba/stable/${pkgname}-${version}.tar.gz"
|
|
|
|
|
checksum=276464396a05d88b775bda01ac2eb1e5a636ccf7010b0fd28efc3d85583af2b4
|
|
|
|
|
checksum=c10585d43f33656fe4e1f9ff8bf40ea57d8d5b653521c1cc198fbf4922756541
|
|
|
|
|
lib32disabled=yes
|
|
|
|
|
conf_files="/etc/pam.d/samba /etc/samba/smb.conf"
|
|
|
|
|
make_dirs="/etc/samba/private 0750 root root"
|
|
|
|
|
@@ -45,16 +46,16 @@ fi
|
|
|
|
|
# that shouldn't be exposed locally. For those that cannot be built in, make
|
|
|
|
|
# sure to install them into /usr/lib so xbps-src picks them up.
|
|
|
|
|
_privlibs="CHARSET3 MESSAGING_SEND MESSAGING LIBWBCLIENT_OLD addns ads \
|
|
|
|
|
asn1util auth auth4 authkrb5 cmdline_contexts cmdline-credentials cli_cldap \
|
|
|
|
|
cli-ldap-common cli-nbt cli_smb_common cli_spoolss clidns cluster common-auth \
|
|
|
|
|
dbwrap events flag_mapping genrand gensec gse http interfaces iov_buf krb5samba \
|
|
|
|
|
ldbsamba libcli_lsa3 libcli_netlogon3 libsmb messages_dgm messages_util mscat \
|
|
|
|
|
msghdr msrpc3 netif net_keytab npa_tstream popt_samba3 popt_samba3_cmdline \
|
|
|
|
|
printer_driver registry replace samba-cluster-support samba-debug \
|
|
|
|
|
asn1util auth authkrb5 cmdline_contexts cmdline-credentials cli_cldap \
|
|
|
|
|
cli-ldap-common cli-nbt cli_smb_common cli_spoolss clidns common-auth \
|
|
|
|
|
ctdb-event-client dbwrap events genrand gensec gse http interfaces \
|
|
|
|
|
krb5samba ldbsamba libcli_lsa3 libcli_netlogon3 libsmb messages_dgm \
|
|
|
|
|
messages_util mscat msghdr msrpc3 netif npa_tstream popt_samba3 \
|
|
|
|
|
popt_samba3_cmdline registry replace samba-cluster-support samba-debug \
|
|
|
|
|
samba-modules samba-security samba-sockets samba3-util samdb-common secrets3 \
|
|
|
|
|
server_id_db server-role samba_python smbclient-raw smbd_shim smbpasswdparser \
|
|
|
|
|
socket-blocking sys_rw talloc_report_printf talloc_report tdb-wrap tevent-util \
|
|
|
|
|
time-basic torture trusts_util util_reg util_setid util_tdb ctdb-event-client"
|
|
|
|
|
server_id_db server-role smbclient-raw smbd_shim socket-blocking sys_rw \
|
|
|
|
|
talloc_report_printf talloc_report tevent-util time-basic trusts_util \
|
|
|
|
|
util_reg util_setid util_tdb"
|
|
|
|
|
configure_args+=" --with-privatelibdir=/usr/lib --builtin-libraries=${_privlibs// /,}"
|
|
|
|
|
|
|
|
|
|
export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config"
|
|
|
|
|
@@ -173,8 +174,9 @@ samba-libs_package() {
|
|
|
|
|
_libs="dcerpc dcerpc-binding ndr-krb5pac ndr-nbt ndr-standard ndr
|
|
|
|
|
samba-credentials samba-errors samba-hostconfig samba-passdb
|
|
|
|
|
samba-util samdb smbclient smbconf smbldap wbclient"
|
|
|
|
|
_privlibs="cli-ldap cliauth common-auth dcerpc-samba gpo
|
|
|
|
|
ndr-samba ndr smb-transport util-cmdline winbind-client"
|
|
|
|
|
_privlibs="cli-ldap cliauth cluster common-auth dcerpc-samba
|
|
|
|
|
flag-mapping gpo iov-buf ndr-samba ndr printer-driver
|
|
|
|
|
smb-transport tdb-wrap util-cmdline winbind-client"
|
|
|
|
|
|
|
|
|
|
for _lib in ${_libs}; do
|
|
|
|
|
vmove "usr/lib/lib${_lib}.so.*"
|
|
|
|
|
|