cron %n cron %v 3.0pl1 %c * %l * %b * %d * %f sunsite.unc.edu:/pub/Linux/system/Daemons %t cron3.0pl1.tar.gz %w usr.sbin %% # Copyright 1994 Rickard E. Faith, Kevin E. Martin, and Doug L. Hoffman # All rights reserved. # See the BOGUS.LICENSE file for distribution restrictions. if [ ! -d $BUILDDIR ]; then mkdir $BUILDDIR; fi cd $BUILDDIR rm -rf ${NAME}${VERSION} tar zxvf $SRCTARDIR/$TARFILE cd ${NAME}${VERSION} patch -p1 -s << 'EOF_MARKER' && --- cron3.0pl1/Makefile.rik Mon Feb 28 21:39:12 1994 +++ cron3.0pl1/Makefile Sun Sep 11 07:44:14 1994 @@ -47,18 +47,19 @@ #################################### begin configurable stuff #<> +DESTDIR = / DESTROOT = $(DESTDIR)/usr DESTSBIN = $(DESTROOT)/sbin DESTBIN = $(DESTROOT)/bin -DESTMAN = $(DESTROOT)/share/man +DESTMAN = $(DESTROOT)/man #<> INCLUDE = -I. #INCLUDE = #<> LIBS = #<> -#OPTIM = -O -OPTIM = -g +OPTIM = -O2 -m486 +#OPTIM = -g #<> # (ATT untested) #COMPAT = -DATT @@ -78,7 +79,7 @@ #INSTALL = installbsd INSTALL = install #<> -LDFLAGS = +LDFLAGS = -s #################################### end configurable stuff SHELL = /bin/sh --- cron3.0pl1/config.h.rik Mon Feb 28 21:39:15 1994 +++ cron3.0pl1/config.h Sun Sep 11 07:36:09 1994 @@ -20,8 +20,13 @@ * $Id: config.h,v 2.6 1994/01/15 20:43:43 vixie Exp $ */ -#if !defined(_PATH_SENDMAIL) +#if !defined(_PATH_SENDMAIL) || defined(__linux__) +#ifdef __linux__ +# undef _PATH_SENDMAIL +# define _PATH_SENDMAIL "/usr/sbin/sendmail" +#else # define _PATH_SENDMAIL "/usr/lib/sendmail" +#endif #endif /*SENDMAIL*/ /* --- cron3.0pl1/pathnames.h.rik Mon Feb 28 21:39:19 1994 +++ cron3.0pl1/pathnames.h Sun Sep 11 07:39:08 1994 @@ -28,7 +28,7 @@ * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE * are all relative to this directory. */ -#define CRONDIR "/var/cron" +#define CRONDIR "/var/spool/cron" #endif /* SPOOLDIR is where the crontabs live. EOF_MARKER make %doc CHANGES CONVERSION FEATURES MAIL README THANKS * make install * chmod a+r /usr/man/man1/crontab.1 * chmod a+r /usr/man/man5/crontab.5 * chmod a+r /usr/man/man8/cron.8 * chmod a+r /usr/sbin/cron %i echo 'Edit /etc/rc.local and make sure /usr/sbin/cron gets started' %% * usr/bin/crontab * usr/man/man1/crontab.1 * usr/man/man5/crontab.5 * usr/man/man8/cron.8 * usr/sbin/cron