diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-07-15 16:31:19 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-07-15 16:31:19 +0000 |
commit | 88197d2b55bf49e9846e96626020d5675bc5b456 (patch) | |
tree | 5a19125440697167a15aee0b67fd56862cce8dea /sys-apps | |
parent | Add ~alpha, thanks to Brian Evans for testing (diff) | |
download | gentoo-2-88197d2b55bf49e9846e96626020d5675bc5b456.tar.gz gentoo-2-88197d2b55bf49e9846e96626020d5675bc5b456.tar.bz2 gentoo-2-88197d2b55bf49e9846e96626020d5675bc5b456.zip |
Bump. Preserve app exit code, use less memory, don't use PAM data after free, support 'user', 'users', LABEL and UUID in usermount/userformat, add a dialog caption when changing password, fix GUI=no, preserve env vars in consolehelper if configured, fix non-UTF8 hangs, and more.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/usermode/ChangeLog | 13 | ||||
-rw-r--r-- | sys-apps/usermode/files/digest-usermode-1.92 | 3 | ||||
-rw-r--r-- | sys-apps/usermode/usermode-1.92.ebuild | 66 |
3 files changed, 80 insertions, 2 deletions
diff --git a/sys-apps/usermode/ChangeLog b/sys-apps/usermode/ChangeLog index b32676836a1b..d79d52d8a9df 100644 --- a/sys-apps/usermode/ChangeLog +++ b/sys-apps/usermode/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-apps/usermode -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode/ChangeLog,v 1.2 2006/10/30 16:58:41 dberkholz Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode/ChangeLog,v 1.3 2007/07/15 16:31:19 dberkholz Exp $ + +*usermode-1.92 (15 Jul 2007) + + 15 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +usermode-1.92.ebuild: + Bump. Preserve app exit code, use less memory, don't use PAM data after + free, support 'user', 'users', LABEL and UUID in usermount/userformat, add a + dialog caption when changing password, fix GUI=no, preserve env vars in + consolehelper if configured, fix non-UTF8 hangs, and more. *usermode-1.87 (30 Oct 2006) diff --git a/sys-apps/usermode/files/digest-usermode-1.92 b/sys-apps/usermode/files/digest-usermode-1.92 new file mode 100644 index 000000000000..8ee389575a7d --- /dev/null +++ b/sys-apps/usermode/files/digest-usermode-1.92 @@ -0,0 +1,3 @@ +MD5 6b2dfa6b60c55246fa10eb6aa49bbca3 usermode-1.92-1.src.rpm 373136 +RMD160 81231a161f2687c1a6577fac90ac13dc5d2b9455 usermode-1.92-1.src.rpm 373136 +SHA256 7dd2f681dc81c5c858cf4a3ceec6015024008a2180c37992bd82d0d878599778 usermode-1.92-1.src.rpm 373136 diff --git a/sys-apps/usermode/usermode-1.92.ebuild b/sys-apps/usermode/usermode-1.92.ebuild new file mode 100644 index 000000000000..e62eb91040a3 --- /dev/null +++ b/sys-apps/usermode/usermode-1.92.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode/usermode-1.92.ebuild,v 1.1 2007/07/15 16:31:19 dberkholz Exp $ + +inherit flag-o-matic rpm autotools + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="Tools for certain user account management tasks" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="debug selinux" +RDEPEND="=dev-libs/glib-2* + =x11-libs/gtk+-2* + =gnome-base/libglade-2* + sys-apps/attr + x11-libs/libSM + dev-util/desktop-file-utils + sys-libs/system-config-base + >=sys-libs/pam-0.75 + dev-perl/XML-Parser + sys-libs/libuser" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_unpack() { + rpm_src_unpack + cd "${S}" + + # Change vendor prefix of desktop file from redhat to gentoo + sed -i -e "s:^\(VENDOR=\).*:\1gentoo:g" Makefile.am + + # Invalid categories in desktop-file-utils-0.11 (#153395) + sed -i \ + -e "/AdvancedSettings/d" \ + -e "/Application/d" \ + -e "/X-Red-Hat-Base/d" \ + Makefile.am + + eautoreconf +} + +src_compile() { + append-ldflags -Wl,-z,now + + econf \ + $(use_with selinux) \ + $(use_enable debug) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # This needs to be suid, it's the main interface with suid-requiring stuff + fperms 4711 /usr/sbin/userhelper + + # Don't install a shutdown executable, it will be preferred over /sbin/ + rm "${D}"/usr/bin/shutdown +} |