37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-
+
|
## Linux
* Build the in-tree OpenSSL library:
<ul>
<li> Download the OpenSSL tarball and unpack it into `compat/openssl`
<li> `cd` into the `compat/openssl` directory
<li> `./config no-ssl3 no-weak-ssl-ciphers no-shared no-threads --openssldir=/usr/lib/ssl`
<li> `./config no-ssl3 no-weak-ssl-ciphers no-shared no-threads --openssldir=/etc/ssl`
<li> `CFLAGS=-Os make -e`
</ul>
* `./configure --with-openssl=tree --disable-fusefs`
* If the Makefile contains a reference to `-lpthread`, remove it.
* `CFLAGS="-Os" make -e clean fossil`
* `strip fossil`
* Verify dependencies using "`ldd ./fossil`"
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
-
+
|
## Raspberry Pi
* Build the in-tree OpenSSL library:
<ul>
<li> Download the OpenSSL tarball and unpack it into `compat/openssl`
<li> `cd` into the `compat/openssl` directory
<li> `./Configure linux-generic32 no-ssl3 no-weak-ssl-ciphers no-shared no-threads no-asm --openssldir=/usr/lib/ssl`
<li> `./Configure linux-generic32 no-ssl3 no-weak-ssl-ciphers no-shared no-threads no-asm --openssldir=/etc/ssl`
<li> `CFLAGS=-Os make -e`
</ul>
* `./configure --with-openssl=tree --static`
* `CFLAGS="-Os" make -e clean fossil && strip fossil`
* `tar czf fossil-pi-$VERSION.tar.gz fossil`
* `fossil uv add fossil-pi-$VERSION.tar.gz`
* `fossil uv sync`
|