summaryrefslogtreecommitdiff
path: root/net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-24 09:15:35 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-24 09:15:35 +0000
commitb6c25398c57d29209451765522afc9ab61b13421 (patch)
tree40897903d61c246a5dc1344d5aab296030122404 /net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild
parentcb6e8f27a3fffe1260162166136b3fa8a8aec44e (diff)
net-fs/samba-config-redcore : dummy version bump
Diffstat (limited to 'net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild')
-rw-r--r--net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild b/net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild
new file mode 100644
index 00000000..1b3e2c9d
--- /dev/null
+++ b/net-fs/samba-config-redcore/samba-config-redcore-1803.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils user
+
+DESCRIPTION="Redcore Linux Samba configuration files"
+HOMEPAGE="https://redcorelinux.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${FILESDIR}
+
+src_install() {
+ dodir etc/samba
+ insinto etc/samba
+ newins redcore-smb.conf smb.conf
+ dodir var/lib/samba/usershare
+}
+
+pkg_preinst() {
+ enewgroup smbshare
+}
+
+pkg_postinst() {
+ chown root:smbshare /var/lib/samba/usershare
+ chmod 1770 /var/lib/samba/usershare
+}