samba: add transitional dummy for samba-cups

This commit is contained in:
Andrew J. Hesford 2020-12-21 13:12:26 -05:00
parent e30a15dd36
commit 66403d0dc8
2 changed files with 9 additions and 3 deletions

1
srcpkgs/samba-cups Symbolic link
View File

@ -0,0 +1 @@
samba

View File

@ -1,7 +1,7 @@
# Template file for 'samba'
pkgname=samba
version=4.13.2
revision=2
revision=3
build_style=waf3
build_helper="qemu"
configure_script="buildtools/bin/waf"
@ -30,7 +30,7 @@ checksum=276464396a05d88b775bda01ac2eb1e5a636ccf7010b0fd28efc3d85583af2b4
lib32disabled=yes
conf_files="/etc/pam.d/samba /etc/samba/smb.conf"
make_dirs="/etc/samba/private 0750 root root"
subpackages="smbclient samba-ctdb samba-libs samba-devel samba-python3"
subpackages="smbclient samba-ctdb samba-cups samba-devel samba-libs samba-python3"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
@ -96,9 +96,14 @@ post_install() {
rm -rf ${DESTDIR}/etc/init.d
}
samba-cups_package() {
build_style=meta
depends="smbclient>=${version}_${revision}"
short_desc="SMB backend for cups (transitional dummy package)"
}
smbclient_package() {
short_desc+=" - client utilities"
provides="samba-cups-${version}_${revision}"
replaces="samba-cups>=0"
pkg_install() {
local _t _tools