diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-05 00:38:39 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-05 00:38:39 +0000 |
commit | 3e85a6a4a0d5293e858ae0d13e4302caa652714d (patch) | |
tree | 01e6ca146516eb11e315d6b4c3e2faf1ca5b6503 /app-admin/showconsole | |
parent | Revision bump for an updated patchset. It contains new releases of some modul... (diff) | |
download | gentoo-2-3e85a6a4a0d5293e858ae0d13e4302caa652714d.tar.gz gentoo-2-3e85a6a4a0d5293e858ae0d13e4302caa652714d.tar.bz2 gentoo-2-3e85a6a4a0d5293e858ae0d13e4302caa652714d.zip |
Moved from sys-apps/showconsole to app-admin/showconsole.
Diffstat (limited to 'app-admin/showconsole')
-rw-r--r-- | app-admin/showconsole/ChangeLog | 14 | ||||
-rw-r--r-- | app-admin/showconsole/Manifest | 15 | ||||
-rw-r--r-- | app-admin/showconsole/files/1.07-no-TIOCGDEV.patch | 27 | ||||
-rw-r--r-- | app-admin/showconsole/files/digest-showconsole-1.07 | 2 | ||||
-rw-r--r-- | app-admin/showconsole/metadata.xml | 5 | ||||
-rw-r--r-- | app-admin/showconsole/showconsole-1.07.ebuild | 37 |
6 files changed, 100 insertions, 0 deletions
diff --git a/app-admin/showconsole/ChangeLog b/app-admin/showconsole/ChangeLog new file mode 100644 index 000000000000..e4237ea882ce --- /dev/null +++ b/app-admin/showconsole/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sys-apps/showconsole +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/showconsole/ChangeLog,v 1.1 2005/03/05 00:38:39 ciaranm Exp $ + +*showconsole-1.07 (05 Mar 2005) + + 05 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +files/1.07-no-TIOCGDEV.patch, +showconsole-1.07.ebuild: + Moved from sys-apps/showconsole to app-admin/showconsole. + +*showconsole-1.07 (03 Dec 2004) + + 03 Dec 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/app-admin/showconsole/Manifest b/app-admin/showconsole/Manifest new file mode 100644 index 000000000000..354755aebe90 --- /dev/null +++ b/app-admin/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/app-admin/showconsole/files/1.07-no-TIOCGDEV.patch b/app-admin/showconsole/files/1.07-no-TIOCGDEV.patch new file mode 100644 index 000000000000..49a09cea2155 --- /dev/null +++ b/app-admin/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/app-admin/showconsole/files/digest-showconsole-1.07 b/app-admin/showconsole/files/digest-showconsole-1.07 new file mode 100644 index 000000000000..623cf85d98ae --- /dev/null +++ b/app-admin/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/app-admin/showconsole/metadata.xml b/app-admin/showconsole/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/app-admin/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/app-admin/showconsole/showconsole-1.07.ebuild b/app-admin/showconsole/showconsole-1.07.ebuild new file mode 100644 index 000000000000..20507ea852d4 --- /dev/null +++ b/app-admin/showconsole/showconsole-1.07.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/showconsole/showconsole-1.07.ebuild,v 1.1 2005/03/05 00:38:39 ciaranm 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 +} |