Blob


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