| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
NetBSD (version 6) uses ENOTSUP as the errno code to indicate missing support
for extended attribute in the filesystem. This appears to be at odds with other
Unixes: https://mail-index.netbsd.org/tech-kern/2011/12/13/msg012185.html
We need to detect and handle ENOTSUP to stop the backup daemon from killing
itself while trying to read extended attributes from the first file in the
backup set.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Older versions of GNU tar fail to set the timestamps on symlinks, which makes
them appear too recent/new to be backed up immediately, causing
test_bbackupd_uploads_files() for example to fail. Fixed by restoring the
timestamps manually after extracting the fixture archive.
For more details about the issue in tar, please see:
http://lists.gnu.org/archive/html/bug-tar/2009-08/msg00007.html
http://git.savannah.gnu.org/cgit/tar.git/plain/NEWS?id=release_1_24
This resulted in symlinks in fixture test files
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBSD requires different headers to be included, including a bug which
makes it essential to include sys/param.h before sys/ucred.h, and gives the
fields of struct ucred different names than Linux does.
This fixes compilation on OpenBSD and allows the user connecting to a UNIX
socket to be checked, increasing security of the command socket on this
platform.
|
|
|
|
|
|
| |
Now that we've removed it from version control, we need to build it from
configure.in as part of bootstrapping Box Backup.
|
| |
|
|
|
|
|
| |
libraries, to avoid adding duplicate libraries to LIBS.
|
|
|
|
|
|
|
|
|
|
|
|
| |
as it should already be in LIBS by this point and we don't really want to
add a duplicate if we don't need it.
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html
also recommends the use of AC_SEARCH_LIBS instead.
Check whether we have getpeername() and sys/un.h to fix compile errors on
Windows with /dev/log fd leak test.
|
|
|
|
| |
successful link.
|
|
|
|
| |
errors.
|
| |
|
| |
|
|
|
|
|
| |
(http://open3dalign.org, http://open3dqsar.org)
|
|
|
|
|
|
|
|
| |
to be defined.
Check for fcntl.h and include it if we have it, not just on MSVC, now
that MinGW also defines O_BINARY in newer versions.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
even though it causes a warning.
|
| |
|
|
|
|
|
| |
not included first.
|
|
|
|
|
|
|
| |
by readline headers at configure time, and use the appropriate one in
bbackupquery. Thanks to Melissa Jenkins for reporting the compilation
failure on OSX and providing additional details.
|
|
|
|
|
| |
cross-compiling.
|
|
|
|
|
| |
valid d_type when cross-compiling, as this should be the safest option.
|
|
|
|
|
|
| |
as this is only relevent for intercept tests anyway, and was probably
fixed by casting the offset parameter to off_t anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove the definition and reverse the sense in ax_func_syscall.m4
(which checks for __syscall() needing definition).
Autoconf's AC_CHECK_FUNC defines it when testing for its presence,
so HAVE___SYSCALL will be true even if __syscall has no definition
in the system libraries, and this is precisely the case that we
want to test for, so now we test whether the test program compiles
with no explicit definition (only the system headers) and if that
fails, we set HAVE___SYSCALL_NEED_DEFN to 1.
|
|
|
|
|
|
| |
* AC_SUBST now only works with one variable per call
* When using AC_CACHE the variable must contain the string '_cv_', thus prefix all cache variables with box_cv_
|
| |
|
|
|
|
|
|
| |
large file support resulting in reading the wrong part of the structure
on Slackware?)
|
|
|
|
|
| |
SSL flags. (merges [1717] by James O'Gorman, refs #3)
|
|
|
|
|
|
|
| |
DB detection issues on FreeBSD. The original --with-bdb-dir flag is still
present for systems that install BDB in a "standard" location.
(merges [1714] from trunk by James O'Gorman, refs #3)
|
| |
|
|
|
|
| |
fix complication problems with gcc 4.1.1 where configure didn't detect LLONG_MAX properly. Fix by removing configure check completely, and using STL interface.
|
| |
|
|
|
|
| |
NetBSD in preference to statfs.
|
|
|
|
| |
NOTE: Needs testing on other platforms, especially BSD.
|
|
|
|
|
|
| |
be more selective.
Also changes --enable-gnu-readline which intentionally used to prefer editline over readline even when specified (for licence goodness), to now prefer readline if requested. This is probably less confusing to a user.
|
|
|
|
| |
library check on platforms with only db version 1.
|
|
|
|
| |
fix is for FreeBSD which fails to compile db.h
|
|
|
|
| |
inbetween are not supported because they require code changes and I don't have them available to test against.
|
| |
|
| |
|
| |
|
|
|