summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-02 17:43:54 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-02 17:43:54 +0000
commit50e019aab74a3eb18b1067b8cff3bfdf0ccc76c6 (patch)
tree60bee2c236e873a38c16df1f192aa0fae3823716
parente58aa514e5f5554a1c5f02dc76fe857f00f2f88a (diff)
net-fs/sambacfg : migrate from enewgroup to acct-group
-rw-r--r--acct-group/smbshare/smbshare-0.ebuild8
-rw-r--r--app-misc/calamares-config-redcore/files/modules/users.conf2
-rw-r--r--net-fs/sambacfg/sambacfg-1337-r1.ebuild (renamed from net-fs/sambacfg/sambacfg-1337.ebuild)6
3 files changed, 10 insertions, 6 deletions
diff --git a/acct-group/smbshare/smbshare-0.ebuild b/acct-group/smbshare/smbshare-0.ebuild
new file mode 100644
index 00000000..b7aa5a2c
--- /dev/null
+++ b/acct-group/smbshare/smbshare-0.ebuild
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+ACCT_GROUP_ID=555
diff --git a/app-misc/calamares-config-redcore/files/modules/users.conf b/app-misc/calamares-config-redcore/files/modules/users.conf
index 8a016a3a..8a1addc0 100644
--- a/app-misc/calamares-config-redcore/files/modules/users.conf
+++ b/app-misc/calamares-config-redcore/files/modules/users.conf
@@ -22,9 +22,9 @@ defaultGroups:
- disk
- wheel
- audio
+ - input
- cdrom
- cdrw
- - cdemu
- games
- usb
- plugdev
diff --git a/net-fs/sambacfg/sambacfg-1337.ebuild b/net-fs/sambacfg/sambacfg-1337-r1.ebuild
index 3e0cf05e..2ac3cd32 100644
--- a/net-fs/sambacfg/sambacfg-1337.ebuild
+++ b/net-fs/sambacfg/sambacfg-1337-r1.ebuild
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="amd64"
IUSE=""
-DEPEND=""
+DEPEND="acct-group/smbshare"
RDEPEND="${DEPEND}"
S=${FILESDIR}
@@ -25,10 +25,6 @@ src_install() {
keepdir var/lib/samba/usershare
}
-pkg_preinst() {
- enewgroup smbshare
-}
-
pkg_postinst() {
chown root:smbshare /var/lib/samba/usershare
chmod 1770 /var/lib/samba/usershare