aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-02-22Add shell functions to compare version numbers.intrigeri
2012-01-29Workaround annoying automake sanity check.intrigeri
Recent versions of automake prevent us from installing lib/* into lib/backupninja/. Where else are be supposed to install such files anyway?
2009-12-24easydialog: allow form fields input to grow up to 100 chars (Closes: #562249)intrigeri
2009-05-23Add a vim modeline with indentation settings.Matthijs Kooijman
The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).
2009-05-23Make all indentation consistent.Matthijs Kooijman
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.
2008-06-25autotools: remove requirement on md5sum, which is not used anymoreintrigeri
2008-06-25lib/tools.in(maketemp): really remove insecure fall-back if mktemp is ↵intrigeri
missing, since it is now required at build-time
2008-06-25lib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ↵intrigeri
ninjahelper crashes
2008-06-24made mktemp a requirement for building backupninja, added autotools ↵Micah Anderson
variables to substitute the proper binary location and removed bad fall-back when mktemp was not there
2008-06-24lib/vserver: added vservers_running function, use it in sys handler (to ease ↵intrigeri
future fix for Trac#45)
2007-02-23updated autotools abstraction to properly pick up different awk, sed,Micah Anderson
and md5sum locations
2006-06-10Added explicit mktemp template names so that mktemp is more compatible with ↵Micah Anderson
other versions than Debian's. Also added Anarcat to the AUTHORS file
2006-03-15lost+found was not being removed from the list of found_vserversMicah Anderson
because the + was being interpreted by grep -E, I've escaped it so it will properly be removed
2006-02-02lib/vserver.in: fixed #351083 (readlink syntax error)intrigeri
2006-01-26Fix for lib/Makefile.am to install libraries in the right placeMicah Anderson
2006-01-26Apparantly it is common practice to NOT keep generated files in the repository,Micah Anderson
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be put in the repo itself (except on release)
2006-01-20Fixed the Makefile.in to actually work (for real)Micah Anderson
2006-01-20Fixed up Makefiles to actually workMicah Anderson
2006-01-19lib/vserver.in: new function: vservers_existintrigeri
handlers/dup: make use of new lib/vserver functionality
2006-01-19lib/vserver.in[init_vservers]: warn if vservers are enabled but no vserver ↵intrigeri
is found
2006-01-17lib/vserver.in [init_vservers] : canonicalize VROOTDIR (since duplicity et ↵intrigeri
al. don't follow symlinks)
2006-01-17lib/vserver.in [init_vservers] : test in a stricter way the real vservers ↵intrigeri
availability
2006-01-17lib/vserver.in: modified init_vservers so that it can also be used by ↵intrigeri
backupninja
2006-01-17lib/vserver.in: enhanced the VROOTDIR discoveryintrigeri
2006-01-17add the Emacs header comment line to lib/*.inintrigeri
2006-01-09added bug warning in commentsElijah Saxon
2006-01-09fixed indentingElijah Saxon
2005-12-27 r240@um: micah | 2005-12-27 14:54:04 -0500Micah Anderson
If vservers weren't enabled it was impossible to enter the src menu in ninjahelper due to how these functions returned. This sets the variable host_or_vserver='host' when vservers are not available and then returns with a nice exit code
2005-11-29 r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100intrigeri
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions
2005-11-29 r3562@krups: intrigeri | 2005-11-16 20:20:16 +0100intrigeri
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 r3558@krups: intrigeri | 2005-11-15 14:44:17 +0100intrigeri
Autotools: when cleaning, delete generated files in lib dir.
2005-11-29 r3557@krups: intrigeri | 2005-11-15 14:41:32 +0100intrigeri
Start to move common functions (maketemp) to lib/tools, and better use autotools for lib/{easydialog,tools}.
2005-11-29 r3555@krups: intrigeri | 2005-11-15 13:59:57 +0100intrigeri
Moved easydialog.sh to lib/ directory: more code is going to be shared, let's start here.