From ed5eafdd6cce789eb6b007f944fddf6f9f3174ba Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@redcorelinux.org>
Date: Sat, 28 Nov 2020 22:58:43 +0000
Subject: move : net-fs/samba-config-redcore => net-fs/sambacfg

---
 net-fs/samba-config-redcore/files/redcore-smb.conf | 20 -------------
 .../samba-config-redcore-1337.ebuild               | 35 ----------------------
 net-fs/samba/samba-4.12.1-r10.ebuild               |  2 +-
 net-fs/sambacfg/files/redcore-smb.conf             | 20 +++++++++++++
 net-fs/sambacfg/sambacfg-1337.ebuild               | 35 ++++++++++++++++++++++
 5 files changed, 56 insertions(+), 56 deletions(-)
 delete mode 100644 net-fs/samba-config-redcore/files/redcore-smb.conf
 delete mode 100644 net-fs/samba-config-redcore/samba-config-redcore-1337.ebuild
 create mode 100644 net-fs/sambacfg/files/redcore-smb.conf
 create mode 100644 net-fs/sambacfg/sambacfg-1337.ebuild

diff --git a/net-fs/samba-config-redcore/files/redcore-smb.conf b/net-fs/samba-config-redcore/files/redcore-smb.conf
deleted file mode 100644
index 09276f94..00000000
--- a/net-fs/samba-config-redcore/files/redcore-smb.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-[global]
-	workgroup = WORKGROUP
-	server string = Samba Server
-	server role = standalone server
-	log file = /var/log/samba/log.%m
-	max log size = 50
-	dns proxy = no
-	usershare path = /var/lib/samba/usershare
-	usershare max shares = 100
-	usershare allow guests = yes
-	usershare owner only = yes
-	client max protocol = NT1
-[tmp]
-	comment = Temporary file space
-	path = /var/tmp
-	public = yes
-	writeable = yes
-	read only = no
-	printable = no
-	guest ok = yes
diff --git a/net-fs/samba-config-redcore/samba-config-redcore-1337.ebuild b/net-fs/samba-config-redcore/samba-config-redcore-1337.ebuild
deleted file mode 100644
index 3e0cf05e..00000000
--- a/net-fs/samba-config-redcore/samba-config-redcore-1337.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# 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
-}
diff --git a/net-fs/samba/samba-4.12.1-r10.ebuild b/net-fs/samba/samba-4.12.1-r10.ebuild
index 5258e72a..0615b52f 100644
--- a/net-fs/samba/samba-4.12.1-r10.ebuild
+++ b/net-fs/samba/samba-4.12.1-r10.ebuild
@@ -110,7 +110,7 @@ RDEPEND="${CDEPEND}
 	python? ( ${PYTHON_DEPS} )
 	client? ( net-fs/cifs-utils[ads?] )
 	selinux? ( sec-policy/selinux-samba )
-	net-fs/samba-config-redcore
+	net-fs/sambacfg
 "
 
 REQUIRED_USE="
diff --git a/net-fs/sambacfg/files/redcore-smb.conf b/net-fs/sambacfg/files/redcore-smb.conf
new file mode 100644
index 00000000..09276f94
--- /dev/null
+++ b/net-fs/sambacfg/files/redcore-smb.conf
@@ -0,0 +1,20 @@
+[global]
+	workgroup = WORKGROUP
+	server string = Samba Server
+	server role = standalone server
+	log file = /var/log/samba/log.%m
+	max log size = 50
+	dns proxy = no
+	usershare path = /var/lib/samba/usershare
+	usershare max shares = 100
+	usershare allow guests = yes
+	usershare owner only = yes
+	client max protocol = NT1
+[tmp]
+	comment = Temporary file space
+	path = /var/tmp
+	public = yes
+	writeable = yes
+	read only = no
+	printable = no
+	guest ok = yes
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
+}
-- 
cgit v1.2.3