diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-10-30 16:58:41 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-10-30 16:58:41 +0000 |
commit | 9c7eaeb0f7ac789104b7a794c478b591ea80ee95 (patch) | |
tree | 7bf83b9362a294e22ba5b9f15b2626aec416d283 /sys-apps/usermode | |
parent | Version bump. Zero-day, take that for a change! (diff) | |
download | gentoo-2-9c7eaeb0f7ac789104b7a794c478b591ea80ee95.tar.gz gentoo-2-9c7eaeb0f7ac789104b7a794c478b591ea80ee95.tar.bz2 gentoo-2-9c7eaeb0f7ac789104b7a794c478b591ea80ee95.zip |
Bump. (#153395) desktop-file-utils-0.11 enforces valid categories, so sed out invalid ones.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'sys-apps/usermode')
-rw-r--r-- | sys-apps/usermode/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/usermode/files/digest-usermode-1.87 | 3 | ||||
-rw-r--r-- | sys-apps/usermode/usermode-1.87.ebuild | 66 |
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-apps/usermode/ChangeLog b/sys-apps/usermode/ChangeLog index 7c2a6b1c6d1d..b32676836a1b 100644 --- a/sys-apps/usermode/ChangeLog +++ b/sys-apps/usermode/ChangeLog @@ -1,6 +1,13 @@ # 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.1 2006/09/05 20:55:29 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode/ChangeLog,v 1.2 2006/10/30 16:58:41 dberkholz Exp $ + +*usermode-1.87 (30 Oct 2006) + + 30 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +usermode-1.87.ebuild: + Bump. (#153395) desktop-file-utils-0.11 enforces valid categories, so sed + out invalid ones. *usermode-1.86 (05 Sep 2006) diff --git a/sys-apps/usermode/files/digest-usermode-1.87 b/sys-apps/usermode/files/digest-usermode-1.87 new file mode 100644 index 000000000000..1a9e4905534a --- /dev/null +++ b/sys-apps/usermode/files/digest-usermode-1.87 @@ -0,0 +1,3 @@ +MD5 232151b4853261367cfab45aab1acd53 usermode-1.87-3.src.rpm 447955 +RMD160 950769a5fcf8102be9619bb273b3be5b17900696 usermode-1.87-3.src.rpm 447955 +SHA256 3e9165675d604f58d604efbfcf51b32396248105ba64b285b48f819aea788902 usermode-1.87-3.src.rpm 447955 diff --git a/sys-apps/usermode/usermode-1.87.ebuild b/sys-apps/usermode/usermode-1.87.ebuild new file mode 100644 index 000000000000..777257ff9bf0 --- /dev/null +++ b/sys-apps/usermode/usermode-1.87.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode/usermode-1.87.ebuild,v 1.1 2006/10/30 16:58:41 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="3" + +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 +} |