summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-04 03:07:36 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-04 03:07:36 +0000
commit90b268803e8733b48c26b581dadc3de062edff60 (patch)
tree9b480d33c337c30b011bda931413db900e5a9c07 /sys-apps
parentDont use /usr/src/linux for headers #73198. (diff)
downloadhistorical-90b268803e8733b48c26b581dadc3de062edff60.tar.gz
historical-90b268803e8733b48c26b581dadc3de062edff60.tar.bz2
historical-90b268803e8733b48c26b581dadc3de062edff60.zip
initial import
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/showconsole/ChangeLog8
-rw-r--r--sys-apps/showconsole/Manifest15
-rw-r--r--sys-apps/showconsole/files/1.07-no-TIOCGDEV.patch27
-rw-r--r--sys-apps/showconsole/files/digest-showconsole-1.072
-rw-r--r--sys-apps/showconsole/metadata.xml5
-rw-r--r--sys-apps/showconsole/showconsole-1.07.ebuild37
6 files changed, 94 insertions, 0 deletions
diff --git a/sys-apps/showconsole/ChangeLog b/sys-apps/showconsole/ChangeLog
new file mode 100644
index 000000000000..607057d75d96
--- /dev/null
+++ b/sys-apps/showconsole/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sys-apps/showconsole
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/showconsole/ChangeLog,v 1.1 2004/12/04 03:07:36 vapier Exp $
+
+*showconsole-1.07 (03 Dec 2004)
+
+ 03 Dec 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/sys-apps/showconsole/Manifest b/sys-apps/showconsole/Manifest
new file mode 100644
index 000000000000..354755aebe90
--- /dev/null
+++ b/sys-apps/showconsole/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 1a235702a7ce6eba062e7dbea5b78aa6 ChangeLog 341
+MD5 6ebd7f2e8ea9fe64f3b19cf8f2193b66 showconsole-1.07.ebuild 899
+MD5 a081c5c8650672deda68728c8437c846 files/digest-showconsole-1.07 149
+MD5 34f6358be961e4385337135c2de859ef files/1.07-no-TIOCGDEV.patch 819
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBsSoNroRuSHgZdywRAvPNAJ954YQTp0hUp8mn9BerCsXRFZLJoACfa5Nl
+mEcaNqAEAq2VqxC/WLNJvz8=
+=oo9l
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/showconsole/files/1.07-no-TIOCGDEV.patch b/sys-apps/showconsole/files/1.07-no-TIOCGDEV.patch
new file mode 100644
index 000000000000..49a09cea2155
--- /dev/null
+++ b/sys-apps/showconsole/files/1.07-no-TIOCGDEV.patch
@@ -0,0 +1,27 @@
+--- showconsole-1.07/libconsole.c.orig 2004-12-03 21:57:24.507411240 -0500
++++ showconsole-1.07/libconsole.c 2004-12-03 21:59:26.820816776 -0500
+@@ -1021,13 +1021,8 @@
+ char * name = NULL;
+ DIR * dev;
+
+-#ifdef TIOCGDEV
++#define TIOCGDEV _IOR('T',0x32, unsigned int)
+ if (ioctl (0, TIOCGDEV, &tty) < 0) {
+- if (errno == EINVAL && !getenv("NOTIOCGDEV"))
+- warn("Warning: the ioctl TIOCGDEV is not known by the kernel\n");
+-#else
+-# error The ioctl TIOCGDEV is not defined (SuSE TIOCGDEV patch is missed)
+-#endif
+ if (!(name = ttyname(0)) || !strcmp(name, "/dev/console"))
+ tty = fallback(pid, ppid);
+ else {
+@@ -1036,9 +1031,7 @@
+ name = lnk;
+ goto out;
+ }
+-#ifdef TIOCGDEV
+ }
+-#endif
+
+ if (!(dev = opendir("/dev")))
+ error("can not opendir(/dev): %s\n", STRERR);
diff --git a/sys-apps/showconsole/files/digest-showconsole-1.07 b/sys-apps/showconsole/files/digest-showconsole-1.07
new file mode 100644
index 000000000000..623cf85d98ae
--- /dev/null
+++ b/sys-apps/showconsole/files/digest-showconsole-1.07
@@ -0,0 +1,2 @@
+MD5 4714f68db6690e44462865f5d8708352 showconsole-1.07.tar.bz2 20180
+MD5 754c55c9ceab69eb67c3211ad0335764 showconsole-1.07-suse-update.patch.bz2 3574
diff --git a/sys-apps/showconsole/metadata.xml b/sys-apps/showconsole/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-apps/showconsole/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
diff --git a/sys-apps/showconsole/showconsole-1.07.ebuild b/sys-apps/showconsole/showconsole-1.07.ebuild
new file mode 100644
index 000000000000..694aed656e88
--- /dev/null
+++ b/sys-apps/showconsole/showconsole-1.07.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/showconsole/showconsole-1.07.ebuild,v 1.1 2004/12/04 03:07:36 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="small daemon for logging console output during boot"
+HOMEPAGE="http://www.novell.com/linux/suse/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-suse-update.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+#RDEPEND=""
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ cd ${S}
+ epatch ${DISTDIR}/${P}-suse-update.patch.bz2
+ epatch ${FILESDIR}/${PV}-no-TIOCGDEV.patch
+}
+
+src_compile() {
+ emake COPTS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ rmdir "${D}"/usr/lib/lsb
+ dodoc showconsole-1.07.lsm README
+}