Commit Graph

11 Commits

Author SHA1 Message Date
intrigeri
13f247afeb Fix reliance on bash for pipefail. (Closes: #602374)
Thanks to Sergio Talens-Oliag <sto@debian.org> for the bug report and patch.
2010-11-07 13:07:26 +01:00
intrigeri
aeca6912a8 Added GZIP_OPTS option, defaulting to --rsyncable.
... so that this option can be disabled on systems that don't support it.
This also allows to use another compression program, such as pbzip2 on SMP
machines (closes Roundup bug #2405).
2010-06-14 19:06:59 +02:00
intrigeri
47313bca65 ldap,mysql,pgsql: use bash pipefail option so that failed dumps are reported as such
This should fix Redmine bug #1340.

This option makes pipelines return as status the value of the last (rightmost)
command to exit with a non-zero status, or zero if all commands exit
successfully. See bash(1) for details.

E.g. this prevents the following from exiting with status 0 (!) if pg_dumpall
fails:

        pg_dumpall | gzip
2010-01-08 23:40:23 +01:00
intrigeri
f967264717 ldap, mysql, pgsql: use gzip's --rsyncable option 2009-11-19 20:27:46 +01:00
Matthijs Kooijman
78884142e7 Add a vim modeline with indentation settings.
The modelines added match the emacs lines already present and also set
the filetype to sh (just like the emacs lines).
2009-05-23 10:42:20 +02:00
Matthijs Kooijman
4ecaae9405 Make all indentation consistent.
Previously, there were many indentation styles in use: Real tabs, 2, 3
or 4 spaces, mixing these within the same file, function or even within
a single line.

This commit changes all bash scripts in the handlers, src and lib dirs
to use consistent indentation: three spaces are now used everywhere.
Other files (e.g. Makefiles) are left untouched.

Additionally, this commit removes all trailing whitespace.
2009-05-23 10:34:16 +02:00
intrigeri
f9a0906320 LDAP: support HDB backend just as the BDB one 2008-06-23 21:07:19 +00:00
Micah Anderson
ca62d94c56 fixup ldap SSL/TLS options, make TLS default in helper, Closes: Trac#13 2007-11-24 23:23:08 +00:00
Micah Anderson
0c73bf6996 fixed ldap handler not recognizing database suffix 2007-11-24 23:03:21 +00:00
Micah Anderson
a44229971b fixed Trac#29 causing slapcat + gzip not to work 2007-11-24 23:00:33 +00:00
intrigeri
579ea902ba fixed autotools build, broken since r466, inhandlers/Makefile.am 2007-10-12 17:06:09 +00:00