------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST libutempter-1.1.2-alt1.src.rpm 20125 RMD160 084e82c6a7f8b08f35534e5e8dc3e766cc88a098 SHA1 eb4c425ad736564d429f0d90bc9effdefd8b45f0 SHA256 918e4b02fe0fb6cf31d3de1c9867e1df0935ee6a5d011d26192db6f1d89a93f6
+DIST libutempter-1.1.4-alt1.src.rpm 22109 RMD160 c93eba3195887e246ff0906b1613d7e2b3a7b4f6 SHA1 741c346c047651b84476bb39f264f0fc10e1b2e8 SHA256 a3f5cbad47665305e335424a6fbfefb702b58ab5592e4069c75040dde6a7b320
DIST libutempter-patches-1.tar.bz2 1968 RMD160 bb64e7d1b28c0fe235e61a9a79a554af8ca4b9fe SHA1 cf47ad2390d86cbe38b0de9a6055a437a9996793 SHA256 3acea214f5773f3cc842c1e1b716e6f1808edc9a8cdfa60cb4909b9eac17795c
EBUILD libutempter-1.1.2.1.ebuild 1927 RMD160 7a28d62f265ddd80739b319422ab0516c5e53404 SHA1 1e0a16220ef77a5193bac2cf0ca69c897aef9a17 SHA256 3ea417216da0bfceffcae0ba912a8e426d171cefae3ab2234aebefb897df20c0
MD5 829cc6152add38f5946059c49be7bc4e libutempter-1.1.2.1.ebuild 1927
RMD160 7a28d62f265ddd80739b319422ab0516c5e53404 libutempter-1.1.2.1.ebuild 1927
SHA256 3ea417216da0bfceffcae0ba912a8e426d171cefae3ab2234aebefb897df20c0 libutempter-1.1.2.1.ebuild 1927
+EBUILD libutempter-1.1.4.1.ebuild 1852 RMD160 9e5c3998ddaa49a191d7171594b5e9f7b426a6e7 SHA1 0f7e85f8e275a86e6850fc99d152b40d38cc409d SHA256 5058c78761beec443bb9932e91fb54570693c877098f8295e7b5b7bd992c34c8
+MD5 1bc5f1db809b33b561d7c725ae45a6eb libutempter-1.1.4.1.ebuild 1852
+RMD160 9e5c3998ddaa49a191d7171594b5e9f7b426a6e7 libutempter-1.1.4.1.ebuild 1852
+SHA256 5058c78761beec443bb9932e91fb54570693c877098f8295e7b5b7bd992c34c8 libutempter-1.1.4.1.ebuild 1852
MISC ChangeLog 1640 RMD160 c6ef480bfe1b4798d5c5390b7be872585f774b68 SHA1 c1cc15d7055caeddd7738fb4b2bd87de04307cf0 SHA256 8464109c2bacc77529dc94bbf26d58d451c8af57979277e27bceeb74d2da64c5
MD5 006b86f2ed6d590e6f6172f3ce5b2e25 ChangeLog 1640
RMD160 c6ef480bfe1b4798d5c5390b7be872585f774b68 ChangeLog 1640
MD5 02635791f19c1efe84e3a763c513092a files/digest-libutempter-1.1.2.1 530
RMD160 a2278148ab0e0dfe52a280497211329d3d98b762 files/digest-libutempter-1.1.2.1 530
SHA256 15cb631ee02ceb4784384530618103ed952857a2ee62a90ca4dc78cff86c439a files/digest-libutempter-1.1.2.1 530
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEdMlfAiZjviIA2XgRAg2YAKCGE/w1I3hiqs2awWQ9j0S25TMTigCdF7+W
-MtaKy2gPCke5/3fAZEkn/5E=
-=E5/b
------END PGP SIGNATURE-----
+MD5 d44fe6ef0a492fdf1a7c0f0c89eff4ce files/digest-libutempter-1.1.4.1 268
+RMD160 0f3aea659b39cf8eedae0ed426890efa694168fa files/digest-libutempter-1.1.4.1 268
+SHA256 c53db45f500c7342cb9a1dd72638a28f4a20271dc426793bfe84e8477d46baeb files/digest-libutempter-1.1.4.1 268
--- /dev/null
+MD5 0056192bf0624ba621cae0b7c12375a8 libutempter-1.1.4-alt1.src.rpm 22109
+RMD160 c93eba3195887e246ff0906b1613d7e2b3a7b4f6 libutempter-1.1.4-alt1.src.rpm 22109
+SHA256 a3f5cbad47665305e335424a6fbfefb702b58ab5592e4069c75040dde6a7b320 libutempter-1.1.4-alt1.src.rpm 22109
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# 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.1 2006/06/06 20:59:57 seemant Exp $
+
+inherit rpm eutils flag-o-matic versionator toolchain-funcs
+
+MY_P=${PN}-$(replace_version_separator 3 '-alt')
+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"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="!virtual/utempter"
+PROVIDE="virtual/utempter"
+
+PATCHDIR="${WORKDIR}/gentoo/patches"
+
+pkg_setup() {
+ enewgroup utmp 406
+}
+
+src_unpack() {
+ unpack ${A}
+ rpm_src_unpack
+ cd "${S}"
+
+# if [[ ${CHOST} == *-freebsd* ]] ; then
+# epatch ${PATCHDIR}/freebsd
+# fi
+}
+
+src_compile() {
+ make \
+ CC="$(tc-getCC)" \
+ RPM_OPT_FLAGS="${CFLAGS}" \
+ libdir=/usr/$(get_libdir) \
+ libexecdir=/usr/$(get_libdir)/misc || die
+}
+
+src_install() {
+ make \
+ DESTDIR="${D}" \
+ libdir=/usr/$(get_libdir) \
+ libexecdir=/usr/$(get_libdir)/misc \
+ includedir=/usr/include \
+ install || die
+
+ fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
+ fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
+ dodir /usr/sbin
+ dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
+}
+
+
+pkg_postinst() {
+ if [ "${ROOT}" = "/" ]
+ then
+ if [ -f /var/log/wtmp ]
+ then
+ chown root:utmp /var/log/wtmp
+ chmod 664 /var/log/wtmp
+ fi
+
+ if [ -f /var/run/utmp ]
+ then
+ chown root:utmp /var/run/utmp
+ chmod 664 /var/run/utmp
+ fi
+ fi
+}