summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-power/nvram-wakeup/Manifest1
-rw-r--r--sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild71
2 files changed, 0 insertions, 72 deletions
diff --git a/sys-power/nvram-wakeup/Manifest b/sys-power/nvram-wakeup/Manifest
index c6f9ec34fe59..063de424d8af 100644
--- a/sys-power/nvram-wakeup/Manifest
+++ b/sys-power/nvram-wakeup/Manifest
@@ -1,2 +1 @@
-DIST nvram-wakup-1.0.tar.gz 1068875 BLAKE2B 85b68033b1c021f0dd17f929f9e759b5a628d6b998fda4ab5b7bbaf2f55acdf5c4b7cbaa2a8be13a52954f1a2d883aff57756ec15c52e2edc6ceb81d6fb08882 SHA512 f9f350323cfb65a33903edc5938c3503c60f4259acbc347d76aece65307d97e971e3350724e6d4a4870175db1baf1d3f1803b6536f0529371aae1f9fc6ee56c0
DIST nvram-wakup-1.1.tar.gz 1070097 BLAKE2B 9e9aad545d7a7d0882cf07522c60a68ab678ad2dec8ba51828862afe077fa5a11929aaf5a21bae69977338fdf1de5cb394a874475dcc8b4018c4358e780fe786 SHA512 a47c6831e004e25f43adbc25aa46aca457602c681693621e3acda12f1f775aa1c5fa30ec9a09d71945ef2de8a2dbe97f9c1c7e09b1ae3464c368c9b8fc0f11e0
diff --git a/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild b/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild
deleted file mode 100644
index e9ad08cbf064..000000000000
--- a/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit flag-o-matic eutils
-
-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="https://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
-}