summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-06-16 16:42:08 +0000
committerPacho Ramos <pacho@gentoo.org>2010-06-16 16:42:08 +0000
commit8cd00794bb46e1839dc6a34da9d682a6dbe83fc8 (patch)
tree9cd4c6b35595749eb29478867767bf7951f36312 /app-admin/system-tools-backends
parentadd bug reference to keep track (diff)
downloadgentoo-2-8cd00794bb46e1839dc6a34da9d682a6dbe83fc8.tar.gz
gentoo-2-8cd00794bb46e1839dc6a34da9d682a6dbe83fc8.tar.bz2
gentoo-2-8cd00794bb46e1839dc6a34da9d682a6dbe83fc8.zip
Version bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/system-tools-backends')
-rw-r--r--app-admin/system-tools-backends/ChangeLog9
-rw-r--r--app-admin/system-tools-backends/system-tools-backends-2.10.0.ebuild66
2 files changed, 74 insertions, 1 deletions
diff --git a/app-admin/system-tools-backends/ChangeLog b/app-admin/system-tools-backends/ChangeLog
index 4444d0597b43..73d05592f526 100644
--- a/app-admin/system-tools-backends/ChangeLog
+++ b/app-admin/system-tools-backends/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/system-tools-backends
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.55 2010/05/31 21:10:54 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.56 2010/06/16 16:42:08 pacho Exp $
+
+*system-tools-backends-2.10.0 (16 Jun 2010)
+
+ 16 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+ +system-tools-backends-2.10.0.ebuild:
+ Version bump with lots of bugfixes, it now requires polkit
+ unconditionally.
31 May 2010; Gilles Dartiguelongue <eva@gentoo.org>
-files/system-tools-backends-2.6.0-1ubuntu1.1.patch,
diff --git a/app-admin/system-tools-backends/system-tools-backends-2.10.0.ebuild b/app-admin/system-tools-backends/system-tools-backends-2.10.0.ebuild
new file mode 100644
index 000000000000..bd98a8770263
--- /dev/null
+++ b/app-admin/system-tools-backends/system-tools-backends-2.10.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.10.0.ebuild,v 1.1 2010/06/16 16:42:08 pacho Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
+HOMEPAGE="http://www.gnome.org/projects/gst/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="!<app-admin/gnome-system-tools-1.1.91
+ >=sys-apps/dbus-1.1.2
+ >=dev-libs/dbus-glib-0.74
+ >=dev-libs/glib-2.15.2
+ >=dev-perl/Net-DBus-0.33.4
+ dev-lang/perl
+ >=sys-auth/polkit-0.94
+ userland_GNU? ( sys-apps/shadow )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.40"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --localstatedir=/var"
+
+ enewgroup stb-admin || die "Failed to create stb-admin group"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Change default permission, only people in stb-admin is allowed
+ # to speak to the dispatcher.
+ epatch "${FILESDIR}/${PN}-2.8.2-default-permissions.patch"
+
+ # Apply fix from ubuntu for CVE 2008 4311
+ epatch "${FILESDIR}/${PN}-2.8.2-cve-2008-4311.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+src_install() {
+ gnome2_src_install
+ newinitd "${FILESDIR}"/stb.rc system-tools-backends
+}
+
+pkg_postinst() {
+ echo
+ elog "You need to add yourself to the group stb-admin and"
+ elog "add system-tools-backends to the default runlevel."
+ elog "You can do this as root like so:"
+ elog " # rc-update add system-tools-backends default"
+ echo
+}