diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-12-17 10:32:34 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-12-17 10:32:34 +0800 |
commit | b3b4234e461bdd7e73475f2cc6de115001b95163 (patch) | |
tree | 007c81a7f608b36f724c6499c56ec60aa6e49cf9 | |
parent | 0bf110d7348d62cc2c42a0bf97704e00d1a7f2e7 (diff) | |
download | freebsd-ports-gnome-b3b4234e461bdd7e73475f2cc6de115001b95163.tar.gz freebsd-ports-gnome-b3b4234e461bdd7e73475f2cc6de115001b95163.tar.zst freebsd-ports-gnome-b3b4234e461bdd7e73475f2cc6de115001b95163.zip |
add mcron 1.0.0
A 100% compatible replacement for Vixie cron
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/mcron/Makefile | 25 | ||||
-rw-r--r-- | sysutils/mcron/distinfo | 1 | ||||
-rw-r--r-- | sysutils/mcron/pkg-descr | 15 | ||||
-rw-r--r-- | sysutils/mcron/pkg-plist | 12 |
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index d4ae4617c421..4694fe958526 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -189,6 +189,7 @@ SUBDIR += lxsplit SUBDIR += maint SUBDIR += manck + SUBDIR += mcron SUBDIR += memgrep SUBDIR += memtest SUBDIR += metalog diff --git a/sysutils/mcron/Makefile b/sysutils/mcron/Makefile new file mode 100644 index 000000000000..23c17820c980 --- /dev/null +++ b/sysutils/mcron/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# Ports collection makefile for: mcron +# Date created: Dec 17, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= mcron +PORTVERSION= 1.0.0 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.rdmp.org/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= A 100% compatible replacement for Vixie cron + +BUILD_DEPENDS= guile:${PORTSDIR}/lang/guile +RUN_DEPENDS= guile:${PORTSDIR}/lang/guile + +GNU_CONFIGURE= yes +MAKEFILE= makefile + +INFO= mcron + +.include <bsd.port.mk> diff --git a/sysutils/mcron/distinfo b/sysutils/mcron/distinfo new file mode 100644 index 000000000000..1ec9d4c9a2de --- /dev/null +++ b/sysutils/mcron/distinfo @@ -0,0 +1 @@ +MD5 (mcron-1.0.0.tar.gz) = 9a80fa4afc0abd8560fe8651aa8a9939 diff --git a/sysutils/mcron/pkg-descr b/sysutils/mcron/pkg-descr new file mode 100644 index 000000000000..ef46a0b18181 --- /dev/null +++ b/sysutils/mcron/pkg-descr @@ -0,0 +1,15 @@ +The mcron program represents a complete re-think of the cron concept originally +found in the Berkeley and AT&T unices, and subsequently rationalized by Paul +Vixie. The original idea was to have a daemon that wakes up every minute, scans +a set of files under a special directory, and determines from those files if +any shell commands should be executed in this minute. + +The new idea is to read the required command instructions, work out which +command needs to be executed next, and then sleep until the inferred time has +arrived. On waking the commands are run, and the time of the next command is +computed. Furthermore, the specifications are written in scheme, allowing at +the same time simple command execution instructions and very much more flexible +ones to be composed than the original Vixie format. This has several useful +advantages over the original idea. + +WWW: http://rdmp.org/mcron/ diff --git a/sysutils/mcron/pkg-plist b/sysutils/mcron/pkg-plist new file mode 100644 index 000000000000..770004a48cf3 --- /dev/null +++ b/sysutils/mcron/pkg-plist @@ -0,0 +1,12 @@ +bin/cron +bin/crontab +bin/mcron +share/guile/site/mcron/config.scm +share/guile/site/mcron/core.scm +share/guile/site/mcron/environment.scm +share/guile/site/mcron/job-specifier.scm +share/guile/site/mcron/redirect.scm +share/guile/site/mcron/vixie-specification.scm +share/guile/site/mcron/vixie-time.scm +@dirrm share/guile/site/mcron +@unexec rmdir %D/share/guile/site 2>/dev/null || true |