sys-power/nvram-wakeup: Remove last-rited package
Closes: https://bugs.gentoo.org/124755 Closes: https://bugs.gentoo.org/713472 Closes: https://bugs.gentoo.org/726020 Closes: https://bugs.gentoo.org/740912 Closes: https://bugs.gentoo.org/742434 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
parent
ced06e132e
commit
1a59c270a9
|
@ -408,12 +408,6 @@ dev-perl/ZMQ-LibZMQ2
|
|||
# bug #654244, #740952, #726912, #723060
|
||||
dev-lang/j
|
||||
|
||||
# David Seifert <soap@gentoo.org> (2020-10-24)
|
||||
# EAPI 4, multiple QA issues, performs dangerous pointer-to-int
|
||||
# casts, can trash your computer, last release over 10 years ago.
|
||||
# Removal in 30 days. Bug #124755, #713472, #726020, #740912, #742434.
|
||||
sys-power/nvram-wakeup
|
||||
|
||||
# David Seifert <soap@gentoo.org> (2020-10-24)
|
||||
# EAPI 4, doesn't build, outdated, ebuild has multiple QA issues.
|
||||
# Removal in 30 days. Bug #463188, #531104, #613116, #740926.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
DIST nvram-wakup-1.1.tar.gz 1070097 BLAKE2B 9e9aad545d7a7d0882cf07522c60a68ab678ad2dec8ba51828862afe077fa5a11929aaf5a21bae69977338fdf1de5cb394a874475dcc8b4018c4358e780fe786 SHA512 a47c6831e004e25f43adbc25aa46aca457602c681693621e3acda12f1f775aa1c5fa30ec9a09d71945ef2de8a2dbe97f9c1c7e09b1ae3464c368c9b8fc0f11e0
|
|
@ -1,18 +0,0 @@
|
|||
--- nvram-wakeup-0.97/Makefile
|
||||
+++ nvram-wakeup-0.97/Makefile
|
||||
@@ -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)
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">nvram-wakeup</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,73 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use nls || epatch "${FILESDIR}"/${PN}-0.97-nonls.patch
|
||||
# Need to be careful with CFLAGS since this could eat your bios
|
||||
strip-flags
|
||||
# GTTXT mode fix
|
||||
sed -i \
|
||||
-e '/^CFLAGS/s:= -O2 :+= $(CPPFLAGS) :' \
|
||||
-e '/GTTXT/s:755:644:' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}"/usr \
|
||||
MANDIR="${D}"/usr/share/man \
|
||||
DOCDIR="${D}"/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
dodoc "${D}"/usr/bin/vdrshutdown
|
||||
rm "${D}"/usr/bin/vdrshutdown || die
|
||||
dodoc set_timer
|
||||
|
||||
rm "${D}"/usr/sbin/time || die
|
||||
rm "${D}"/usr/share/man/man*/time.8* || die
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue