new minimal getty
authorSeemant Kulleen <seemant@gentoo.org>
Wed, 6 Nov 2002 04:23:05 +0000 (04:23 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Wed, 6 Nov 2002 04:23:05 +0000 (04:23 +0000)
net-dialup/mingetty/ChangeLog [new file with mode: 0644]
net-dialup/mingetty/files/digest-mingetty-1.00 [new file with mode: 0644]
net-dialup/mingetty/mingetty-1.00.ebuild [new file with mode: 0644]

diff --git a/net-dialup/mingetty/ChangeLog b/net-dialup/mingetty/ChangeLog
new file mode 100644 (file)
index 0000000..170d832
--- /dev/null
@@ -0,0 +1,13 @@
+# 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.
diff --git a/net-dialup/mingetty/files/digest-mingetty-1.00 b/net-dialup/mingetty/files/digest-mingetty-1.00
new file mode 100644 (file)
index 0000000..8a41c91
--- /dev/null
@@ -0,0 +1 @@
+MD5 b114ac572861e9be60a7d495dfb3561b mingetty-1.00-1.src.rpm 19064
diff --git a/net-dialup/mingetty/mingetty-1.00.ebuild b/net-dialup/mingetty/mingetty-1.00.ebuild
new file mode 100644 (file)
index 0000000..0a1f03d
--- /dev/null
@@ -0,0 +1,31 @@
+# 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
+}