Koichiro IWAO
6b6c0ae636
FreeBSD CI: freebsd_instance cannot be omitted
...
also fix image_family name.
2019-12-24 14:57:33 +09:00
Koichiro IWAO
543a26c6a6
FreeBSD CI: simplify image specification
...
and use `pkg install -y` instead of ASSUE_ALWAYS_YES=TRUE.
2019-12-24 14:55:02 +09:00
Koichiro IWAO
d836904321
FreeBSD CI: also test with base OpenSSL
2019-12-24 14:55:01 +09:00
Koichiro IWAO
9556f09166
FreeBSD CI: use matrix to perform test
...
on multiple FreeBSD version and with multiple SSL libraries.
2019-12-24 14:54:59 +09:00
Koichiro IWAO
1c07ddcb8d
FreeBSD CI: perform memory leak test as well as Linux/Windows
...
and also move `vpncmd /tools /cmd:check` under .ci directory.
2019-12-06 15:28:38 +09:00
Koichiro IWAO
c38b0b0398
FreeBSD CI: also perform test on 11.3-STABLE
...
The official guide [1] says 11.3-RELEASE doesn't boot properly so
using 11.3-STABLE instead.
[1] https://cirrus-ci.org/guide/FreeBSD/
2019-12-06 13:20:16 +09:00
Koichiro IWAO
e4aff409f8
FreeBSD CI: switch to the latest 12.1-RELEASE
2019-12-06 13:20:16 +09:00
Koichiro IWAO
80ba3345d1
FreeBSD CI: perform self-check command after build
2019-12-06 13:20:16 +09:00
Koichiro IWAO
d1471048d9
FreeBSD CI: sysctl -n hw.ncpu is enough to get number of cpus
...
nproc can be installed as gncpu as a part of sysutils/coreutils but not
necessary for this case.
2019-12-06 13:20:16 +09:00
Koichiro IWAO
614f4db8a6
FreeBSD CI: GNU make is not necessary
...
test if build passes with BSD make
2019-12-06 13:20:16 +09:00
Koichiro IWAO
c8479e3011
CMake: make db, log, pid directory customizable
2019-12-04 23:59:18 +09:00
Koichiro IWAO
b1aae5080d
put chain_certs in dbdir
2019-12-04 23:59:13 +09:00
Koichiro IWAO
a69c4980d5
log eraser, log enumerator should refer logdir
2019-12-04 23:59:11 +09:00
Koichiro IWAO
c64674479d
separte log directory and database(config) directory
...
@ was an alias for exedir. To separate log directory and
database(config) directory, @ is now an alias for logdir and $ is an
alias for dbdir.
2019-12-04 23:59:09 +09:00
Koichiro IWAO
01abdedc45
put PID files under PidDir
2019-12-04 23:59:07 +09:00
Koichiro IWAO
18c9b74ff0
implement Get{Db,Log,Pid}{,W} function
...
DbDir : directory to store files such as vpn_server.config and backups etc
LogDir : directory to write logs (sub directories is created in this dir)
PidDir : directory to put PID files such as .ctl-* .pid-* .VPN-*
2019-12-04 23:59:01 +09:00
Koichiro IWAO
21e3ce104b
Avoid using hardcoded paths in log file enumeration
...
Hardcoded paths are used in log file enumeration such as LogFileList
command or GenerateEraseFileList function to delete old log files when
disk free space is lacking.
Fixes : SoftEtherVPN/SoftEtherVPN#972
2019-09-13 10:38:09 +09:00