From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcache-tools/
Date: Thu, 21 Sep 2023 08:19:50 +0000 (UTC) [thread overview]
Message-ID: <1695284382.64e91259d4f2a7e57ab9a61084e8938b55aec6d4.flow@gentoo> (raw)
commit: 64e91259d4f2a7e57ab9a61084e8938b55aec6d4
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 08:19:15 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 08:19:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e91259
sys-fs/bcache-tools: add 1.1_p20230217
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-fs/bcache-tools/Manifest | 1 +
.../bcache-tools/bcache-tools-1.1_p20230217.ebuild | 74 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/sys-fs/bcache-tools/Manifest b/sys-fs/bcache-tools/Manifest
index 97abfadeebf6..758c849ef533 100644
--- a/sys-fs/bcache-tools/Manifest
+++ b/sys-fs/bcache-tools/Manifest
@@ -1 +1,2 @@
DIST bcache-tools-1.1.tar.gz 34548 BLAKE2B e6ebc0f609debe0cc123deba0e21076441c37cdbc6edd02bf2c16c0e36fe806f1fc160b9e9baed577f86f6358884182a4e3903f34bccee81943191c0ba6a2d11 SHA512 4ccbef47255bf3644a50242a79951b1f3720e71a55eb1e07dc6b8486df0245da99a77bba751b50197d489b4c5d738e5284aabc014c2f7f44816ddf6a1bb807ca
+DIST bcache-tools-1.1_p20230217.tar.gz 44025 BLAKE2B c6e1c3e64d1f53f581cd6ea80b919bd7db93e0ec048de70e65cfa1b28ae59e921c7cdcf4c3d0f25823ab323f76ef29671bc2e3db616bad34e8c193aaa3a38c89 SHA512 aac047cb773ebc9e9c139f0a3da5721511a24265a497ce26fd607a26195d402ef78fa5f3c76d609195ee48267395527bd7083abe996e9fa3009b43ac85f94652
diff --git a/sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild b/sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild
new file mode 100644
index 000000000000..88fe95d15846
--- /dev/null
+++ b/sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic python-r1 toolchain-funcs udev vcs-snapshot
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git https://kernel.googlesource.com/pub/scm/linux/kernel/git/colyli/bcache-tools.git"
+else
+ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/colyli/${PN}.git/snapshot/a5e3753516bd39c431def86c8dfec8a9cea1ddd4.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Tools for bcache"
+HOMEPAGE="https://bcache.evilpiepirate.org/ https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/"
+
+SLOT="0"
+LICENSE="GPL-2"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sys-apps/util-linux
+ virtual/udev
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ tc-export CC
+ sed \
+ -e '/^CFLAGS/s:-O2::' \
+ -e '/^CFLAGS/s:-g::' \
+ -i Makefile || die
+
+ append-lfs-flags
+}
+
+src_install() {
+ into /
+ dosbin bcache make-bcache bcache-super-show
+
+ exeinto $(get_udevdir)
+ doexe bcache-register probe-bcache
+
+ python_foreach_impl python_doscript bcache-status
+
+ udev_dorules 69-bcache.rules
+
+ insinto /etc/initramfs-tools/hooks/bcache
+ doins initramfs/hook
+
+ # that is what dracut does
+ insinto /usr/lib/dracut/modules.d/90bcache
+ doins dracut/module-setup.sh
+
+ doman *.8
+
+ dodoc README
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
next reply other threads:[~2023-09-21 8:19 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-21 8:19 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-26 22:39 [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcache-tools/ Sam James
2023-10-23 14:05 Arthur Zamarin
2023-10-22 11:44 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-09-21 9:04 Florian Schmaus
2023-09-21 9:04 Florian Schmaus
2023-09-21 8:19 Florian Schmaus
2023-09-12 19:28 WANG Xuerui
2023-09-12 19:28 WANG Xuerui
2023-02-25 20:59 Florian Schmaus
2023-02-25 20:59 Florian Schmaus
2022-06-16 11:41 Florian Schmaus
2022-04-07 17:04 Jakov Smolić
2022-01-19 22:43 Sam James
2022-01-18 22:16 Sam James
2022-01-18 12:26 Sam James
2022-01-17 1:57 Georgy Yakovlev
2022-01-17 1:57 Georgy Yakovlev
2022-01-17 1:57 Georgy Yakovlev
2021-12-15 11:22 Florian Schmaus
2021-12-15 11:22 Florian Schmaus
2021-12-15 11:22 Florian Schmaus
2021-12-15 11:22 Florian Schmaus
2021-11-19 18:10 Jakov Smolić
2021-11-19 14:08 Florian Schmaus
2021-06-29 11:34 Florian Schmaus
2021-06-29 11:34 Florian Schmaus
2021-06-29 11:34 Florian Schmaus
2020-09-25 22:28 Sergei Trofimovich
2020-09-25 22:28 Sergei Trofimovich
2020-05-17 16:55 Aaron Bauman
2020-04-09 9:34 Michał Górny
2018-06-23 10:49 Pacho Ramos
2016-01-30 15:11 Justin Lecher
2015-12-07 8:22 Justin Lecher
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=1695284382.64e91259d4f2a7e57ab9a61084e8938b55aec6d4.flow@gentoo \
--to=flow@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