Commit Graph

5489 Commits

Author SHA1 Message Date
Thomas Waldmann b516cf3c3f reduce amount of setup_*.py files in toplevel dir 2019-03-14 00:33:56 +01:00
Thomas Waldmann 1579d58b3e cope with pkgconfig ImportError 2019-03-14 00:18:15 +01:00
Thomas Waldmann 2fd0cff4e3 remove already commented cflags / ldflags 2019-03-14 00:18:03 +01:00
Thomas Waldmann 528aee3ca6 extension building: first crypto, then compression (cosmetic) 2019-03-13 18:30:15 +01:00
Thomas Waldmann f828e883bd travis: install script improvements 2019-03-13 18:29:50 +01:00
Thomas Waldmann 5173b9f407 add pkg-config support, fixes #1925
1. BORG_*_PREFIX is checked (avoids lib detection via pkg-config).
2. pkg-config is tried
3. fallback to bundled C code (or failure in case of OpenSSL)

also:
- simplified code again
- removed (c) headers, nothing left of original code
2019-03-13 18:26:47 +01:00
Thomas Waldmann 80ade7093d simplify code by merging kwargs dicts at caller 2019-03-13 03:01:00 +01:00
Thomas Waldmann 7b2b8980b4 fix define_macros 2019-03-13 02:05:24 +01:00
TW f20e6d751f
Merge pull request #4434 from ThomasWaldmann/file-changed-warning
determine whether a file has changed while being backed up, fixes #1750
2019-03-12 13:43:11 +01:00
TW 09681b6b18
Merge pull request #4432 from ThomasWaldmann/lrucache-clean-old
lrucache: regularly remove old FDs, fixes #4427
2019-03-12 13:42:17 +01:00
Thomas Waldmann 24bf01a40b moved bundled_path to setup_*.py 2019-03-12 03:44:43 +01:00
Thomas Waldmann 7db29017e5 simplify initial dirs/macros setup 2019-03-12 03:32:32 +01:00
Thomas Waldmann 2dfc6bb43f refactor openssl related code in setup.py
- removed hardcoded lib search pathes
- to find system libs/headers, one must point these env vars to them:
  BORG_OPENSSL_PREFIX
- moved some code from setup.py to setup_*.py
2019-03-12 03:15:59 +01:00
Thomas Waldmann d6635da654 refactor lib/bundled related code in setup.py
- removed hardcoded lib search pathes
- to find system libs/headers, one must point these env vars to them:
  BORG_LIBLZ4_PREFIX, BORG_LIBZSTD_PREFIX, BORG_LIBB2_PREFIX
- moved some code from setup.py to setup_*.py
2019-03-12 02:46:00 +01:00
TW 625a0fc021
Merge pull request #4435 from akozlins/docs
docs: fix spelling errors
2019-03-11 23:07:29 +01:00
Thomas Waldmann b3751b107d determine whether a file has changed while being backed up, fixes #1750 2019-03-11 22:55:27 +01:00
Alexandr Kozlinskiy b780c36811 docs: fix spelling errors 2019-03-11 22:40:03 +01:00
Thomas Waldmann 6ae5530507 lrucache: regularly remove old FDs, fixes #4427 2019-03-11 02:38:24 +01:00
TW e4438227c1
Merge pull request #4430 from ThomasWaldmann/rel120a4
Release 1.2.0a4
2019-03-11 02:22:29 +01:00
Thomas Waldmann 39300d1fd0 docs: fix markup 2019-03-11 00:16:12 +01:00
Thomas Waldmann 1386c67513 build_man 2019-03-11 00:11:50 +01:00
Thomas Waldmann 9507856049 build_usage 2019-03-11 00:11:16 +01:00
Thomas Waldmann 621476b027 release date 2019-03-11 00:08:25 +01:00
TW 65bc71a192
update CHANGES (master) (#4429) 2019-03-11 00:06:43 +01:00
TW d493806e5c
incremental repo check (#4422)
incremental repo check, fixes #1657
2019-03-10 20:21:22 +01:00
TW d7c6399396
Merge pull request #4384 from milkey-mouse/append-only-docs-3504
Elaborate on append-only mode docs
2019-03-10 15:04:23 +01:00
TW 42ea069ddc
Merge pull request #4401 from joey4/fix4359
timestamp for borg delete --info added
2019-03-04 23:06:58 +01:00
TW adcfffd7eb
Merge pull request #4420 from ThomasWaldmann/remove-bhiu
remove BORG_HOSTNAME_IS_UNIQUE
2019-03-04 22:01:08 +01:00
Thomas Waldmann 7ad5290501 redo stale lock handling, fixes #3986
drop BORG_HOSTNAME_IS_UNIQUE (please use BORG_HOST_ID if needed)

borg now always assumes it has a unique hostid - either automatically
from fqdn plus uuid.getnode() or overridden via BORG_HOST_ID.
2019-03-04 21:07:05 +01:00
TW 92e11833db
Merge pull request #4418 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2019-03-03 14:30:16 +01:00
Thomas Waldmann abdf5d0706 update CHANGES (master) 2019-03-03 14:16:52 +01:00
TW 9234d113d8
Merge pull request #4417 from ThomasWaldmann/vagrant-freebsd
vagrant: fix freebsd box name
2019-03-02 19:59:52 +01:00
TW ee69dd905e
Merge pull request #4416 from ThomasWaldmann/fix-fifo
fix backing up FIFOs, fixes #4394
2019-03-02 19:59:26 +01:00
Thomas Waldmann 29c1f4e895 vagrant: fix freebsd box name 2019-03-02 19:58:37 +01:00
Thomas Waldmann cd857b6d8f fix backing up FIFOs. fixes #4394
The O_NONBLOCK caused EAGAIN errors borg did not deal with, so we
better block and wait until read data is available from e.g. a fifo.

Fixed the --read-special test so it creates a FIFO, feeds it from a
thread and backs it up with borg. Then extracts and checks if correct
data has been backed up.

Also: renamed flags_follow to flags_special_follow (its only intended
use is on symlinks to special files with --read-special).
2019-03-02 19:14:47 +01:00
jminer74 a2c84215af docs/installation: added Alpine Linux to distribution list (#4414)
docs/installation: added Alpine Linux to distribution list
2019-03-01 22:11:48 +01:00
TW 382875692b
Merge pull request #4413 from ThomasWaldmann/vagrant-openbsd
vagrant: add a openbsd 6.4 box
2019-03-01 20:23:43 +01:00
Thomas Waldmann 29735b26c0 vagrant: add a openbsd 6.4 box 2019-03-01 18:29:11 +01:00
TW 8347fb730d
Merge pull request #4412 from ThomasWaldmann/vagrant-updates
Vagrant updates
2019-03-01 17:36:58 +01:00
Thomas Waldmann cecea99a0e vagrant: darwin: upgrade OS 10.10 -> 10.12 2019-03-01 15:46:43 +01:00
Thomas Waldmann 08574d08f8 vagrant: darwin: add zstd 2019-03-01 15:46:43 +01:00
Thomas Waldmann e549333bd5 vagrant: upgrade osxfuse 3.8.2 -> 3.8.3 2019-03-01 15:46:43 +01:00
Thomas Waldmann eb0869a4f6 vagrant: upgrade py 3.5.0 -> 3.5.3 due to openssl 1.1 compatibility 2019-03-01 15:46:43 +01:00
Thomas Waldmann 53ab22a3b3 vagrant: upgrade py 3.6.7 -> 3.6.8 2019-03-01 15:46:37 +01:00
TW e447401d68
Merge pull request #4410 from ThomasWaldmann/freebsd12-vagrant
new freebsd12 64bit vagrant box, fixes #4399
2019-03-01 15:33:05 +01:00
Thomas Waldmann 63ed2f6d7a new freebsd12 64bit vagrant box, fixes #4399
note:
- openssl 1.1.1 seems to be part of base install
- added zstd compression lib
2019-02-28 21:37:35 +01:00
TW 3b4ff73d47
Merge pull request #4408 from ThomasWaldmann/rel120a3
Release 1.2.0a3
2019-02-28 12:20:40 +01:00
TW a53bbb2533
Merge pull request #4409 from bket/libressl
crypto: LibreSSL has HMAC_CTX_free and *HMAC_CTX_new
2019-02-28 11:23:02 +01:00
Björn Ketelaars a87f38e35f crypto: LibreSSL has HMAC_CTX_free and *HMAC_CTX_new
While here improve indentation (use 4 spaces instead of 3).
2019-02-28 07:06:45 +01:00
Thomas Waldmann 8b55bb1096 update CHANGES 2019-02-26 22:50:40 +01:00