sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Thomas Orgis (067524b86d7f015af54a0311dd1380d4242c7b12)
- From: Thomas Orgis <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (067524b86d7f015af54a0311dd1380d4242c7b12)
- Date: Wed, 4 Mar 2020 19:27:25 +0000
GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:
ChangeLog | 3 +++
disk/bcache-tools/BUILD | 1 +
disk/bcache-tools/DETAILS | 21 +++++++++++++++++++++
disk/bcache-tools/HISTORY | 2 ++
disk/bcache-tools/PRE_BUILD | 6 ++++++
5 files changed, 33 insertions(+)
New commits:
commit 067524b86d7f015af54a0311dd1380d4242c7b12
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
bcache-tools: new spell
diff --git a/ChangeLog b/ChangeLog
index 53b58c4..6d27d3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-03-04 Thomas Orgis <sobukus AT sourcemage.org>
+ * disk/bcache-tools: new spell, managing bcache devices
+
2020-02-23 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* video/freevo: removed, dead upstream
diff --git a/disk/bcache-tools/BUILD b/disk/bcache-tools/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/disk/bcache-tools/BUILD
@@ -0,0 +1 @@
+make
diff --git a/disk/bcache-tools/DETAILS b/disk/bcache-tools/DETAILS
new file mode 100755
index 0000000..d8a6f61
--- /dev/null
+++ b/disk/bcache-tools/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=bcache-tools
+ VERSION=1.0.8
+ SOURCE=$SPELL-$VERSION.tar.gz
+
SOURCE_HASH=sha512:21eaed457e5de623089c0d4e1c11394a3950f29c749c502bfd5dd94d3dcdc7379c4a910825e33bf9fc8080df656949b94a1a28d19048a8eb6422976cb391b7dc
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+# This is not the most-official repo, but it is the one providing the
+# releases.
+ SOURCE_URL[0]=https://github.com/g2p/$SPELL/archive/v$VERSION.tar.gz
+ LICENSE[0]=GPL
+ WEB_SITE=https://bcache.evilpiepirate.org/
+ KEYWORDS="disk"
+ ENTERED=20200304
+ SHORT="manage Linux bcache devices"
+cat << EOF
+Bcache is a Linux kernel block layer cache. It allows one or more
+fast disk drives such as flash-based solid state drives (SSDs) to
+act as a cache for one or more slower hard disk drives.
+
+This spell installs the tools to work with bcache devices, including
+handling device creation and udev helpers/rules to get them online.
+EOF
diff --git a/disk/bcache-tools/HISTORY b/disk/bcache-tools/HISTORY
new file mode 100644
index 0000000..e402a3b
--- /dev/null
+++ b/disk/bcache-tools/HISTORY
@@ -0,0 +1,2 @@
+2020-03-04 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS, BUILD, PRE_BUILD: spell created
diff --git a/disk/bcache-tools/PRE_BUILD b/disk/bcache-tools/PRE_BUILD
new file mode 100755
index 0000000..159f1d1
--- /dev/null
+++ b/disk/bcache-tools/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# Newer GCC makes the inline functio vanish, and it is
+# dearly missed during linking. The patch is carried in
+# distros but nobody cares to include it upstream.
+sed -i -e 's,inline uint64_t crc64,uint64_t crc64,' bcache.c
- [SM-Commit] GIT changes to master grimoire by Thomas Orgis (067524b86d7f015af54a0311dd1380d4242c7b12), Thomas Orgis, 03/04/2020
Archive powered by MHonArc 2.6.24.