public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/zram-init/
Date: Sat, 24 Jun 2023 01:18:19 +0000 (UTC)	[thread overview]
Message-ID: <1687569218.785ca73c91f26ac53fcff8d753f5569916877168.sam@gentoo> (raw)

commit:     785ca73c91f26ac53fcff8d753f5569916877168
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Wed Jun 21 19:31:18 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 01:13:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785ca73c

sys-block/zram-init: add 11.1

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-block/zram-init/Manifest                       |  1 +
 ...zram-init-9999.ebuild => zram-init-11.1.ebuild} | 23 +++++++++++++---------
 sys-block/zram-init/zram-init-9999.ebuild          | 23 +++++++++++++---------
 3 files changed, 29 insertions(+), 18 deletions(-)

diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest
index cbce8d6f025f..0663bc8a1502 100644
--- a/sys-block/zram-init/Manifest
+++ b/sys-block/zram-init/Manifest
@@ -1,3 +1,4 @@
 DIST zram-init-10.5.tar.gz 20496 BLAKE2B a28ba9e3813be7ca571ac033ca7b4bdf7c95624f9be72288d8478a2fffa950f7bb18fe865b9933fd209dabc705366af8f825fa7ee8a16be364e1d71c7062067c SHA512 97591549aa9b678b0b12efcc27136826c19b42cc0cf027a3f251843ef5678425568c9eb573d24661ce795eede1d136243fcccbf4dcd62e9d61eb7d775f84f1c1
 DIST zram-init-11.0.tar.gz 21069 BLAKE2B f1a41cad3aad89bde2343a079e31d66de15d051c8431edc08999965993c6f894959289a01415259a93c8691dfec5316ebcb28d0a81844e985395ca5592654f12 SHA512 f11c7ad4e684701ab7c89cb1e859c6ee58ff6795f03b584884f64341d511a8c2de375fc43463318220fab2e16632807d8a13e9b6ac502fa933d406996bf4d115
+DIST zram-init-11.1.tar.gz 21117 BLAKE2B c6e99e9df97fe44b4081ce304dd2cd72fbdfa3c705f6cc02787df0376dd04a93cd8fbbf327c05f2f96ad8b6383f4c155e2859c0718c81a6bff50d0b91fb93322 SHA512 dcbfe9bb085e1bb1856f53fb5722fc008a8b7b8099423be174f02fcaa4093c19e24c33f08deeec9d1525b9512b7c5640c4ac396c60f7b6016b56edeb38a64285
 DIST zram-init-8.1.tar.gz 9177 BLAKE2B 229a469aeeb0b22b80f48d946d4ff746c7bd5d7b58ea9290db0da011df6d618c7c55ad95810b0be74ff81350182057d9067e834ecba688eb4ffa668521468a8b SHA512 8f688accb7a4231f705f694c4b4e7344bbb338b2b1f09a6dacd900020a4e8583105b25fef5b40f39630db88db6fcc8ec79824945ceaee95ea1279d09d081a994

diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-11.1.ebuild
similarity index 73%
copy from sys-block/zram-init/zram-init-9999.ebuild
copy to sys-block/zram-init/zram-init-11.1.ebuild
index e6b8db2062ea..8bf1b864bb46 100644
--- a/sys-block/zram-init/zram-init-9999.ebuild
+++ b/sys-block/zram-init/zram-init-11.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit prefix readme.gentoo-r1
 
@@ -12,12 +12,13 @@ if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/vaeth/${PN}.git"
 else
-	SRC_URI="https://github.com/vaeth/zram-init/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
+RESTRICT="binchecks strip test"
 
 BDEPEND="sys-devel/gettext"
 
@@ -30,14 +31,18 @@ RDEPEND="
 DISABLE_AUTOFORMATTING=true
 DOC_CONTENTS="\
 To use zram-init, activate it in your kernel and add it to the default
-runlevel: rc-update add zram-init default
+runlevel:
+	rc-update add zram-init default
 If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with
 systemctl. You might need to modify the following file depending on the number
-of devices that you want to create: /etc/modprobe.d/zram.conf.
+of devices that you want to create:
+	/etc/modprobe.d/zram.conf.
 If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to
-the boot runlevel: rc-update add zram-init boot
+the boot runlevel:
+	rc-update add zram-init boot
 Still for the same case, you should add in the OpenRC configuration file for
-the services using \$TMPDIR the following line: rc_need=\"zram-init\""
+the services using \$TMPDIR the following line:
+	rc_need=\"zram-init\""
 
 src_prepare() {
 	default
@@ -60,8 +65,8 @@ src_install() {
 	einstalldocs
 	readme.gentoo_create_doc
 
-	emake DESTDIR="${ED}" PREFIX="/usr" SYSCONFDIR="/etc" \
-		BINDIR="${ED}/sbin" SYSTEMDDIR="${ED}/lib/systemd/system" install
+	emake DESTDIR="${ED}" PREFIX="/usr" BINDIR="${ED}/sbin" SYSCONFDIR="/etc" \
+		SYSTEMDDIR="${ED}/lib/systemd/system" install
 }
 
 pkg_postinst() {

diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-9999.ebuild
index e6b8db2062ea..8bf1b864bb46 100644
--- a/sys-block/zram-init/zram-init-9999.ebuild
+++ b/sys-block/zram-init/zram-init-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit prefix readme.gentoo-r1
 
@@ -12,12 +12,13 @@ if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/vaeth/${PN}.git"
 else
-	SRC_URI="https://github.com/vaeth/zram-init/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
+RESTRICT="binchecks strip test"
 
 BDEPEND="sys-devel/gettext"
 
@@ -30,14 +31,18 @@ RDEPEND="
 DISABLE_AUTOFORMATTING=true
 DOC_CONTENTS="\
 To use zram-init, activate it in your kernel and add it to the default
-runlevel: rc-update add zram-init default
+runlevel:
+	rc-update add zram-init default
 If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with
 systemctl. You might need to modify the following file depending on the number
-of devices that you want to create: /etc/modprobe.d/zram.conf.
+of devices that you want to create:
+	/etc/modprobe.d/zram.conf.
 If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to
-the boot runlevel: rc-update add zram-init boot
+the boot runlevel:
+	rc-update add zram-init boot
 Still for the same case, you should add in the OpenRC configuration file for
-the services using \$TMPDIR the following line: rc_need=\"zram-init\""
+the services using \$TMPDIR the following line:
+	rc_need=\"zram-init\""
 
 src_prepare() {
 	default
@@ -60,8 +65,8 @@ src_install() {
 	einstalldocs
 	readme.gentoo_create_doc
 
-	emake DESTDIR="${ED}" PREFIX="/usr" SYSCONFDIR="/etc" \
-		BINDIR="${ED}/sbin" SYSTEMDDIR="${ED}/lib/systemd/system" install
+	emake DESTDIR="${ED}" PREFIX="/usr" BINDIR="${ED}/sbin" SYSCONFDIR="/etc" \
+		SYSTEMDDIR="${ED}/lib/systemd/system" install
 }
 
 pkg_postinst() {


             reply	other threads:[~2023-06-24  1:18 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-24  1:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-06 18:57 [gentoo-commits] repo/gentoo:master commit in: sys-block/zram-init/ Sam James
2025-04-22  9:54 Michał Górny
2024-07-21  0:31 Sam James
2024-03-12 20:42 Arthur Zamarin
2023-06-26 14:42 Sam James
2023-06-26  8:19 Sam James
2023-06-24  1:18 Sam James
2023-06-24  1:18 Sam James
2021-08-06 20:49 Sam James
2021-06-21 21:21 Marek Szuba
2021-06-20 22:05 Jason Zaman
2021-03-04  4:24 Sam James
2021-02-26 19:02 Sam James
2020-10-26 17:27 Jason Zaman
2020-10-26 17:09 Jason Zaman
2020-10-26 16:57 Jason Zaman
2020-02-16 13:35 Jason Zaman
2019-07-18 13:07 Agostino Sarubbo
2019-07-18 13:06 Agostino Sarubbo
2019-04-29 14:24 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-03-20 15:29 Craig Andrews
2019-03-20 15:29 Craig Andrews
2018-10-05  9:44 Jason Zaman
2018-06-08  9:56 Jason Zaman
2018-06-05  4:33 Jason Zaman
2018-06-05  4:33 Jason Zaman
2017-10-09 14:44 Sergei Trofimovich
2017-05-24  8:10 Michael Weber
2017-05-24  8:00 Michael Weber
2016-08-10 12:01 Jason Zaman
2016-08-10 12:01 Jason Zaman
2016-08-07  8:28 Pacho Ramos
2016-03-04  3:16 Stephen Klimaszewski
2016-01-24 18:34 Jauhien Piatlicki
2016-01-01 21:28 Jauhien Piatlicki
2015-09-01 18:25 Jauhien Piatlicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1687569218.785ca73c91f26ac53fcff8d753f5569916877168.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox