sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Vlad Glagolev (4a107ecb61ca2506f1c6a039b10bc04f9f10ca1f)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Vlad Glagolev (4a107ecb61ca2506f1c6a039b10bc04f9f10ca1f)
- Date: Tue, 27 Feb 2024 06:57:37 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
editors/vile/DETAILS | 7 +++++--
editors/vile/HISTORY | 3 +++
utils/atop/DETAILS | 1 +
utils/atop/HISTORY | 5 +++++
utils/atop/INSTALL | 6 ++++++
utils/atop/init.d/atop | 32 ++++++++++++++++++++++++++++++++
utils/atop/init.d/atop.conf | 3 +++
7 files changed, 55 insertions(+), 2 deletions(-)
New commits:
commit 4a107ecb61ca2506f1c6a039b10bc04f9f10ca1f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
vile: => 9.8z
commit 26e44876398427c3b02b332699f61591bce54063
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
atop: add init script
diff --git a/editors/vile/DETAILS b/editors/vile/DETAILS
index b0328f9..a69a06d 100755
--- a/editors/vile/DETAILS
+++ b/editors/vile/DETAILS
@@ -1,6 +1,6 @@
SPELL=vile
VERSIONX=9.8
- VERSION=${VERSIONX}y
+ VERSION=${VERSIONX}z
SOURCE=$SPELL-$VERSIONX.tgz
SOURCE_URL[0]=ftp://invisible-island.net/$SPELL/$SOURCE
SOURCE_URL[1]=http://invisible-mirror.net/archives/$SPELL/$SOURCE
@@ -78,9 +78,12 @@
SOURCE25=${SPELL}-${VERSIONX}x.patch.gz
SOURCE25_URL[0]=$PATCH_URL/$SOURCE25
SOURCE25_HASH=sha512:75bdef6d8615cad087d1c28248cc347bc7a9368e623c67a5ff9536c105c60592704b98c6c013f4e8c9e4faa1e80a12ba86703c3003367f334125c609c507e230
- SOURCE26=${SPELL}-${VERSION}.patch.gz
+ SOURCE26=${SPELL}-${VERSIONX}y.patch.gz
SOURCE26_URL[0]=$PATCH_URL/$SOURCE26
SOURCE26_HASH=sha512:3ffc7e72f323861b6bf04ed2be3e60ae00067015fbfc8e35bd0b8f15ad5aa00be506ac15e9895be2d4fa62ce0738d01b930ba90e0535c7e88c81f415bfa2ff73
+ SOURCE27=${SPELL}-${VERSION}.patch.gz
+ SOURCE27_URL[0]=$PATCH_URL/$SOURCE27
+
SOURCE27_HASH=sha512:293a8c9e2cf6fb645816a992ff4b3bd789e92f8ae655840d8ba6f5387c707c61458440bbb4845001636b12090355294c622619bb24707f649e2deb4a1f71f492
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSIONX"
WEB_SITE=http://invisible-island.net/vile/
DOC_DIRS=""
diff --git a/editors/vile/HISTORY b/editors/vile/HISTORY
index 899308e..14ebfb2 100644
--- a/editors/vile/HISTORY
+++ b/editors/vile/HISTORY
@@ -1,3 +1,6 @@
+2024-02-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 9.8z
+
2023-04-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 9.8y
diff --git a/editors/vile/PROVIDES b/editors/vile/PROVIDES
old mode 100644
new mode 100755
diff --git a/utils/atop/DETAILS b/utils/atop/DETAILS
index e1d6de0..4cc32b1 100755
--- a/utils/atop/DETAILS
+++ b/utils/atop/DETAILS
@@ -1,6 +1,7 @@
SPELL=atop
VERSION=2.9.0
SECURITY_PATCH=1
+ PATCHLEVEL=1
SOURCE_HASH=sha512:460e9594bedb552b8e692d2118d38c47e629f435848fa0d6f2f2d83cafcb19c5b77c419a2b9067a39251c5af2fa955f998074efa616221c010428ec07bb3acee
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=https://www.atoptool.nl/download/${SOURCE}
diff --git a/utils/atop/HISTORY b/utils/atop/HISTORY
index 3029b30..96a2cc5 100644
--- a/utils/atop/HISTORY
+++ b/utils/atop/HISTORY
@@ -1,3 +1,8 @@
+2024-02-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * INSTALL: added init config symlink
+ * init.d: added, init script
+
2023-07-14 Ismael Luceno <ismael AT sourcemage.org>
* PRE_BUILD, 0001-Fix-includes-for-standard-compliance.patch:
fixed build against musl
diff --git a/utils/atop/INSTALL b/utils/atop/INSTALL
new file mode 100755
index 0000000..ac577eb4
--- /dev/null
+++ b/utils/atop/INSTALL
@@ -0,0 +1,6 @@
+make genericinstall &&
+
+install_config_file "${SPELL_DIRECTORY}/init.d/atop.conf" \
+ "${INSTALL_ROOT}/etc/sysconfig/atop" &&
+
+ln -vsf "${TRACK_ROOT}/etc/sysconfig/atop" "${INSTALL_ROOT}/etc/default/atop"
diff --git a/utils/atop/init.d/atop b/utils/atop/init.d/atop
new file mode 100755
index 0000000..483fc2a
--- /dev/null
+++ b/utils/atop/init.d/atop
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+PROGRAM=/usr/share/atop/atop.daily
+NAME=atop
+PIDFILE=/var/run/atop.pid
+RUNLEVEL=2
+NEEDS="+local_fs"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo "Starting ${NAME}..."
+
+ TIMEOUT=3
+
+ exec /bin/sh -c "exec ${PROGRAM}" 2> /dev/null &
+ ppid=$!
+
+ sleep $TIMEOUT && ps -p $ppid > /dev/null || wait $ppid
+
+ evaluate_retval
+}
+
+stop() {
+ echo "Stopping ${NAME}..."
+
+ killproc ${NAME}
+}
+
+reload() {
+ _restart
+}
diff --git a/utils/atop/init.d/atop.conf b/utils/atop/init.d/atop.conf
new file mode 100644
index 0000000..4074c4a
--- /dev/null
+++ b/utils/atop/init.d/atop.conf
@@ -0,0 +1,3 @@
+LOGOPTS="-R" # default options
+LOGINTERVAL=600 # default interval in seconds
+LOGGENERATIONS=28 # default number of days
- [[SM-Commit] ] GIT changes to master grimoire by Vlad Glagolev (4a107ecb61ca2506f1c6a039b10bc04f9f10ca1f), Vlad Glagolev, 02/27/2024
Archive powered by MHonArc 2.6.24.