Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/
Date: Wed, 30 Mar 2016 14:07:26
Message-Id: 1459346441.955e092df75b63c6de9b3295808b44aeaa22e954.polynomial-c@gentoo
1 commit: 955e092df75b63c6de9b3295808b44aeaa22e954
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 14:00:41 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 30 14:00:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955e092d
7
8 net-fs/samba: Fixed smb backend detection by cups (bug #552310)
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-fs/samba/samba-4.2.9.ebuild | 5 +++++
14 net-fs/samba/samba-4.3.6.ebuild | 5 +++++
15 net-fs/samba/samba-4.4.0.ebuild | 5 +++++
16 3 files changed, 15 insertions(+)
17
18 diff --git a/net-fs/samba/samba-4.2.9.ebuild b/net-fs/samba/samba-4.2.9.ebuild
19 index 7be1319..c1965dd 100644
20 --- a/net-fs/samba/samba-4.2.9.ebuild
21 +++ b/net-fs/samba/samba-4.2.9.ebuild
22 @@ -215,6 +215,11 @@ multilib_src_install() {
23 doins examples/LDAP/samba.schema
24 fi
25
26 + # create symlink for cups (bug #552310)
27 + if use cups ; then
28 + dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
29 + fi
30 +
31 # install example config file
32 insinto /etc/samba
33 doins examples/smb.conf.default
34
35 diff --git a/net-fs/samba/samba-4.3.6.ebuild b/net-fs/samba/samba-4.3.6.ebuild
36 index c0c77cc..c7b267c 100644
37 --- a/net-fs/samba/samba-4.3.6.ebuild
38 +++ b/net-fs/samba/samba-4.3.6.ebuild
39 @@ -207,6 +207,11 @@ multilib_src_install() {
40 doins examples/LDAP/samba.schema
41 fi
42
43 + # create symlink for cups (bug #552310)
44 + if use cups ; then
45 + dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
46 + fi
47 +
48 # install example config file
49 insinto /etc/samba
50 doins examples/smb.conf.default
51
52 diff --git a/net-fs/samba/samba-4.4.0.ebuild b/net-fs/samba/samba-4.4.0.ebuild
53 index 6235136..94cfac8 100644
54 --- a/net-fs/samba/samba-4.4.0.ebuild
55 +++ b/net-fs/samba/samba-4.4.0.ebuild
56 @@ -190,6 +190,11 @@ multilib_src_install() {
57 doins examples/LDAP/samba.schema
58 fi
59
60 + # create symlink for cups (bug #552310)
61 + if use cups ; then
62 + dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb
63 + fi
64 +
65 # install example config file
66 insinto /etc/samba
67 doins examples/smb.conf.default