- Update to 3.0.0.b8

Port changes:
o Example EFnet configuration file updated for ratbox-3 and
  re-included in the port install.
Software changes include:
o Some cleanups in the checksplit code.
o Some cleanups in the /trace code.
o Show reasons for failed outbound SSL handshakes to opers.
o Log SSL errors for servers and handshakes in serverlog.
o Make sqlite3 checking more robust.
o Change the resolver to use the code from charybdis instead of adns.
o Fix identd checking so it is no longer broken as in beta7.
o Fix a bug where the ircd could stop reading from the client on the CAP command.
o Add some functions for random number generation for the nossl case in libratbox.

PR:		ports/125868
Submitted by:	Lewis <moggie@elasticmind.net> (maintainer)
This commit is contained in:
Beech Rintoul 2008-07-24 03:42:40 +00:00
parent 17d1a47536
commit 395bb0a9b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217401
4 changed files with 91 additions and 5 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= ircd-ratbox
#PORTVERSION= 3.0.0
DISTVERSION= 3.0.0beta7
DISTVERSION= 3.0.0beta8
CATEGORIES= irc ipv6
MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ \
ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/testing/ \
@ -204,7 +204,7 @@ post-install:
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample
${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample
# ${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample
${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample
${INSTALL_DATA} ${WRKSRC}/doc/genssl.sh ${PREFIX}/etc/${PORTNAME}/genssl.sh
# ----- We need to install the shortcut.pl module ----

View file

@ -1,3 +1,3 @@
MD5 (ircd-ratbox-3.0.0beta7.tar.bz2) = 7fd345c89c17c078dcbc2258a3a78710
SHA256 (ircd-ratbox-3.0.0beta7.tar.bz2) = 5791ea30da68c4401f1427888e112679b5a96ac21654e9f1649f4ba79f19c455
SIZE (ircd-ratbox-3.0.0beta7.tar.bz2) = 1982786
MD5 (ircd-ratbox-3.0.0beta8.tar.bz2) = e13346ee8d8fbce452f100c271d22bc4
SHA256 (ircd-ratbox-3.0.0beta8.tar.bz2) = dbbfda934b67cc8ebd6a9e0c363567d3d3a512b88513ae2f277e6f99c4e263bf
SIZE (ircd-ratbox-3.0.0beta8.tar.bz2) = 1939368

View file

@ -0,0 +1,85 @@
--- doc/example.efnet.conf.orig 2008-07-22 13:32:47.000000000 +0100
+++ doc/example.efnet.conf 2008-07-22 13:53:46.000000000 +0100
@@ -60,7 +60,7 @@
/* description: the description of our server. '[' and ']' may not
* be used here for compatibility with older servers.
*/
- description = "ircd-ratbox EFNet server";
+ description = "ircd-ratbox EFNet testing server";
/* network info: the name and description of the network this server
* is on. Shown in the 005 reply and used with serverhiding.
@@ -91,13 +91,13 @@
default_max_clients = 10000;
/* ssl_private_key: our ssl private key */
- ssl_private_key = "etc/test.key";
+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key";
/* ssl_cert: certificate for our ssl server */
- ssl_cert = "etc/test.cert";
+ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert";
/* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
- ssl_dh_params = "etc/dh.pem";
+ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem";
/* ssld_count: number of ssld processes you want to start, if you have a really busy
* server, using N-1 where N is the number of cpu/cpu cores you have might be useful
@@ -130,16 +130,16 @@
* - operspylog: operspy usage
* - ioerrorlog: IO errors
*/
- fname_userlog = "logs/userlog";
- #fname_fuserlog = "logs/fuserlog";
- fname_operlog = "logs/operlog";
- #fname_foperlog = "logs/foperlog";
- fname_serverlog = "logs/serverlog";
- fname_glinelog = "logs/glinelog";
- #fname_klinelog = "logs/klinelog";
- fname_killlog = "logs/killlog";
- fname_operspylog = "logs/operspylog";
- #fname_ioerrorlog = "logs/ioerror";
+ fname_userlog = "%%LOGDIR%%/userlog";
+ #fname_fuserlog = "%%LOGDIR%%/fuserlog";
+ fname_operlog = "%%LOGDIR%%/operlog";
+ #fname_foperlog = "%%LOGDIR%%/foperlog";
+ fname_serverlog = "%%LOGDIR%%/serverlog";
+ fname_glinelog = "%%LOGDIR%%/glinelog";
+ #fname_klinelog = "%%LOGDIR%%/klinelog";
+ fname_killlog = "%%LOGDIR%%/killlog";
+ fname_operspylog = "%%LOGDIR%%/operspylog";
+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror";
};
/* class {}: contain information about classes for users (OLD Y:) */
@@ -335,7 +335,7 @@
* A password should not be defined when this is used, see
* doc/challenge.txt for more information.
*/
- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
+ #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub";
/* umodes: the specific umodes this oper gets when they oper.
* If this is specified an oper will not be given oper_umodes
@@ -956,7 +956,7 @@
*
* only define if servlink is not in same directory as ircd itself.
*/
- #servlink_path = "/usr/local/ircd/bin/servlink";
+ #servlink_path = "%%PREFIX%%/bin/servlink";
/* use egd: if your system does not have *random devices yet you
* want to use OpenSSL and encrypted links, enable this. Beware -
@@ -1009,8 +1009,9 @@
/* module path: paths to search for modules specified below and
* in /modload.
*/
- path = "/usr/local/ircd/modules";
- path = "/usr/local/ircd/modules/autoload";
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules";
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload";
+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib";
/* module: the name of a module to load on startup/rehash */
#module = "some_module.so";

View file

@ -237,6 +237,7 @@ lib/ircd-ratbox/modules/m_squit.so
@dirrm %%DATADIR%%/help
@dirrm %%DATADIR%%
etc/ircd-ratbox/genssl.sh
etc/ircd-ratbox/ircd-efnet.conf.sample
@unexec if cmp -s %D/etc/ircd-ratbox/ircd.conf.sample %D/etc/ircd-ratbox/ircd.conf; then rm -f %D/etc/ircd-ratbox/ircd.conf; fi
etc/ircd-ratbox/ircd.conf.sample
@exec if [ ! -f %D/etc/ircd-ratbox/ircd.conf ] ; then cp -p %D/%F %B/ircd.conf; fi