--- /usr/portage/sys-libs/libutempter/libutempter-1.1.4.1.ebuild 2006-10-14 22:06:36.000000000 +0200 +++ /usr/local/portage/sys-libs/libutempter/libutempter-1.1.4.1.ebuild 2007-02-17 10:46:27.000000000 +0100 @@ -2,14 +2,20 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.15 2006/10/14 19:58:23 kloeri Exp $ -inherit rpm eutils flag-o-matic versionator toolchain-funcs +inherit eutils flag-o-matic versionator toolchain-funcs -MY_P=${PN}-$(replace_version_separator 3 '-alt') +# As the original 1.1.4.1 ebuild used libutempter-1.1.4-alt1.src.rpm, +# this ebuild has a four part version number. +# However the tarballs only have a three part version. +# So all this magic here is only so that users won't have to rebuild their +# correct 1.1.4.1 installation and should be dropped with the next release +# in favour of a simple three part version number. +MY_P=${PN}-$(get_version_component_range 1-3) S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) -#PATCHVER="1" + DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access" HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter" -SRC_URI="ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/${MY_P}.src.rpm" +SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${MY_P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" @@ -21,8 +27,6 @@ PROVIDE="virtual/utempter" -PATCHDIR="${WORKDIR}/gentoo/patches" - pkg_setup() { enewgroup utmp 406 }