summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/kogaion-live/kogaion-live-2.ebuild3
-rw-r--r--app-misc/kogaion-skel/kogaion-skel-1.ebuild3
-rw-r--r--app-misc/passwordless-upgrade/files/10-RigoDaemon.rules7
-rw-r--r--app-misc/passwordless-upgrade/passwordless-upgrade-1.ebuild21
4 files changed, 30 insertions, 4 deletions
diff --git a/app-misc/kogaion-live/kogaion-live-2.ebuild b/app-misc/kogaion-live/kogaion-live-2.ebuild
index 20b6bc0f..07b4ef14 100644
--- a/app-misc/kogaion-live/kogaion-live-2.ebuild
+++ b/app-misc/kogaion-live/kogaion-live-2.ebuild
@@ -24,8 +24,7 @@ RDEPEND="!app-misc/livecd-tools
sys-apps/gawk
sys-apps/pciutils
sys-apps/keyboard-configuration-helpers
- sys-apps/sed
- !app-misc/sabayon-live"
+ sys-apps/sed"
src_install() {
emake DESTDIR="${D}" SYSV_INITDIR="/etc/init.d" \
diff --git a/app-misc/kogaion-skel/kogaion-skel-1.ebuild b/app-misc/kogaion-skel/kogaion-skel-1.ebuild
index 41188a21..db39da4d 100644
--- a/app-misc/kogaion-skel/kogaion-skel-1.ebuild
+++ b/app-misc/kogaion-skel/kogaion-skel-1.ebuild
@@ -15,8 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND=""
-DEPEND="!>=app-misc/rogentos-skel-1
- !app-misc/sabayon-skel"
+DEPEND="!>=app-misc/rogentos-skel-1"
src_install () {
dodir /etc/xdg/menus
diff --git a/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules b/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules
new file mode 100644
index 00000000..83210590
--- /dev/null
+++ b/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules
@@ -0,0 +1,7 @@
+/* Allow users in the entropy group to launch system upgrades */
+polkit.addRule(function(action, subject) {
+ if (action.id == "org.sabayon.RigoDaemon.upgrade" &&
+ subject.isInGroup("entropy")) {
+ return polkit.Result.YES;
+ }
+});
diff --git a/app-misc/passwordless-upgrade/passwordless-upgrade-1.ebuild b/app-misc/passwordless-upgrade/passwordless-upgrade-1.ebuild
new file mode 100644
index 00000000..29393bb3
--- /dev/null
+++ b/app-misc/passwordless-upgrade/passwordless-upgrade-1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Allow users in the entropy group to run system upgrades without password"
+HOMEPAGE="http://www.rogentos.ro"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_install () {
+ dodir /usr/share/polkit-1/rules.d
+ insinto /usr/share/polkit-1/rules.d
+ doins "${FILESDIR}/10-RigoDaemon.rules"
+}