Skip to content

Commit 20bccf1

Browse files
authored
Merge branch 'main' into edk/searchkline
2 parents 6a3f00c + 12fd6e8 commit 20bccf1

File tree

262 files changed

+2219
-200965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+2219
-200965
lines changed

.appveyor-build.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.appveyor.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- 'doc/oper-guide/**'
9+
pull_request:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- 'doc/oper-guide/**'
14+
15+
jobs:
16+
linux:
17+
name: Linux
18+
19+
runs-on: ${{ matrix.os }}
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os:
25+
- ubuntu-18.04
26+
compiler:
27+
- gcc-6 # Debian 9 (OFTC)
28+
- gcc-7
29+
- gcc-8
30+
- clang-7
31+
- clang-8
32+
include:
33+
- os: ubuntu-20.04
34+
compiler: gcc-10
35+
36+
env:
37+
CC: ${{ matrix.compiler }}
38+
39+
steps:
40+
- name: Install dependencies
41+
run: |
42+
sudo apt-get update
43+
sudo apt-get install -y --no-install-recommends \
44+
${CC} \
45+
automake \
46+
autoconf \
47+
libtool \
48+
libsqlite3-dev \
49+
libhyperscan-dev \
50+
# EOF
51+
- uses: actions/checkout@v2
52+
- name: autogen.sh
53+
run: bash autogen.sh
54+
- name: configure
55+
run: CFLAGS="-Werror -Wno-unused-value -Wno-unused-parameter" ./configure --enable-assert=hard --enable-warnings
56+
- name: make
57+
run: make -j2
58+
- name: make check
59+
run: make check
60+
- name: make install
61+
run: make install

.github/workflows/docs.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Oper Guide
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'doc/oper-guide/**'
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- 'doc/oper-guide/**'
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-18.04
18+
19+
steps:
20+
- name: Install dependencies
21+
run: |
22+
apt-get update
23+
apt-get install -y --no-install-recommends \
24+
python-sphinx \
25+
texinfo \
26+
# EOF
27+
- uses: actions/checkout@v2
28+
- name: Build
29+
run: make -C doc/oper-guide html man info

.gitignore

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Makefile
1414
.libs
1515
authd/authd
1616
bandb/bandb
17-
bandb/bantool
17+
bandb/solanum-bantool
1818
autom4te.cache
1919
aclocal.m4
2020
compile
@@ -56,23 +56,6 @@ ircd/version.c
5656
ircd/version.c.last
5757
ssld/ssld
5858
wsockd/wsockd
59-
tests/core
60-
tests/msgbuf_parse1
61-
tests/msgbuf_unparse1
62-
tests/rb_dictionary1
63-
tests/rb_snprintf_append1
64-
tests/rb_snprintf_try_append1
65-
tests/sasl_abort1
66-
tests/send1
67-
tests/serv_connect1
68-
tests/substitution1
69-
tests/runtests
70-
tests/*.c.ban.db
71-
tests/*.c.ban.db-journal
72-
tests/*.c.log
73-
tests/*.c.pid
74-
!tests/runtime/modules/*.so
75-
!tests/runtime/modules/autoload/*.so
7659
testsuite/ircd.pid.*
7760
tools/solanum-mkpasswd
7861
tools/solanum-mkfingerprint

.travis.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ SUBDIRS += ircd \
1919
help \
2020
doc
2121

22-
logdir = @prefix@/logs
23-
2422
BUILT_SOURCES = include/serno.h
2523

2624
include/serno.h:
@@ -41,9 +39,11 @@ install-data-hook:
4139
test -d ${DESTDIR}${logdir} || mkdir -p ${DESTDIR}${logdir}
4240

4341
install-exec-hook:
42+
rm -f ${DESTDIR}${libdir}/*.la
4443
rm -f ${DESTDIR}${moduledir}/*.la
4544
rm -f ${DESTDIR}${moduledir}/autoload/*.la
4645
rm -f ${DESTDIR}${moduledir}/extensions/*.la
46+
rm -f ${DESTDIR}${libdir}/*.dll.a
4747
rm -f ${DESTDIR}${moduledir}/*.dll.a
4848
rm -f ${DESTDIR}${moduledir}/autoload/*.dll.a
4949
rm -f ${DESTDIR}${moduledir}/extensions/*.dll.a

NEWS.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ See LICENSE for licensing details (GPL v2).
77

88
Includes changes from charybdis-4.1.3-dev.
99

10-
**This release includes breaking changes.** Please pay close attention to bolded warnings in the
11-
full release notes below.
10+
**This release includes breaking changes from charybdis 4.x.** Please pay close attention to
11+
bolded warnings in the full release notes below.
1212

1313
### build
1414
- Add `--with-asan` to configure to produce an ASan instrumented build
@@ -32,11 +32,14 @@ full release notes below.
3232
- Channel bans don't see through IP spoofs
3333
- Global /names now respects userhost-in-names
3434
- The `$j` extban is no longer usable inside ban exceptions
35+
- TLSv1 connections are accepted. They can still be disabled using OpenSSL config if you don't
36+
want them. TLSv1 existing is not thought to be a threat to up-to-date clients.
3537

3638
### oper
3739
- **Breaking:** Kick immunity for override is now its own extension, override\_kick\_immunity
3840
- **Breaking:** /stats A output now follows the same format as other stats letters
3941
- **Breaking:** helpops now uses +h instead of +H
42+
- **Breaking:** sno\_whois and the spy\_ extensions have been removed
4043
- Opers now have their privset (identified by name) on remote servers
4144
- Oper-only umodes are refreshed after rehash and /grant
4245
- Extension modules can be reloaded
@@ -63,13 +66,16 @@ full release notes below.
6366
- Add channel::opmod\_send\_statusmsg to send messages allowed by +z to @#channel
6467
- Add class::max\_autoconn, with the behaviour of class::max\_number for servers prior to
6568
charybdis 4
69+
- Add `secure {}` blocks. Networks listed in a secure block gain +Z and can match `need_ssl` I-
70+
and O-lines.
6671
- Remove general::kline\_delay
6772
- If m\_webirc is loaded, connections that try to use a webirc auth block as their I-line will
6873
be disconnected on registration
6974

7075
### misc
7176
- **Breaking:** WEBIRC now processes the "secure" option as specified by IRCv3. Web gateways that
7277
do not set this option will need to be updated or their connections will show as insecure.
78+
- Successfully changing IP with WEBIRC now drops an identd username
7379

7480
### code
7581
- Channel lists are now kept sorted. A for-loop macro, `ITER_COMM_CHANNELS`, is introduced to

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# solanum [![Build Status](https://travis-ci.com/solanum-ircd/solanum.svg?branch=main)](https://travis-ci.com/solanum-ircd/solanum)
1+
# solanum [![Build Status](https://github.com/solanum-ircd/solanum/workflows/CI/badge.svg)]
22

33
Solanum is an IRCv3 server designed to be highly scalable. It implements IRCv3.1 and some parts of IRCv3.2.
44

55
It is meant to be used with an IRCv3-capable services implementation such as [Atheme][atheme] or [Anope][anope].
66

7-
[atheme]: http://www.atheme.net/
7+
[atheme]: https://atheme.github.io/
88
[anope]: http://www.anope.org/
99

1010
# necessary requirements
@@ -65,10 +65,17 @@ These are known issues and workarounds for supported platforms.
6565
* **Solaris**: you may have to set your PATH to include /usr/gnu/bin and /usr/gnu/sbin before /usr/bin
6666
and /usr/sbin. Solaris's default tools don't seem to play nicely with the configure script.
6767

68-
# building from git
68+
# building
6969

70-
We no longer supply a prebuilt configure script in git, due to use of automake and libtool causing problems.
71-
You will need to run `autogen.sh` to build the autotools files prior to building solanum.
70+
```bash
71+
./autogen.sh
72+
./configure --prefix=/path/to/installation
73+
make
74+
make check # run tests
75+
make install
76+
```
77+
78+
See `./configure --help` for build options.
7279

7380
# feature specific requirements
7481

bandb/Makefile.am

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
pkglibexec_PROGRAMS = bandb
2-
bin_PROGRAMS = bantool
2+
bin_PROGRAMS = solanum-bantool
33
AM_CFLAGS=$(WARNFLAGS)
44

55
AM_CPPFLAGS = -I../include -I../librb/include @SQLITE_INCLUDES@
6-
AM_CPPFLAGS += -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION
76

87
bandb_SOURCES = bandb.c rsdb_sqlite3.c rsdb_snprintf.c
9-
EXTRA_bandb_SOURCES = sqlite3.c
10-
bandb_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
11-
bandb_DEPENDENCIES = @SQLITE_OBJ@
8+
bandb_LDADD = ../librb/src/librb.la @SQLITE_LD@
129

13-
bantool_SOURCES = bantool.c rsdb_sqlite3.c rsdb_snprintf.c
14-
EXTRA_bantool_SOURCES = sqlite3.c
15-
bantool_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
16-
bantool_DEPENDENCIES = @SQLITE_OBJ@
10+
solanum_bantool_SOURCES = bantool.c rsdb_sqlite3.c rsdb_snprintf.c
11+
solanum_bantool_LDADD = ../librb/src/librb.la @SQLITE_LD@

0 commit comments

Comments
 (0)