summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-07-13 19:17:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-07-13 19:17:56 +0000
commit033864be2651fe9293a5e037d9616e4868d058b3 (patch)
tree6b73926adcc44c4b294178e4b09ccb11ed28518d /sys-power
parentVersion bump && Cleanup (diff)
downloadhistorical-033864be2651fe9293a5e037d9616e4868d058b3.tar.gz
historical-033864be2651fe9293a5e037d9616e4868d058b3.tar.bz2
historical-033864be2651fe9293a5e037d9616e4868d058b3.zip
Bump to 1.0. Fixes #277699
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nvram-wakeup/ChangeLog7
-rw-r--r--sys-power/nvram-wakeup/Manifest14
-rw-r--r--sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild70
3 files changed, 79 insertions, 12 deletions
diff --git a/sys-power/nvram-wakeup/ChangeLog b/sys-power/nvram-wakeup/ChangeLog
index a0a1f4596ba4..b21942573e8a 100644
--- a/sys-power/nvram-wakeup/ChangeLog
+++ b/sys-power/nvram-wakeup/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/nvram-wakeup
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvram-wakeup/ChangeLog,v 1.8 2009/01/18 18:16:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvram-wakeup/ChangeLog,v 1.9 2009/07/13 19:17:56 patrick Exp $
+
+*nvram-wakeup-1.0 (13 Jul 2009)
+
+ 13 Jul 2009; Patrick Lauer <patrick@gentoo.org> +nvram-wakeup-1.0.ebuild:
+ Bump to 1.0. Fixes #277699
*nvram-wakeup-0.99b (18 Jan 2009)
diff --git a/sys-power/nvram-wakeup/Manifest b/sys-power/nvram-wakeup/Manifest
index acd351e6552a..ac74a524d018 100644
--- a/sys-power/nvram-wakeup/Manifest
+++ b/sys-power/nvram-wakeup/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX nvram-wakeup-0.97-nonls.patch 450 RMD160 7ffc22727e364812010e12c9ff397c34ea45e24f SHA1 d79096033a892b343b7422afabcb1f1e740577cc SHA256 0ed4f1121e767360fe0efe91438bf4b1e68003ad281ca9f7aa62367eb2a17a1a
DIST nvram-wakeup-0.97.tar.bz2 55853 RMD160 a3feccc49361f2512e213fbfefc2865cce2e187f SHA1 311a819ba5b68180ed38df4f150a51bf721a1e44 SHA256 f2d8e0bf6d0199b45849ff4fe94426d83a198e5c33cf0a2651ec2a8d96ab054b
DIST nvram-wakeup-mb.c?revision=863 152785 RMD160 1291dec309c968eec7a64fdd081607b4ed1ff8c0 SHA1 ac351a439e8e12b11364a02458d1abe0016cd8b3 SHA256 0f166f567b37b09ee71949f4b036c5722b692cb6cc1ceba08837180c46331731
DIST nvram-wakup-0.99b.tar.gz 1067422 RMD160 6f33c3d646a00d719f9edea813d8228513ce93a0 SHA1 45a1cb676c8090c5ce8b9d7694c68424d46cfe82 SHA256 5e01f38cee9e15aeeefacd5b99d22ab06540b94bea261265438398a0377a83d6
+DIST nvram-wakup-1.0.tar.gz 1068875 RMD160 614492f886f45ba50fbe7f63578d0c56e09ef2be SHA1 043cc3e92dcf6b00b72093a7753d52e52c689285 SHA256 831af412fdf8c75a31e470398a08da97266b2dd064daaf94e45833bd4428349b
EBUILD nvram-wakeup-0.97_p863.ebuild 2166 RMD160 9d6f0d3b1683bbfdeaef9326b96b79605ce56f4c SHA1 9ba28c6bba563f50662629a312a50e8910460e54 SHA256 e9254d84ce1f34a0cae5fddcfed96a3270d9c94ee0a2394cedb0491ff90bf4c5
EBUILD nvram-wakeup-0.99b.ebuild 2162 RMD160 fe8a585a28ff7fd5f93305efe03ee638f1afe069 SHA1 41e20f47e674cbdc79eb6cc4de9e6c6fadc00f5d SHA256 7853863c9f440728fb38dbcde6e3f3ce91cf6d76abfea465309c00efd5e933a8
-MISC ChangeLog 1793 RMD160 4aa4c43ad84de033f2c910a2d4062a05e487c096 SHA1 881728ac0f3ee8686aafad6668ece19253198fdc SHA256 4fa1aa8545e087b35e63fbb5857d1667c12e6b422827dd497f4c97d58a439e39
+EBUILD nvram-wakeup-1.0.ebuild 2161 RMD160 862fc4bbb657a192a438c7bb3ff09d866a8853da SHA1 7922f4bbd7c9beda653256e28be89130cd70a3bd SHA256 53866dd7d3326a44eda17e02445f0360bf3d954912e3bce58cac9e5348d6d6bf
+MISC ChangeLog 1933 RMD160 21e2c046c5c5afbe3e4da4268612bb62e6a4f04e SHA1 bf1e98ab9b96552f51c57362c48d2aa114e9d19b SHA256 63e0d39d92487a717137964c013cca4c51443c84e7761c89ef5500b7a1ac11be
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAklzcf8ACgkQn/5bYzqsSmGspgCcC2r5ZTFnhA/0CLAVIVByxv4i
-ubsAmgLvt/Hqz+VG+blK+1QboQSnFksh
-=2Xtg
------END PGP SIGNATURE-----
diff --git a/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild b/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild
new file mode 100644
index 000000000000..a6ae46da114c
--- /dev/null
+++ b/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild,v 1.1 2009/07/13 19:17:56 patrick Exp $
+
+inherit flag-o-matic
+
+MY_P=${P%_p*}
+[[ ${PV} == *_p* ]] && REV=${P#*_p} || unset REV
+MY_P=${MY_P/e}
+DESCRIPTION="read and write the WakeUp time in the BIOS"
+HOMEPAGE="http://sourceforge.net/projects/nvram-wakeup"
+SRC_URI="mirror://sourceforge/nvram-wakeup/${MY_P}.tar.gz
+ ${REV+http://nvram-wakeup.svn.sourceforge.net/viewvc/*checkout*/nvram-wakeup/trunk/nvram-wakeup/nvram-wakeup-mb.c?revision=${REV}}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+[[ -n ${REV} ]] && RESTRICT="mirror" #168114
+
+DEPEND="nls? ( sys-devel/gettext )"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ if [[ -n ${REV} ]] ; then
+ cp "${DISTDIR}"/nvram-wakeup-mb.c?revision=${REV} "${S}"/nvram-wakeup-mb.c || die
+ fi
+ cd "${S}"
+ use nls || epatch "${FILESDIR}"/${PN}-0.97-nonls.patch
+ # Need to be careful with CFLAGS since this could eat your bios
+ strip-flags
+ sed -i \
+ -e '/^CFLAGS/s:= -O2 :+= $(CPPFLAGS) :' \
+ Makefile || die "setting CFLAGS"
+}
+
+src_install() {
+ emake \
+ 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
+}