Blame


1 dd038bc6 2021-09-21 thomas.ad README.portable
2 dd038bc6 2021-09-21 thomas.ad ===============
3 dd038bc6 2021-09-21 thomas.ad
4 dd038bc6 2021-09-21 thomas.ad This is the portable version of got[1] (Game of Trees), using autotools to
5 e499844e 2022-03-03 thomas provide the library checks required for GoT's dependencies.
6 dd038bc6 2021-09-21 thomas.ad
7 e499844e 2022-03-03 thomas The following operating systems are supported:
8 dd038bc6 2021-09-21 thomas.ad
9 e499844e 2022-03-03 thomas * FreeBSD
10 e499844e 2022-03-03 thomas * NetBSD
11 b26177ad 2022-03-03 thomas * DragonFlyBSD
12 e499844e 2022-03-03 thomas * MacOS
13 e499844e 2022-03-03 thomas * Linux
14 e499844e 2022-03-03 thomas
15 dd038bc6 2021-09-21 thomas.ad DEPENDENCIES
16 dd038bc6 2021-09-21 thomas.ad ============
17 dd038bc6 2021-09-21 thomas.ad
18 e499844e 2022-03-03 thomas Linux:
19 dd038bc6 2021-09-21 thomas.ad
20 00ced238 2021-09-24 thomas * `libncurses` (for tog(1))
21 00ced238 2021-09-24 thomas * `libmd` (BSD's digest routines)
22 bd1cad3c 2022-04-30 thomas * `libbsd` (BSD's arc4random routines)
23 00ced238 2021-09-24 thomas * `libcrypto` (often via 'libssl-dev' for SHA1 routines)
24 00ced238 2021-09-24 thomas * `libuuid` (for UUID generation)
25 00ced238 2021-09-24 thomas * `libz` (for Z compression)
26 00ced238 2021-09-24 thomas * `pkg-config` (for searching libraries)
27 ebc794c1 2021-10-20 thomas * `bison` (for configuration file grammar)
28 dd038bc6 2021-09-21 thomas.ad
29 e499844e 2022-03-03 thomas FreeBSD:
30 e499844e 2022-03-03 thomas
31 e499844e 2022-03-03 thomas * `automake`
32 e499844e 2022-03-03 thomas * `pkgconf`
33 e499844e 2022-03-03 thomas
34 e499844e 2022-03-03 thomas NetBSD:
35 e499844e 2022-03-03 thomas
36 e499844e 2022-03-03 thomas * `automake`
37 e499844e 2022-03-03 thomas * `libuuid`
38 e499844e 2022-03-03 thomas * `ncuresesw`
39 e499844e 2022-03-03 thomas
40 b26177ad 2022-03-03 thomas DragonFlyBSD:
41 b26177ad 2022-03-03 thomas
42 b26177ad 2022-03-03 thomas * `automake`
43 b26177ad 2022-03-03 thomas * `pkgconf`
44 b26177ad 2022-03-03 thomas * `openssl`
45 b26177ad 2022-03-03 thomas
46 e499844e 2022-03-03 thomas Darwin (MacOS):
47 e499844e 2022-03-03 thomas
48 e499844e 2022-03-03 thomas * `automake`
49 e499844e 2022-03-03 thomas * `bison`
50 e499844e 2022-03-03 thomas * `pkg-config`
51 e499844e 2022-03-03 thomas * `ncurses`
52 e499844e 2022-03-03 thomas * `openssl`
53 e499844e 2022-03-03 thomas * `ossp-uuid`
54 e499844e 2022-03-03 thomas
55 d3f2ad5e 2021-09-21 thomas.ad TESTS (REGRESS)
56 d3f2ad5e 2021-09-21 thomas.ad ===============
57 d3f2ad5e 2021-09-21 thomas.ad
58 d3f2ad5e 2021-09-21 thomas.ad To run the test suite:
59 d3f2ad5e 2021-09-21 thomas.ad
60 00ced238 2021-09-24 thomas ```
61 d3f2ad5e 2021-09-21 thomas.ad $ make tests
62 00ced238 2021-09-24 thomas ```
63 d3f2ad5e 2021-09-21 thomas.ad
64 1317cd3a 2022-03-08 thomas NOTE: For Linux, you must have the jot(1) command which is typically in the
65 1317cd3a 2022-03-08 thomas `athena-jot` package, or similar.
66 1317cd3a 2022-03-08 thomas
67 00ced238 2021-09-24 thomas NOTE: THIS ONLY WORKS AFTER `make install` DUE TO HOW PATHS TO LIBEXEC
68 d3f2ad5e 2021-09-21 thomas.ad HELPERS ARE HARD-CODED INTO THE BINARIES.
69 d3f2ad5e 2021-09-21 thomas.ad
70 dd038bc6 2021-09-21 thomas.ad INSTALLATION
71 dd038bc6 2021-09-21 thomas.ad ============
72 dd038bc6 2021-09-21 thomas.ad
73 00ced238 2021-09-24 thomas ```
74 72931428 2021-09-21 thomas.ad $ ./autogen.sh
75 dd038bc6 2021-09-21 thomas.ad $ ./configure && make
76 dd038bc6 2021-09-21 thomas.ad $ sudo make install
77 00ced238 2021-09-24 thomas ```
78 dd038bc6 2021-09-21 thomas.ad
79 00ced238 2021-09-24 thomas BRANCHES + SUBMITTING PATCHES
80 00ced238 2021-09-24 thomas =============================
81 00ced238 2021-09-24 thomas
82 00ced238 2021-09-24 thomas `got-portable` has two key branches:
83 00ced238 2021-09-24 thomas
84 00ced238 2021-09-24 thomas * `main` which tracks got upstream untainted.
85 2f4dd2c2 2021-09-27 thomas * `linux` which provides the portable version of GoT based from code on `main`
86 00ced238 2021-09-24 thomas
87 00ced238 2021-09-24 thomas Patches for portable code fixes should be based from the `linux` branch and
88 00ced238 2021-09-24 thomas sent to the mailing list for review [2] or sent to me directly (see CONTACT).
89 00ced238 2021-09-24 thomas
90 00ced238 2021-09-24 thomas The read-only Github repository also runs CI checks using Cirrus-CI on Linux
91 00ced238 2021-09-24 thomas and FreeBSD.
92 00ced238 2021-09-24 thomas
93 dd038bc6 2021-09-21 thomas.ad TODO
94 dd038bc6 2021-09-21 thomas.ad ====
95 dd038bc6 2021-09-21 thomas.ad
96 dd038bc6 2021-09-21 thomas.ad configure.ac should start defining AC_ENABLE arguments to allow for
97 dd038bc6 2021-09-21 thomas.ad finer-grained control of where to search for includes/libraries, etc.
98 dd038bc6 2021-09-21 thomas.ad
99 dd038bc6 2021-09-21 thomas.ad CONTACT
100 dd038bc6 2021-09-21 thomas.ad =======
101 dd038bc6 2021-09-21 thomas.ad
102 dd038bc6 2021-09-21 thomas.ad Thomas Adam <thomas@xteddy.org>
103 72931428 2021-09-21 thomas.ad thomas_adam (#gameoftrees on irc.libera.chat)
104 dd038bc6 2021-09-21 thomas.ad
105 dd038bc6 2021-09-21 thomas.ad [1] https://gameoftrees.org
106 6bfde126 2021-09-29 thomas [2] https://lists.openbsd.org/cgi-bin/mj_wwwusr?user=&passw=&func=lists-long-full&extra=gameoftrees