summaryrefslogtreecommitdiffstats
path: root/source/a/dcron
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-01-04 20:54:16 +0000
committer Eric Hameleers <alien@slackware.com>2024-01-04 22:41:03 +0100
commitc238904d3eff61ed21677642f58df725f918a199 (patch)
treec551bf7b388aa42caa848d53ab952479e5169d98 /source/a/dcron
parente2f5262f1f9e279bfb0ace9caf913ac1021064f9 (diff)
downloadcurrent-c238904d3eff61ed21677642f58df725f918a199.tar.gz
current-c238904d3eff61ed21677642f58df725f918a199.tar.xz
Thu Jan 4 20:54:16 UTC 202420240104205416
a/dcron-4.5-x86_64-14.txz: Rebuilt. Add /etc/default/run-parts. Thanks to lostintime. kde/fcitx5-configtool-5.1.3-x86_64-1.txz: Upgraded. x/fcitx5-5.1.6-x86_64-1.txz: Upgraded. x/fcitx5-qt-5.1.4-x86_64-1.txz: Upgraded. x/pixman-0.43.0-x86_64-1.txz: Upgraded. x/xcb-imdkit-1.0.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/dcron')
-rwxr-xr-xsource/a/dcron/dcron.SlackBuild7
-rw-r--r--source/a/dcron/doinst.sh1
-rw-r--r--source/a/dcron/run-parts.default1
3 files changed, 6 insertions, 3 deletions
diff --git a/source/a/dcron/dcron.SlackBuild b/source/a/dcron/dcron.SlackBuild
index b1bb34962..c09bd8fdc 100755
--- a/source/a/dcron/dcron.SlackBuild
+++ b/source/a/dcron/dcron.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009, 2010, 2012, 2016, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010, 2012, 2016, 2018, 2022, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dcron
VERSION=${VERSION:-$(echo dcron-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-13}
+BUILD=${BUILD:-14}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -126,9 +126,10 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.crond > $PKG/etc/rc.d/rc.crond.new
chmod 755 $PKG/etc/rc.d/rc.crond.new
-# Add the default file:
+# Add the default files:
mkdir -p $PKG/etc/default
cat $CWD/crond.default > $PKG/etc/default/crond.new
+cat $CWD/run-parts.default > $PKG/etc/default/run-parts.new
# Create some other stuff we need
mkdir -p $PKG/etc/cron.{hourly,daily,weekly,monthly}
diff --git a/source/a/dcron/doinst.sh b/source/a/dcron/doinst.sh
index 0d5f1ee87..2c3785fa0 100644
--- a/source/a/dcron/doinst.sh
+++ b/source/a/dcron/doinst.sh
@@ -26,5 +26,6 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.crond.new
config etc/default/crond.new
+config etc/default/run-parts.new
config var/spool/cron/crontabs/root.new
rm -f var/spool/cron/crontabs/root.new
diff --git a/source/a/dcron/run-parts.default b/source/a/dcron/run-parts.default
new file mode 100644
index 000000000..6fd1cce97
--- /dev/null
+++ b/source/a/dcron/run-parts.default
@@ -0,0 +1 @@
+# This file is used to set environment variables for /usr/bin/run-parts.