35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
|
* Logout
* Download the file www.fossil-scm.org:/home/www/usr/bin/fossil
* `strip fossil`
* `tar czf fossil-linux-x64-$VERSION.tar.gz fossil`
* `fossil uv add fossil-linux-x64-$VERSION.tar.gz`
* `fossil uv sync`
## Mac arm64 (cross-compiled)
* On the circa 2017 iMac (macOS Big Sur, x64) do:
* Set up in-tree OpenSSL:
<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 no-asm --openssldir=/usr/local/etc/openssl`
<li> `CFLAGS="-Os -arch arm64" make -e`
</ul>
* `./configure --with-openssl=tree`
* `TCCFLAGS="-Os -arch arm64" make -e clean fossil`
* Verify no shared library dependencies using: `otool -L ./fossil`
* `strip fossil`
* Transfer the "fossil" binary to the iMac running Big Sur
* `codesign -s [email protected] fossil`
* Verify the signature using: `codesign -d -v fossil`
* `tar czf fossil-mac-arm-$VERSION.tar.gz fossil`
* `fossil uv add fossil-mac-arm-$VERSION.tar.gz`
* `fossil uv sync`
## Mac
## Mac x64
* On the circa 2010 Macbook Air (running MacOS 10.13.6) do this:
* Set up in-tree OpenSSL:
<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/local/etc/openssl`
|