165557Sjasone/* $NetBSD: config.h,v 1.5 2017/06/09 17:36:30 christos Exp $ */ 265557Sjasone 365557Sjasone/* Copyright 1988,1990,1993,1994 by Paul Vixie 465557Sjasone * All rights reserved 565557Sjasone */ 665557Sjasone 765557Sjasone/* 865557Sjasone * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 965557Sjasone * Copyright (c) 1997,2000 by Internet Software Consortium, Inc. 1065557Sjasone * 1165557Sjasone * Permission to use, copy, modify, and distribute this software for any 1265557Sjasone * purpose with or without fee is hereby granted, provided that the above 1365557Sjasone * copyright notice and this permission notice appear in all copies. 1465557Sjasone * 1565557Sjasone * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES 1665557Sjasone * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1765557Sjasone * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 1865557Sjasone * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1965557Sjasone * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 2065557Sjasone * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 2165557Sjasone * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 2265557Sjasone */ 2365557Sjasone 2465557Sjasone/* config.h - configurables for ISC Cron 2565557Sjasone * 2665557Sjasone * Id: config.h,v 1.10 2004/01/23 18:56:42 vixie Exp 2765557Sjasone */ 2865557Sjasone 2967352Sjhb/* 3065557Sjasone * these are site-dependent 3165557Sjasone */ 3265557Sjasone 3365557Sjasone#ifndef DEBUGGING 3486411Sjhb#define DEBUGGING 1 /* 1 or 0 -- do you want debugging code built in? */ 3572200Sbmilekic#endif 3672200Sbmilekic 3768790Sjhb /* 3867676Sjhb * choose one of these mailer commands. some use 3965557Sjasone * /bin/mail for speed; it makes biff bark but doesn't 4067352Sjhb * do aliasing. sendmail does do aliasing but is 4167352Sjhb * a hog for short messages. aliasing is not needed 4276166Smarkm * if you make use of the MAILTO= feature in crontabs. 4367352Sjhb * (hint: MAILTO= was added for this reason). 4474912Sjhb */ 4565557Sjasone 4678766Sjhb#define MAILFMT "%s -FCronDaemon -odi -oem -oi -t" /*-*/ 4767676Sjhb /* -Fx = Set full-name of sender 4865557Sjasone * -odi = Option Deliverymode Interactive 4967352Sjhb * -oem = Option Errors Mailedtosender 5065557Sjasone * -oi = Ignore "." alone on a line 5165557Sjasone * -t = read recipient from header of message 5267352Sjhb */ 5367352Sjhb#define MAILARG _PATH_SENDMAIL /*-*/ 5467352Sjhb 5565557Sjasone/* #define MAILFMT "%s -d %s" */ 5667352Sjhb /* -d = undocumented but common flag: deliver locally? 5768790Sjhb */ 5868790Sjhb/* #define MAILARG "/bin/mail",mailto */ 5967352Sjhb 6067352Sjhb/* #define MAILFMT "%s -mlrxto %s" */ 6167352Sjhb/* #define MAILARG "/usr/mmdf/bin/submit",mailto */ 6265557Sjasone 6372200Sbmilekic/* #define MAIL_DATE */ 6471352Sjasone /* should we include an ersatz Date: header in 6572200Sbmilekic * generated mail? if you are using sendmail 6671352Sjasone * as the mailer, it is better to let sendmail 6772200Sbmilekic * generate the Date: header. 6883366Sjulian */ 6971352Sjasone 7083366Sjulian /* if you want to use syslog(3) instead of appending 7171352Sjasone * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define 7271352Sjasone * SYSLOG here. Note that quite a bit of logging 7374912Sjhb * info is written, and that you probably don't want 7471352Sjasone * to use this on 4.2bsd since everything goes in 7574912Sjhb * /usr/spool/mqueue/syslog. On 4.[34]bsd you can 7674912Sjhb * tell /etc/syslog.conf to send cron's logging to 7774912Sjhb * a separate file. 7874912Sjhb * 7974912Sjhb * Note that if this and LOG_FILE in "pathnames.h" 8074912Sjhb * are both defined, then logging will go to both 8174912Sjhb * places. 8274912Sjhb */ 8371352Sjasone#define SYSLOG /*-*/ 8471352Sjasone 8572200Sbmilekic /* if you want cron to capitalize its name in ps 8672200Sbmilekic * when running a job. Does not work on SYSV. 8783366Sjulian */ 8867352Sjhb/* #define CAPITALIZE_FOR_PS */ 8967352Sjhb 9083366Sjulian /* if you have a tm_gmtoff member in struct tm. 9167352Sjhb * If not, we will have to compute the value ourselves. 9283366Sjulian */ 9383366Sjulian#define HAVE_TM_GMTOFF /*-*/ 9483366Sjulian#define HAVE_FCHOWN /*-*/ 9567352Sjhb#define HAVE_UTIMES /*-*/ 9669376Sjhb#define HAVE_UTIMENSAT 9767352Sjhb#define HAVE_FUTIMENS 9883366Sjulian#define _INCOMPLETE_XOPEN_C063 9967352Sjhb 10083366Sjulian /* if your OS supports a BSD-style login.conf file */ 10167352Sjhb/* #define LOGIN_CAP */ 10283366Sjulian 10367352Sjhb /* if your OS supports BSD authentication */ 10467352Sjhb/*#define BSD_AUTH */ 10583366Sjulian 10667352Sjhb /* Define this to run crontab setgid instead of 10767352Sjhb * setuid root. Group access will be used to read 10867352Sjhb * the tabs/atjobs dirs and the allow/deny files. 10967352Sjhb * If this is not defined then crontab and at 11067352Sjhb * must be setuid root. 11183679Sjhb */ 11272200Sbmilekic /* if your os supports PAM authentication */ 11383366Sjulian/*#define USE_PAM */ 11483366Sjulian 11583366Sjulian/*#define CRON_GROUP "crontab" */ 11667352Sjhb 11769376Sjhb#define ENABLE_FIX_DIRECTORIES 11867352Sjhb 11983366Sjulian#define MAXTABSIZE_DEFAULT (1024*256) 12069376Sjhb