diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:39:44 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:39:44 +0000 |
commit | 9f495dacb31897e1dbd72347d838b4f872c9d6aa (patch) | |
tree | 8d572e9c8b2078ad14e5ec56433915782d1b0394 /app-admin | |
parent | A graphical interface for detecting and configuring soundcards (diff) | |
download | historical-9f495dacb31897e1dbd72347d838b4f872c9d6aa.tar.gz historical-9f495dacb31897e1dbd72347d838b4f872c9d6aa.tar.bz2 historical-9f495dacb31897e1dbd72347d838b4f872c9d6aa.zip |
A graphical interface for administering users and groups
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'app-admin')
5 files changed, 114 insertions, 0 deletions
diff --git a/app-admin/system-config-users/ChangeLog b/app-admin/system-config-users/ChangeLog new file mode 100644 index 000000000000..660675c772df --- /dev/null +++ b/app-admin/system-config-users/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-admin/system-config-users +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-users/ChangeLog,v 1.1 2006/09/05 21:39:44 dberkholz Exp $ + +*system-config-users-1.2.46 (05 Sep 2006) + + 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +files/1.2.46-remove-rpm-use.patch, +metadata.xml, + +system-config-users-1.2.46.ebuild: + A graphical interface for administering users and groups + diff --git a/app-admin/system-config-users/files/1.2.46-remove-rpm-use.patch b/app-admin/system-config-users/files/1.2.46-remove-rpm-use.patch new file mode 100644 index 000000000000..676c79591c25 --- /dev/null +++ b/app-admin/system-config-users/files/1.2.46-remove-rpm-use.patch @@ -0,0 +1,48 @@ +Index: src/mainWindow.py +=================================================================== +RCS file: /usr/local/CVS/redhat-config-users/src/mainWindow.py,v +retrieving revision 1.118 +diff -u -b -B -r1.118 mainWindow.py +--- src/mainWindow.py 13 Jul 2006 17:19:04 -0000 1.118 ++++ src/mainWindow.py 4 Sep 2006 06:19:06 -0000 +@@ -26,7 +26,6 @@ + import sys + import time + import os +-import rpm + + import libuser + +@@ -607,9 +606,6 @@ + dlg.run () + dlg.destroy () + return +- ts = rpm.TransactionSet () +- if ts.dbMatch ("basenames", homeDir).count () > 0 or ts.dbMatch ("basenames", os.path.abspath (homeDir)).count () > 0 or ts.dbMatch ("basenames", os.path.realpath (homeDir)).count () > 0: +- errMsgs.append (_("- An installed software package contains this directory.")) + if uid < 500 or (user == "nfsnobody" and (long (uid) == 65534L or long (uid) == 4294967294L)): + errMsgs.append (_("- A system user owns this directory and removing it may impair the system's integrity.")) + if not os.access(homeDir, os.W_OK): +@@ -856,21 +852,12 @@ + self.on_properties_activate() + + def isSELinuxInstalled(self): +- ts = rpm.TransactionSet() +- +- mi = ts.dbMatch('name', 'policy-sources') +- if mi.count() > 0: +- return 1 +- return 0 ++ return self.isSELinuxEnabled() + + def isSELinuxEnabled(self): +- if self.isSELinuxInstalled(): + if os.system("/usr/bin/selinuxenabled") > 0: + #it's enabled, return 1 + return 1 + else: + #it's installed, but not enabled + return 0 +- else: +- #not installed +- return 0 diff --git a/app-admin/system-config-users/files/digest-system-config-users-1.2.46 b/app-admin/system-config-users/files/digest-system-config-users-1.2.46 new file mode 100644 index 000000000000..3d39a6a99f6b --- /dev/null +++ b/app-admin/system-config-users/files/digest-system-config-users-1.2.46 @@ -0,0 +1,3 @@ +MD5 549f01d76e36c5f48031c020aa74303c system-config-users-1.2.46-1.fc6.src.rpm 289754 +RMD160 29ea89df633af60e087c1545e0872ef4d9e5b017 system-config-users-1.2.46-1.fc6.src.rpm 289754 +SHA256 79e24cc897cdf35fa3d5b4cf3f996a27a346a488f3ded886ff35962b13517389 system-config-users-1.2.46-1.fc6.src.rpm 289754 diff --git a/app-admin/system-config-users/metadata.xml b/app-admin/system-config-users/metadata.xml new file mode 100644 index 000000000000..cd89a979878d --- /dev/null +++ b/app-admin/system-config-users/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>dberkholz@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> diff --git a/app-admin/system-config-users/system-config-users-1.2.46.ebuild b/app-admin/system-config-users/system-config-users-1.2.46.ebuild new file mode 100644 index 000000000000..7ad6f46b2177 --- /dev/null +++ b/app-admin/system-config-users/system-config-users-1.2.46.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-users/system-config-users-1.2.46.ebuild,v 1.1 2006/09/05 21:39:44 dberkholz Exp $ + +inherit eutils rpm + +# Tag for which Fedora Core version it's from +FCVER="6" +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="A graphical interface for administering users and groups" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.fc${FCVER}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="=dev-python/pygtk-2* + >=x11-libs/gtk+-2.6 + dev-lang/python + sys-apps/usermode + www-client/htmlview + dev-python/rhpl + x11-themes/hicolor-icon-theme" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool" + +src_unpack() { + rpm_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${PV}-remove-rpm-use.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + make_desktop_entry /usr/bin/${PN} + + fperms 644 /etc/pam.d/${PN} +} |