Commit Graph

43 Commits

Author SHA1 Message Date
intrigeri
846213cfa4 Fixed reportspace option (Trac#10) 2007-10-12 17:42:46 +00:00
intrigeri
a906ba01c7 fixed Trac#11 2007-10-12 17:14:34 +00:00
Micah Anderson
c0126ff1ef added ninjareport
added ale to AUTHORS for ldap fixes
adjusted sys handler to allow for turning off of sfdisk (#404071)
2007-03-04 10:29:26 +00:00
Micah Anderson
05c26446ed updated autotools abstraction to properly pick up different awk, sed,
and md5sum locations
2007-02-23 18:04:04 +00:00
Micah Anderson
ea468148c5 Add Jamie McClelland's cstream patches 2006-12-15 23:13:47 +00:00
Micah Anderson
1727edae52 fixed case where combination of compress=no and specifying individual
vservers and mysqld wasn't running or mysqldump didn't exist would cause
a zero byte backup file
2006-12-13 05:36:41 +00:00
intrigeri
6b015afc1e pgsql: support PGSQLUSER for real (Closes: #396578) 2006-11-01 18:26:41 +00:00
intrigeri
5eef842c2b fixed configuration files permission check 2006-10-08 00:42:47 +00:00
intrigeri
26e33dcc47 ninjahelper.in: remove runtime overzealous perms checks on the helpers 2006-10-07 02:44:05 +00:00
intrigeri
c836982f43 backupninja.in: words missing in error message 2006-10-07 02:14:42 +00:00
Micah Anderson
4ce9c573c8 Added disk space report option (adam kosmin suggestion)
removed sys vserver not running noise report (anarcat suggestion)
2006-10-06 18:42:32 +00:00
Micah Anderson
56e2f27e79 Fixed stat to use --format instead of --printf to be compatible with coreutils 2006-08-13 15:53:11 +00:00
intrigeri
90316a3352 backupninja and ninjahelper: have find following symlinks for config files also work on sarge, by replacing -L with -follow 2006-07-13 20:30:13 +00:00
Micah Anderson
c22ad121d9 Changed order of -s in the mail call for compatibility, from
anarcat
2006-06-10 16:20:05 +00:00
Micah Anderson
11601b4ccd Add fix from anarcat for ${configdirectory} in ninjahelper, also add -L to find to follow symlinks in case this
directory is actually not a directory, but instead a symlink to somewhere else
2006-06-10 16:09:59 +00:00
Micah Anderson
f07f4b873b the find that looks in /etc/backup.d didn't follow symlinks and would instead fail
silently causing me much confusion, so I added -L to find and an if statement to
spit something out so its obvious
2006-06-10 13:40:22 +00:00
Micah Anderson
489e294c50 Added a slightly modified version of the anti-fascist patch (allows for
a configurable admingroup to be set, instead of forcing it to be root),
closes debian bug#370396
2006-06-09 17:27:21 +00:00
intrigeri
8776e3a3e3 ninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: #361102) 2006-05-30 03:41:39 +00:00
intrigeri
5158f2569f Recursively ignore subdirs in /etc/backup.d (Closes: #361102) 2006-04-08 10:44:55 +00:00
Micah Anderson
dd0903db42 Apparantly it is common practice to NOT keep generated files in the repository,
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be
put in the repo itself (except on release)
2006-01-26 20:53:34 +00:00
intrigeri
55b02f8536 code refactor: backupninja now uses vservers lib to init vservers support
(I hate duplicated code!)
2006-01-17 22:22:52 +00:00
intrigeri
badd9c82b9 backupninja.in: improved VROOTDIR detection as in lib/vserver.in 2006-01-17 22:22:25 +00:00
Elijah Saxon
18052afed3 . now reports error if the helper script has a syntax error or bombs out.
. code formatting cleanup (three spaces indent)
2006-01-09 00:20:15 +00:00
intrigeri
c8efb40b7f r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100
Reverted indentation level to 3.
2005-12-28 20:19:29 +00:00
intrigeri
cfc47e5571 r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100
Changed default indentation level to 8, to make it presbyopia-friendly
2005-12-28 19:59:12 +00:00
intrigeri
0d606253af Added the "Emacs comment line" on top of every shell file. 2005-12-28 19:52:22 +00:00
Micah Anderson
c26bd0e12d Fixed broken toint function, causes backups to not run from cron
when told to run "everyday" (debian bug: #341881)
2005-12-16 16:15:13 +00:00
intrigeri
4f344987a9 Reverted bashism removals from r228, after discussing this. 2005-11-29 10:32:02 +00:00
intrigeri
d56c0f0aee r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions
2005-11-29 10:10:53 +00:00
intrigeri
5b392f68ba r3565@krups: intrigeri | 2005-11-16 20:43:44 +0100
ninjahelper and backupninja: cosmetic enhancement of the "am I root?" test.
2005-11-29 10:10:42 +00:00
intrigeri
089f74ad69 r3563@krups: intrigeri | 2005-11-16 20:32:41 +0100
ninjahelper: documented a few pieces of code
2005-11-29 10:10:21 +00:00
intrigeri
9208b449da r3562@krups: intrigeri | 2005-11-16 20:20:16 +0100
Moved more code to lib/ (conffile-related functions, parseini. Added dup helper, using new modular vservers-related functions shared for all helpers.
2005-11-29 10:10:08 +00:00
intrigeri
13893e6d25 r3561@krups: intrigeri | 2005-11-15 15:16:50 +0100
ninjahelper: use autotools' @BASH@ instead of hard-coded path
2005-11-29 10:09:55 +00:00
intrigeri
285f38ac31 r3560@krups: intrigeri | 2005-11-15 15:13:35 +0100
backupninja now uses the maketemp function shared in lib/tools, instead of its own one.
2005-11-29 10:09:43 +00:00
intrigeri
5d63983704 r3559@krups: intrigeri | 2005-11-15 15:07:17 +0100
ninjahelper & backupninja now set $libdir when bootstrapping. improved $scriptdir search, too.
2005-11-29 10:09:31 +00:00
intrigeri
13149b9600 r3557@krups: intrigeri | 2005-11-15 14:41:32 +0100
Start to move common functions (maketemp) to lib/tools, and better use autotools for lib/{easydialog,tools}.
2005-11-29 10:09:04 +00:00
intrigeri
280fdac2bc r3555@krups: intrigeri | 2005-11-15 13:59:57 +0100
Moved easydialog.sh to lib/ directory: more code is going to be shared, let's start here.
2005-11-29 10:08:41 +00:00
intrigeri
70bf59bbce r3549@krups: intrigeri | 2005-11-14 21:47:01 +0100
Fix documentation for get_next_filename function
2005-11-29 10:07:38 +00:00
Micah Anderson
8386e304ff Converted some bashisms to POSIX -- no concept of arrays in posix, bleh 2005-11-19 18:00:25 +00:00
Micah Anderson
85a7eb350a Color comments were wrong - error is red, fatal is purple. Comments
said error was orange and fatal was red, maybe this is better?
2005-11-19 17:54:19 +00:00
Micah Anderson
5c72b9d23c Move to templated version 2005-10-26 23:18:18 +00:00
Micah Anderson
960acb6b0c Move to templated version 2005-10-26 23:16:35 +00:00
Micah Anderson
d25ad93387 Add more Makefile templates 2005-10-26 23:15:26 +00:00