summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-30 16:00:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-03-30 16:00:41 +0200
commit955e092df75b63c6de9b3295808b44aeaa22e954 (patch)
tree3b9288cd431d6f7e95e3955a858eeeb5b71da58f /net-fs
parentdev-java/sjsxp: Switch to java-pkg-simple. (diff)
downloadgentoo-955e092df75b63c6de9b3295808b44aeaa22e954.tar.gz
gentoo-955e092df75b63c6de9b3295808b44aeaa22e954.tar.bz2
gentoo-955e092df75b63c6de9b3295808b44aeaa22e954.zip
net-fs/samba: Fixed smb backend detection by cups (bug #552310)
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/samba-4.2.9.ebuild5
-rw-r--r--net-fs/samba/samba-4.3.6.ebuild5
-rw-r--r--net-fs/samba/samba-4.4.0.ebuild5
3 files changed, 15 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.2.9.ebuild b/net-fs/samba/samba-4.2.9.ebuild
index 7be131916db0..c1965dde3a1a 100644
--- a/net-fs/samba/samba-4.2.9.ebuild
+++ b/net-fs/samba/samba-4.2.9.ebuild
@@ -215,6 +215,11 @@ multilib_src_install() {
doins examples/LDAP/samba.schema
fi
+ # create symlink for cups (bug #552310)
+ if use cups ; then
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
+ fi
+
# install example config file
insinto /etc/samba
doins examples/smb.conf.default
diff --git a/net-fs/samba/samba-4.3.6.ebuild b/net-fs/samba/samba-4.3.6.ebuild
index c0c77ccbfea4..c7b267c5ad57 100644
--- a/net-fs/samba/samba-4.3.6.ebuild
+++ b/net-fs/samba/samba-4.3.6.ebuild
@@ -207,6 +207,11 @@ multilib_src_install() {
doins examples/LDAP/samba.schema
fi
+ # create symlink for cups (bug #552310)
+ if use cups ; then
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
+ fi
+
# install example config file
insinto /etc/samba
doins examples/smb.conf.default
diff --git a/net-fs/samba/samba-4.4.0.ebuild b/net-fs/samba/samba-4.4.0.ebuild
index 6235136071ff..94cfac8689a2 100644
--- a/net-fs/samba/samba-4.4.0.ebuild
+++ b/net-fs/samba/samba-4.4.0.ebuild
@@ -190,6 +190,11 @@ multilib_src_install() {
doins examples/LDAP/samba.schema
fi
+ # create symlink for cups (bug #552310)
+ if use cups ; then
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
+ fi
+
# install example config file
insinto /etc/samba
doins examples/smb.conf.default