parent
c0782cccf5
commit
5da345cd59
@ -0,0 +1 @@
|
||||
DIST gksu-polkit_0.0.3.orig.tar.gz 389610 SHA256 8253a390d91959013d782a9ac70459ffc7ca0245186ad4f35befb4b0bff62171 SHA512 72c739aacede1e49a92ce1df9e4c63535cc36d8b7cdb3d9b3ae0a4f0e4e7a91debfa9716369fb72918d76c4f52bd448367f7cdd92a37f8f360132adaf8962f85 WHIRLPOOL 1f74986388fed5e856707cf96a7c5de0d36980578f9a5ef3a68a70d38ec832946685264685af0a2f7dfaa1d6de1f9c1ec50e51491133c96794d3dc2495face43
|
@ -0,0 +1,33 @@
|
||||
From a201686e3f03c6eade379f4ac9b4ce8b4a79aa5e Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Wed, 12 Sep 2012 07:03:27 -0400
|
||||
Subject: [PATCH] Use auth_admin, not auth_self
|
||||
|
||||
To execute a program as root, the user needs to authenticate himself as
|
||||
an administrator. Allowing any non-administrative user to run any
|
||||
program as root just by entering his own password is completely
|
||||
unacceptable on shared machines.
|
||||
---
|
||||
data/org.gnome.gksu.policy | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/data/org.gnome.gksu.policy b/data/org.gnome.gksu.policy
|
||||
index ff0e418..ec8e463 100644
|
||||
--- a/data/org.gnome.gksu.policy
|
||||
+++ b/data/org.gnome.gksu.policy
|
||||
@@ -10,9 +10,9 @@
|
||||
<description>spawn</description>
|
||||
<message>System policy prevents executing a program with administration privileges</message>
|
||||
<defaults>
|
||||
- <allow_any>auth_self</allow_any>
|
||||
- <allow_inactive>auth_self</allow_inactive>
|
||||
- <allow_active>auth_self</allow_active>
|
||||
+ <allow_any>auth_admin</allow_any>
|
||||
+ <allow_inactive>auth_admin</allow_inactive>
|
||||
+ <allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
--
|
||||
1.7.12
|
||||
|
@ -0,0 +1,26 @@
|
||||
From be6dae6b928cf501507f16d65df8f4018723ce06 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Wed, 12 Sep 2012 07:40:40 -0400
|
||||
Subject: [PATCH] common/Makefile.am: fix libgksu_polkit_common_la_LDFLAGS
|
||||
|
||||
This prevents a linking error in libgksu-polkit-common.la
|
||||
---
|
||||
common/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/common/Makefile.am b/common/Makefile.am
|
||||
index 208389f..1d31be9 100644
|
||||
--- a/common/Makefile.am
|
||||
+++ b/common/Makefile.am
|
||||
@@ -31,7 +31,7 @@ libgksu_polkit_common_la_SOURCES = \
|
||||
gksu-marshal.c \
|
||||
gksu-marshal.h
|
||||
|
||||
-libgksu_polkit_common_la_LDFLAGS = ${GKSUPKLIB_CFLAGS}
|
||||
+libgksu_polkit_common_la_LDFLAGS = ${GKSUPKCOMMON_LIBS}
|
||||
|
||||
BUILT_SOURCES = \
|
||||
gksu-environment.c \
|
||||
--
|
||||
1.7.12
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/gksu-polkit/gksu-polkit-0.0.3.ebuild,v 1.1 2012/09/12 11:57:26 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Polkit-based library and application for running programs as root"
|
||||
HOMEPAGE="https://live.gnome.org/gksu"
|
||||
SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/dbus-glib
|
||||
>=dev-libs/glib-2.14:2
|
||||
>=dev-libs/libgee-0.5:0
|
||||
sys-auth/polkit
|
||||
>=x11-libs/gtk+-2.14:2
|
||||
x11-libs/startup-notification"
|
||||
DEPEND="${DEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# https://alioth.debian.org/tracker/index.php?func=detail&aid=313765&group_id=30351&atid=410861
|
||||
epatch "${FILESDIR}/${P}-auth_admin.patch"
|
||||
# https://alioth.debian.org/tracker/index.php?func=detail&aid=313766&group_id=30351&atid=410861
|
||||
epatch "${FILESDIR}/${P}-gksupkcommon-libs.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--with-dbus-sys="${EPREFIX}"/etc/dbus-1/system.d
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue