From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-831658-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 222F21383E1
	for <garchives@archives.gentoo.org>; Tue,  1 Sep 2015 14:05:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8D1A61423F;
	Tue,  1 Sep 2015 14:05:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 144021423F
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Sep 2015 14:05:15 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C66183406A7
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Sep 2015 14:05:13 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 75F53175
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Sep 2015 14:05:12 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1441116306.a0cf2cff0e0af5c9ac2ef90c7728c1ce6878cd3b.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-fs/samba/samba-4.0.26-r1.ebuild net-fs/samba/samba-4.0.26.ebuild net-fs/samba/samba-4.1.20-r1.ebuild net-fs/samba/samba-4.1.20.ebuild net-fs/samba/samba-4.2.3-r1.ebuild net-fs/samba/samba-4.2.3.ebuild
X-VCS-Directories: net-fs/samba/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: a0cf2cff0e0af5c9ac2ef90c7728c1ce6878cd3b
X-VCS-Branch: master
Date: Tue,  1 Sep 2015 14:05:12 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 8de6c2ae-a358-455e-82bd-dc471c0b62f3
X-Archives-Hash: 0ea37e7a93e2f4a67b12f736ac5031fd

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 "
 }