UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

samba

The Samba package provides file and print services to SMB/CIFS clients and Windows networking to Linux clients. Samba can also be configured as a Windows Domain Controller replacement, a file/print server acting as a member of a Windows Active Directory domain and a NetBIOS (RFC1001/1002) nameserver (which among other things provides LAN browsing support).

Package info

Codename: samba
Source file: samba-4.20.4.tar.gz
Source directory: samba-4.20.4
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/s/samba-4.20.4.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/s/samba-4.20.4.tar.gz.md5sum
Dependances: python3-cryptography, python3-pyasn1, python3-dateutil, icu, libxslt, libtasn1, libtirpc, Linux-PAM, gnutls, OpenLDAP-client, jansson, perl-JSON, perl-Parse-Yapp, rpcsvc, fuse, gpgme.
Dependance of: gnome-control-center, xine-lib, MPlayer, vlc.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
#python3 -m venv pyvenv
#PYTHON=$PWD/pyvenv/bin/python3             
./configure                                \
    --prefix=/usr                          \
    --sysconfdir=/etc                      \
    --localstatedir=/var                   \
    --with-piddir=/run/samba               \
    --with-pammodulesdir=/usr/lib/security \
    --enable-fhs                           \
    --without-ad-dc                        \
    --with-system-mitkrb5                  \
    --enable-selftest                      \
    --disable-rpath-install 
                

Build script:
make

sed '1s@^.*$@#!/usr/bin/python3@' \
    -i ./bin/default/source4/scripting/bin/*.inst



Install script:
make install &&

install -v -m644    examples/smb.conf.default /etc/samba &&

sed -e "s;log file =.*;log file = /var/log/samba/%m.log;" \
    -e "s;path = /usr/spool/samba;path = /var/spool/samba;" \
    -i /etc/samba/smb.conf.default &&

mkdir -pv /etc/openldap/schema                        &&

install -v -m644    examples/LDAP/README              \
                    /etc/openldap/schema/README.samba &&

install -v -m644    examples/LDAP/samba*              \
                    /etc/openldap/schema              &&

install -v -m755    examples/LDAP/{get*,ol*} \
                    /etc/openldap/schema