Commit Graph

1885 Commits

Author SHA1 Message Date
Nathan Phillip Brink 6bdef3d52f Fix bandb's interaction with --enable-fhs-paths by storing ban.db in the correct directory, pkglocalstatedir. 2012-02-29 23:17:12 -05:00
Nathan Phillip Brink e8da6ccee6 Add explicit support for being installed into a system triggered with --enable-fhs-paths.
Add two mechanism for avoiding name-collisions in a system-wide installation of charybdis. The ssld and bandb daemons, intended to be directly used by ircd and not the user, install into libexec when --enable-fhs-paths is set. For binaries which are meant to be in PATH (bindir), such as ircd and viconf, there is now an option --with-program-prefix=progprefix inspired by automake. If the user specifies --with-program-prefix=charybdis, the ircd binary is named charybdisircd when installed. Add support for saving the pidfile to a rundir and storing the ban database in localstatedir instead of in sysconfdir. This is, again, conditional on --enable-fhs-paths. Fix(?) genssl.sh to always write created SSL key/certificate/dh parameters to the sysconfdir specified during ./configure. The previous behavior was to assume that the user ran genssl.sh after ensuring that his current working directory was either sysconfdir or a sibling directory of sysconfdir.
2012-02-29 23:16:29 -05:00
Nathan Phillip Brink 9d8184bd87 Fix viconf's dependencies on setup.h and config.h. 2012-02-29 23:14:15 -05:00
Nathan Phillip Brink 7c41dea640 Do not unconditionally create a `help-old' folder during installation. 2012-02-29 23:14:12 -05:00
Nathan Phillip Brink e131a2ed68 During installation, don't unconditionally create an empty `modules-old' directory. 2012-02-29 23:14:09 -05:00
Nathan Phillip Brink c8e67ef406 Fix parallel compilation issue when building lexer/parser. 2012-02-29 23:14:07 -05:00
Nathan Phillip Brink 84cda210f0 Use LDFLAGS when compiling extensions or modules. 2012-02-29 23:14:04 -05:00
JD Horelick 040c2a5ba9 Fix handling of ACTIONs when chmode +G is set. 2012-02-28 15:12:33 -05:00
JD Horelick fce7a207b0 NEWS: Fix typo. 2012-02-28 15:10:49 -05:00
JD Horelick 81f2fde1b6 Fix makerelease.sh 2011-06-03 13:58:26 -04:00
JD Horelick b5135efc27 Bump version to 6.3.2 2011-05-24 20:47:06 -04:00
Tony Vroon c530343c91 makerelease.sh: Do things the git way; add a sanity check for release name. 2011-05-22 14:35:55 -04:00
JD Horelick 3d11239c22 Add .gitignore 2011-05-22 14:25:19 -04:00
JD Horelick 4859b814a5 We use Git now. Git is cool. Just like fezes. 2011-05-20 04:39:46 -04:00
JD Horelick 50ee317107 tools: Add helper scripts for WeeChat and XChat as well.
The irssi script is also renamed and now has OSET as well.
2011-05-15 19:02:09 -04:00
JD Horelick 1117974490 tools: Added shadow_help.pl. This is a simple irssi script that adds a OHELP command.
OHELP calls HELP so there's no conflict with in-client help and you do not have
to call HELP with /quote help.
2011-05-15 17:55:18 -04:00
JD Horelick 44d01be7cf Added tag shadowircd-6.3.1 for changeset 8f3ad8b98351 2011-05-15 14:49:15 -04:00
JD Horelick 83118989b9 ShadowIRCd 6.3.1 2011-05-15 14:49:03 -04:00
Jilles Tjoelker 3cc95ad818 Allow kick_on_split_riding to protect channels with mlocked keys.
Do kick_on_split_riding if services sends an SJOIN
with a lower TS and a different key. This relies on
services restoring TS (changets option in atheme) and
services not immediately parting after receiving the
KICK, which is the case in recent atheme.

For invite-only channels, still only do
kick_on_split_riding in netbursts. Services is
assumed to handle this itself (atheme does).
2011-04-06 19:05:08 +02:00
William Pitcock 9494478ea0 bantool: _XOPEN_SOURCE should die in a fire 2011-03-17 10:45:57 -05:00
Jilles Tjoelker 00d66a41f4 Style: use a consistent order for the _C constants. 2011-03-31 00:05:42 +02:00
Stephen Bennett f970f73c68 Disallow mIRC italics in channel names when disable_fake_channels 2011-03-30 11:30:47 +01:00
Jilles Tjoelker 8d5df4cb82 Cope with OPENSSL_VERSION_NUMBER not being a long.
Contrary to the documentation, this is the case on recent FreeBSD at least.
2011-03-20 18:46:32 +01:00
Stephen Bennett 3fa27fe787 Don't allow +Z to be set by default_umodes 2011-03-11 13:12:40 +00:00
Elizabeth Jennifer Myers d9c2579647 m_challenge: fix use of undefined behaviour.
GCC does what we expect, but other compilers could do just about anything.
2011-02-22 12:00:45 -05:00
JD Horelick 01a8417f75 When setting/unsetting cmode +M, only wallops once, not for every server on the network. 2011-05-15 14:01:07 -04:00
JD Horelick 3df8ab7a98 Added tag shadowircd-6.3.0 for changeset 031bedf7e340 2011-02-05 21:24:19 -05:00
JD Horelick 1c895dfbe1 ShadowIRCd 6.3.0 2011-02-05 21:24:08 -05:00
JD Horelick 6dec141a91 Regenerate libratbox configure. 2011-02-05 21:23:08 -05:00
Elizabeth Jennifer Myers d0c759a857 Add endian test to autoconf and convert crypt to use it. 2011-01-24 21:03:00 -05:00
Jilles Tjoelker 6cb47f18b5 Fix memory leak of operator certfp fields. 2011-01-25 00:39:07 +01:00
Elizabeth Jennifer Myers 6a00233824 newconf: fix a warning 2011-01-23 16:56:36 -05:00
Elizabeth Jennifer Myers fd999fad3a newconf: fix certificate fingerprint auth.
yy_oper->certfp was not copied into yy_tmpoper->certfp, thus the information was lost and certfp auth was never really working, since the string was always empty.
2011-01-23 16:12:32 -05:00
JD Horelick 696c935a4c When changing an oper's host, be sure that the mode value has enough room to hold +ah too. 2011-01-26 16:45:41 -05:00
JD Horelick 76db5f7dd4 Added tag shadowircd-6.3.0-RC1 for changeset 5d25c87c7895 2011-01-20 00:02:48 -05:00
JD Horelick ca7dc82d5b ShadowIRCd 6.3.0-RC1 2011-01-20 00:02:30 -05:00
JD Horelick a13221bcae Write a bit of Not The Nine O'Clock NEWS. :P 2011-01-20 00:01:50 -05:00
JD Horelick 2f24d19944 Fix some warnings. 2011-01-19 15:59:30 -05:00
Elizabeth Jennifer Myers 44e6a470d6 Add blowfish to libratbox crypt.
Also change u_int*_t to uint*_t whilst I'm here.
2011-01-17 05:01:11 -05:00
Jilles Tjoelker e9ced3de20 hunt_server: Disallow wildcarded nicknames.
Any hunted parameter with wildcards is now assumed
to be a server, never a user.

Reasons:
* fewer match() calls
* do not disclose existing nicknames
* more intuitive behaviour for CONNECT

m_trace has a copy of some hunt_server logic in it
(for the RPL_TRACELINK reply), so adjust that too.
2011-01-08 17:47:05 +01:00
Jilles Tjoelker 86044bd2d6 Fix compiler warnings. 2011-01-08 17:40:12 +01:00
Keith Buck f38f82ac36 Move list-related isupport items to the list module itself. 2011-01-06 00:40:08 -08:00
Elizabeth Jennifer Myers 565b527019 Make SHA512 the default for mkpasswd again, as SHA512 support is guaranteed to *always* be in libratbox. 2011-01-06 01:56:47 -05:00
Elizabeth Jennifer Myers 28545c3683 Overhaul extensions/m_mkpasswd. It now allows SHA256/SHA512 hashes. DES support is removed, as it is insecure and can be broken on my desktop in about 20 minutes. 2011-01-19 15:54:44 -05:00
JD Horelick 12e395252c Add SHA256/SHA512 support to crypt.c and fix up the MD5 component (it seemed to have been broken). In addition, unconditionally use the libratbox crypt. 2011-01-19 15:50:46 -05:00
Lee T. Starnes bd477ff3a3 cosmetic fix: Blowfish doesn't use CamelCase 2011-01-05 23:20:04 -06:00
JD Horelick e8e3ef0dfb Add topic TS and channel TS constraints for /LIST. 2011-01-19 15:45:45 -05:00
JD Horelick e78f804d42 Implement operspy for /LIST. 2011-01-19 15:41:23 -05:00
Keith Buck a0a6c0dd39 Fix multiple RPL_LISTEND replies when aborting a /LIST. 2011-01-02 00:43:11 -08:00
Jilles Tjoelker 26576db0b3 Remove redundant prototypes in src/ircd_lexer.l.
These seem unnecessary and may cause problems because they
are wrong in some cases.

A comment says these were needed for GCC 3.3. If you are
still using this compiler, check this and if it breaks,
some other approach is needed.
2010-12-15 21:49:47 +01:00