diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-06-01 13:10:27 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-06-01 13:10:27 +0300 |
commit | 0482fc465e1ac247a9514c572256b2cd97731438 (patch) | |
tree | 932cf2b5be1167013123c02324038db1be754f3c /app-misc | |
parent | 2ac9951255deef1b3b5ddcde3cbf9ffc425c38db (diff) |
added passwordless-upgrade and cleaning up skel+live
Diffstat (limited to 'app-misc')
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" +} |