diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-04-24 19:29:58 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-04-24 19:29:58 +0000 |
commit | 5a626aeaa282f61736e2cfadf32dd6789537cb8e (patch) | |
tree | 9ccbea59c2beb4eb0d6364ca81962802fe59e761 /app-misc | |
parent | marked ppc64 stable (diff) | |
download | historical-5a626aeaa282f61736e2cfadf32dd6789537cb8e.tar.gz historical-5a626aeaa282f61736e2cfadf32dd6789537cb8e.tar.bz2 historical-5a626aeaa282f61736e2cfadf32dd6789537cb8e.zip |
Version bump, added initscript and metadata.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/linux-logo/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/linux-logo/Manifest | 11 | ||||
-rw-r--r-- | app-misc/linux-logo/files/digest-linux-logo-4.09 | 1 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.conf | 27 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.initscript | 19 | ||||
-rw-r--r-- | app-misc/linux-logo/linux-logo-4.09.ebuild | 73 | ||||
-rw-r--r-- | app-misc/linux-logo/metadata.xml | 8 |
7 files changed, 145 insertions, 5 deletions
diff --git a/app-misc/linux-logo/ChangeLog b/app-misc/linux-logo/ChangeLog index fc1086aa409e..76c0cbcec2a2 100644 --- a/app-misc/linux-logo/ChangeLog +++ b/app-misc/linux-logo/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/linux-logo -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.4 2003/10/31 19:12:34 gmsoft Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.5 2004/04/24 19:29:58 spock Exp $ + +*linux-logo-4.09 (24 Apr 2004) + + 24 Apr 2004; Michal Januszewski <spock@gentoo.org> +files/linux-logo.conf, + +files/linux-logo.initscript, +linux-logo-4.09.ebuild: + Added an ebuild for the newest version. Added initscript to make setting + /etc/issue easier. Closes bug #47221. 23 Sep 2003; Todd Sunderlin <todd@gentoo.org> linux-logo-4.07.ebuild: added ~sparc keyword diff --git a/app-misc/linux-logo/Manifest b/app-misc/linux-logo/Manifest index 8444157fc30c..dfe18b3f9b80 100644 --- a/app-misc/linux-logo/Manifest +++ b/app-misc/linux-logo/Manifest @@ -1,7 +1,12 @@ -MD5 8709b62965c2d4f3207b2da661da0917 ChangeLog 2175 +MD5 a97b783ce21be65cd1f7bec2a7460102 linux-logo-4.09.ebuild 1787 MD5 713c11263f5f0c588469b1e85ac9c571 linux-logo-4.07-r1.ebuild 1474 MD5 6395dda10ead99a3c6ed4f235b201140 linux-logo-4.07.ebuild 1117 -MD5 6c88e72ae5d2b3b6a9c268c326663956 files/digest-linux-logo-4.07 66 +MD5 ca1d7ba1d8230af219e1f79d6a1e4ad7 ChangeLog 2456 +MD5 cfe1b5f88cc51ac6ffc42809178d2a06 metadata.xml 221 +MD5 466609d5bad726de258ba8d9a6307f42 files/linux-logo-4.07-gentoo-logo.patch 2450 +MD5 cc543656874c53d470f4f0b923444cd5 files/linux-logo.initscript 449 MD5 6c88e72ae5d2b3b6a9c268c326663956 files/digest-linux-logo-4.07-r1 66 +MD5 6c88e72ae5d2b3b6a9c268c326663956 files/digest-linux-logo-4.07 66 +MD5 845d6cc3f98a1b0adfc731c46787481f files/digest-linux-logo-4.09 66 MD5 949ec6c4aac331264efdb8a0aa0d7525 files/gentoo.logo 4732 -MD5 466609d5bad726de258ba8d9a6307f42 files/linux-logo-4.07-gentoo-logo.patch 2450 +MD5 72ee7112b7111772d9434f266ee9e16f files/linux-logo.conf 1213 diff --git a/app-misc/linux-logo/files/digest-linux-logo-4.09 b/app-misc/linux-logo/files/digest-linux-logo-4.09 new file mode 100644 index 000000000000..913c38d10da7 --- /dev/null +++ b/app-misc/linux-logo/files/digest-linux-logo-4.09 @@ -0,0 +1 @@ +MD5 ba970437da602e1dbb4c244303793cd6 linux_logo-4.09.tar.gz 89161 diff --git a/app-misc/linux-logo/files/linux-logo.conf b/app-misc/linux-logo/files/linux-logo.conf new file mode 100644 index 000000000000..fc7006b60a3c --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.conf @@ -0,0 +1,27 @@ +# Seq Description Output +# ---------------------------------------------------------------- +# ## # +# #B Bogomips 374.37 +# #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999 +# #E User Text My Favorite Linux Distribution +# Displayed with -t +# #H Hostname deranged +# #L Load average Load average 0.04, 0.01, 0.01 +# #M Megahertz 188Mhz +# where supported +# #N Number of CPU's Two +# #O OS Name Linux +# #P Processor or Processors Processor +# #R Ram 64M +# in Megabytes +# #S Plural s +# #T Type of CPU K6 +# #U Uptime Uptime 10 hours 59 minutes +# #V Version of OS 2.2.0-pre5 +# #X CPU Vendor AMD +# \\n carriage return + +FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n" +FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n" +OPTIONS="-L 4 -f -u" + diff --git a/app-misc/linux-logo/files/linux-logo.initscript b/app-misc/linux-logo/files/linux-logo.initscript new file mode 100644 index 000000000000..cbdba089f166 --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.initscript @@ -0,0 +1,19 @@ +#!/sbin/runscript + +start() { + ebegin "Starting linux_logo" + + if [ ! -x /usr/bin/linux_logo ] + then + eerror "ERROR: linux_logo not found !" + return 1 + fi + + ebegin " Creating /etc/issue" + /usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMAT}" > /etc/issue + eend $? " Failed to create /etc/issue" + + ebegin " Creating /etc/issue.net" + /usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMATNET}" > /etc/issue.net + eend $? " Failed to create /etc/issue.net" +} diff --git a/app-misc/linux-logo/linux-logo-4.09.ebuild b/app-misc/linux-logo/linux-logo-4.09.ebuild new file mode 100644 index 000000000000..4e35699ccd46 --- /dev/null +++ b/app-misc/linux-logo/linux-logo-4.09.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-4.09.ebuild,v 1.1 2004/04/24 19:29:58 spock Exp $ + +inherit eutils + +MY_P=${PN/-/_}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Displays an ansi or an ascii logo and some system information." +HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" +SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="nls" + +DEPEND="virtual/glibc + >=sys-apps/sed-4" +RDEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + echo "./logos/gentoo.logo" >> logo_config + cp ${FILESDIR}/gentoo.logo ${S}/logos/. + + epatch ${FILESDIR}/${PN}-4.07-gentoo-logo.patch + + if [ -z "`use nls`" ] + then + sed -i 's:cd po && $(MAKE)::' Makefile + fi +} + +src_compile() { + make || die +} + +src_install() { + dobin linux_logo + doman linux_logo.1.gz + + dodoc BUGS CHANGES COPYING README README.CUSTOM_LOGOS TODO USAGE + dodoc LINUX_LOGO.FAQ + + if use nls + then + dodir /usr/share/locale + make INSTALLDIR=${D}/usr/share/locale -C po install || die + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/${PN}.initscript ${PN} + + insinto /etc/conf.d + newins ${FILESDIR}/${PN}.conf ${PN} +} + +pkg_postinst() { + echo + einfo "Linux_logo ebuild for Gentoo comes with two Gentoo logos." + einfo "" + einfo "To display the first Gentoo logo type: linux_logo -L 3" + einfo "To display the second Gentoo logo type: linux_logo -L 4" + einfo "To display all the logos available type: linux_logo -L list." + einfo "" + einfo "To start linux_logo on boot, please type:" + einfo " rc-update add linux-logo default" + einfo "which uses the settings found in" + einfo " /etc/conf.d/linux-logo" + echo +} diff --git a/app-misc/linux-logo/metadata.xml b/app-misc/linux-logo/metadata.xml new file mode 100644 index 000000000000..28b373129e37 --- /dev/null +++ b/app-misc/linux-logo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>spock@gentoo.org</email> +</maintainer> +</pkgmetadata> |