Blame
Date:
Tue Dec 21 08:25:54 2021 UTC
Message:
Use php 7 due to compatibility issues
01
2021-12-17
jrmu
botnow: the versatile IRC bot
02
2021-12-17
jrmu
03
2021-12-17
jrmu
botnow has only been tested on openbsd 6.9
04
2021-12-17
jrmu
05
2021-12-17
jrmu
### System requirements ###
06
2021-12-17
jrmu
07
2021-12-17
jrmu
In order to install botnow, you will need to have the following installed and
08
2021-12-17
jrmu
configured:
09
2021-12-17
jrmu
10
2021-12-17
jrmu
1) sendmail (https://wiki.ircnow.org/index.php?n=Opensmtpd.Configure)
11
2021-12-17
jrmu
2) nsd (https://wiki.ircnow.org/index.php?n=Nsd.Configure)
12
2021-12-17
jrmu
3) openhttpd (https://wiki.ircnow.org/index.php?n=Openhttpd.Configure)
13
2021-12-17
jrmu
4) php (https://wiki.ircnow.org/index.php?n=Openbsd.Php)
14
2021-12-17
jrmu
5) znc (https://wiki.ircnow.org/index.php?n=Znc.Chroot)
15
2021-12-17
jrmu
6) IPv6 (https://wiki.ircnow.org/index.php?n=Hostnameif.Static)
16
2021-12-17
jrmu
17
2021-12-17
jrmu
### Install instructions ###
18
2021-12-17
jrmu
19
2021-12-17
jrmu
$ tar xvzf botnow.tgz
20
2021-12-17
jrmu
$ cd botnow
21
2021-12-17
jrmu
$ doas make
22
2021-12-17
jrmu
$ doas su botnow
23
2021-12-17
jrmu
$ cd /home/botnow/
24
2021-12-17
jrmu
$ cp botnow.conf.example botnow.conf
25
2021-12-17
jrmu
26
2021-12-17
jrmu
Fill the file ipv6s with all the unused IPv6 addresses available on your server.
27
2021-12-17
jrmu
28
2021-12-17
jrmu
$ vi botnow.conf
29
2021-12-17
jrmu
$ ./botnow.pl
30
2021-12-17
jrmu
31
2021-12-17
jrmu
### Configuration of httpd.conf ###
32
2021-12-17
jrmu
33
2021-12-17
jrmu
server "www.$hostname" {
34
2021-12-17
jrmu
alias "$hostname"
35
2021-12-17
jrmu
listen on $ext_ip port 80
36
2021-12-17
jrmu
location "/.well-known/acme-challenge/*" {
37
2021-12-17
jrmu
root "/acme"
38
2021-12-17
jrmu
request strip 2
39
2021-12-17
jrmu
}
40
2021-12-17
jrmu
location "*.php" {
41
2021-12-17
jrmu
fastcgi socket "/run/php-fpm.sock"
42
2021-12-17
jrmu
}
43
2021-12-17
jrmu
root "/htdocs/ircnow/"
44
2021-12-17
jrmu
}
45
2021-12-17
jrmu
46
2021-12-17
jrmu
### Reinstall ###
47
2021-12-17
jrmu
48
2021-12-17
jrmu
If you need to reinstall, run
49
2021-12-17
jrmu
50
2021-12-17
jrmu
$ doas make -i
51
2021-12-17
jrmu
52
2021-12-17
jrmu
### Changelog ###
53
2021-12-17
jrmu
54
2021-12-17
jrmu
Version 0.07: Added support for requesting shell accounts
55
2021-12-17
jrmu
Version 0.06: Refactored code to be modular
56
2021-12-17
jrmu
Version 0.05: Refactored conf file out of the script and supplied sensible defaults
57
2021-12-17
jrmu
Version 0.04: Switched from flatfiles to sqlite for user metadata
58
2021-12-17
jrmu
Version 0.03: Added new DNS commands
59
2021-12-17
jrmu
Version 0.02: Updated wiki pages, added warnings to common errors, added support
60
2021-12-17
jrmu
for trustallcerts
61
2021-12-17
jrmu
Version 0.01: First public version of botnow
IRCNow