summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-06-16 10:06:31 +0100
committerSadie Powell <sadie@witchery.services>2020-06-16 10:13:21 +0100
commit4316ae10b1f631b7434807a2a3998e9f8558b51e (patch)
tree2c335a133eba835a337101932e01b4daa17cdae5 /make
parent6d3e316234f47468cd15bc9bdff66e2a76fa4cd6 (diff)
Implement a tool for testing SSL connectivity.
Diffstat (limited to 'make')
-rw-r--r--make/template/inspircd-testssl.146
-rw-r--r--make/template/main.mk2
2 files changed, 48 insertions, 0 deletions
diff --git a/make/template/inspircd-testssl.1 b/make/template/inspircd-testssl.1
new file mode 100644
index 000000000..4138c0e74
--- /dev/null
+++ b/make/template/inspircd-testssl.1
@@ -0,0 +1,46 @@
+.\"
+.\" InspIRCd -- Internet Relay Chat Daemon
+.\"
+.\" Copyright (C) 2020 Sadie Powell <sadie@witchery.services>
+.\"
+.\" This file is part of InspIRCd. InspIRCd is free software: you can
+.\" redistribute it and/or modify it under the terms of the GNU General Public
+.\" License as published by the Free Software Foundation, version 2.
+.\"
+.\" This program is distributed in the hope that it will be useful, but WITHOUT
+.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+.\" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+.\" details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
+.\"
+
+
+.TH "InspIRCd" "1" "June 2020" "InspIRCd @VERSION_FULL@" "InspIRCd Manual"
+
+.SH "NAME"
+\t\fBInspIRCd\fR - \fIthe\fR stable, high-performance and modular Internet Relay Chat Daemon
+.BR
+
+.SH "SYNOPSIS"
+\t\fBinspircd-testssl\fR <hostip> <port> [selfsigned]
+
+.SH "OPTIONS"
+.TP
+.B "hostip"
+.br
+The hostname or IP address to connect to.
+.TP
+.B "port"
+.br
+The TCP port to connect to.
+.TP
+.br
+.B "selfsigned"
+Disables checking whether the server certificate is signed by a Certificate Authority.
+
+.SH "SUPPORT"
+IRC support for InspIRCd can be found at ircs://irc.inspircd.org/inspircd.
+
+Bug reports and feature requests can be filed at https://github.com/inspircd/inspircd/issues.
diff --git a/make/template/main.mk b/make/template/main.mk
index 380d57f27..a00f5557d 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -240,7 +240,9 @@ ifeq ($(SYSTEM), linux)
endif
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/inspircd.1 $(MANPATH) 2>/dev/null
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/inspircd-genssl.1 $(MANPATH) 2>/dev/null
+ -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/inspircd-testssl.1 $(MANPATH) 2>/dev/null
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) tools/genssl $(BINPATH)/inspircd-genssl 2>/dev/null
+ -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) tools/testssl $(BINPATH)/inspircd-testssl 2>/dev/null
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/conf/*.example $(EXAPATH)
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/conf/codepages/*.example $(EXAPATH)/codepages
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/conf/providers/*.example $(EXAPATH)/providers