diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-01 20:50:36 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-01 20:50:36 +0000 |
commit | a0e5aa5641ba3a5270ac15d421fc3b4660be1520 (patch) | |
tree | 20182b1576a3406f5203605f08cf5e441fd301fc /sysutils/runwhen | |
parent | f6a5689295586a87708953437558cc61709331be (diff) |
Notes
Diffstat (limited to 'sysutils/runwhen')
-rw-r--r-- | sysutils/runwhen/Makefile | 44 | ||||
-rw-r--r-- | sysutils/runwhen/distinfo | 1 | ||||
-rw-r--r-- | sysutils/runwhen/files/patch-compile | 14 | ||||
-rw-r--r-- | sysutils/runwhen/pkg-descr | 24 | ||||
-rw-r--r-- | sysutils/runwhen/pkg-plist | 16 |
5 files changed, 99 insertions, 0 deletions
diff --git a/sysutils/runwhen/Makefile b/sysutils/runwhen/Makefile new file mode 100644 index 000000000000..cfd090582d02 --- /dev/null +++ b/sysutils/runwhen/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: runwhen +# Date created: 2003-10-31 +# Whom: David Thiel <lx@redundancy.redundancy.org> +# +# $FreeBSD$ +# + +PORTNAME= runwhen +PORTVERSION= 2003.10.31 +CATEGORIES= sysutils +MASTER_SITES= http://multivac.cwru.edu/${PORTNAME}/releases/ + +MAINTAINER= lx@redundancy.redundancy.org +COMMENT= Tools for running commands at particular times + +BUILD_DEPENDS= ${LOCALBASE}/include/skalibs:${PORTSDIR}/devel/skalibs + +USE_BZIP2= yes +USE_REINPLACE= yes + +WRKSRC= ${WRKDIR}/admin/${DISTNAME} +ALL_TARGET= default + +DOCS= src/CHANGES src/TODO package/README + +post-patch: + @${REINPLACE_CMD} -e 's!gcc -O2!${CC} ${CFLAGS}!' \ + ${WRKSRC}/conf-compile/host_compile.sh + +do-configure: + ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-compile/package_home + ${ECHO_CMD} ${LOCALBASE} > ${WRKSRC}/conf-compile/depend_skalibs + +do-build: + cd ${WRKSRC} && package/compile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/runwhen/distinfo b/sysutils/runwhen/distinfo new file mode 100644 index 000000000000..cf2e1d90f9fd --- /dev/null +++ b/sysutils/runwhen/distinfo @@ -0,0 +1 @@ +MD5 (runwhen-2003.10.31.tar.bz2) = 9553d896befbec0fec417131dee56053 diff --git a/sysutils/runwhen/files/patch-compile b/sysutils/runwhen/files/patch-compile new file mode 100644 index 000000000000..a8a77511f68e --- /dev/null +++ b/sysutils/runwhen/files/patch-compile @@ -0,0 +1,14 @@ +--- package/compile Thu Oct 30 20:56:44 2003 ++++ package/compile.new Fri Oct 31 16:07:38 2003 +@@ -1426,7 +1426,10 @@ + + make_37() { + echo && echo_ Making compile/host/skalibs && +- ln -s "$depend_skalibs" compile/move/skalibs ++ mkdir compile/move/skalibs && ++ ln -s "$depend_skalibs/include/skalibs" compile/move/skalibs/include && ++ ln -s "$depend_skalibs/lib/skalibs" compile/move/skalibs/library ++ + } + find_sums_37() { + rm -f compile/tmpdir/sums && diff --git a/sysutils/runwhen/pkg-descr b/sysutils/runwhen/pkg-descr new file mode 100644 index 000000000000..1057f8a5f155 --- /dev/null +++ b/sysutils/runwhen/pkg-descr @@ -0,0 +1,24 @@ +The biggest difference between runwhen and other schedulers is that +runwhen doesn't have a single daemon overseeing multiple jobs. +The runwhen tools essentially act as a glorified sleep command. +Perhaps runwhen does nothing that at(1) doesn't, and there are +lots of things at(1) does that runwhen doesn't: + +- runwhen doesn't change user IDs - thus it will never run + anything as the wrong user. +- It doesn't keep a central daemon running at all times - + thus it won't break if that daemon dies. +- It doesn't require any modifications to the system boot procedure. +- It doesn't log through syslog(3) - thus it won't make a mess + on the console if syslogd(1) isn't running. +- It doesn't centralize storage of scheduled jobs (or any other + per-job information) - thus unprivileged users can install and use it + without cooperation from root, and without the use of a setuid program + to handle changes. +- It doesn't send output through mail - thus it doesn't break + if there is no mail system installed. +- It doesn't check access control files - thus it doesn't gratuitously + deny users. + +Author: Paul Jarc <prj@po.cwru.edu> +WWW: http://multivac.cwru.edu/runwhen/ diff --git a/sysutils/runwhen/pkg-plist b/sysutils/runwhen/pkg-plist new file mode 100644 index 000000000000..1d8c99e74b4a --- /dev/null +++ b/sysutils/runwhen/pkg-plist @@ -0,0 +1,16 @@ +@comment $FreeBSD$ +bin/caldelay +bin/delayrun +bin/maxinterval +bin/mininterval +bin/rw-add +bin/rw-match +bin/rw-max +bin/rw-min +bin/rw-sleep +bin/rw-sub +bin/rw-touch +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% |