summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gnome-system-tools/ChangeLog10
-rw-r--r--app-admin/gnome-system-tools/Manifest15
-rw-r--r--app-admin/gnome-system-tools/files/gnome-system-tools-2.22.1-automagic-polkit.patch32
-rw-r--r--app-admin/gnome-system-tools/gnome-system-tools-2.22.1-r1.ebuild (renamed from app-admin/gnome-system-tools/gnome-system-tools-2.22.0.ebuild)27
-rw-r--r--app-admin/gnome-system-tools/gnome-system-tools-2.22.1.ebuild40
-rw-r--r--app-admin/gnome-system-tools/metadata.xml2
-rw-r--r--app-admin/system-tools-backends/Manifest19
7 files changed, 81 insertions, 64 deletions
diff --git a/app-admin/gnome-system-tools/ChangeLog b/app-admin/gnome-system-tools/ChangeLog
index 46d1d39de30d..5d1be612c6c3 100644
--- a/app-admin/gnome-system-tools/ChangeLog
+++ b/app-admin/gnome-system-tools/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/gnome-system-tools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/ChangeLog,v 1.81 2008/09/27 17:12:33 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/ChangeLog,v 1.82 2008/10/13 21:26:52 eva Exp $
+
+*gnome-system-tools-2.22.1-r1 (13 Oct 2008)
+
+ 13 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/gnome-system-tools-2.22.1-automagic-polkit.patch,
+ -gnome-system-tools-2.22.0.ebuild, -gnome-system-tools-2.22.1.ebuild,
+ +gnome-system-tools-2.22.1-r1.ebuild, metadata.xml:
+ bump to 2.22.1-r1, fix automagic policykit dependency.
*gnome-system-tools-2.22.1 (27 Sep 2008)
diff --git a/app-admin/gnome-system-tools/Manifest b/app-admin/gnome-system-tools/Manifest
index 9db3041b0870..c33b0d787778 100644
--- a/app-admin/gnome-system-tools/Manifest
+++ b/app-admin/gnome-system-tools/Manifest
@@ -4,20 +4,19 @@ Hash: SHA1
AUX gnome-system-tools-2.14.0-ALL_LINGUAS.patch 879 RMD160 ddf92cd90f134cf04c4566af4854f089141c7a1f SHA1 30ed7945344ea778173054919f4326dbc7fbf0d4 SHA256 a08f85690387aba07c29c98e9d6fd12d05e5532ad08854e9a3ffcfaa0fd1d360
AUX gnome-system-tools-2.14.0-as-needed.patch 651 RMD160 2034a8d2e1032433d46102ac276323d8146b201f SHA1 43a16f5efd5c96d942b95b0a3c96ce3a7672f614 SHA256 6d51c42496d1655af47ee59aca8f99eeed1f9bbfa68fe302746a269540e09368
AUX gnome-system-tools-2.14.0-doc.patch 1485 RMD160 0ea5ee70c11b5431c783e7636920b026f180a658 SHA1 1f7a52a57ec0ce5e421986335df9814ea8912236 SHA256 0db52371155882a52647db9ba35775a4db09b99414aae3bb1d7f5c5acf2276d1
+AUX gnome-system-tools-2.22.1-automagic-polkit.patch 1048 RMD160 3f6c3cfc8d1e06ae82c469c61b8c1608f8c11474 SHA1 2288b5d58d516428ac9cd480a85f905fbd6f7009 SHA256 36e147b3179d606b5bc431f1ff9fa159ab48e98536c65e91d1e4730b9459718f
DIST gnome-system-tools-2.14.0.tar.bz2 2120911 RMD160 f45ef3ed63622de4fa9f4a7f973abc2228b7ed4d SHA1 dd9eedc0884b0250335e26b656f15d5d49a2ecb1 SHA256 39f37363001b1cc2f5d2f5d2d7024a7a36e7dd227862b1dd9ce8c3325157ea7c
DIST gnome-system-tools-2.20.0.tar.bz2 3226583 RMD160 25280c4195ebcb39ebcb5558be9211718db1732c SHA1 757d37239cdb62ce9a389bb672bc3cdde5b657ee SHA256 5635b305322ee4d1e2dddd3a9b9f4b29f195663f4c51e77428f81f6bbd325581
-DIST gnome-system-tools-2.22.0.tar.bz2 3441541 RMD160 aaa3c07cec13734d7c7a96facf234c0a48938581 SHA1 780a7e03d4245bba1c102c59e84b4d23d7022f8d SHA256 57c348458efdf34118bc46102e2389cf32172f22e3429bb959a81a773ade56b9
DIST gnome-system-tools-2.22.1.tar.bz2 3963700 RMD160 55d6f4cc2053d676e554c7502b3d89ae362d907d SHA1 11dd2ed621deecd7a381e41c95064ca5b3201832 SHA256 c3d02612457318b7d879d634219a5126dd37861089650554ad49736a9f5ecf57
EBUILD gnome-system-tools-2.14.0.ebuild 1490 RMD160 e77bbef37824d80d32bf1b57ca38509b9ee64706 SHA1 7fb82dab18bd4e17be3f3fd630cef997a64d8d85 SHA256 5ee8f21eb51c19b7d74c01a04a12b98f7433801e0f072a4d7019e6364bb3c4a1
EBUILD gnome-system-tools-2.20.0.ebuild 942 RMD160 f419a45e4076502efc69f369adfaae6f330724ab SHA1 0ab547b9cad3b61a024b0ecb4c3efc59c299a227 SHA256 af28176cb2af5e156709459a29b13bbc77c3976de64440017d1620c04fa00889
-EBUILD gnome-system-tools-2.22.0.ebuild 1024 RMD160 91a6581a1caff83d3199f9c9113619129d5c8bd2 SHA1 7e7378469bea4b49eed79f8fefc1b45112868524 SHA256 8950fa89094f20534831a2e115a35d37062dac2b4f291efdf002c13a36d5f4e3
-EBUILD gnome-system-tools-2.22.1.ebuild 1024 RMD160 678697bba92ec121bc970dba65161e707c7dc61c SHA1 6d9c0cdaa10d0f712f0f2b43d48dc197deeda97d SHA256 0c395a325f929a10ffd06ce5766af8055843eb2efd5647e1d1d242097fe12450
-MISC ChangeLog 11063 RMD160 1145708bf75e6a34626628837cffbd8a568cd36a SHA1 e48855aaa80178b3cb9009732a83368214be5965 SHA256 bb2227aa7e05f987216f4ea95d44f07f6b3d8fb864254be07b22a75625a2405d
-MISC metadata.xml 559 RMD160 09d36cd55cb4bb7f1711a22f82103fb0c27f2276 SHA1 bfeb976aa50497b3cf362c128a34ea29ffff3598 SHA256 98e5777fa16d14176861c310f5024918c3ea55365bc05865537a02f370277b17
+EBUILD gnome-system-tools-2.22.1-r1.ebuild 1464 RMD160 8611f0d3adfa09f88db42060c0d6eaddd280e469 SHA1 76980c0567f131bb3b3ce248ca101b6bf39eadc5 SHA256 a571ca5682a99cf3f975b9b313315f92c79c8d7e3d261419df7b5a3d93a2a262
+MISC ChangeLog 11405 RMD160 6ce6e7073d4e553fd2c2f7bcfc364caa3e0a0dbd SHA1 b092e2d0bf71dc6d8d90a1a2f893bb9f5b346864 SHA256 9da2f708452bf134de8896b2aa6bfdbe81d1a30a30fd45406d79751674acc86e
+MISC metadata.xml 678 RMD160 046ed82cccaa6010911613df2f79c17d792e79d6 SHA1 1a0494f4b1cf31432dde8d5d855d2ed1874a6783 SHA256 0294a0b40903af230a3eb79115d33770f55adf0c599a9f375a6d394a12866455
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjeaYgACgkQ1fmVwcYIWAY64ACgmNIRCjiIx0FHmi3+qrJVlo/l
-Xa0AnAgO4p7CP3qc/cxoWTmpW+IWLfu7
-=j77r
+iEYEARECAAYFAkjzvV0ACgkQ1fmVwcYIWAZ5SgCgwXLD0PuSJoseRBdd65DAZ7Bg
+VOUAoJOm7uh9o8w3YKz4O4gFFTm+8PKo
+=zGju
-----END PGP SIGNATURE-----
diff --git a/app-admin/gnome-system-tools/files/gnome-system-tools-2.22.1-automagic-polkit.patch b/app-admin/gnome-system-tools/files/gnome-system-tools-2.22.1-automagic-polkit.patch
new file mode 100644
index 000000000000..9c96c1c075bc
--- /dev/null
+++ b/app-admin/gnome-system-tools/files/gnome-system-tools-2.22.1-automagic-polkit.patch
@@ -0,0 +1,32 @@
+--- configure.in.old 2008-10-13 23:08:18.000000000 +0200
++++ configure.in 2008-10-13 23:10:46.000000000 +0200
+@@ -1,4 +1,4 @@
+-AC_PREREQ(2.52)
++AC_PREREQ(2.60)
+ AC_INIT(gnome-system-tools, 2.22.1, http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-system-tools)
+ AC_CONFIG_SRCDIR(src/common/gst-tool.c)
+ AC_CONFIG_MACRO_DIR([m4])
+@@ -88,10 +88,20 @@
+ AC_SUBST(DBUS_LIBS)
+ AC_SUBST(DBUS_CFLAGS)
+
+-PKG_CHECK_MODULES(POLKIT, polkit-dbus >= $POLICYKIT_REQUIRED, have_polkit=yes, have_polkit=no)
++dnl Policykit support
+
+-if test "$have_polkit" = "yes"; then
+- AC_DEFINE(HAVE_POLKIT, [1], [whether PolKit was found])
++have_polkit=no
++AC_ARG_ENABLE(polkit,
++ AS_HELP_STRING([--enable-polkit],[Enable policykit support]))
++
++if test "x$enable_polkit" = "xyes"; then
++ PKG_CHECK_MODULES(POLKIT, polkit-dbus >= $POLICYKIT_REQUIRED, have_polkit=yes)
++
++ if test "$have_polkit" = "yes"; then
++ AC_DEFINE(HAVE_POLKIT, [1], [whether PolKit was found])
++ else
++ AC_MSG_ERROR([Policykit support requested but not found])
++ fi
+ fi
+
+ AC_SUBST(POLKIT_LIBS)
diff --git a/app-admin/gnome-system-tools/gnome-system-tools-2.22.0.ebuild b/app-admin/gnome-system-tools/gnome-system-tools-2.22.1-r1.ebuild
index 85aa3e83f31f..43e16643fc24 100644
--- a/app-admin/gnome-system-tools/gnome-system-tools-2.22.0.ebuild
+++ b/app-admin/gnome-system-tools/gnome-system-tools-2.22.1-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/gnome-system-tools-2.22.0.ebuild,v 1.1 2008/03/26 00:14:44 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/gnome-system-tools-2.22.1-r1.ebuild,v 1.1 2008/10/13 21:26:52 eva Exp $
-inherit gnome2
+inherit autotools eutils gnome2
DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
HOMEPAGE="http://www.gnome.org/projects/gst/"
@@ -10,9 +10,7 @@ HOMEPAGE="http://www.gnome.org/projects/gst/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="nfs samba"
-
-# TODO: policykit seems to be an option but has no configure switch
+IUSE="nfs policykit samba"
RDEPEND="
>=dev-libs/liboobs-2.21.3
@@ -23,7 +21,8 @@ RDEPEND="
>=gnome-base/nautilus-2.9.90
sys-libs/cracklib
nfs? ( net-fs/nfs-utils )
- samba? ( >=net-fs/samba-3 )"
+ samba? ( >=net-fs/samba-3 )
+ policykit? ( >=sys-auth/policykit-0.5 )"
DEPEND="${RDEPEND}
app-text/scrollkeeper
@@ -34,7 +33,23 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable policykit polkit)"
+
if ! use nfs && ! use samba; then
G2CONF="${G2CONF} --disable-shares"
fi
+
+ if use policykit && ! built_with_use app-admin/system-tools-backends policykit; then
+ eerror "app-admin/system-tools-backends was not built with USE='policykit'"
+ die "Please rebuild app-admin/system-tools-backends with policykit support"
+ fi
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix automagic policykit detection
+ epatch "${FILESDIR}/${P}-automagic-polkit.patch"
+
+ eautoreconf
}
diff --git a/app-admin/gnome-system-tools/gnome-system-tools-2.22.1.ebuild b/app-admin/gnome-system-tools/gnome-system-tools-2.22.1.ebuild
deleted file mode 100644
index 8dcbcad027fe..000000000000
--- a/app-admin/gnome-system-tools/gnome-system-tools-2.22.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/gnome-system-tools-2.22.1.ebuild,v 1.1 2008/09/27 17:12:33 eva Exp $
-
-inherit 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="nfs samba"
-
-# TODO: policykit seems to be an option but has no configure switch
-
-RDEPEND="
- >=dev-libs/liboobs-2.21.3
- >=x11-libs/gtk+-2.11.3
- >=dev-libs/glib-2.15.2
- >=gnome-base/gconf-2.2
- dev-libs/dbus-glib
- >=gnome-base/nautilus-2.9.90
- sys-libs/cracklib
- nfs? ( net-fs/nfs-utils )
- samba? ( >=net-fs/samba-3 )"
-
-DEPEND="${RDEPEND}
- app-text/scrollkeeper
- >=app-text/gnome-doc-utils-0.3.2
- dev-util/pkgconfig
- >=dev-util/intltool-0.35.0"
-
-DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
-
-pkg_setup() {
- if ! use nfs && ! use samba; then
- G2CONF="${G2CONF} --disable-shares"
- fi
-}
diff --git a/app-admin/gnome-system-tools/metadata.xml b/app-admin/gnome-system-tools/metadata.xml
index 7e9348f30546..100755dc9012 100644
--- a/app-admin/gnome-system-tools/metadata.xml
+++ b/app-admin/gnome-system-tools/metadata.xml
@@ -11,5 +11,7 @@
</longdescription>
<use>
<flag name='nfs'>Adds support for NFS shares</flag>
+ <flag name='policykit'>Use <pkg>sys-auth/policykit</pkg> to gain
+ privileges to change configuration files</flag>
</use>
</pkgmetadata>
diff --git a/app-admin/system-tools-backends/Manifest b/app-admin/system-tools-backends/Manifest
index b752d68100ec..d04d51e186a3 100644
--- a/app-admin/system-tools-backends/Manifest
+++ b/app-admin/system-tools-backends/Manifest
@@ -3,20 +3,21 @@ Hash: SHA1
AUX stb.rc 529 RMD160 8378ce813af19a62de5407fa9eb21c149bf5afd5 SHA1 009e778c5ec5d8a7204442e449f22db98f552d4d SHA256 a751a6cfa927f61caf3d647c1cb905fcb52718984e3dd5ecdae484109f7f309d
AUX system-tools-backends-2.4.1-baselayout2.patch 795 RMD160 f26579d9aca0ce005a979b2a11ed438ccaa28035 SHA1 4901b18d4b29a79cbe622a07c3b955d95ff41cdc SHA256 7b08c56248acb22ab9d44d31d2f28aebc0f3c081f0c6bcb0b0c42fcee506a0e3
+AUX system-tools-backends-2.6.0-automagic-polkit.patch 1073 RMD160 aa1dd5b1a9efed90b97681941b634ee777c8d55d SHA1 20b0cfdfb6c929ec5447e9f0d34ca9cfbb986c6d SHA256 78f425a95c2b7417056d89c45077bdc55e18953745b0e623e1192fbc9ed398cd
+AUX system-tools-backends-2.6.0-services.patch 474 RMD160 ebfda51db2af08189f186a4e59a32d49d26ef559 SHA1 96f8bc96e0ae35a7384bb5d6eb21b4bc1ebcd63f SHA256 57faa684686cff11b41cc64da02613dbb9d4ab6541881e6639bfee1806b75a69
+AUX system-tools-backends-2.6.0-users.patch 615 RMD160 80fa489017b7c13b3e8f45ffc511ebcc826c01b0 SHA1 f522de3ab109e9e04b9ef12a0b15fa0be829e284 SHA256 2442a171debd600c949ed5d95660bf4d3045617e035b857b4c7665f0cd792cca
DIST system-tools-backends-1.4.2.tar.bz2 708733 RMD160 00fd27b4dc886a7e4a735d48d241f0035af4f80e SHA1 b047c30fdc5635c048f1509a5c0d4130c83cbe5a SHA256 32762567ece8c0ab59dc1b2186ee8cfeac6d1f92574dfb3011483431135d8940
-DIST system-tools-backends-2.4.1.tar.bz2 411012 RMD160 e4ac3486efbb1bc3f991116d360a72f3899f389d SHA1 bdd7a295c4b265173861e88deb7b12104dde76a2 SHA256 c0aea44c58d32870b429337751bf3f41cd471b8c8849a373c46999fd63d583e8
DIST system-tools-backends-2.4.2.tar.bz2 410694 RMD160 1b7cf45b46abbb4d10d817119634c2555a525135 SHA1 afc96523614e63950c42fa8d1b5d1aadb4a06a00 SHA256 b6cd9aca509eef3b744bc99d116f4ce127ad7d9a0016d911b5f00758a0d3c63a
DIST system-tools-backends-2.6.0.tar.bz2 421806 RMD160 6e21e945f3863726f02e665eb0c31512d9b7c021 SHA1 6be9e8c4f8f62e8be363ffb39831901c9a7981f7 SHA256 5c35820a7a3d7fc3af5c6e3ce7c7529359809e486fdafecb68601ac4d2bfa6f0
EBUILD system-tools-backends-1.4.2-r1.ebuild 852 RMD160 43a2b6a1d2b31baa9b2a14fb7535a81bcfc582f8 SHA1 f8775ffc1c33b234e35546094dff3cac766e0b6e SHA256 84badb6c466c76368b2d20bfc12cb93a807c94812071882c3146b9f308e12e06
-EBUILD system-tools-backends-2.4.1-r1.ebuild 1449 RMD160 a4736a644ab3a5ce28d60d2cf5fe886fd04e9243 SHA1 03c26d42c8baa6e08ddccd80dffed0af1f958b35 SHA256 17f877f73affbf951aff43f80508474d8d323c8861e7c37ec39c362f0fd09a5b
EBUILD system-tools-backends-2.4.2.ebuild 1453 RMD160 de9a9a6ddbe4b2da16745fcf92a10e380a2bbf5e SHA1 4d2a4df16c3ed30cc1050d38e650b42166a51426 SHA256 71596b281c98a9f4e1a947d1534cef7da93b8c563606a99026782aa58d388bc5
-EBUILD system-tools-backends-2.6.0.ebuild 1502 RMD160 50ff9a71118ebc22488cc6ea6c57bfbc5956bf4a SHA1 a78fef9f576954a2339d579d379710f9b41e081e SHA256 36e49ef5cb40ebd72564f825fcf3d34150335246f6ebbfd632138b330995e9eb
-MISC ChangeLog 6719 RMD160 e6cfb2140134a715ede235e7147f1ab292e253d7 SHA1 fd2dcffd228e0625e92889c335b1e98bcc83586a SHA256 e1950c710f3a176938ad9a99ff032fad5576e62125e852c4bafc9e1bb43023e4
-MISC metadata.xml 431 RMD160 6ceb37bd78e80dae594a43df24454f9b7158b8cf SHA1 d6c96e824123da71c122454ea9bde33fd534d707 SHA256 d2d8aabc6f83fa9c99ee3fc37f781d917424cfbcbdf4a37dda60522072cf2c5b
+EBUILD system-tools-backends-2.6.0-r1.ebuild 1938 RMD160 f0618f083f90a3e859e9a2a8a5847915f67809d9 SHA1 c4fa0824e60558ad5052999f198d4dbe5d5d01d4 SHA256 6f7a3c56c7c2825d4ce9e207c9a0e0bc9b561f14a2d40a0ce4c738a1cecd0fa1
+MISC ChangeLog 7243 RMD160 97800b078a91ad8b50be980ddbc48fa2027ded3f SHA1 a4ba8e4bf5a828c8a40e138a28d4e7358975dc37 SHA256 98151c22bb6bd959e2c06fc6f47966d99b8a74c4e8179885eeb14ab987275c1f
+MISC metadata.xml 559 RMD160 143a946df38c5d0095722d5cddbcb11f68063c0b SHA1 886deef54679de98d9b5eb47e30b9252c654b6f3 SHA256 470dd48b7988000b39056ccfc6382a25bd18d39d2fcca4acf400631be13be462
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH5lU+1fmVwcYIWAYRAlKKAKChUGzpqnJMeQDs2G40IXEBoQsOFgCg5U6H
-c8nlyt05oAMGdU9U0H+l+W0=
-=EmLF
+iEYEARECAAYFAkjzvV0ACgkQ1fmVwcYIWAbtIQCdFdgoDbb7zIexPwLWCfnQmUnL
+0e0AoJBBMkX4PuSJjqctYF9vcsmGG2oz
+=C9ZH
-----END PGP SIGNATURE-----