openssl path
This commit is contained in:
parent
8027013176
commit
4b8ab7392b
|
@ -14,8 +14,8 @@ How to use:
|
||||||
- (if virtualenv for python does not work properly you have to set selinux to permissive (do "/system/bin/setenforce 0" with root permissions))
|
- (if virtualenv for python does not work properly you have to set selinux to permissive (do "/system/bin/setenforce 0" with root permissions))
|
||||||
|
|
||||||
Tested with:
|
Tested with:
|
||||||
- termux 0.53
|
- termux 0.54
|
||||||
- borg 1.0.12
|
- borg 1.1.0
|
||||||
|
|
||||||
Tested and working so far is:
|
Tested and working so far is:
|
||||||
- creation of repositories
|
- creation of repositories
|
||||||
|
@ -23,8 +23,8 @@ Tested and working so far is:
|
||||||
- backup up to remote repositories via ssh
|
- backup up to remote repositories via ssh
|
||||||
|
|
||||||
Tested and working on devices:
|
Tested and working on devices:
|
||||||
- Huawei Nexus6p with stock Android 7.1.2 (angler, aarch64)
|
- Huawei Nexus6p with stock Android 8.0.0 (angler, aarch64)
|
||||||
- Samsung Galaxy Note 2 with Lineage 14.1 (n7100, armv7l)
|
- Samsung Galaxy Note 2 with Lineage 14.1 (n7100, armv7l, only tested with borg 1.0)
|
||||||
|
|
||||||
Feedback on tests with other devices and android versions is very welcome.
|
Feedback on tests with other devices and android versions is very welcome.
|
||||||
|
|
||||||
|
|
|
@ -20,4 +20,12 @@ index 33116acd..40db200f 100644
|
||||||
if os.environ.get('BORG_LZ4_PREFIX'):
|
if os.environ.get('BORG_LZ4_PREFIX'):
|
||||||
possible_lz4_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))
|
possible_lz4_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))
|
||||||
lz4_prefix = detect_lz4(possible_lz4_prefixes)
|
lz4_prefix = detect_lz4(possible_lz4_prefixes)
|
||||||
|
@@ -161,7 +161,7 @@ def detect_libb2(prefixes):
|
||||||
|
crypto_libraries = ['crypto']
|
||||||
|
|
||||||
|
possible_openssl_prefixes = ['/usr', '/usr/local', '/usr/local/opt/openssl', '/usr/local/ssl', '/usr/local/openssl',
|
||||||
|
- '/usr/local/borg', '/opt/local', '/opt/pkg', ]
|
||||||
|
+ '/usr/local/borg', '/opt/local', '/opt/pkg', '/data/data/com.termux/files/usr/']
|
||||||
|
if os.environ.get('BORG_OPENSSL_PREFIX'):
|
||||||
|
possible_openssl_prefixes.insert(0, os.environ.get('BORG_OPENSSL_PREFIX'))
|
||||||
|
ssl_prefix = detect_openssl(possible_openssl_prefixes)
|
||||||
|
|
Loading…
Reference in a new issue