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: Tue, 01 Sep 2015 14:05:21
Message-Id: 1441116306.a0cf2cff0e0af5c9ac2ef90c7728c1ce6878cd3b.polynomial-c@gentoo
1 commit: a0cf2cff0e0af5c9ac2ef90c7728c1ce6878cd3b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 14:01:43 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 14:05:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cf2cff
7
8 net-fs/samba: Install example configuration file (bug #558880).
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-fs/samba/{samba-4.0.26.ebuild => samba-4.0.26-r1.ebuild} | 4 ++++
14 net-fs/samba/{samba-4.1.20.ebuild => samba-4.1.20-r1.ebuild} | 6 +++++-
15 net-fs/samba/{samba-4.2.3.ebuild => samba-4.2.3-r1.ebuild} | 6 +++++-
16 3 files changed, 14 insertions(+), 2 deletions(-)
17
18 diff --git a/net-fs/samba/samba-4.0.26.ebuild b/net-fs/samba/samba-4.0.26-r1.ebuild
19 similarity index 98%
20 rename from net-fs/samba/samba-4.0.26.ebuild
21 rename to net-fs/samba/samba-4.0.26-r1.ebuild
22 index e3ef3e4..c4ee74a 100644
23 --- a/net-fs/samba/samba-4.0.26.ebuild
24 +++ b/net-fs/samba/samba-4.0.26-r1.ebuild
25 @@ -152,6 +152,10 @@ src_install() {
26 # Make all .so files executable
27 find "${D}" -type f -name "*.so" -exec chmod +x {} +
28
29 + # install example config file
30 + insinto /etc/samba
31 + doins examples/smb.conf.default
32 +
33 # Install init script and conf.d file
34 newinitd "${CONFDIR}/samba4.initd-r1" samba
35 newconfd "${CONFDIR}/samba4.confd" samba
36
37 diff --git a/net-fs/samba/samba-4.1.20.ebuild b/net-fs/samba/samba-4.1.20-r1.ebuild
38 similarity index 97%
39 rename from net-fs/samba/samba-4.1.20.ebuild
40 rename to net-fs/samba/samba-4.1.20-r1.ebuild
41 index 3b8e63e..9a1ba22 100644
42 --- a/net-fs/samba/samba-4.1.20.ebuild
43 +++ b/net-fs/samba/samba-4.1.20-r1.ebuild
44 @@ -148,6 +148,10 @@ src_install() {
45 # Make all .so files executable
46 find "${D}" -type f -name "*.so" -exec chmod +x {} +
47
48 + # install example config file
49 + insinto /etc/samba
50 + doins examples/smb.conf.default
51 +
52 # Install init script and conf.d file
53 newinitd "${CONFDIR}/samba4.initd-r1" samba
54 newconfd "${CONFDIR}/samba4.confd" samba
55 @@ -172,6 +176,6 @@ pkg_postinst() {
56
57 elog "For further information and migration steps make sure to read "
58 elog "http://samba.org/samba/history/${P}.html "
59 - elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
60 + elog "http://samba.org/samba/history/${PN}-4.1.0.html and"
61 elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
62 }
63
64 diff --git a/net-fs/samba/samba-4.2.3.ebuild b/net-fs/samba/samba-4.2.3-r1.ebuild
65 similarity index 97%
66 rename from net-fs/samba/samba-4.2.3.ebuild
67 rename to net-fs/samba/samba-4.2.3-r1.ebuild
68 index fa13c21..f6aff1b 100644
69 --- a/net-fs/samba/samba-4.2.3.ebuild
70 +++ b/net-fs/samba/samba-4.2.3-r1.ebuild
71 @@ -154,6 +154,10 @@ src_install() {
72 # Make all .so files executable
73 find "${D}" -type f -name "*.so" -exec chmod +x {} +
74
75 + # install example config file
76 + insinto /etc/samba
77 + doins examples/smb.conf.default
78 +
79 # Install init script and conf.d file
80 newinitd "${CONFDIR}/samba4.initd-r1" samba
81 newconfd "${CONFDIR}/samba4.confd" samba
82 @@ -178,6 +182,6 @@ pkg_postinst() {
83
84 elog "For further information and migration steps make sure to read "
85 elog "http://samba.org/samba/history/${P}.html "
86 - elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
87 + elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
88 elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
89 }