From f035c0913beb2d0b20a56ef36fcfd9262bc496bb Mon Sep 17 00:00:00 2001 From: pst Date: Tue, 12 Aug 1997 18:23:29 +0000 Subject: Activate make distribute and pray I didn't break release building. --- etc/Makefile | 3 ++- etc/cron.d/Makefile | 5 +++++ etc/cron.d/Makefile.inc | 12 ++++++++++++ etc/cron.d/daily/Makefile | 24 ++++++++++++++++++++++++ etc/cron.d/monthly/999.local | 10 ++++++++++ etc/cron.d/monthly/999.monthly.local | 10 ---------- etc/cron.d/monthly/Makefile | 6 ++++++ etc/cron.d/weekly/Makefile | 11 +++++++++++ 8 files changed, 70 insertions(+), 11 deletions(-) create mode 100644 etc/cron.d/Makefile create mode 100644 etc/cron.d/Makefile.inc create mode 100644 etc/cron.d/daily/Makefile create mode 100755 etc/cron.d/monthly/999.local delete mode 100755 etc/cron.d/monthly/999.monthly.local create mode 100644 etc/cron.d/monthly/Makefile create mode 100644 etc/cron.d/weekly/Makefile (limited to 'etc') diff --git a/etc/Makefile b/etc/Makefile index b19a125..a40cf6c 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.11 (Berkeley) 5/21/91 -# $Id: Makefile,v 1.153 1997/07/18 03:49:47 asami Exp $ +# $Id: Makefile,v 1.154 1997/08/02 00:22:44 davidn Exp $ # -rw-r--r-- BINOWN= root @@ -56,6 +56,7 @@ distribution: ${DESTDIR}/var/cron/log; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ master.passwd ${DESTDIR}/etc; \ + ( cd ${.CURDIR}/cron.d; ${MAKE} install );\ ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\ ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ diff --git a/etc/cron.d/Makefile b/etc/cron.d/Makefile new file mode 100644 index 0000000..af87a33 --- /dev/null +++ b/etc/cron.d/Makefile @@ -0,0 +1,5 @@ +# $Id$ + +SUBDIR= daily weekly monthly + +.include diff --git a/etc/cron.d/Makefile.inc b/etc/cron.d/Makefile.inc new file mode 100644 index 0000000..c3a726e --- /dev/null +++ b/etc/cron.d/Makefile.inc @@ -0,0 +1,12 @@ +# $Id$ + +BINDIR= /etc/cron.d/${.CURDIR:T} +BINOWN= root +BINGRP= wheel + +all depend etc lint: + +install: + cd ${.CURDIR}; \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN} \ + ${DESTDIR}/${BINDIR} diff --git a/etc/cron.d/daily/Makefile b/etc/cron.d/daily/Makefile new file mode 100644 index 0000000..8feac95 --- /dev/null +++ b/etc/cron.d/daily/Makefile @@ -0,0 +1,24 @@ +# $Id$ + +BIN= 100.clean-disks \ + 110.clean-tmps \ + 120.clean-preserve \ + 130.clean-msgs \ + 140.clean-rwho \ + 200.backup-passwd \ + 210.backup-aliases \ + 220.backup-distfile \ + 300.calendar \ + 310.accounting \ + 320.rdist \ + 330.news \ + 340.uucp \ + 400.status-disks \ + 410.status-uucp \ + 420.status-network \ + 430.status-rwho \ + 440.status-mailq \ + 450.status-security \ + 999.local + +.include diff --git a/etc/cron.d/monthly/999.local b/etc/cron.d/monthly/999.local new file mode 100755 index 0000000..2b3c984 --- /dev/null +++ b/etc/cron.d/monthly/999.local @@ -0,0 +1,10 @@ +#!/bin/sh - +# +# $Id: 999.monthly.local,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $ +# +if [ -f /etc/monthly.local ]; then + echo "" + echo "Running monthly.local:" + + sh /etc/monthly.local +fi diff --git a/etc/cron.d/monthly/999.monthly.local b/etc/cron.d/monthly/999.monthly.local deleted file mode 100755 index ce7ed0c..0000000 --- a/etc/cron.d/monthly/999.monthly.local +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# -# $Id$ -# -if [ -f /etc/monthly.local ]; then - echo "" - echo "Running monthly.local:" - - sh /etc/monthly.local -fi diff --git a/etc/cron.d/monthly/Makefile b/etc/cron.d/monthly/Makefile new file mode 100644 index 0000000..9cb81a8 --- /dev/null +++ b/etc/cron.d/monthly/Makefile @@ -0,0 +1,6 @@ +# $Id$ + +BIN= 200.accounting \ + 999.local + +.include diff --git a/etc/cron.d/weekly/Makefile b/etc/cron.d/weekly/Makefile new file mode 100644 index 0000000..22d02ce --- /dev/null +++ b/etc/cron.d/weekly/Makefile @@ -0,0 +1,11 @@ +# $Id$ + +BIN= 100.clean-src \ + 120.clean-kvmdb + 300.uucp \ + 310.locate \ + 320.whatis \ + 330.catman \ + 999.local + +.include -- cgit v1.1