Fossil

Changes To Release Build How-To
Login

Changes to "Release Build How-To" between 2020-07-31 11:29:17 and 2021-02-07 13:46:27

37
38
39
40
41
42
43








44

45
46
47
48
49
50

51
52
53
54
55
56
57
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







+
+
+
+
+
+
+
+
-
+
-
-
-



+







  *  `strip fossil`
  *  `tar czf fossil-linux-x64-$VERSION.tar.gz fossil`
  *  `fossil uv add fossil-linux-x64-$VERSION.tar.gz`
  *  `fossil uv sync`

## Mac

  *  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`
     <li> `CFLAGS=-Os make -e`
     </ul>
  *  `./configure`
  *  `./configure --with-openssl=tree`
  *  Edit the Makefile to specify /usr/local/opt/openssl/lib/libcrypto.a 
     and /usr/local/opt/openssl/lib/libssl.a in place of
     -lcrypto and -lssl, and to add -liconv at the end
  *  `CFLAGS="-Os" 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 drh@sqlite.org fossil`
  *  Verify the signature using: `codesign -d -v fossil`
  *  `tar czf fossil-macosx-$VERSION.tar.gz fossil`
  *  `fossil uv add fossil-macosx-$VERSION.tar.gz`
  *  `fossil uv sync`

## Raspberry Pi