aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-11-24 18:47:24 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-11-24 18:47:24 +0000
commit8f41614e3b66f337f64695f8ba57b5b6989494f4 (patch)
tree3523a301cf48d6beebe191f6af1166df4f82a297
parent8995c02360ad2a4ddc46a3d3f821c8b0d81659de (diff)
downloadmkbuilds-8f41614e3b66f337f64695f8ba57b5b6989494f4.tar.gz
mkbuilds-8f41614e3b66f337f64695f8ba57b5b6989494f4.tar.bz2
anacron: added anacrontab.new
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@263 18ef50b8-d735-4ccd-97c1-689132df3dd9
-rw-r--r--sys/process/anacron/anacron.mkbuild12
-rw-r--r--sys/process/anacron/anacrontab.new7
2 files changed, 16 insertions, 3 deletions
diff --git a/sys/process/anacron/anacron.mkbuild b/sys/process/anacron/anacron.mkbuild
index 0e50dd9..2b77b4b 100644
--- a/sys/process/anacron/anacron.mkbuild
+++ b/sys/process/anacron/anacron.mkbuild
@@ -38,6 +38,12 @@
# SlackBuild PATH in Slack.Sarava tree
[[SLACKBUILD PATH]]="sys/process/anacron"
+# Install script
+[[REST OF DOINST.SH]]="config etc/anacrontab.new"
+
+# Config files
+[[CONFIG FILES]]="etc/privoxy/config etc/privoxy/trust"
+
#---------------------
# SlackBuild Sections
#---------------------
@@ -68,7 +74,7 @@ off: compress_info_files
on: install_documentation
on: slackdesc
off: move_config_files
-off: postinstall_script
+ on: postinstall_script
on: build_package
on: clean_builds
#<< End SlackBuild Sections
@@ -92,12 +98,12 @@ anacron:
#>install_package
# Install
-mkdir -p $PKG
-mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8
+mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8 $PKG/etc
cp anacron $PKG/usr/sbin
cp anacrontab.5 $PKG/usr/man/man5
cp anacron.8 $PKG/usr/man/man8
+cp $CWD/anacrontab.new $PKG/etc
gzip $PKG/usr/man/man5/anacrontab.5
gzip $PKG/usr/man/man8/anacron.8
diff --git a/sys/process/anacron/anacrontab.new b/sys/process/anacron/anacrontab.new
new file mode 100644
index 0000000..793cf3e
--- /dev/null
+++ b/sys/process/anacron/anacrontab.new
@@ -0,0 +1,7 @@
+# /etc/anacrontab
+SHELL=/bin/sh
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+# format: period delay job-identifier command
+1 5 cron.daily run-parts /etc/cron.daily
+7 10 cron.weekly run-parts /etc/cron.weekly
+@monthly 15 cron.monthly run-parts /etc/cron.monthly