1 |
commit: 90df28b9f0653d914d9f5e498497a0be974ca212 |
2 |
Author: Marco Scardovi <marco <AT> scardovi <DOT> com> |
3 |
AuthorDate: Thu Jun 17 18:56:02 2021 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 20 22:04:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90df28b9 |
7 |
|
8 |
sys-block/zram-init: bump to version 11.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/18042 |
11 |
Closes: https://bugs.gentoo.org/787821 |
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com> |
14 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
15 |
|
16 |
sys-block/zram-init/Manifest | 1 + |
17 |
...zram-init-9999.ebuild => zram-init-11.0.ebuild} | 25 ++++++++++------------ |
18 |
sys-block/zram-init/zram-init-9999.ebuild | 25 ++++++++++------------ |
19 |
3 files changed, 23 insertions(+), 28 deletions(-) |
20 |
|
21 |
diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest |
22 |
index cc5be001e1a..cbce8d6f025 100644 |
23 |
--- a/sys-block/zram-init/Manifest |
24 |
+++ b/sys-block/zram-init/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST zram-init-10.5.tar.gz 20496 BLAKE2B a28ba9e3813be7ca571ac033ca7b4bdf7c95624f9be72288d8478a2fffa950f7bb18fe865b9933fd209dabc705366af8f825fa7ee8a16be364e1d71c7062067c SHA512 97591549aa9b678b0b12efcc27136826c19b42cc0cf027a3f251843ef5678425568c9eb573d24661ce795eede1d136243fcccbf4dcd62e9d61eb7d775f84f1c1 |
27 |
+DIST zram-init-11.0.tar.gz 21069 BLAKE2B f1a41cad3aad89bde2343a079e31d66de15d051c8431edc08999965993c6f894959289a01415259a93c8691dfec5316ebcb28d0a81844e985395ca5592654f12 SHA512 f11c7ad4e684701ab7c89cb1e859c6ee58ff6795f03b584884f64341d511a8c2de375fc43463318220fab2e16632807d8a13e9b6ac502fa933d406996bf4d115 |
28 |
DIST zram-init-8.1.tar.gz 9177 BLAKE2B 229a469aeeb0b22b80f48d946d4ff746c7bd5d7b58ea9290db0da011df6d618c7c55ad95810b0be74ff81350182057d9067e834ecba688eb4ffa668521468a8b SHA512 8f688accb7a4231f705f694c4b4e7344bbb338b2b1f09a6dacd900020a4e8583105b25fef5b40f39630db88db6fcc8ec79824945ceaee95ea1279d09d081a994 |
29 |
|
30 |
diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-11.0.ebuild |
31 |
similarity index 74% |
32 |
copy from sys-block/zram-init/zram-init-9999.ebuild |
33 |
copy to sys-block/zram-init/zram-init-11.0.ebuild |
34 |
index c591f149b38..21f87df5e84 100644 |
35 |
--- a/sys-block/zram-init/zram-init-9999.ebuild |
36 |
+++ b/sys-block/zram-init/zram-init-11.0.ebuild |
37 |
@@ -1,4 +1,4 @@ |
38 |
-# Copyright 1999-2020 Gentoo Authors |
39 |
+# Copyright 1999-2021 Gentoo Authors |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
|
42 |
EAPI=7 |
43 |
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then |
44 |
inherit git-r3 |
45 |
EGIT_REPO_URI="https://github.com/vaeth/${PN}.git" |
46 |
else |
47 |
- SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ SRC_URI="https://github.com/vaeth/zram-init/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
50 |
fi |
51 |
|
52 |
@@ -29,18 +29,15 @@ RDEPEND=" |
53 |
|
54 |
DISABLE_AUTOFORMATTING=true |
55 |
DOC_CONTENTS="\ |
56 |
-To use zram-init, activate it in your kernel and add it to the default runlevel: |
57 |
- rc-update add zram-init default |
58 |
+To use zram-init, activate it in your kernel and add it to the default |
59 |
+runlevel: rc-update add zram-init default |
60 |
If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with |
61 |
-systemctl. You might need to modify the following file depending on the |
62 |
-number of devices that you want to create: |
63 |
- /etc/modprobe.d/zram.conf. |
64 |
-If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init |
65 |
-to the boot runlevel: |
66 |
- rc-update add zram-init boot |
67 |
-Still for the same case, you should add in the OpenRC configuration file |
68 |
-for the services using \$TMPDIR the following line: |
69 |
- rc_need=\"zram-init\"" |
70 |
+systemctl. You might need to modify the following file depending on the number |
71 |
+of devices that you want to create: /etc/modprobe.d/zram.conf. |
72 |
+If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to |
73 |
+the boot runlevel: rc-update add zram-init boot |
74 |
+Still for the same case, you should add in the OpenRC configuration file for |
75 |
+the services using \$TMPDIR the following line: rc_need=\"zram-init\"" |
76 |
|
77 |
src_prepare() { |
78 |
default |
79 |
@@ -64,7 +61,7 @@ src_install() { |
80 |
readme.gentoo_create_doc |
81 |
|
82 |
emake DESTDIR="${ED}" PREFIX="/usr" SYSCONFDIR="/etc" \ |
83 |
- BINDIR="${ED}/sbin" install |
84 |
+ BINDIR="${ED}/sbin" SYSTEMDDIR="${ED}/lib/systemd/system" install |
85 |
} |
86 |
|
87 |
pkg_postinst() { |
88 |
|
89 |
diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-9999.ebuild |
90 |
index c591f149b38..21f87df5e84 100644 |
91 |
--- a/sys-block/zram-init/zram-init-9999.ebuild |
92 |
+++ b/sys-block/zram-init/zram-init-9999.ebuild |
93 |
@@ -1,4 +1,4 @@ |
94 |
-# Copyright 1999-2020 Gentoo Authors |
95 |
+# Copyright 1999-2021 Gentoo Authors |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
|
98 |
EAPI=7 |
99 |
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then |
100 |
inherit git-r3 |
101 |
EGIT_REPO_URI="https://github.com/vaeth/${PN}.git" |
102 |
else |
103 |
- SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
104 |
+ SRC_URI="https://github.com/vaeth/zram-init/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
105 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
106 |
fi |
107 |
|
108 |
@@ -29,18 +29,15 @@ RDEPEND=" |
109 |
|
110 |
DISABLE_AUTOFORMATTING=true |
111 |
DOC_CONTENTS="\ |
112 |
-To use zram-init, activate it in your kernel and add it to the default runlevel: |
113 |
- rc-update add zram-init default |
114 |
+To use zram-init, activate it in your kernel and add it to the default |
115 |
+runlevel: rc-update add zram-init default |
116 |
If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with |
117 |
-systemctl. You might need to modify the following file depending on the |
118 |
-number of devices that you want to create: |
119 |
- /etc/modprobe.d/zram.conf. |
120 |
-If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init |
121 |
-to the boot runlevel: |
122 |
- rc-update add zram-init boot |
123 |
-Still for the same case, you should add in the OpenRC configuration file |
124 |
-for the services using \$TMPDIR the following line: |
125 |
- rc_need=\"zram-init\"" |
126 |
+systemctl. You might need to modify the following file depending on the number |
127 |
+of devices that you want to create: /etc/modprobe.d/zram.conf. |
128 |
+If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to |
129 |
+the boot runlevel: rc-update add zram-init boot |
130 |
+Still for the same case, you should add in the OpenRC configuration file for |
131 |
+the services using \$TMPDIR the following line: rc_need=\"zram-init\"" |
132 |
|
133 |
src_prepare() { |
134 |
default |
135 |
@@ -64,7 +61,7 @@ src_install() { |
136 |
readme.gentoo_create_doc |
137 |
|
138 |
emake DESTDIR="${ED}" PREFIX="/usr" SYSCONFDIR="/etc" \ |
139 |
- BINDIR="${ED}/sbin" install |
140 |
+ BINDIR="${ED}/sbin" SYSTEMDDIR="${ED}/lib/systemd/system" install |
141 |
} |
142 |
|
143 |
pkg_postinst() { |