You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(26) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(3) |
Feb
(38) |
Mar
(11) |
Apr
(38) |
May
(21) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2004 |
Jan
(8) |
Feb
(1) |
Mar
(21) |
Apr
(16) |
May
(9) |
Jun
(20) |
Jul
|
Aug
(19) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2005 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(14) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe Z. <jz...@us...> - 2003-04-23 01:41:25
|
Update of /cvsroot/bobs/bobs/bash In directory sc8-pr-cvs1:/tmp/cvs-serv21254/bash Modified Files: cmdloop Log Message: Added an explanation for the parameter expansion '${file##*.}' Index: cmdloop =================================================================== RCS file: /cvsroot/bobs/bobs/bash/cmdloop,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- cmdloop 23 Jul 2002 05:15:07 -0000 1.4 +++ cmdloop 23 Apr 2003 01:41:21 -0000 1.5 @@ -19,6 +19,10 @@ if [ -e $file ] then echo "Starting $file" + +# ${file##*.} resolves to the extension of the file name +# File name 'cmd.1048828727.bash' resolves to just 'bash' +# See 'parameter expansion' in 'info bash' ${file##*.} $file $DELCMD $file echo "Finished $file" |
From: Joe Z. <jz...@us...> - 2003-04-22 19:28:54
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv28959 Modified Files: FAQ Log Message: Fix some typos. Index: FAQ =================================================================== RCS file: /cvsroot/bobs/bobs/FAQ,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- FAQ 21 Apr 2003 22:31:18 -0000 1.1 +++ FAQ 22 Apr 2003 19:28:49 -0000 1.2 @@ -5,7 +5,7 @@ A. Bobs always maintains a full backup (See next question). -Q. How does the bobs backup do? +Q. What does the bobs backup do? A. What happens when bobs backup runs is this: You get a "current" folder which is an rsync'ed copy of the original @@ -26,7 +26,7 @@ process. If you want to change the bobs backup time, but not the cron.daily time, you can move the file backup.php from /etc/cron.daily to a directory of your choice and either put a new line in /etc/crontab to -run backup.php or use 'crontab' as root to add entry for backup.php. +run backup.php or use 'crontab' as root to add an entry for backup.php. Just remember that bobs smallest increment value is a day. Which means that you can run bobs severel times a day, but you will only get one set of incremental files for that day anyway. Your "current" backup will |
From: Joe Z. <jz...@us...> - 2003-04-21 22:31:23
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv30308 Added Files: FAQ Log Message: Started a bobs FAQ. --- NEW FILE: FAQ --- bobs Frequently Asked Questions Q. How does bobs know when to run a "full" backup and when to run an "incremental" and so on? A. Bobs always maintains a full backup (See next question). Q. How does the bobs backup do? A. What happens when bobs backup runs is this: You get a "current" folder which is an rsync'ed copy of the original (with some files and folders excluded. eg. restore_files isn't backed up). While rsync'ing "current", the files that have changed, moved, been deleted or modified (compared to the files on the server they come from) are copied to a temporary "incoming" folder. After current backup has been rsync'ed, bobs tags the files in "incoming" with a date and moves them to the "incremental" folder. Bobs handles the database and some other stuff as well while doing this. The most complex part of bobs is the user interface. The backup routine is quite simple. Q. How do I change the time bobs' backup is run? The backup is run from the /etc/cron.daily directory. So by default, bobs backup is run as is specified in /etc/crontab for the cron.daily process. If you want to change the bobs backup time, but not the cron.daily time, you can move the file backup.php from /etc/cron.daily to a directory of your choice and either put a new line in /etc/crontab to run backup.php or use 'crontab' as root to add entry for backup.php. Just remember that bobs smallest increment value is a day. Which means that you can run bobs severel times a day, but you will only get one set of incremental files for that day anyway. Your "current" backup will however be closer in time to the real servers. |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:28
|
Update of /cvsroot/bobs/bobs/inc/excludes In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/inc/excludes Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/inc/excludes/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:24 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:55 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:28
|
Update of /cvsroot/bobs/bobs/inc In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/inc Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/inc/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:24 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:55 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:27
|
Update of /cvsroot/bobs/bobs/images/menu In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/images/menu Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/images/menu/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:23 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:54 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:27
|
Update of /cvsroot/bobs/bobs/images/bar In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/images/bar Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/images/bar/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:23 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:53 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:26
|
Update of /cvsroot/bobs/bobs/images In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/images Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/images/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:23 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:53 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:26
|
Update of /cvsroot/bobs/bobs/doc In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/doc Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/doc/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:22 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:52 -0000 1.3 @@ -79,6 +79,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:25
|
Update of /cvsroot/bobs/bobs/bash In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/bash Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/bash/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:22 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:52 -0000 1.3 @@ -79,6 +79,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:25
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs Modified Files: ChangeLog Makefile.am Makefile.in TODO bobs.spec configure configure.in Log Message: Created a minimal man page: 'man bobs'. Index: ChangeLog =================================================================== RCS file: /cvsroot/bobs/bobs/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ChangeLog 28 Mar 2003 03:38:21 -0000 1.6 +++ ChangeLog 20 Apr 2003 08:02:51 -0000 1.7 @@ -1,6 +1,13 @@ ChangeLog +Version ? (edit as you go) + + Rene Rask (re...@gr...) + -- Bug fix 4-02-2003 + When backing up multiple servers using nfs, one of the nfs + shares stays mounted. + Version 0.6.0pre1 Rene Rask (re...@gr...) -- Generating dir trees on backup. Index: Makefile.am =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.am,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- Makefile.am 24 Mar 2003 05:39:58 -0000 1.11 +++ Makefile.am 20 Apr 2003 08:02:51 -0000 1.12 @@ -20,7 +20,7 @@ # Subdirectories to also be built # Each subdirectory has it's own Makefile.am -SUBDIRS = bash doc cron images inc js winc +SUBDIRS = bash doc cron images inc js winc man # Install html documents. # By using a variable htmldir, ending in 'dir' Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Makefile.in 24 Mar 2003 05:39:58 -0000 1.8 +++ Makefile.in 20 Apr 2003 08:02:51 -0000 1.9 @@ -84,12 +84,13 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ myrealWEBDIR = @myrealWEBDIR@ -SUBDIRS = bash doc cron images inc js winc +SUBDIRS = bash doc cron images inc js winc man # Install html documents. Index: TODO =================================================================== RCS file: /cvsroot/bobs/bobs/TODO,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- TODO 1 Apr 2003 03:24:26 -0000 1.13 +++ TODO 20 Apr 2003 08:02:51 -0000 1.14 @@ -48,11 +48,6 @@ A share name with a forward slash causes problems. Either don't allow invalid names, or escape them so they don't cause a problem. -When backing up multiple servers using nfs, one of the nfs shares stays -mounted. - Priority: High - Sounds like a bug. - Send optional email indicating status of backup. Priority: High It's important to know if the systems are getting backed up @@ -62,8 +57,8 @@ Priority: Medium Will it just keep growing? -Allow directories to be excluded as well as files. - Priority: Medium +Write man/info pages + Priority: Low --- End of Murray's Suggestions --- ----- WISHLIST ------ Index: bobs.spec =================================================================== RCS file: /cvsroot/bobs/bobs/bobs.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- bobs.spec 28 Mar 2003 03:38:22 -0000 1.2 +++ bobs.spec 20 Apr 2003 08:02:51 -0000 1.3 @@ -14,7 +14,8 @@ %description Browseable Online Backup System (BOBS) is a complete online backup system. -It uses large disks for storing backups and lets users browse the files using a Web browser. +It uses large disks for storing backups and lets users browse and restore +the files using a Web browser. It handles some special files like AppleDouble and icon files. %prep @@ -65,6 +66,7 @@ /var/www/html/bobs/ /etc/cron.daily/backup.php +/usr/man/man1/bobs.1.gz %defattr(-, %{HTTPDUSER}, root) /var/www/html/bobs/inc/servers Index: configure =================================================================== RCS file: /cvsroot/bobs/bobs/configure,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- configure 28 Mar 2003 03:38:22 -0000 1.7 +++ configure 20 Apr 2003 08:02:51 -0000 1.8 @@ -1,19 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.53 for bobs 0.6.0pre1. +# Generated by GNU Autoconf 2.57 for bobs 0.6.0pre1. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - - ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## @@ -22,11 +14,13 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi -# NLS nuisances. # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset @@ -34,34 +28,42 @@ as_unset=false fi -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi # Name of the executable. -as_me=`(basename "$0") 2>/dev/null || +as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ @@ -72,6 +74,7 @@ /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` + # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' @@ -82,15 +85,15 @@ # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi - rm -f conftest.sh + rm -f conf$$.sh fi @@ -138,6 +141,8 @@ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} @@ -210,6 +215,12 @@ fi rm -f conf$$ conf$$.exe conf$$.file +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + as_mkdir_p=false +fi + as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. @@ -226,7 +237,7 @@ IFS=" $as_nl" # CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } +$as_unset CDPATH # Name of the host. @@ -240,6 +251,7 @@ # Initializations. # ac_default_prefix=/usr/local +ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= @@ -260,6 +272,8 @@ ac_unique_file="admin.php" ac_default_prefix='' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE myWEBDIR myBOBSDATA myCRONDIR myCRONTABDIR myMANDIR myPASS myHTTPDUSER myrealBOBSDATA myrealWEBDIR LIBOBJS LTLIBOBJS' +ac_subst_files='' # Initialize some variables set by options. ac_init_help= @@ -683,6 +697,9 @@ { (exit 1); exit 1; }; } fi fi +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias @@ -813,7 +830,7 @@ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` @@ -840,7 +857,7 @@ if $ac_init_version; then cat <<\_ACEOF bobs configure 0.6.0pre1 -generated by GNU Autoconf 2.53 +generated by GNU Autoconf 2.57 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. @@ -855,7 +872,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by bobs $as_me 0.6.0pre1, which was -generated by GNU Autoconf 2.53. Invocation command line was +generated by GNU Autoconf 2.57. Invocation command line was $ $0 $@ @@ -907,27 +924,54 @@ # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= +ac_configure_args0= +ac_configure_args1= ac_sep= -for ac_arg +ac_must_keep_next=false +for ac_pass in 1 2 do - case $ac_arg in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n ) continue ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - continue ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - ac_sep=" " ;; - esac - # Get rid of the leading space. + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there @@ -938,6 +982,7 @@ # Save into config.log some information that might help in debugging. { echo + cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## @@ -960,6 +1005,35 @@ esac; } echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## @@ -967,7 +1041,7 @@ ## ----------- ## _ASBOX echo - sed "/^$/d" confdefs.h + sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && @@ -1133,6 +1207,7 @@ + am__api_version="1.6" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do @@ -1348,15 +1423,15 @@ test -n "$AWK" && break done -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: - @echo 'ac_maketemp="${MAKE}"' + @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` @@ -1514,15 +1589,15 @@ -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: - @echo 'ac_maketemp="${MAKE}"' + @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` @@ -1656,6 +1731,8 @@ myCRONTABDIR=${sysconfdir} +myMANDIR='${prefix}'/usr/man + @@ -1666,7 +1743,9 @@ -ac_config_files="$ac_config_files Makefile bash/Makefile cron/Makefile doc/Makefile images/Makefile images/bar/Makefile images/menu/Makefile inc/Makefile inc/Makefile inc/excludes/Makefile inc/servers/Makefile inc/templates/Makefile js/Makefile winc/Makefile" + + + ac_config_files="$ac_config_files Makefile bash/Makefile cron/Makefile doc/Makefile images/Makefile images/bar/Makefile images/menu/Makefile inc/Makefile inc/excludes/Makefile inc/servers/Makefile inc/templates/Makefile js/Makefile man/Makefile winc/Makefile" @@ -1682,7 +1761,7 @@ )` -ac_config_files="$ac_config_files inc/config.php cron/backup.php cron/check_loop" + ac_config_files="$ac_config_files inc/config.php cron/backup.php cron/check_loop" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -1693,7 +1772,7 @@ # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overriden when +# `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. @@ -1728,7 +1807,7 @@ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache -if cmp -s $cache_file confcache; then :; else +if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file @@ -1790,6 +1869,21 @@ rm -f confdef2opt.sed +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files @@ -1804,11 +1898,12 @@ # configure, is in config.log if it exists. debug=false +ac_cs_recheck=false +ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF - ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## @@ -1817,11 +1912,13 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi -# NLS nuisances. # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset @@ -1829,34 +1926,42 @@ as_unset=false fi -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi # Name of the executable. -as_me=`(basename "$0") 2>/dev/null || +as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ @@ -1867,6 +1972,7 @@ /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` + # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' @@ -1877,15 +1983,15 @@ # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi - rm -f conftest.sh + rm -f conf$$.sh fi @@ -1934,6 +2040,8 @@ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} @@ -2007,6 +2115,12 @@ fi rm -f conf$$ conf$$.exe conf$$.file +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + as_mkdir_p=false +fi + as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. @@ -2023,7 +2137,7 @@ IFS=" $as_nl" # CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } +$as_unset CDPATH exec 6>&1 @@ -2040,7 +2154,7 @@ cat >&5 <<_CSEOF This file was extended by bobs $as_me 0.6.0pre1, which was -generated by GNU Autoconf 2.53. Invocation command line was +generated by GNU Autoconf 2.57. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -2080,6 +2194,7 @@ -h, --help print this help, then exit -V, --version print version number, then exit + -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] @@ -2094,7 +2209,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ bobs config.status 0.6.0pre1 -configured by $0, generated by GNU Autoconf 2.53, +configured by $0, generated by GNU Autoconf 2.57, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 @@ -2115,25 +2230,25 @@ --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift ;; - -*);; *) # This is not an option, so the user has probably given explicit # arguments. + ac_option=$1 ac_need_defaults=false;; esac - case $1 in + case $ac_option in # Handling of the options. _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; -_ACEOF cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) @@ -2148,13 +2263,16 @@ --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 @@ -2169,6 +2287,20 @@ shift done +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + _ACEOF @@ -2188,11 +2320,11 @@ "images/bar/Makefile" ) CONFIG_FILES="$CONFIG_FILES images/bar/Makefile" ;; "images/menu/Makefile" ) CONFIG_FILES="$CONFIG_FILES images/menu/Makefile" ;; "inc/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; - "inc/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; "inc/excludes/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/excludes/Makefile" ;; "inc/servers/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/servers/Makefile" ;; "inc/templates/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/templates/Makefile" ;; "js/Makefile" ) CONFIG_FILES="$CONFIG_FILES js/Makefile" ;; + "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "winc/Makefile" ) CONFIG_FILES="$CONFIG_FILES winc/Makefile" ;; "inc/config.php" ) CONFIG_FILES="$CONFIG_FILES inc/config.php" ;; "cron/backup.php" ) CONFIG_FILES="$CONFIG_FILES cron/backup.php" ;; @@ -2211,6 +2343,9 @@ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { @@ -2219,17 +2354,17 @@ } # Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} + { - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { - tmp=$TMPDIR/cs$$-$RANDOM + tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } @@ -2298,10 +2433,13 @@ s,@myBOBSDATA@,$myBOBSDATA,;t t s,@myCRONDIR@,$myCRONDIR,;t t s,@myCRONTABDIR@,$myCRONTABDIR,;t t +s,@myMANDIR@,$myMANDIR,;t t s,@myPASS@,$myPASS,;t t s,@myHTTPDUSER@,$myHTTPDUSER,;t t s,@myrealBOBSDATA@,$myrealBOBSDATA,;t t s,@myrealWEBDIR@,$myrealWEBDIR,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF @@ -2372,25 +2510,30 @@ /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || - mkdir "$as_incr_dir" || - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; } - ;; - esac -done; } + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } ac_builddir=. @@ -2420,7 +2563,7 @@ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` @@ -2521,8 +2664,11 @@ # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null - $SHELL $CONFIG_STATUS || ac_cs_success=false + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. Index: configure.in =================================================================== RCS file: /cvsroot/bobs/bobs/configure.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- configure.in 28 Mar 2003 03:38:22 -0000 1.9 +++ configure.in 20 Apr 2003 08:02:52 -0000 1.10 @@ -99,6 +99,12 @@ myCRONTABDIR=${sysconfdir} dnl> +dnl> Location of man pages +dnl> + +myMANDIR='${prefix}'/usr/man + +dnl> dnl> The following variables will will be substituted with their dnl> actual values in the files specified in AC_OUTPUT(). dnl> @@ -107,6 +113,7 @@ AC_SUBST(myBOBSDATA) AC_SUBST(myCRONDIR) AC_SUBST(myCRONTABDIR) +AC_SUBST(myMANDIR) AC_SUBST(myPASS) AC_SUBST(myHTTPDUSER) AC_SUBST(PACKAGE) @@ -125,11 +132,11 @@ images/bar/Makefile images/menu/Makefile inc/Makefile -inc/Makefile inc/excludes/Makefile inc/servers/Makefile inc/templates/Makefile js/Makefile +man/Makefile winc/Makefile ]) |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:25
|
Update of /cvsroot/bobs/bobs/cron In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/cron Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/cron/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.in 24 Mar 2003 05:39:58 -0000 1.3 +++ Makefile.in 20 Apr 2003 08:02:52 -0000 1.4 @@ -79,6 +79,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:00
|
Update of /cvsroot/bobs/bobs/winc In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/winc Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/winc/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:29 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:57 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:03:00
|
Update of /cvsroot/bobs/bobs/man In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/man Added Files: Makefile.am Makefile.in bobs.1 Log Message: Created a minimal man page: 'man bobs'. --- NEW FILE: Makefile.am --- mandir = $(myMANDIR) man1_MANS = bobs.1 EXTRA_DIST = bobs.1 --- NEW FILE: Makefile.in --- # Makefile.in generated by automake 1.6.3 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ includedir = @includedir@ oldincludedir = /usr/include pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_HEADER = $(INSTALL_DATA) transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : EXEEXT = @EXEEXT@ OBJEXT = @OBJEXT@ PATH_SEPARATOR = @PATH_SEPARATOR@ mandir = $(myMANDIR) AMTAR = @AMTAR@ AWK = @AWK@ DEPDIR = @DEPDIR@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ PACKAGE = @PACKAGE@ STRIP = @STRIP@ VERSION = @VERSION@ am__include = @am__include@ am__quote = @am__quote@ install_sh = @install_sh@ myBOBSDATA = @myBOBSDATA@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ myrealWEBDIR = @myrealWEBDIR@ man1_MANS = bobs.1 EXTRA_DIST = bobs.1 subdir = man mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = DIST_SOURCES = NROFF = nroff MANS = $(man1_MANS) DIST_COMMON = Makefile.am Makefile.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu man/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) uninstall-info-am: man1dir = $(mandir)/man1 install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(man1dir) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ rm -f $(DESTDIR)$(man1dir)/$$inst; \ done tags: TAGS TAGS: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @list='$(DISTFILES)'; for file in $$list; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) installdirs: $(mkinstalldirs) $(DESTDIR)$(man1dir) install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: install-man install-exec-am: install-info: install-info-am install-man: install-man1 installcheck-am: maintainer-clean: maintainer-clean-am maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic uninstall-am: uninstall-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am info info-am install \ install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic uninstall uninstall-am \ uninstall-info-am uninstall-man uninstall-man1 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- NEW FILE: bobs.1 --- .\" Process this file with .\" groff -man -Tascii foo.1 .\" .TH bobs 1 "APRIL 2003" Linux "User Manuals" .SH NAME bobs \- Browsable Online Backup System .SH DESCRIPTION .B bobs is a backup system that uses hard disks as backup media. Files are fetched from other computers and stored in directories on the computer where bobs is installed. .B bobs is accessed through a couple of web interfaces. The .B admin interface lets you configure which computers and files to backup. The .B user interface allows authorized users to browse their backed up files in a nice directory tree structure. Users can then select and restore their own files. Network connections to the machines being backed up are configured using your choice of .BR samba (7), nfs (5), or .BR rsync (1). More information can be found on .B bobs mailing list at: .RS http://sourceforge.net/mail/?group_id=54656 .RE and .B bobs project page at: .RS http://sourceforge.net/projects/bobs/. .RE .SH FILES .I /etc/crontab .RS A .I check_loop script is installed that makes sure the .I cmdloop script is running in the background. .I cmdloop interacts with the web interface to display the status of files being restored. .RE .I /etc/cron.daily/backup.php .RS This is a php script that runs the backups daily. .RE .I /var/www/html/bobs .RS Default location of bobs web pages. .RE .I /var/bobsdata .RS Default destination of the backed up files. .SH BUGS The user restore interface will not work until at least one backup has been sussessfully completed. Please submit any bugs to the bobs mailing list at http://sourceforge.net/projects/bobs/ .SH AUTHOR Rene Rask <renerask at users dot sourceforge dot net> .SH "SEE ALSO" .B bobs project page at http://sourceforge.net/projects/bobs/ .B bobs mailing list at http://sourceforge.net/mail/?group_id=54656 The .B INSTALL file included with the bobs distribution. |
From: Joe Z. <jz...@us...> - 2003-04-20 08:02:59
|
Update of /cvsroot/bobs/bobs/js In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/js Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/js/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:25 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:56 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:02:59
|
Update of /cvsroot/bobs/bobs/inc/templates In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/inc/templates Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/inc/templates/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:24 -0000 1.2 +++ Makefile.in 20 Apr 2003 08:02:56 -0000 1.3 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-20 08:02:58
|
Update of /cvsroot/bobs/bobs/inc/servers In directory sc8-pr-cvs1:/tmp/cvs-serv26657/bobs/inc/servers Modified Files: Makefile.in Log Message: Created a minimal man page: 'man bobs'. Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/inc/servers/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.in 24 Mar 2003 05:39:58 -0000 1.3 +++ Makefile.in 20 Apr 2003 08:02:55 -0000 1.4 @@ -77,6 +77,7 @@ myCRONDIR = @myCRONDIR@ myCRONTABDIR = @myCRONTABDIR@ myHTTPDUSER = @myHTTPDUSER@ +myMANDIR = @myMANDIR@ myPASS = @myPASS@ myWEBDIR = @myWEBDIR@ myrealBOBSDATA = @myrealBOBSDATA@ |
From: Joe Z. <jz...@us...> - 2003-04-19 16:53:59
|
Update of /cvsroot/bobs/bobs/man In directory sc8-pr-cvs1:/tmp/cvs-serv22535/man Log Message: Directory /cvsroot/bobs/bobs/man added to the repository |
From: Rene R. <ren...@us...> - 2003-04-17 15:01:42
|
Update of /cvsroot/bobs/bobs/inc/templates In directory sc8-pr-cvs1:/tmp/cvs-serv18854 Modified Files: backup_nfs_mount_server.sh backup_smb_mount_server.sh Log Message: Added some debugging help to the output of the backup scripts Index: backup_nfs_mount_server.sh =================================================================== RCS file: /cvsroot/bobs/bobs/inc/templates/backup_nfs_mount_server.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- backup_nfs_mount_server.sh 29 Oct 2002 03:15:44 -0000 1.1 +++ backup_nfs_mount_server.sh 17 Apr 2003 15:01:35 -0000 1.2 @@ -14,5 +14,6 @@ echo "{SESSION_ID}.Finished preparing backup" >> "{SHSTATS}" exit fi + echo "{SESSION_ID}.Preparation failed (mount)" >> "{SHSTATS}" fi Index: backup_smb_mount_server.sh =================================================================== RCS file: /cvsroot/bobs/bobs/inc/templates/backup_smb_mount_server.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- backup_smb_mount_server.sh 29 Oct 2002 03:15:44 -0000 1.1 +++ backup_smb_mount_server.sh 17 Apr 2003 15:01:36 -0000 1.2 @@ -13,5 +13,6 @@ echo "{SESSION_ID}.Finished preparing backup" >> "{SHSTATS}" exit fi + echo "{SESSION_ID}.Preparation failed (mount)" >> "{SHSTATS}" fi |
From: Rene R. <ren...@us...> - 2003-04-03 00:23:40
|
Update of /cvsroot/bobs/bobs/inc In directory sc8-pr-cvs1:/tmp/cvs-serv15771 Modified Files: class_backup.php Log Message: NFS unmount was using the smb template file Index: class_backup.php =================================================================== RCS file: /cvsroot/bobs/bobs/inc/class_backup.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- class_backup.php 22 Dec 2002 01:56:05 -0000 1.7 +++ class_backup.php 3 Apr 2003 00:23:31 -0000 1.8 @@ -347,7 +347,7 @@ // if false delete lock file and report error to bobs.log - $t->define (array('content' => $this->siteroot . '/inc/templates/backup_smb_unmount_server.sh')); + $t->define (array('content' => $this->siteroot . '/inc/templates/backup_nfs_unmount_server.sh')); $t->assign ('MOUNTDIR', $mountdir); $t->assign ('LOCKFILE', $lockfile); $t->parse ('CONTENT', 'content'); |
From: Joe Z. <jz...@us...> - 2003-04-01 03:24:29
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv20410 Modified Files: TODO Log Message: Add suggestions from Murray Curtis. Index: TODO =================================================================== RCS file: /cvsroot/bobs/bobs/TODO,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- TODO 28 Mar 2003 03:38:22 -0000 1.12 +++ TODO 1 Apr 2003 03:24:26 -0000 1.13 @@ -41,6 +41,31 @@ has started. Make cmdloop start as a service from the init.d directory. +--- Suggestions from Murray Curtis 3-31-2003 --- + +Edit or escape share names. + Priority: Medium + A share name with a forward slash causes problems. Either don't + allow invalid names, or escape them so they don't cause a problem. + +When backing up multiple servers using nfs, one of the nfs shares stays +mounted. + Priority: High + Sounds like a bug. + +Send optional email indicating status of backup. + Priority: High + It's important to know if the systems are getting backed up + properly each day. + +How is /bobsdata going to get cleaned up? + Priority: Medium + Will it just keep growing? + +Allow directories to be excluded as well as files. + Priority: Medium + +--- End of Murray's Suggestions --- ----- WISHLIST ------ (Add anything you would like to see in the future, in detail if possible) |
From: Joe Z. <jz...@us...> - 2003-03-28 03:38:29
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv24823/bobs Modified Files: ChangeLog INSTALL TODO VERSION bobs.spec configure configure.in Log Message: Prepare to release 0.6.0pre1 Index: ChangeLog =================================================================== RCS file: /cvsroot/bobs/bobs/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ChangeLog 24 Mar 2003 05:51:53 -0000 1.5 +++ ChangeLog 28 Mar 2003 03:38:21 -0000 1.6 @@ -1,7 +1,7 @@ ChangeLog -Version (pending release. Edit as you go along) +Version 0.6.0pre1 Rene Rask (re...@gr...) -- Generating dir trees on backup. -- New indexes using databases (db3) @@ -10,14 +10,12 @@ -- Some code cleanup. -- Added documentation on proposed new file list format -- Added user help page - -- Joe Zacky ( jz...@us... ) -- Makefile support - -- Better documentation - -- Better administration interface - -- Better user support - -- Added rpm support. + -- More documentation + -- Rewrite administration interface + -- rpm support Version 0.5.1 renerask ( re...@gr... ) Index: INSTALL =================================================================== RCS file: /cvsroot/bobs/bobs/INSTALL,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- INSTALL 24 Mar 2003 05:39:58 -0000 1.19 +++ INSTALL 28 Mar 2003 03:38:22 -0000 1.20 @@ -1,7 +1,7 @@ Installation guide. -Latest update February 2, 2003. +Latest update March, 2003. PLEASE NOTE: This is NOT a secure program. Do not deploy if you have security concerns. (you can test it and see for yourself) Index: TODO =================================================================== RCS file: /cvsroot/bobs/bobs/TODO,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- TODO 24 Mar 2003 05:39:58 -0000 1.11 +++ TODO 28 Mar 2003 03:38:22 -0000 1.12 @@ -22,10 +22,6 @@ Priority: Low File links are things like icons and special files like ".AppleDouble" -Create a bobs.spec file to generate rpms from. - Priority: High - This will allow much easier installation of bobs - Move configuration of "minimum free diskspace" to the config file Priority: Medium It's currently hardcoded, but should be easy to move. @@ -52,5 +48,3 @@ More flexible file locations. File locations should be defined in the individual servers config file(s) Offline file should also be allowed. (like tape backups) - - Index: VERSION =================================================================== RCS file: /cvsroot/bobs/bobs/VERSION,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- VERSION 3 Jun 2002 20:40:04 -0000 1.1 +++ VERSION 28 Mar 2003 03:38:22 -0000 1.2 @@ -1 +1 @@ -Version 0.5.1 +Version 0.6.0pre1 Index: bobs.spec =================================================================== RCS file: /cvsroot/bobs/bobs/bobs.spec,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- bobs.spec 24 Mar 2003 05:39:58 -0000 1.1 +++ bobs.spec 28 Mar 2003 03:38:22 -0000 1.2 @@ -1,6 +1,6 @@ Summary: Browseable Online Backup System (BOBS). Name: bobs -Version: 0.5.1 +Version: 0.6.0pre1 Release: 1 License: GPL Group: Applications/Archiving Index: configure =================================================================== RCS file: /cvsroot/bobs/bobs/configure,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- configure 24 Mar 2003 05:39:58 -0000 1.6 +++ configure 28 Mar 2003 03:38:22 -0000 1.7 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.53 for bobs 0.5.1. +# Generated by GNU Autoconf 2.53 for bobs 0.6.0pre1. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -254,8 +254,8 @@ # Identity of this package. PACKAGE_NAME='bobs' PACKAGE_TARNAME='bobs' -PACKAGE_VERSION='0.5.1' -PACKAGE_STRING='bobs 0.5.1' +PACKAGE_VERSION='0.6.0pre1' +PACKAGE_STRING='bobs 0.6.0pre1' PACKAGE_BUGREPORT='' ac_unique_file="admin.php" @@ -704,7 +704,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bobs 0.5.1 to adapt to many kinds of systems. +\`configure' configures bobs 0.6.0pre1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -766,7 +766,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bobs 0.5.1:";; + short | recursive ) echo "Configuration of bobs 0.6.0pre1:";; esac cat <<\_ACEOF @@ -839,7 +839,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -bobs configure 0.5.1 +bobs configure 0.6.0pre1 generated by GNU Autoconf 2.53 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 @@ -854,7 +854,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bobs $as_me 0.5.1, which was +It was created by bobs $as_me 0.6.0pre1, which was generated by GNU Autoconf 2.53. Invocation command line was $ $0 $@ @@ -1387,7 +1387,7 @@ # Define the identity of the package. PACKAGE=bobs - VERSION=0.5.1 + VERSION=0.6.0pre1 cat >>confdefs.h <<_ACEOF @@ -2039,7 +2039,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by bobs $as_me 0.5.1, which was +This file was extended by bobs $as_me 0.6.0pre1, which was generated by GNU Autoconf 2.53. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2093,7 +2093,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -bobs config.status 0.5.1 +bobs config.status 0.6.0pre1 configured by $0, generated by GNU Autoconf 2.53, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Index: configure.in =================================================================== RCS file: /cvsroot/bobs/bobs/configure.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- configure.in 24 Mar 2003 05:39:58 -0000 1.8 +++ configure.in 28 Mar 2003 03:38:22 -0000 1.9 @@ -13,13 +13,13 @@ dnl> 02-03-2003 Provide destination for crontab for 'make rpm'. PACKAGE=bobs -VERSION=0.5.1 +VERSION=0.6.0pre1 dnl> dnl> Verify we're in the right directory by looking for a unique file. dnl> -AC_INIT(bobs, 0.5.1) +AC_INIT(bobs, 0.6.0pre1) AC_CONFIG_SRCDIR(admin.php) AM_INIT_AUTOMAKE |
From: Joe Z. <jz...@us...> - 2003-03-24 05:51:56
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv2085 Modified Files: ChangeLog Log Message: make rpm. Index: ChangeLog =================================================================== RCS file: /cvsroot/bobs/bobs/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ChangeLog 14 Sep 2002 14:24:29 -0000 1.4 +++ ChangeLog 24 Mar 2003 05:51:53 -0000 1.5 @@ -17,6 +17,7 @@ -- Better documentation -- Better administration interface -- Better user support + -- Added rpm support. Version 0.5.1 renerask ( re...@gr... ) |
From: Joe Z. <jz...@us...> - 2003-03-24 05:40:01
|
Update of /cvsroot/bobs/bobs/cron In directory sc8-pr-cvs1:/tmp/cvs-serv31454/bobs/cron Modified Files: Makefile.am Makefile.in Log Message: make rpm Index: Makefile.am =================================================================== RCS file: /cvsroot/bobs/bobs/cron/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.am 5 Feb 2003 02:05:22 -0000 1.3 +++ Makefile.am 24 Mar 2003 05:39:58 -0000 1.4 @@ -3,13 +3,13 @@ crondir = $(myCRONDIR) -dist_cron_SCRIPTS = backup.php +cron_SCRIPTS = backup.php # install to bobs script directory processdir = $(myBOBSDATA)/current/process -dist_process_SCRIPTS = check_loop +process_SCRIPTS = check_loop install-data-local: Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/cron/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 5 Feb 2003 02:05:22 -0000 1.2 +++ Makefile.in 24 Mar 2003 05:39:58 -0000 1.3 @@ -86,21 +86,20 @@ crondir = $(myCRONDIR) -dist_cron_SCRIPTS = backup.php +cron_SCRIPTS = backup.php # install to bobs script directory processdir = $(myBOBSDATA)/current/process -dist_process_SCRIPTS = check_loop +process_SCRIPTS = check_loop subdir = cron mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = backup.php check_loop -SCRIPTS = $(dist_cron_SCRIPTS) $(dist_process_SCRIPTS) +SCRIPTS = $(cron_SCRIPTS) $(process_SCRIPTS) DIST_SOURCES = -DIST_COMMON = $(dist_cron_SCRIPTS) $(dist_process_SCRIPTS) Makefile.am \ - Makefile.in backup.php.in check_loop.in +DIST_COMMON = Makefile.am Makefile.in backup.php.in check_loop.in all: all-am .SUFFIXES: @@ -113,42 +112,42 @@ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ check_loop: $(top_builddir)/config.status check_loop.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -dist_cronSCRIPT_INSTALL = $(INSTALL_SCRIPT) -install-dist_cronSCRIPTS: $(dist_cron_SCRIPTS) +cronSCRIPT_INSTALL = $(INSTALL_SCRIPT) +install-cronSCRIPTS: $(cron_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(crondir) - @list='$(dist_cron_SCRIPTS)'; for p in $$list; do \ + @list='$(cron_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(dist_cronSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(crondir)/$$f"; \ - $(dist_cronSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(crondir)/$$f; \ + echo " $(cronSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(crondir)/$$f"; \ + $(cronSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(crondir)/$$f; \ else :; fi; \ done -uninstall-dist_cronSCRIPTS: +uninstall-cronSCRIPTS: @$(NORMAL_UNINSTALL) - @list='$(dist_cron_SCRIPTS)'; for p in $$list; do \ + @list='$(cron_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f $(DESTDIR)$(crondir)/$$f"; \ rm -f $(DESTDIR)$(crondir)/$$f; \ done -dist_processSCRIPT_INSTALL = $(INSTALL_SCRIPT) -install-dist_processSCRIPTS: $(dist_process_SCRIPTS) +processSCRIPT_INSTALL = $(INSTALL_SCRIPT) +install-processSCRIPTS: $(process_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(processdir) - @list='$(dist_process_SCRIPTS)'; for p in $$list; do \ + @list='$(process_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(dist_processSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(processdir)/$$f"; \ - $(dist_processSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(processdir)/$$f; \ + echo " $(processSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(processdir)/$$f"; \ + $(processSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(processdir)/$$f; \ else :; fi; \ done -uninstall-dist_processSCRIPTS: +uninstall-processSCRIPTS: @$(NORMAL_UNINSTALL) - @list='$(dist_process_SCRIPTS)'; for p in $$list; do \ + @list='$(process_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f $(DESTDIR)$(processdir)/$$f"; \ rm -f $(DESTDIR)$(processdir)/$$f; \ @@ -230,8 +229,8 @@ info-am: -install-data-am: install-data-local install-dist_cronSCRIPTS \ - install-dist_processSCRIPTS +install-data-am: install-cronSCRIPTS install-data-local \ + install-processSCRIPTS install-exec-am: @@ -249,19 +248,19 @@ mostlyclean-am: mostlyclean-generic -uninstall-am: uninstall-dist_cronSCRIPTS uninstall-dist_processSCRIPTS \ - uninstall-info-am uninstall-local +uninstall-am: uninstall-cronSCRIPTS uninstall-info-am uninstall-local \ + uninstall-processSCRIPTS .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am info info-am install \ - install-am install-data install-data-am install-data-local \ - install-dist_cronSCRIPTS install-dist_processSCRIPTS \ - install-exec install-exec-am install-info install-info-am \ - install-man install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic uninstall uninstall-am \ - uninstall-dist_cronSCRIPTS uninstall-dist_processSCRIPTS \ - uninstall-info-am uninstall-local + install-am install-cronSCRIPTS install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-processSCRIPTS \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic uninstall uninstall-am \ + uninstall-cronSCRIPTS uninstall-info-am uninstall-local \ + uninstall-processSCRIPTS install-data-local: |
From: Joe Z. <jz...@us...> - 2003-03-24 05:40:01
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv31454/bobs Modified Files: INSTALL Makefile.am Makefile.in README TODO configure configure.in Added Files: bobs.spec Log Message: make rpm --- NEW FILE: bobs.spec --- Summary: Browseable Online Backup System (BOBS). Name: bobs Version: 0.5.1 Release: 1 License: GPL Group: Applications/Archiving Source0: http://download.sourceforge.net/bobs/bobs-%{version}.tar.gz URL: http://bobs.sourceforge.net BuildRoot: %{_tmppath}/%{name}-root Requires: sed, php, bash, rsync, portmap Patch0: config.patch Patch1: backup.patch Patch2: check_loop.patch %description Browseable Online Backup System (BOBS) is a complete online backup system. It uses large disks for storing backups and lets users browse the files using a Web browser. It handles some special files like AppleDouble and icon files. %prep %setup -q patch inc/config.php.in config.patch patch cron/backup.php.in backup.patch patch cron/check_loop.in check_loop.patch %build ./configure --prefix=$RPM_BUILD_ROOT %install make install %clean rm -rf $RPM_BUILD_ROOT %post # Install the cron job # Backup crontab, copy back all but check_loop, # then Add check_loop if test -f %{_sysconfdir}/crontab; then \ cp -vp %{_sysconfdir}/crontab %{_sysconfdir}/crontab.bak; \ grep -v current/process/check_loop \ %{_sysconfdir}/crontab.bak > %{_sysconfdir}/crontab; \ echo '0-59/5 * * * * root /var/bobsdata/current/process/check_loop' \ >> %{_sysconfdir}/crontab; \ fi %postun # Uninstall the cron job # Backup crontab and copy back all but check_loop if test -f %{_sysconfdir}/crontab; then \ cp -vp %{_sysconfdir}/crontab %{_sysconfdir}/crontab.bak; \ grep -v current/process/check_loop \ %{_sysconfdir}/crontab.bak > %{_sysconfdir}/crontab; \ fi %preun %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO /var/www/html/bobs/ /etc/cron.daily/backup.php %defattr(-, %{HTTPDUSER}, root) /var/www/html/bobs/inc/servers /var/bobsdata %changelog * Fri Mar 21 2003 Joe Zacky <jz...@at...> - Make this work with existing install scripts. * Tue Oct 15 2002 Rene Rask <re...@gr...> - Initial RPM release. Index: INSTALL =================================================================== RCS file: /cvsroot/bobs/bobs/INSTALL,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- INSTALL 3 Feb 2003 06:01:47 -0000 1.18 +++ INSTALL 24 Mar 2003 05:39:58 -0000 1.19 @@ -29,8 +29,8 @@ nfs (nfs-utils) rsync ntpd (to keep time syncronized between servers.) -Possibly more. I'll add them when I discover them. samba +Possibly more. I'll add them when I discover them. ::: 2.0 Files Changes were recently made to remove the need for BOBS to reside in @@ -108,6 +108,9 @@ ::: 4.0 Configuration +Note: This section is obsoleted by section "7.0 Easy install", but it +has some useful detailed information. + Edit the file "inc/config.php" to suit your needs. The dirs you define there are base dirs for servers you wish to make backups of. backupdir = a mirror of the remote server @@ -166,6 +169,10 @@ ::: 5.0 Test your setups + +Note: This section is also obsoleted by section "7.0 Easy install", +but it has some useful detailed information. + mount the nfs shares, try to write a file. example of a mount command: mount servername:/home/username /mnt/test @@ -289,30 +296,31 @@ value of the admin_pwd variable. By default, config.php will be in /var/www/html/bobs/inc/config.php. -4. If you want to uninstall bobs, or change your configuration: +4. Bobs is now installed. - Run 'make uninstall' to remove the bobs web pages and delete the + Point your browser to http://your.server.name/bobs/admin.php to + configure your backups. + +5. If you want to uninstall bobs, or change your configuration: + + Run 'make uninstall' from the directory where you extracted + the bobs files to remove the bobs web pages and delete the backup data directories. You can then run ./configure and 'make install' again. - You may run 'make clean' before running ./configure a second time to - ensure the reconfiguration of all options. + You may want to run 'make clean' before running ./configure a + second time to ensure the reconfiguration of all options. - If you have trouble with the ./configure script, you can - rebuild it by running these commands from the bobs distribution - directory: + If you're have trouble with the ./configure script or 'make + install', you can rebuild it by running these commands from the + bobs distribution directory: - make distclean + make maintainer-clean aclocal automake --add-missing autoconf ./configure -5. Bobs is now installed. - - Point your browser to http://localhost/bobs/admin.php to configure - your backup servers. - ::: 8.0 Problems If you're having trouble, read this section. @@ -329,21 +337,36 @@ portmap nfs +Third, you can get support via the forum or mailing list at +http://sourceforge.net/projects/bobs. + + +Q: When I try to restore, the "Check Server" fails. + +A: Make sure the shared directory you're restoring to is writeable. + + ::: 9.0 What gets installed? -/var/bobsdata Directory for backup and configuration data +/var/bobsdata Directory for backup files, a few scripts, and + mount points. /var/www/html/bobs Bobs web pages /etc/crontab A line is added to /etc/crontab that - checks/starts the backup command loop script. + starts the backup command loop script if it's + not already running. 0-59/5 * * * * root /var/bobsdata/current/process/check_loop +/etc/cron.daily/backup.php + This is the script that runs the backups once + per day. + 'make uninstall' and 'make uninstall-all' will remove the files and directories listed above, including the check_loop entry in crontab. -'make uninstall' will not remove any server configurations or backups you -created since installing bobs. But 'make uninstall-all' WILL remove all -the files and directories, including any backups. So only run 'make -uninstall-all' if you want to completely remove bobs and all backups -created by bobs. +'make uninstall' will not remove any server configurations or backups +you created since installing bobs. But 'make uninstall-all' WILL +remove all the files and directories, including any backups. So only +run 'make uninstall-all' if you want to completely remove bobs and all +configurations and backups created by bobs. Index: Makefile.am =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 5 Feb 2003 02:05:21 -0000 1.10 +++ Makefile.am 24 Mar 2003 05:39:58 -0000 1.11 @@ -32,6 +32,9 @@ dist_html_DATA = $(wildcard *.php *.css) +EXTRA_DIST = bobs.spec config.patch backup.patch check_loop.patch \ + FILES LICENSE VERSION + # # Other files to be removed for maintainer (me) # @@ -42,11 +45,25 @@ mkinstalldirs \ missing \ install-sh \ - aclocal.m4 + aclocal.m4 \ + *.patch .PHONY: uninstall-all install-data-local distclean-local uninstall-local \ - installdirs + installdirs rpm + +# +# Need to make patch files before the distribution is built. +# The patches change the directory names in the files from +# /var/tmp/... to the final destination, like /var/bobsdata +# +config.patch: + -diff -uN inc/config.php.in inc/config.php > config.patch + +backup.patch: + -diff -uN cron/backup.php.in cron/backup.php > backup.patch +check_loop.patch: + -diff -uN cron/check_loop.in cron/check_loop > check_loop.patch install-data-local: @@ -65,7 +82,8 @@ # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ - chown -R $(myHTTPDUSER) $(myBOBSDATA); \ + chown -R $(myHTTPDUSER) $(myBOBSDATA) \ + || echo "** Please run 'chown -R $(myHTTPDUSER) $(myBOBSDATA)'"; \ fi # Remove some other crap for 'make distclean' @@ -75,7 +93,7 @@ -chmod 755 $(PACKAGE)-$(VERSION) -rm -rf $(PACKAGE)-$(VERSION) rm -f $(PACKAGE)-$(VERSION).tar.gz - + -rm -rf rpmdir # # Extra stuff to uninstall # The '-' on '-rmdir' tells 'make' to ignore any error returned by command @@ -94,5 +112,26 @@ rm -rf $(myWEBDIR) rm -rf $(myBOBSDATA) make -f cron/Makefile uninstall-local + +rpm: dist + +# architecture. for example: i386 +RPMARCH = `rpm --showrc | awk '/^build arch/ {print $$4}'` + +# make the rpm directories +RPMDIR = $(PWD)/rpmdir + mkdir -p \ + $(RPMDIR)/BUILD \ + $(RPMDIR)/SPECS \ + $(RPMDIR)/SOURCES \ + $(RPMDIR)/SRPMS \ + $(RPMDIR)/RPMS/$(RPMARCH) +# copy the distribution tar into the rpm source directory + cp -f $(PACKAGE)-$(VERSION).tar.gz $(RPMDIR)/SOURCES + cp -f *.patch $(RPMDIR)/SOURCES + + rpmbuild --clean -ba $(top_srcdir)/$(PACKAGE).spec \ + --define "_topdir $$PWD/rpmdir" \ + --define "HTTPDUSER $(myHTTPDUSER)" ## END Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile.in 5 Feb 2003 02:05:21 -0000 1.7 +++ Makefile.in 24 Mar 2003 05:39:58 -0000 1.8 @@ -101,6 +101,10 @@ # The 'dist_' prefix tells 'make dist' to distribute these files. dist_html_DATA = $(wildcard *.php *.css) +EXTRA_DIST = bobs.spec config.patch backup.patch check_loop.patch \ + FILES LICENSE VERSION + + # # Other files to be removed for maintainer (me) @@ -111,8 +115,15 @@ mkinstalldirs \ missing \ install-sh \ - aclocal.m4 + aclocal.m4 \ + *.patch + +# architecture. for example: i386 +RPMARCH = `rpm --showrc | awk '/^build arch/ {print $$4}'` + +# make the rpm directories +RPMDIR = $(PWD)/rpmdir subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs @@ -455,7 +466,21 @@ .PHONY: uninstall-all install-data-local distclean-local uninstall-local \ - installdirs + installdirs rpm + +# +# Need to make patch files before the distribution is built. +# The patches change the directory names in the files from +# /var/tmp/... to the final destination, like /var/bobsdata +# +config.patch: + -diff -uN inc/config.php.in inc/config.php > config.patch + +backup.patch: + -diff -uN cron/backup.php.in cron/backup.php > backup.patch + +check_loop.patch: + -diff -uN cron/check_loop.in cron/check_loop > check_loop.patch install-data-local: @@ -474,7 +499,8 @@ # so make the httpd process own the directory if test -n "$(myHTTPDUSER)"; then \ - chown -R $(myHTTPDUSER) $(myBOBSDATA); \ + chown -R $(myHTTPDUSER) $(myBOBSDATA) \ + || echo "** Please run 'chown -R $(myHTTPDUSER) $(myBOBSDATA)'"; \ fi # Remove some other crap for 'make distclean' @@ -484,7 +510,7 @@ -chmod 755 $(PACKAGE)-$(VERSION) -rm -rf $(PACKAGE)-$(VERSION) rm -f $(PACKAGE)-$(VERSION).tar.gz - + -rm -rf rpmdir # # Extra stuff to uninstall # The '-' on '-rmdir' tells 'make' to ignore any error returned by command @@ -503,6 +529,21 @@ rm -rf $(myWEBDIR) rm -rf $(myBOBSDATA) make -f cron/Makefile uninstall-local + +rpm: dist + mkdir -p \ + $(RPMDIR)/BUILD \ + $(RPMDIR)/SPECS \ + $(RPMDIR)/SOURCES \ + $(RPMDIR)/SRPMS \ + $(RPMDIR)/RPMS/$(RPMARCH) +# copy the distribution tar into the rpm source directory + cp -f $(PACKAGE)-$(VERSION).tar.gz $(RPMDIR)/SOURCES + cp -f *.patch $(RPMDIR)/SOURCES + + rpmbuild --clean -ba $(top_srcdir)/$(PACKAGE).spec \ + --define "_topdir $$PWD/rpmdir" \ + --define "HTTPDUSER $(myHTTPDUSER)" # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Index: README =================================================================== RCS file: /cvsroot/bobs/bobs/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- README 3 Jun 2002 06:30:35 -0000 1.2 +++ README 24 Mar 2003 05:39:58 -0000 1.3 @@ -6,7 +6,8 @@ BOBS is a backup system that uses harddisks as backup media. -Files are fetched from other computers and stored in dirs. +Files are fetched from other computers and stored in +directories on the computer where bobs is installed. Two types of file stores are used: "Current" is the files from the remote computer as @@ -25,7 +26,7 @@ If a user deletes or corrupts a file and need it restored they can do this by opening a browser (any browser which supports frames should be fine) and pointing it at the -backupserver. +backupserver where bobs is installed. On the backupserver they can login in using a password defined by the admin. For clarity that should be the @@ -49,7 +50,3 @@ Project page: http://sourceforge.net/projects/bobs Forum and help are available at the project page. - - - - Index: TODO =================================================================== RCS file: /cvsroot/bobs/bobs/TODO,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- TODO 3 Feb 2003 05:49:52 -0000 1.10 +++ TODO 24 Mar 2003 05:39:58 -0000 1.11 @@ -39,6 +39,12 @@ Backup directories (/var/bobsdata/) should not be world readable. Encrypt passwords. +Make 'cmdloop' script a service. + Priority: Medium + There's no reason 'check_loop' needs to keep running once 'cmdloop' + has started. Make cmdloop start as a service from the init.d + directory. + ----- WISHLIST ------ (Add anything you would like to see in the future, in detail if possible) Index: configure =================================================================== RCS file: /cvsroot/bobs/bobs/configure,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- configure 5 Feb 2003 02:05:21 -0000 1.5 +++ configure 24 Mar 2003 05:39:58 -0000 1.6 @@ -2537,18 +2537,9 @@ echo -n " web pages directory = "; eval echo $myWEBDIR echo -n " bobs data directory = "; eval echo $myBOBSDATA echo -n " cron directory = "; eval echo $myCRONDIR +echo -n " crontab directory = "; eval echo $myCRONTABDIR echo " admin password = $myPASS" echo "" echo "*** $WARNCOUNT warning(s)" echo "" -echo "The following is just for testing and will be removed:" -echo "" -echo "prefix: ${prefix}" -echo "sysconfdir: ${sysconfdir}" -echo "myWEBDIR: ${myWEBDIR}" -echo "myrealWEBDIR: ${myrealWEBDIR}" -echo "myBOBSDATA: ${myBOBSDATA}" -echo "myrealBOBSDATA: ${myrealBOBSDATA}" -echo "myCRONDIR: ${myCRONDIR}" -echo "myCRONTABDIR: ${myCRONTABDIR}" Index: configure.in =================================================================== RCS file: /cvsroot/bobs/bobs/configure.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- configure.in 5 Feb 2003 02:05:22 -0000 1.7 +++ configure.in 24 Mar 2003 05:39:58 -0000 1.8 @@ -165,19 +165,20 @@ echo -n " web pages directory = "; eval echo $myWEBDIR echo -n " bobs data directory = "; eval echo $myBOBSDATA echo -n " cron directory = "; eval echo $myCRONDIR +echo -n " crontab directory = "; eval echo $myCRONTABDIR echo " admin password = $myPASS" echo "" echo "*** $WARNCOUNT warning(s)" echo "" -echo "The following is just for testing and will be removed:" -echo "" -echo "prefix: ${prefix}" -echo "sysconfdir: ${sysconfdir}" -echo "myWEBDIR: ${myWEBDIR}" -echo "myrealWEBDIR: ${myrealWEBDIR}" -echo "myBOBSDATA: ${myBOBSDATA}" -echo "myrealBOBSDATA: ${myrealBOBSDATA}" -echo "myCRONDIR: ${myCRONDIR}" -echo "myCRONTABDIR: ${myCRONTABDIR}" +dnl> echo "The following is just for testing and will be removed:" +dnl> echo "" +dnl> echo "prefix: ${prefix}" +dnl> echo "sysconfdir: ${sysconfdir}" +dnl> echo "myWEBDIR: ${myWEBDIR}" +dnl> echo "myrealWEBDIR: ${myrealWEBDIR}" +dnl> echo "myBOBSDATA: ${myBOBSDATA}" +dnl> echo "myrealBOBSDATA: ${myrealBOBSDATA}" +dnl> echo "myCRONDIR: ${myCRONDIR}" +dnl> echo "myCRONTABDIR: ${myCRONTABDIR}" dnl> THE END |