commit: a0cf2cff0e0af5c9ac2ef90c7728c1ce6878cd3b
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 14:01:43 2015 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 14:05:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cf2cff
net-fs/samba: Install example configuration file (bug #558880).
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-fs/samba/{samba-4.0.26.ebuild => samba-4.0.26-r1.ebuild} | 4 ++++
net-fs/samba/{samba-4.1.20.ebuild => samba-4.1.20-r1.ebuild} | 6 +++++-
net-fs/samba/{samba-4.2.3.ebuild => samba-4.2.3-r1.ebuild} | 6 +++++-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/net-fs/samba/samba-4.0.26.ebuild
b/net-fs/samba/samba-4.0.26-r1.ebuild
similarity index 98%
rename from net-fs/samba/samba-4.0.26.ebuild
rename to net-fs/samba/samba-4.0.26-r1.ebuild
index e3ef3e4..c4ee74a 100644
--- a/net-fs/samba/samba-4.0.26.ebuild
+++ b/net-fs/samba/samba-4.0.26-r1.ebuild
@@ -152,6 +152,10 @@ src_install() {
# Make all .so files executable
find "${D}" -type f -name "*.so" -exec chmod +x {} +
+ # install example config file
+ insinto /etc/samba
+ doins examples/smb.conf.default
+
# Install init script and conf.d file
newinitd "${CONFDIR}/samba4.initd-r1" samba
newconfd "${CONFDIR}/samba4.confd" samba
diff --git a/net-fs/samba/samba-4.1.20.ebuild
b/net-fs/samba/samba-4.1.20-r1.ebuild
similarity index 97%
rename from net-fs/samba/samba-4.1.20.ebuild
rename to net-fs/samba/samba-4.1.20-r1.ebuild
index 3b8e63e..9a1ba22 100644
--- a/net-fs/samba/samba-4.1.20.ebuild
+++ b/net-fs/samba/samba-4.1.20-r1.ebuild
@@ -148,6 +148,10 @@ src_install() {
# Make all .so files executable
find "${D}" -type f -name "*.so" -exec chmod +x {} +
+ # install example config file
+ insinto /etc/samba
+ doins examples/smb.conf.default
+
# Install init script and conf.d file
newinitd "${CONFDIR}/samba4.initd-r1" samba
newconfd "${CONFDIR}/samba4.confd" samba
@@ -172,6 +176,6 @@ pkg_postinst() {
elog "For further information and migration steps make sure to read "
elog "http://samba.org/samba/history/${P}.html "
- elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
+ elog "http://samba.org/samba/history/${PN}-4.1.0.html and"
elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
}
diff --git a/net-fs/samba/samba-4.2.3.ebuild
b/net-fs/samba/samba-4.2.3-r1.ebuild
similarity index 97%
rename from net-fs/samba/samba-4.2.3.ebuild
rename to net-fs/samba/samba-4.2.3-r1.ebuild
index fa13c21..f6aff1b 100644
--- a/net-fs/samba/samba-4.2.3.ebuild
+++ b/net-fs/samba/samba-4.2.3-r1.ebuild
@@ -154,6 +154,10 @@ src_install() {
# Make all .so files executable
find "${D}" -type f -name "*.so" -exec chmod +x {} +
+ # install example config file
+ insinto /etc/samba
+ doins examples/smb.conf.default
+
# Install init script and conf.d file
newinitd "${CONFDIR}/samba4.initd-r1" samba
newconfd "${CONFDIR}/samba4.confd" samba
@@ -178,6 +182,6 @@ pkg_postinst() {
elog "For further information and migration steps make sure to read "
elog "http://samba.org/samba/history/${P}.html "
- elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
+ elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
}