]> granicus.if.org Git - fcron/log
fcron
23 years agoadded support for nsswitch.conf in installation scripts
thib [Mon, 9 Jul 2001 13:07:58 +0000 (13:07 +0000)]
added support for nsswitch.conf in installation scripts

23 years agoremoved access() call (not necessary)
thib [Mon, 9 Jul 2001 11:50:30 +0000 (11:50 +0000)]
removed access() call (not necessary)
use Skip_blanks macro

23 years agocommented out some debug stuff
thib [Mon, 9 Jul 2001 11:50:13 +0000 (11:50 +0000)]
commented out some debug stuff

23 years ago*** empty log message ***
thib [Mon, 9 Jul 2001 11:49:11 +0000 (11:49 +0000)]
*** empty log message ***

23 years agoget rid of the setre*()
thib [Sun, 8 Jul 2001 12:40:43 +0000 (12:40 +0000)]
get rid of the setre*()

23 years agoremoved setreuid (no more needed thanks to fcronsighup)
thib [Sat, 7 Jul 2001 17:52:02 +0000 (17:52 +0000)]
removed setreuid (no more needed thanks to fcronsighup)

23 years ago*** empty log message ***
thib [Sat, 7 Jul 2001 17:44:57 +0000 (17:44 +0000)]
*** empty log message ***

23 years agoupdated make uninstall
thib [Sat, 7 Jul 2001 17:44:45 +0000 (17:44 +0000)]
updated make uninstall

23 years agochanged version message
thib [Sat, 7 Jul 2001 17:33:19 +0000 (17:33 +0000)]
changed version message

23 years agoadded [S]BINDIREX
thib [Sat, 7 Jul 2001 17:33:03 +0000 (17:33 +0000)]
added [S]BINDIREX

23 years agoadded constants BINDIREX and SBINDIREX (needed by fcronsighup)
thib [Sat, 7 Jul 2001 17:30:58 +0000 (17:30 +0000)]
added constants BINDIREX and SBINDIREX (needed by fcronsighup)

23 years agoadded fcronsighup
thib [Sat, 7 Jul 2001 17:30:32 +0000 (17:30 +0000)]
added fcronsighup

23 years agoInitial revision
thib [Sat, 7 Jul 2001 17:29:51 +0000 (17:29 +0000)]
Initial revision

23 years agobug corrected : in create_spooldir : detect if file exist and is not a dir
thib [Wed, 4 Jul 2001 17:45:39 +0000 (17:45 +0000)]
bug corrected : in create_spooldir : detect if file exist and is not a dir
cleaner exit on error in create_spooldir

23 years agoadded option -n
thib [Wed, 4 Jul 2001 17:29:48 +0000 (17:29 +0000)]
added option -n
updated help message : options -n and -c

23 years agoupdated help message : option -c
thib [Wed, 4 Jul 2001 17:29:30 +0000 (17:29 +0000)]
updated help message : option -c

23 years ago\eOA
thib [Wed, 4 Jul 2001 16:16:15 +0000 (16:16 +0000)]
\eOA
we now use Set() macro

23 years agowe now use Set() macro
thib [Wed, 4 Jul 2001 16:15:36 +0000 (16:15 +0000)]
we now use Set() macro

23 years agochanged order of the options of fcron.conf
thib [Sun, 24 Jun 2001 13:23:40 +0000 (13:23 +0000)]
changed order of the options of fcron.conf

23 years agoadded fcron.conf
thib [Sun, 24 Jun 2001 13:23:35 +0000 (13:23 +0000)]
added fcron.conf

23 years agochanged order of the assignement
thib [Sun, 24 Jun 2001 13:23:08 +0000 (13:23 +0000)]
changed order of the assignement

23 years agoadded debug_opt var
thib [Fri, 22 Jun 2001 21:09:58 +0000 (21:09 +0000)]
added debug_opt var

23 years agoadded fcron.conf support>
thib [Fri, 22 Jun 2001 21:09:15 +0000 (21:09 +0000)]
added fcron.conf support>

23 years agoadded Set macro
thib [Fri, 22 Jun 2001 21:08:43 +0000 (21:08 +0000)]
added Set macro
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded the possibility to put a user name before the shell command (=runas)
thib [Fri, 22 Jun 2001 21:08:18 +0000 (21:08 +0000)]
added the possibility to put a user name before the shell command (=runas)

23 years agoSkip_blanks moved from fcrontab.h to global.h
thib [Fri, 22 Jun 2001 21:07:16 +0000 (21:07 +0000)]
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded fcron.conf support
thib [Fri, 22 Jun 2001 21:06:05 +0000 (21:06 +0000)]
added fcron.conf support

23 years agoInitial revision
thib [Fri, 22 Jun 2001 21:05:52 +0000 (21:05 +0000)]
Initial revision

23 years ago*** empty log message ***
thib [Tue, 12 Jun 2001 06:41:06 +0000 (06:41 +0000)]
*** empty log message ***

23 years agoadded an (int) to avoid a warning
thib [Tue, 12 Jun 2001 06:40:33 +0000 (06:40 +0000)]
added an (int) to avoid a warning

23 years agobug corrected about kstat
thib [Wed, 6 Jun 2001 15:26:52 +0000 (15:26 +0000)]
bug corrected about kstat

23 years ago*** empty log message ***
thib [Tue, 5 Jun 2001 10:19:45 +0000 (10:19 +0000)]
*** empty log message ***

23 years agobug corrected : a "all" in allow file with no deny file was considered
thib [Tue, 5 Jun 2001 10:19:10 +0000 (10:19 +0000)]
bug corrected : a "all" in allow file with no deny file was considered
as an non allowed user

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:18:16 +0000 (10:18 +0000)]
added support of kstat for getloadavg under Solaris

23 years agoadded a (int) to avoid a warning message
thib [Tue, 5 Jun 2001 10:17:56 +0000 (10:17 +0000)]
added a (int) to avoid a warning message

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:17:01 +0000 (10:17 +0000)]
added support of kstat for getloadavg under Solaris
some more tests, test for -x and not -f when it is better (shell, ...)

23 years agobug corrected : boot-install should now work with install.sh even if user
thib [Sun, 3 Jun 2001 10:59:35 +0000 (10:59 +0000)]
bug corrected : boot-install should now work with install.sh even if user
compiles from a dir different from source dir.

23 years agobug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and...
thib [Sun, 3 Jun 2001 10:57:40 +0000 (10:57 +0000)]
bug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and install.sh is not in doc dir)

23 years agoadded (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings
thib [Sun, 3 Jun 2001 10:56:18 +0000 (10:56 +0000)]
added (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings

23 years agoadded strings.h (required for bzero() under Solaris)
thib [Sun, 3 Jun 2001 10:55:53 +0000 (10:55 +0000)]
added strings.h (required for bzero() under Solaris)

23 years agowe use waitpid() instead of wait4() (which seems not to be defined under Solaris)
thib [Sun, 3 Jun 2001 10:54:22 +0000 (10:54 +0000)]
we use waitpid() instead of wait4() (which seems not to be defined under Solaris)
support of lockf() for systems (Solaris, etc) without flock()

23 years agobug corrected : if a job was running, it couldn't be added to a serior a lavg queue
thib [Fri, 1 Jun 2001 11:34:58 +0000 (11:34 +0000)]
bug corrected : if a job was running, it couldn't be added to a serior a lavg queue

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:27:55 +0000 (19:27 +0000)]
added fcron's option -m

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:10:10 +0000 (19:10 +0000)]
added fcron's option -m

23 years agocode clean in read_file() : we now use macros to shorten the code
thib [Mon, 28 May 2001 18:48:54 +0000 (18:48 +0000)]
code clean in read_file() : we now use macros to shorten the code

23 years agoadded support of termios.h and lockf() for Solaris and SysV systems
thib [Mon, 28 May 2001 18:47:30 +0000 (18:47 +0000)]
added support of termios.h and lockf() for Solaris and SysV systems

23 years ago*** empty log message ***
thib [Thu, 24 May 2001 20:07:42 +0000 (20:07 +0000)]
*** empty log message ***

23 years agoadded option tzdiff
thib [Thu, 24 May 2001 19:57:10 +0000 (19:57 +0000)]
added option tzdiff

23 years agouse $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}
thib [Thu, 24 May 2001 19:56:13 +0000 (19:56 +0000)]
use $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}

23 years ago"user" can now be used instead of "-u user" : more intuitive.
thib [Thu, 24 May 2001 19:54:48 +0000 (19:54 +0000)]
"user" can now be used instead of "-u user" : more intuitive.
security fix : sym link attack against "fcrontab -"

23 years agoadded global var tmp_path (used by temp_file())
thib [Thu, 17 May 2001 00:53:02 +0000 (00:53 +0000)]
added global var tmp_path (used by temp_file())

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:55 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:43 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:27:28 +0000 (01:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:22:28 +0000 (01:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:19:49 +0000 (01:19 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:38 +0000 (01:17 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:36 +0000 (01:17 +0000)]
*** empty log message ***

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:50:24 +0000 (00:50 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)
some modifications to be used by fcrontab (possibility to know the filename and not to unlink it)

23 years agoconstant options have moved to corresponding .h file
thib [Tue, 15 May 2001 00:49:11 +0000 (00:49 +0000)]
constant options have moved to corresponding .h file

23 years agobug fix : run autoconf and configure before updatedoc to ensure the version is update...
thib [Tue, 15 May 2001 00:46:22 +0000 (00:46 +0000)]
bug fix : run autoconf and configure before updatedoc to ensure the version is updated correctly

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:46:11 +0000 (00:46 +0000)]
before loading a header file, check if it has already been loaded

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:46:00 +0000 (00:46 +0000)]
include in each .c file the corresponding .h file

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 00:44:51 +0000 (00:44 +0000)]
*** empty log message ***

23 years agosecurity bug fix : use temp_file() to avoid symlink attacks
thib [Tue, 15 May 2001 00:44:21 +0000 (00:44 +0000)]
security bug fix : use temp_file() to avoid symlink attacks

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:42:48 +0000 (00:42 +0000)]
include in each .c file the corresponding .h file

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:42:05 +0000 (00:42 +0000)]
before loading a header file, check if it has already been loaded

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:37:54 +0000 (00:37 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)

23 years agofix a little error in the comments
thib [Mon, 7 May 2001 01:08:12 +0000 (01:08 +0000)]
fix a little error in the comments

23 years agoconvert also new fcrontab files
thib [Sat, 5 May 2001 19:09:27 +0000 (19:09 +0000)]
convert also new fcrontab files

23 years agochanged name : update_file() is now convert_file()
thib [Sat, 5 May 2001 19:08:51 +0000 (19:08 +0000)]
changed name : update_file() is now convert_file()
added a small explain message

23 years agogpg signing is now done in another makefile
thib [Sat, 5 May 2001 19:08:20 +0000 (19:08 +0000)]
gpg signing is now done in another makefile

23 years ago*** empty log message ***
thib [Mon, 30 Apr 2001 03:02:28 +0000 (03:02 +0000)]
*** empty log message ***

23 years agoadded gpg signing support
thib [Mon, 30 Apr 2001 03:02:03 +0000 (03:02 +0000)]
added gpg signing support

23 years agosupport of the new binary format (no more need to reinstall all the fcrontabs on...
thib [Sun, 29 Apr 2001 22:23:44 +0000 (22:23 +0000)]
support of the new binary format (no more need to reinstall all the fcrontabs on upgrade, but use fcrontab-convert once per fcrontab)

23 years agobetter management of the compilation (no more need for a different instruction for...
thib [Sun, 29 Apr 2001 22:21:31 +0000 (22:21 +0000)]
better management of the compilation (no more need for a different instruction for each object)
added convert-fcrontab

23 years agoInitial revision
thib [Sun, 29 Apr 2001 22:21:09 +0000 (22:21 +0000)]
Initial revision

23 years agoremove unwanted files before anything else
thib [Sun, 29 Apr 2001 22:16:11 +0000 (22:16 +0000)]
remove unwanted files before anything else
better management of memory on error (some fields used not to be free-ed)

23 years agowe now use a header file per c source file
thib [Sun, 29 Apr 2001 22:15:38 +0000 (22:15 +0000)]
we now use a header file per c source file

23 years agoHeader file for fcrontab.c
thib [Sun, 29 Apr 2001 22:14:29 +0000 (22:14 +0000)]
Header file for fcrontab.c

23 years ago*** empty log message ***
thib [Sun, 29 Apr 2001 22:14:20 +0000 (22:14 +0000)]
*** empty log message ***

23 years agoInitial revision
thib [Sun, 29 Apr 2001 22:13:57 +0000 (22:13 +0000)]
Initial revision

23 years agonew default system : we use a macro set_default_opt instead of changing
thib [Sat, 21 Apr 2001 08:56:28 +0000 (08:56 +0000)]
new default system : we use a macro set_default_opt instead of changing
the meaning of a set/unset bit

23 years agoadded functions save_* for the new save system
thib [Sat, 21 Apr 2001 08:55:55 +0000 (08:55 +0000)]
added functions save_* for the new save system

23 years agouse of @srcdir@ to be able to compile fcron from another directory than its source...
thib [Sat, 21 Apr 2001 08:53:40 +0000 (08:53 +0000)]
use of @srcdir@ to be able to compile fcron from another directory than its source dir (and also install it)
use for statement for a clearer code
no more use of options like $5 : we use real names for that
minor bug fix : an erroneous blank line was printed in some case

23 years agouse for statement for a clearer code
thib [Sat, 21 Apr 2001 08:52:53 +0000 (08:52 +0000)]
use for statement for a clearer code

23 years agoInitial revision
thib [Sat, 21 Apr 2001 08:52:16 +0000 (08:52 +0000)]
Initial revision

23 years agouse break instead of goto in wait_chld and wait_all
thib [Sat, 21 Apr 2001 08:50:46 +0000 (08:50 +0000)]
use break instead of goto in wait_chld and wait_all

23 years agoa little bit clearer about the use of @CFLAGS@
thib [Sat, 21 Apr 2001 08:49:10 +0000 (08:49 +0000)]
a little bit clearer about the use of @CFLAGS@
use of @srcdir@ to be able to compile fcron from another directory than its source dir

23 years agowe now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and...
thib [Sat, 21 Apr 2001 08:47:26 +0000 (08:47 +0000)]
we now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and lavg field in a line

23 years agonew save system : the binary format has changed, so it is no more necessary to reinst...
thib [Sat, 21 Apr 2001 08:46:55 +0000 (08:46 +0000)]
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:46:20 +0000 (08:46 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years ago*** empty log message ***
thib [Sat, 21 Apr 2001 08:46:11 +0000 (08:46 +0000)]
*** empty log message ***

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:44:46 +0000 (08:44 +0000)]
better management of errors
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:43:35 +0000 (08:43 +0000)]
better management of errors
more security tests if fcrontab is suid root

23 years agobug corrected : a too long message used not to be truncated correctly, and the string...
thib [Sat, 21 Apr 2001 08:42:33 +0000 (08:42 +0000)]
bug corrected : a too long message used not to be truncated correctly, and the string " (truncated)" was copyed somewhere in the memory, which could lead to a crash

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:39:22 +0000 (08:39 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years agoboolean option can be set using "yes" and "no"
thib [Sat, 10 Mar 2001 13:10:23 +0000 (13:10 +0000)]
boolean option can be set using "yes" and "no"

23 years agoset all files in spooldir to the right mode and owner/group
thib [Fri, 9 Mar 2001 18:03:51 +0000 (18:03 +0000)]
set all files in spooldir to the right mode and owner/group

23 years agoprint a list of possibilities before asking user which one he wants
thib [Wed, 7 Mar 2001 19:33:07 +0000 (19:33 +0000)]
print a list of possibilities before asking user which one he wants
to use