1 |
commit: 11a1b20fa19ad7210b622b8c58093601153aff3c |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 15 12:32:21 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 15 12:32:21 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a1b20f |
7 |
|
8 |
sys-power/nvram-wakeup: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
sys-power/nvram-wakeup/Manifest | 1 - |
13 |
sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild | 71 -------------------------- |
14 |
2 files changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/sys-power/nvram-wakeup/Manifest b/sys-power/nvram-wakeup/Manifest |
17 |
index c6f9ec34fe5..063de424d8a 100644 |
18 |
--- a/sys-power/nvram-wakeup/Manifest |
19 |
+++ b/sys-power/nvram-wakeup/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST nvram-wakup-1.0.tar.gz 1068875 BLAKE2B 85b68033b1c021f0dd17f929f9e759b5a628d6b998fda4ab5b7bbaf2f55acdf5c4b7cbaa2a8be13a52954f1a2d883aff57756ec15c52e2edc6ceb81d6fb08882 SHA512 f9f350323cfb65a33903edc5938c3503c60f4259acbc347d76aece65307d97e971e3350724e6d4a4870175db1baf1d3f1803b6536f0529371aae1f9fc6ee56c0 |
22 |
DIST nvram-wakup-1.1.tar.gz 1070097 BLAKE2B 9e9aad545d7a7d0882cf07522c60a68ab678ad2dec8ba51828862afe077fa5a11929aaf5a21bae69977338fdf1de5cb394a874475dcc8b4018c4358e780fe786 SHA512 a47c6831e004e25f43adbc25aa46aca457602c681693621e3acda12f1f775aa1c5fa30ec9a09d71945ef2de8a2dbe97f9c1c7e09b1ae3464c368c9b8fc0f11e0 |
23 |
|
24 |
diff --git a/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild b/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index e9ad08cbf06..00000000000 |
27 |
--- a/sys-power/nvram-wakeup/nvram-wakeup-1.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,71 +0,0 @@ |
30 |
-# Copyright 1999-2018 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=0 |
34 |
- |
35 |
-inherit flag-o-matic eutils |
36 |
- |
37 |
-MY_P=${P%_p*} |
38 |
-[[ ${PV} == *_p* ]] && REV=${P#*_p} || unset REV |
39 |
-MY_P=${MY_P/e} |
40 |
-DESCRIPTION="read and write the WakeUp time in the BIOS" |
41 |
-HOMEPAGE="https://sourceforge.net/projects/nvram-wakeup" |
42 |
-SRC_URI="mirror://sourceforge/nvram-wakeup/${MY_P}.tar.gz |
43 |
- ${REV+http://nvram-wakeup.svn.sourceforge.net/viewvc/*checkout*/nvram-wakeup/trunk/nvram-wakeup/nvram-wakeup-mb.c?revision=${REV}}" |
44 |
- |
45 |
-LICENSE="GPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 x86" |
48 |
-IUSE="nls" |
49 |
-[[ -n ${REV} ]] && RESTRICT="mirror" #168114 |
50 |
- |
51 |
-DEPEND="nls? ( sys-devel/gettext )" |
52 |
-RDEPEND="" |
53 |
- |
54 |
-S=${WORKDIR}/${MY_P} |
55 |
- |
56 |
-src_unpack() { |
57 |
- unpack ${MY_P}.tar.gz |
58 |
- if [[ -n ${REV} ]] ; then |
59 |
- cp "${DISTDIR}"/nvram-wakeup-mb.c?revision=${REV} "${S}"/nvram-wakeup-mb.c || die |
60 |
- fi |
61 |
- cd "${S}" |
62 |
- use nls || epatch "${FILESDIR}"/${PN}-0.97-nonls.patch |
63 |
- # Need to be careful with CFLAGS since this could eat your bios |
64 |
- strip-flags |
65 |
- sed -i \ |
66 |
- -e '/^CFLAGS/s:= -O2 :+= $(CPPFLAGS) :' \ |
67 |
- Makefile || die "setting CFLAGS" |
68 |
-} |
69 |
- |
70 |
-src_install() { |
71 |
- emake \ |
72 |
- prefix="${D}"/usr \ |
73 |
- MANDIR="${D}"/usr/share/man \ |
74 |
- DOCDIR="${D}"/usr/share/doc/${PF} \ |
75 |
- install || die |
76 |
- |
77 |
- dodoc "${D}"/usr/bin/vdrshutdown |
78 |
- rm -f "${D}"/usr/bin/vdrshutdown |
79 |
- dodoc set_timer |
80 |
- |
81 |
- rm -f "${D}"/usr/sbin/time |
82 |
- rm -f "${D}"/usr/share/man/man*/time.8* |
83 |
- |
84 |
- prepalldocs |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- echo |
89 |
- ewarn "WARNING:" |
90 |
- ewarn "This program writes into the NVRAM (used by BIOS to store the CMOS" |
91 |
- ewarn "settings). This is DANGEROUS. Do it at your own risk. Neither the" |
92 |
- ewarn "author of this program (nvram-wakeup) nor anyone else can be made" |
93 |
- ewarn "responsible to any damage made by this program in any way." |
94 |
- ewarn "(The worst case happened to me is that on reboot the BIOS noticed the" |
95 |
- ewarn "illegal contents of the nvram and set everything to default values." |
96 |
- ewarn "But this doesn't mean that you can't destroy even your whole computer.)" |
97 |
- echo |
98 |
- ewarn " YOU HAVE BEEN WARNED, HAVE A NICE DAY" |
99 |
- echo |
100 |
-} |