forked from ckruse/cforum-upto-3.4
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL
More file actions
93 lines (86 loc) · 1.76 KB
/
INSTALL
File metadata and controls
93 lines (86 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Installation instructions:
mkdir build
cd build
cmake ..
make
make install
With options:
mkdir build
cd build
cmake .. -DOPTION=VALUE -DOPTION2=VALUE
make
make install
Useful options:
CMAKE_INSTALL_PREFIX (path)
corresponds to --prefix in autoconf
CMAKE_INSTALL_LOCALSTATEDIR (path)
corresponds to --localstatedir in autoconf
SOCKET_PATH (path)
the path to the cforum server socket
PROTOCOL_FILE (path)
the path to the sigprotocol.txt log file
ENABLE_SHARED_MEM (ON/OFF)
use shared memory?
ENABLE_SORTING (ON/OFF)
enable sorting?
ENABLE_flt_XXXX (ON/OFF)
enable optional module flt_XXXX, allowed
modules are:
flt_basic
flt_category
flt_deleted
flt_frameset
flt_http
flt_link
flt_listhighlight
flt_livefilter
flt_openclose
flt_include
flt_registerednames
flt_tplmode
flt_urlrewrite
flt_visited
flt_extern
flt_threadreturnanchor
flt_tipoftheday
flt_postingassistant
flt_remotesignature
flt_preview
flt_spellcheck
flt_handle404
flt_voting
flt_scoring
flt_motd
flt_votingvariables
flt_sorting
flt_latex
flt_syntax
flt_checkregisteredname
flt_mailonpost
flt_cgiconfig
flt_rot13
flt_gummizelle
flt_noanonymous
flt_noanswer
flt_chooser
flt_moderated
flt_cookieauth
flt_noarchive
flt_noarchive_server
flt_stdreplacements
flt_interesting
flt_admin_mysql
flt_shortcuts
flt_phpsessauth
flt_bbcodes
flt_pavatar
Example:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib \
-DPROTOCOL_FILE=/var/lib/cforum/sigprotocol.txt \
-DSOCKET_PATH=/var/lib/cforum/socket \
-DENABLE_SHARED_MEM=ON \
-DENABLE_SORTING=ON \
-DENABLE_flt_admin_mysql=OFF \
-DENABLE_flt_mailonpost=OFF
(TODO: Write useful instructions)