diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-14 22:22:57 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-14 22:22:57 +0000 |
commit | 75b970003932da10bf01e7b5f47a7763cbd5a1fd (patch) | |
tree | 3a2f9101398641d853b6925e2a5f568c46312ce0 /sys-power | |
parent | Moved sys-apps/powernowd to sys-power/powernowd (diff) | |
download | historical-75b970003932da10bf01e7b5f47a7763cbd5a1fd.tar.gz historical-75b970003932da10bf01e7b5f47a7763cbd5a1fd.tar.bz2 historical-75b970003932da10bf01e7b5f47a7763cbd5a1fd.zip |
Moved from sys-apps/nvram-wakeup to sys-power/nvram-wakeup.
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/nvram-wakeup/ChangeLog | 22 | ||||
-rw-r--r-- | sys-power/nvram-wakeup/Manifest | 5 | ||||
-rw-r--r-- | sys-power/nvram-wakeup/files/digest-nvram-wakeup-0.97-r1 | 1 | ||||
-rw-r--r-- | sys-power/nvram-wakeup/files/nvram-wakeup-0.97-nonls.patch | 20 | ||||
-rw-r--r-- | sys-power/nvram-wakeup/metadata.xml | 5 | ||||
-rw-r--r-- | sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild | 60 |
6 files changed, 113 insertions, 0 deletions
diff --git a/sys-power/nvram-wakeup/ChangeLog b/sys-power/nvram-wakeup/ChangeLog new file mode 100644 index 000000000000..f2f8929d4747 --- /dev/null +++ b/sys-power/nvram-wakeup/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for sys-apps/nvram-wakeup +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/nvram-wakeup/ChangeLog,v 1.1 2005/03/14 22:22:57 ciaranm Exp $ + +*nvram-wakeup-0.97-r1 (14 Mar 2005) + + 14 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> + +files/nvram-wakeup-0.97-nonls.patch, +metadata.xml, + +nvram-wakeup-0.97-r1.ebuild: + Moved from sys-apps/nvram-wakeup to sys-power/nvram-wakeup. + +*nvram-wakeup-0.97-r1 (12 Mar 2005) + + 12 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +files/nvram-wakeup-0.97-nonls.patch, +nvram-wakeup-0.97-r1.ebuild, + -nvram-wakeup-0.97.ebuild: + Clean up ebuild #47162 Stefan Briesenick. + +*nvram-wakeup-0.97 (08 Oct 2004) + + 08 Oct 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Stefan Briesenick/Carsten Lohrke #47162. diff --git a/sys-power/nvram-wakeup/Manifest b/sys-power/nvram-wakeup/Manifest new file mode 100644 index 000000000000..0bd13cc7dd6d --- /dev/null +++ b/sys-power/nvram-wakeup/Manifest @@ -0,0 +1,5 @@ +MD5 d6845e0be200fb54821b0aead24a53a9 ChangeLog 612 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 07b2a3215271ddf2d7915c70b4101904 nvram-wakeup-0.97-r1.ebuild 1767 +MD5 1ac2b7a57e30cd14a35e95d131b312ee files/nvram-wakeup-0.97-nonls.patch 672 +MD5 e2dd22a894561858f4bac2dc63c0104e files/digest-nvram-wakeup-0.97-r1 69 diff --git a/sys-power/nvram-wakeup/files/digest-nvram-wakeup-0.97-r1 b/sys-power/nvram-wakeup/files/digest-nvram-wakeup-0.97-r1 new file mode 100644 index 000000000000..9079f32a59c8 --- /dev/null +++ b/sys-power/nvram-wakeup/files/digest-nvram-wakeup-0.97-r1 @@ -0,0 +1 @@ +MD5 004626e0ae33b3b59b9320da9434c673 nvram-wakeup-0.97.tar.bz2 55853 diff --git a/sys-power/nvram-wakeup/files/nvram-wakeup-0.97-nonls.patch b/sys-power/nvram-wakeup/files/nvram-wakeup-0.97-nonls.patch new file mode 100644 index 000000000000..ca11d9ee610c --- /dev/null +++ b/sys-power/nvram-wakeup/files/nvram-wakeup-0.97-nonls.patch @@ -0,0 +1,20 @@ +diff -U 1 nvram-wakeup-0.97.orig/Makefile nvram-wakeup-0.97/Makefile +--- nvram-wakeup-0.97.orig/Makefile 2005-03-12 17:23:44.000000000 -0500 ++++ nvram-wakeup-0.97/Makefile 2005-03-12 17:24:38.000000000 -0500 +@@ -41,3 +41,3 @@ + +-all: $(BINS) $(GTTXT) ++all: $(BINS) + size $(BINS) +@@ -88,3 +88,2 @@ + @$(INSTALL) -vd $(DOCDIR) +- @$(INSTALL) -vd $(GTTXTDIR) + @$(INSTALL) -vm 755 $(PROG_SH) $(BINDIR) +@@ -94,3 +93,2 @@ + @$(INSTALL) -vm 644 $(DOC) $(DOCDIR) +- @$(INSTALL) -vm 755 $(GTTXT) $(GTTXTDIR) + +@@ -110,2 +108 @@ + cd $(DOCDIR); rm -f $(DOC) +- cd $(GTTXTDIR); rm -f $(GTTXT) +Common subdirectories: nvram-wakeup-0.97.orig/VDR and nvram-wakeup-0.97/VDR diff --git a/sys-power/nvram-wakeup/metadata.xml b/sys-power/nvram-wakeup/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-power/nvram-wakeup/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-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild b/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild new file mode 100644 index 000000000000..19c307a6ade8 --- /dev/null +++ b/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild,v 1.1 2005/03/14 22:22:57 ciaranm Exp $ + +inherit flag-o-matic + +DESCRIPTION="read and write the WakeUp time in the BIOS" +HOMEPAGE="http://sourceforge.net/projects/nvram-wakeup" +SRC_URI="mirror://sourceforge/nvram-wakeup/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + use nls || epatch "${FILESDIR}"/${P}-nonls.patch + # Need to be careful with CFLAGS since this could eat your bios + strip-flags + sed -i \ + -e "s:-O2 -Wall -Wstrict-prototypes -g -mcpu=i686:${CFLAGS}:" \ + Makefile || die "setting CFLAGS" +} + +src_install() { + make \ + prefix="${D}"/usr \ + MANDIR="${D}"/usr/share/man \ + DOCDIR="${D}"/usr/share/doc/${PF} \ + install || die + + dodoc "${D}"/usr/bin/vdrshutdown + rm -f "${D}"/usr/bin/vdrshutdown + dodoc set_timer + + rm -f "${D}"/usr/sbin/time + rm -f "${D}"/usr/share/man/man*/time.8* + + prepalldocs +} + +pkg_postinst() { + echo + ewarn "WARNING:" + ewarn "This program writes into the NVRAM (used by BIOS to store the CMOS" + ewarn "settings). This is DANGEROUS. Do it at your own risk. Neither the" + ewarn "author of this program (nvram-wakeup) nor anyone else can be made" + ewarn "responsible to any damage made by this program in any way." + ewarn "(The worst case happened to me is that on reboot the BIOS noticed the" + ewarn "illegal contents of the nvram and set everything to default values." + ewarn "But this doesn't mean that you can't destroy even your whole computer.)" + echo + ewarn " YOU HAVE BEEN WARNED, HAVE A NICE DAY" + echo +} |