--- /dev/null
+# ChangeLog for net-dialup/mingetty
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/ChangeLog,v 1.1 2002/11/06 04:23:05 seemant Exp $
+
+*mingetty-1.00 (05 Nov 2002)
+
+ 05 Nov 2002; Seemant Kulleen <seemant@gentoo.org> mingetty-1.00.ebuild
+ ChangeLog files/digest-mingetty-1.00 :
+
+ This is a minimal getty for virtual consoles only, as used by RedHat,
+ Mandrake, etc. The SRC_URI points to a src.rpm from Redhat, which is why
+ rpm2targz was made a dependency of this. Ebuild submission by:
+ ian@abbott.org (Ian Abbott) in bug #7382.
--- /dev/null
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/mingetty-1.00.ebuild,v 1.1 2002/11/06 04:23:05 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A compact getty program for virtual consoles only."
+SRC_URI="ftp://ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/SRPMS/${P}-1.src.rpm"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="app-arch/rpm2targz"
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+ rpm2targz ${DISTDIR}/${P}-1.src.rpm
+ tar zxf ${WORKDIR}/${P}-1.src.tar.gz
+ tar zxf ${WORKDIR}/${P}.tar.gz
+ patch -p0 < ${P}-opt.patch || die
+}
+
+src_compile() {
+ emake RPM_OPTS="${CFLAGS}" || die
+}
+
+src_install () {
+ into /
+ dosbin mingetty
+ doman mingetty.8
+}