summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-04-16 22:13:31 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-04-16 22:13:31 +0000
commit1e0ee246bbd3bce269a38cae1489a1be55a85572 (patch)
treeab0174de51ec1706fc909e23b2ac1b8ee658c689 /app-admin
parentadd dev-tex/leaflet as the EAPI 3 branch now needs that (diff)
downloadgentoo-2-1e0ee246bbd3bce269a38cae1489a1be55a85572.tar.gz
gentoo-2-1e0ee246bbd3bce269a38cae1489a1be55a85572.tar.bz2
gentoo-2-1e0ee246bbd3bce269a38cae1489a1be55a85572.zip
Bump to 2.6.1.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/system-tools-backends/ChangeLog8
-rw-r--r--app-admin/system-tools-backends/system-tools-backends-2.6.1.ebuild83
2 files changed, 90 insertions, 1 deletions
diff --git a/app-admin/system-tools-backends/ChangeLog b/app-admin/system-tools-backends/ChangeLog
index 479cc1cb413d..4eb96deaddcc 100644
--- a/app-admin/system-tools-backends/ChangeLog
+++ b/app-admin/system-tools-backends/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/system-tools-backends
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.49 2009/04/09 22:45:30 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.50 2009/04/16 22:13:31 eva Exp $
+
+*system-tools-backends-2.6.1 (16 Apr 2009)
+
+ 16 Apr 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +system-tools-backends-2.6.1.ebuild:
+ Bump to 2.6.1.
*system-tools-backends-2.6.0-r2 (09 Apr 2009)
diff --git a/app-admin/system-tools-backends/system-tools-backends-2.6.1.ebuild b/app-admin/system-tools-backends/system-tools-backends-2.6.1.ebuild
new file mode 100644
index 000000000000..248970ea2887
--- /dev/null
+++ b/app-admin/system-tools-backends/system-tools-backends-2.6.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 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.6.1.ebuild,v 1.1 2009/04/16 22:13:31 eva Exp $
+
+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="~amd64 ~x86"
+IUSE="policykit"
+
+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
+ policykit? ( >=sys-auth/policykit-0.5 )
+ 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} $(use_enable policykit polkit)"
+
+ enewgroup stb-admin || die "Failed to create stb-admin group"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix a typo in services
+ epatch "${FILESDIR}/${PN}-2.6.0-services.patch"
+
+ # Fix a distro detection in users to use proper variant
+ # of useradd
+ epatch "${FILESDIR}/${PN}-2.6.0-users.patch"
+
+ # Fix automagic policykit dependency
+ epatch "${FILESDIR}/${PN}-2.6.0-automagic-polkit.patch"
+
+ # Fix service handling
+ epatch "${FILESDIR}/${PN}-2.6.0-handle-services.patch"
+
+ # Clean up pid file
+ epatch "${FILESDIR}/${PN}-2.6.0-cleanup-pid-file.patch"
+
+ # Change default permission, only people in stb-admin is allowed
+ # to speak to the dispatcher.
+ epatch "${FILESDIR}/${PN}-2.6.0-default-permissions.patch"
+
+ # Apply fix from ubuntu for CVE 2008 4311
+ epatch "${FILESDIR}/${PN}-2.6.0-cve-2008-4311.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+src_compile() {
+ # Autotools insanity, localstatedir gets set to /usr/local/var by default
+ gnome2_src_compile --localstatedir="${ROOT}"/var
+}
+
+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
+}