Experimental 'make install'

This commit is contained in:
Andrew Pamment
2018-10-26 12:13:32 +10:00
parent 03c8db54ab
commit abb20b63b5
20 changed files with 236 additions and 47 deletions

38
dist/config/bbs.ini vendored
View File

@@ -9,7 +9,7 @@ MagiChat Server = localhost
MagiChat Port = 6667
MagiChat BBSTag = Magicka
Default Tagline = Brought to you by Another Magicka BBS!
External Editor cmd = /home/andrew/MagickaBBS/utils/magiedit/magiedit.sh
External Editor cmd = __EXECPREFIX__/magiedit.sh
External Editor stdio = true
External Editor Codepage = CP437
Automessage Write Level = 10
@@ -20,8 +20,8 @@ WWW Port = 8080
WWW URL = http://127.0.0.1:8080/
Enable SSH = false
SSH Port = 2024
SSH DSA Key = /home/andrew/MagickaBBS/keys/ssh_host_dsa_key
SSH RSA Key = /home/andrew/MagickaBBS/keys/ssh_host_rsa_key
SSH DSA Key = __CONFIGPREFIX__/keys/ssh_host_dsa_key
SSH RSA Key = __CONFIGPREFIX__/keys/ssh_host_rsa_key
Main AKA = 1:2/3.4
QWK Name = MAGICKA
QWK Max Messages = 5000
@@ -39,25 +39,25 @@ Date Style = EU
Enable IPv6 = true
[paths]
Config Path = /home/andrew/MagickaBBS/config
WWW Path = /home/andrew/MagickaBBS/www
String File = /home/andrew/MagickaBBS/magicka.strings
PID File = /home/andrew/MagickaBBS/magicka.pid
ANSI Path = /home/andrew/MagickaBBS/ansis
BBS Path = /home/andrew/MagickaBBS
Log Path = /home/andrew/MagickaBBS/logs
Script Path = /home/andrew/MagickaBBS/scripts
Echomail Semaphore = /home/andrew/MagickaBBS/echomail.out
Netmail Semaphore = /home/andrew/MagickaBBS/netmail.out
Menu Path = /home/andrew/MagickaBBS/menus
Config Path = __CONFIGPREFIX__
WWW Path = __SHAREPREFIX__/www
String File = __SHAREPREFIX__/magicka.strings
PID File = __LOCALSTATEPREFIX__/magicka.pid
ANSI Path = __SHAREPREFIX__/ansis
BBS Path = __LOCALSTATEPREFIX__
Log Path = __LOCALSTATEPREFIX__/logs
Script Path = __SHAREPREFIX__/scripts
Echomail Semaphore = __LOCALSTATEPREFIX__/mail.out
Netmail Semaphore = __LOCALSTATEPREFIX__/mail.out
Menu Path = __SHAREPREFIX__/menus
[mail conferences]
Local Mail = config/localmail.ini
HappyNet = config/happynet.ini
Local Mail = __CONFIGPREFIX__/localmail.ini
HappyNet = __CONFIGPREFIX__/happynet.ini
[file directories]
General Files = config/filesgen.ini
General Files = __CONFIGPREFIX__/filesgen.ini
[text files]
Magicka Advertisement = ansis/bulletin0.ans
Whats New = ansis/bulletin1.ans
Magicka Advertisement = __SHAREPREFIX__/ansis/bulletin0.ans
Whats New = __SHAREPREFIX__/ansis/bulletin1.ans

View File

@@ -6,4 +6,4 @@ Visible on Web = false
Database = files_misc
Download Sec Level = 10
Upload Sec Level = 10
Upload Path = /home/andrew/MagickaBBS/files/misc
Upload Path = __LOCALSTATEPREFIX__/files/misc

View File

@@ -15,7 +15,7 @@ domain = happynet
[General]
Read Sec Level = 10
Write Sec Level = 10
Path = /home/andrew/MagickaBBS/msgs/hnet_general
Path = __LOCALSTATEPREFIX__/msgs/hnet_general
; local / echo or netmail
Type = Echo
QWK Name = HN_GEN
@@ -23,7 +23,7 @@ QWK Name = HN_GEN
[Netmail]
Read Sec Level = 10
Write Sec Level = 10
Path = /home/andrew/MagickaBBS/msgs/hnet_netmail
Path = __LOCALSTATEPREFIX__/msgs/hnet_netmail
; local / echo or netmail
Type = Netmail
QWK Name = HN_NET

View File

@@ -6,13 +6,13 @@ Real Names = false
[General]
Read Sec Level = 10
Write Sec Level = 10
Path = /home/andrew/MagickaBBS/msgs/general
Path = __LOCALSTATEPREFIX__/msgs/general
Type = Local
QWK Name = GENERAL
[Testing]
Read Sec Level = 10
Write Sec Level = 10
Path = /home/andrew/MagickaBBS/msgs/testing
Path = __LOCALSTATEPREFIX__/msgs/testing
Type = Local
QWK Name = TEST

View File

@@ -1,4 +1,4 @@
local bulletin_path = "/home/andrew/MagickaBBS/ansis";
local bulletin_path = "__SHAREPREFIX__/ansis";
function file_exists(name)