sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c7dd1d4a253b43d1bdbad918af1526262dfd6e3f)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c7dd1d4a253b43d1bdbad918af1526262dfd6e3f)
- Date: Fri, 30 Oct 2026 22:49:17 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
utils/plocate/BUILD | 2 --
utils/plocate/CONFIGURE | 4 ++--
utils/plocate/DETAILS | 2 +-
utils/plocate/HISTORY | 5 +++++
utils/plocate/INSTALL | 5 +++++
utils/plocate/cron.daily/plocate | 2 ++
6 files changed, 15 insertions(+), 5 deletions(-)
New commits:
commit c7dd1d4a253b43d1bdbad918af1526262dfd6e3f
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
plocate: Add cron script; PATCHLEVEL++
diff --git a/utils/plocate/BUILD b/utils/plocate/BUILD
index 83ffd9c..46fb004 100755
--- a/utils/plocate/BUILD
+++ b/utils/plocate/BUILD
@@ -1,5 +1,3 @@
create_group plocate &&
-
OPTS+=" sharedstatedir=/var/lib" &&
-OPTS+=" $INSTALL_CRON" &&
meson_build
diff --git a/utils/plocate/CONFIGURE b/utils/plocate/CONFIGURE
index 4975f6a..6f5d13f 100755
--- a/utils/plocate/CONFIGURE
+++ b/utils/plocate/CONFIGURE
@@ -1,3 +1,3 @@
config_query_option INSTALL_CRON \
- "Install mlocate database conversion script into /etc/cron.daily?" \
- n install_cron=true install_cron=false
+ "Install plocate database update script into /etc/cron.daily?" \
+ y install_cron=true install_cron=false
diff --git a/utils/plocate/DETAILS b/utils/plocate/DETAILS
index 756a5e5..d8eb8e6 100755
--- a/utils/plocate/DETAILS
+++ b/utils/plocate/DETAILS
@@ -3,7 +3,7 @@ source $GRIMOIRE/MESON_FUNCTIONS
VERSION=1.1.25
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_HASH=sha512:93d8abbe53652b8874c0c27171603fe758cf5c17b6f23c664441b89679434fe1174418d80da4391fd1030e3207de62e35049d7817048f4dd7b1a68782e620d7e
- PATCHLEVEL=1
+ PATCHLEVEL=2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=https://plocate.sesse.net/
SOURCE_URL[0]=$WEB_SITE/download/$SOURCE
diff --git a/utils/plocate/HISTORY b/utils/plocate/HISTORY
index d726809..38526ad 100644
--- a/utils/plocate/HISTORY
+++ b/utils/plocate/HISTORY
@@ -1,3 +1,8 @@
+2026-10-30 Ismael Luceno <ismael AT sourcemage.org>
+ * CONFIGURE, INSTALL, cron.daily/plocate: added cron script
+ * BUILD: removed no-op option
+ * DETAILS: PATCHLEVEL++
+
2026-10-10 Ismael Luceno <ismael AT sourcemage.org>
* BUILD, CONFIGURE, DEPENDS, DETAILS, PRE_BUILD, WATCH
patches/0001-Fix-build-with-musl-libc.patch: spell created
diff --git a/utils/plocate/INSTALL b/utils/plocate/INSTALL
new file mode 100755
index 0000000..f5d04a5
--- /dev/null
+++ b/utils/plocate/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+if [ "x${INSTALL_CRON}" = "xinstall_cron=true" ]; then
+ install -vm755 "${SPELL_DIRECTORY}"/cron.daily/plocate \
+ -Dt "${INSTALL_ROOT}"/etc/cron.daily/
+fi
diff --git a/utils/plocate/cron.daily/plocate
b/utils/plocate/cron.daily/plocate
new file mode 100755
index 0000000..1fae273
--- /dev/null
+++ b/utils/plocate/cron.daily/plocate
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/sbin/updatedb
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c7dd1d4a253b43d1bdbad918af1526262dfd6e3f), Ismael Luceno, 10/30/2026
Archive powered by MHonArc 2.6.24.