/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: conf.c,v 1.65 2003-07-14 10:52:21 thib Exp $ */
+ /* $Id: conf.c,v 1.66 2003-12-25 22:43:57 thib Exp $ */
#include "fcron.h"
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: conf.h,v 1.5 2002-10-06 17:08:56 thib Exp $ */
+ /* $Id: conf.h,v 1.6 2003-12-25 22:44:34 thib Exp $ */
#ifndef __CONF_H__
#define __CONF_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.c,v 1.68 2002-10-28 17:52:03 thib Exp $ */
+ /* $Id: fcron.c,v 1.69 2003-12-25 22:43:18 thib Exp $ */
#include "fcron.h"
#include "socket.h"
#endif
-char rcs_info[] = "$Id: fcron.c,v 1.68 2002-10-28 17:52:03 thib Exp $";
+char rcs_info[] = "$Id: fcron.c,v 1.69 2003-12-25 22:43:18 thib Exp $";
void main_loop(void);
void check_signal(void);
{
fprintf(stderr,
"fcron " VERSION_QUOTED " - periodic command scheduler\n"
- "Copyright 2000-2002 Thibault Godouet <fcron@free.fr>\n"
+ "Copyright 2000-2004 Thibault Godouet <fcron@free.fr>\n"
"This program is free software distributed WITHOUT ANY WARRANTY.\n"
"See the GNU General Public License for more details.\n"
);
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.h,v 1.30 2003-09-12 20:54:53 thib Exp $ */
+ /* $Id: fcron.h,v 1.31 2003-12-25 22:43:23 thib Exp $ */
#ifndef __FCRON_H__
#define __FCRON_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrondyn.h,v 1.2 2002-03-02 17:24:22 thib Exp $ */
+ /* $Id: fcrondyn.h,v 1.3 2003-12-25 22:42:35 thib Exp $ */
#ifndef __FCRONDYN_H__
#define __FCRONDYN_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcronsighup.c,v 1.6 2003-09-12 20:49:12 thib Exp $ */
+ /* $Id: fcronsighup.c,v 1.7 2003-12-25 22:39:27 thib Exp $ */
#include "fcronsighup.h"
#include "global.h"
#include "allow.h"
-char rcs_info[] = "$Id: fcronsighup.c,v 1.6 2003-09-12 20:49:12 thib Exp $";
+char rcs_info[] = "$Id: fcronsighup.c,v 1.7 2003-12-25 22:39:27 thib Exp $";
void usage(void);
void sig_daemon(void);
{
fprintf(stderr,
"fcronsighup "VERSION_QUOTED" - make fcron update its fcrontabs\n"
- "Copyright 2000-2002 Thibault Godouet <fcron@free.fr>\n"
+ "Copyright 2000-2004 Thibault Godouet <fcron@free.fr>\n"
"This program is free software distributed WITHOUT ANY WARRANTY.\n"
"See the GNU General Public License for more details.\n"
"\n"
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcronsighup.h,v 1.1 2003-09-12 20:53:24 thib Exp $ */
+ /* $Id: fcronsighup.h,v 1.2 2003-12-25 22:39:50 thib Exp $ */
#ifndef __FCRONSIGHUP_H__
#define __FCRONSIGHUP_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.c,v 1.63 2002-10-28 17:51:13 thib Exp $ */
+ /* $Id: fcrontab.c,v 1.64 2003-12-25 22:42:45 thib Exp $ */
/*
* The goal of this program is simple : giving a user interface to fcron
#include "temp_file.h"
#include "read_string.h"
-char rcs_info[] = "$Id: fcrontab.c,v 1.63 2002-10-28 17:51:13 thib Exp $";
+char rcs_info[] = "$Id: fcrontab.c,v 1.64 2003-12-25 22:42:45 thib Exp $";
void info(void);
void usage(void);
{
fprintf(stderr,
"fcrontab " VERSION_QUOTED " - user interface to daemon fcron\n"
- "Copyright 2000-2002 Thibault Godouet <fcron@free.fr>\n"
+ "Copyright 2000-2004 Thibault Godouet <fcron@free.fr>\n"
"This program is free software distributed WITHOUT ANY WARRANTY.\n"
"See the GNU General Public License for more details.\n"
);
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.h,v 1.17 2002-10-06 16:55:46 thib Exp $ */
+ /* $Id: fcrontab.h,v 1.18 2003-12-25 22:42:53 thib Exp $ */
#ifndef __FCRONTAB_H__
#define __FCRONTAB_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fileconf.h,v 1.4 2002-08-30 20:05:42 thib Exp $ */
+ /* $Id: fileconf.h,v 1.5 2003-12-25 22:43:51 thib Exp $ */
#ifndef __FILECONF_H__
#define __FILECONF_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: global.h,v 1.40 2003-07-14 10:51:52 thib Exp $ */
+ /* $Id: global.h,v 1.41 2003-12-25 22:43:53 thib Exp $ */
/*
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: job.h,v 1.6 2002-10-06 16:51:37 thib Exp $ */
+ /* $Id: job.h,v 1.7 2003-12-25 22:40:59 thib Exp $ */
#ifndef __JOB_H__
#define __JOB_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: log.c,v 1.13 2002-07-19 19:32:39 thib Exp $ */
+ /* $Id: log.c,v 1.14 2003-12-25 22:41:03 thib Exp $ */
/* This code is inspired by Anacron's sources of
Itai Tzur <itzur@actcom.co.il> */
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: log.h,v 1.5 2001-12-23 22:04:03 thib Exp $ */
+ /* $Id: log.h,v 1.6 2003-12-25 22:41:08 thib Exp $ */
#ifndef __LOG_H__
#define __LOG_H__
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: pam.h,v 1.2 2001-12-23 22:04:05 thib Exp $ */
+ /* $Id: pam.h,v 1.3 2003-12-25 22:41:15 thib Exp $ */
#ifndef __PAM_H__
#define __PAM_H__
+#ifdef HAVE_SECURITY_PAM_APPL_H
#include <security/pam_appl.h>
+#elif HAVE_PAM_PAM_APPL_H
+#include <pam/pam_appl.h>
+#endif
/* global variables */
extern pam_handle_t *pamh;
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: read_string.c,v 1.1 2002-03-02 17:24:51 thib Exp $ */
+ /* $Id: read_string.c,v 1.2 2003-12-25 22:42:38 thib Exp $ */
/* read a string (password, etc ...) securely from a tty */
/*
* FCRON - periodic command scheduler
*
- * Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ * Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: read_string.h,v 1.1 2002-03-02 17:25:21 thib Exp $ */
+ /* $Id: read_string.h,v 1.2 2003-12-25 22:42:43 thib Exp $ */
#ifndef __READ_STRING_H__
#define __READ_STRING_H__