diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 22:58:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 22:58:43 +0000 |
commit | ed5eafdd6cce789eb6b007f944fddf6f9f3174ba (patch) | |
tree | 981a5d03816dc7e26773204e15c316ea862eb676 /net-fs/sambacfg/sambacfg-1337.ebuild | |
parent | cdfbbe0d2e9c8b8ee5f96e32684af0f8ebd4e5da (diff) |
move : net-fs/samba-config-redcore => net-fs/sambacfg
Diffstat (limited to 'net-fs/sambacfg/sambacfg-1337.ebuild')
-rw-r--r-- | net-fs/sambacfg/sambacfg-1337.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-fs/sambacfg/sambacfg-1337.ebuild b/net-fs/sambacfg/sambacfg-1337.ebuild new file mode 100644 index 00000000..3e0cf05e --- /dev/null +++ b/net-fs/sambacfg/sambacfg-1337.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 + keepdir var/lib/samba/usershare +} + +pkg_preinst() { + enewgroup smbshare +} + +pkg_postinst() { + chown root:smbshare /var/lib/samba/usershare + chmod 1770 /var/lib/samba/usershare +} |