about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2012-09-24automake: enable colored test output, if availableAlexander Barton
The "color-tests" option can't be checked for, but is available starting with automake 1.11 which introduced AM_SILENT_RULES -- so we check this ...
2012-09-24Add doc/Contributing.txt to distribution archiveAlexander Barton
2012-09-24Loose GNU autoconf / automake requirements a bitAlexander Barton
Now ngIRCd requires at least GNU autoconf 2.61 and automake 1.10, the requirements of commit 67e882d4 have been too restrictive: 19.2 67e882d4 now ---------- --------- --------- --------- autoconf >=2.50 >=2.67 >=2.61 automake >=1.6 >=1.11 >=1.10 The tools required now are supported by Debian GNU/Linux 4.0 "Etch", RedHat Enterprise Linux 5, and Mac OS X 10.6.x for example. I read the changelogs of autoconf and automake, and I think ther's nothing that prevents it from working with these older versions; and we don't want to force users to upgrade without real benefits. Please note: the recommended versions are still autoconf 1.11.x and the most recent autoconf release that works with automake 1.11.x!
2012-09-23Merge branch 'bug92-xop'Alexander Barton
By Alexander Barton (5) and Sebastian Köhler (2) * bug92-xop: Fix NAMES/WHO response when client has multi-prefix Fix prefix of "halfop" when "multi-prefix" is active Clean up doc/.gitignore doc/Modes.txt: add version number to new channel modes Fix some "whitespace glitches" Tests and documentation for xop Implemented xop support Conflicts (because of "multi-prefix fix"): src/ngircd/irc-info.c This fixes bug #92 "ngircd does not support XOP usermodes".
2012-09-23Fix NAMES/WHO response when client has multi-prefixAlexander Barton
This has been fixed by commit 16f94546 "Fix NAMES response when client has multi-prefix" in the master branch, fix it in this patch series, too.
2012-09-23Fix prefix of "halfop" when "multi-prefix" is activeAlexander Barton
2012-09-23Clean up doc/.gitignoreAlexander Barton
2012-09-23doc/Modes.txt: add version number to new channel modesAlexander Barton
2012-09-21Free all listen ports on initializationAlexander Barton
Now you can reconfigure listen ports and reload the server configuration on runtime. Without this patch, no ports could be removed.
2012-09-21Initialize SSL when needed only, and disable SSL on errorsAlexander Barton
With this patch, the SSL subsystem will only be initialized if at least one SSL ports is configured; so you won't get "SSL initialization failed" messages if you didn't configured it at all. And if SSL initialization fails, no SSL listen ports will be enabled later which never could establish a working SSL connection at all ...
2012-09-17Sort "feature string" alphabeticallyAlexander Barton
2012-09-16Include CAP command even when using "strict RFC mode"Alexander Barton
2012-09-16Merge branch 'autoconf-update'Alexander Barton
Update GNU autoconf and automake infrastructure. Tested on modern systems as well as Apple A/UX :-) * autoconf-update: AUTOMAKE_OPTIONS: fix ansi2knr option, include path Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOC Make our own targets "silent", if enabled configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE Updated config.{guess|sub} to version 2012-08-14 Make autogen.sh more verbose when VERBOSE=1 is set configure.in: use AC_SEARCH_LIBS (not AC_CHECK_LIB) configure.in: use AS_HELP_STRING macro configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET) configure.in: inttypes.h is an optional header file Use HAVE_SETSID #define when testing for setsid() Don't include <stdint.h>, it is included by "portab.h" Don't check type.h availability, it is required configure.in: Use AC_CONFIG_FILES macro configure.in: Don't use AC_C_PROTOTYPES configure.in: Update checks for required and optional features configure.in: require autoconf 2.67 and automake 1.11 configure.in: sort some lists (templates, output, ...)
2012-09-16AUTOMAKE_OPTIONS: fix ansi2knr option, include pathAlexander Barton
Set correct relative path to ansi2knr.c in AUTOMAKE_OPTIONS, so that ansi2knr.{1|c} is only included once in the distribution archive.
2012-09-15Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOCAlexander Barton
We don't expect the GNU'ish behaviour of of malloc() and realloc() and never implemented the replacement functions rpl_malloc()/rpl_realloc() -- so these test result in linking failues on systems that don't have a GNU'ish malloc() and realloc() even though we don't require it! Introduced by commit 47ad9afc.
2012-09-15Make our own targets "silent", if enabledAlexander Barton
2012-09-14Allow limited punctuation in usernames, for better PAM integration.Brett Smith
2012-09-13configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCEAlexander Barton
2012-09-13Updated config.{guess|sub} to version 2012-08-14Alexander Barton
2012-09-13Make autogen.sh more verbose when VERBOSE=1 is setAlexander Barton
2012-09-13configure.in: use AC_SEARCH_LIBS (not AC_CHECK_LIB)Alexander Barton
Use the AC_SEARCH_LIBS macro to test for "sometimes but not always" required libraries, not AC_CHECK_LIB.
2012-09-13configure.in: use AS_HELP_STRING macroAlexander Barton
2012-09-13configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET)Alexander Barton
See the autoconf manual for details: http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets
2012-09-12configure.in: inttypes.h is an optional header fileAlexander Barton
2012-09-11Merge pull request #2 from briancollins/masterAlexander Barton
Fix IRC_Send_NAMES not sending correct prefix for certain clients.
2012-09-11Correctly re-initialize signal handlers on RESTARTAlexander Barton
This fixes part 2 of bug #127 :-)
2012-09-11Use HAVE_SETSID #define when testing for setsid()Alexander Barton
2012-09-11Don't include <stdint.h>, it is included by "portab.h"Alexander Barton
2012-09-11Don't check type.h availability, it is requiredAlexander Barton
2012-09-11configure.in: Use AC_CONFIG_FILES macroAlexander Barton
2012-09-11configure.in: Don't use AC_C_PROTOTYPESAlexander Barton
Don't use AC_C_PROTOTYPES, AM_C_PROTOTYPES is already used.
2012-09-11configure.in: Update checks for required and optional featuresAlexander Barton
Update checks for required and optional header files, data types, and functions.
2012-09-11configure.in: require autoconf 2.67 and automake 1.11Alexander Barton
And use newer features such as bug reporting address and project URL.
2012-09-11configure.in: sort some lists (templates, output, ...)Alexander Barton
2012-09-11New_Connection(): mark "IsSSL" parameter as UNUSEDAlexander Barton
This fixes the following warning message when building without SSL support: conn.c: In function "New_Connection": conn.c:1365: warning: unused parameter "IsSSL" Introduced by commit 01b62202.
2012-09-11Fix some "whitespace glitches"Alexander Barton
Some have been introduced by commit 7b01bb83, some are older.
2012-09-11Merge branch 'xop' of https://github.com/kart0ffelsack/ngircd into bug92-xopAlexander Barton
* 'xop' of https://github.com/kart0ffelsack/ngircd: Tests and documentation for xop Implemented xop support Conflicts (because of merge of the 'cmode-M' branch): src/ngircd/channel.c src/ngircd/defines.h src/ngircd/messages.h
2012-09-11Show a warning on startup if config file is not a full pathAlexander Barton
ngIRCd is a long-running process and changes its working directory to "/" to not block mounted filesystems and the like when running as daemon ("not in the foreground"); therefore the path to the configuration file must be relative to "/" (or the chroot() directory), which basically is "not relative", to ensure that "kill -HUP" and the "REHASH" command work as expected later on. This fixes parts of bug #127.
2012-09-10Create &SERVER channel after predefined channelsAlexander Barton
This patch allows you to define &SERVER in a [Channel] block yourself and to overwrite the built-in topic and channel modes. Fixes bug #131.
2012-09-10WHO #channel: don't limit list sizeAlexander Barton
It makes no sense to limit the list size when doing WHO for a channel and not to return all the users in that channel, so I removed the check. But if there are more than MAX_RPL_WHO(25) replies, the client requesting the list will be "penalized" one second more (then 2 in total). This fixes bug #125.
2012-09-04Define EV_SET() for kqueue() on systems that don't have itAlexander Barton
Some systems, notably FreeBSD 4.x, do have the kqueue() function but lack the definition of EV_SET() in their header files -- but don't worry, we can #define it on our own ;-) Definition taken from /usr/include/sys/event.h of FreeBSD 8.1. Patch tested on FreeBSD 4.1 by Götz Hoffart. Thanks!
2012-09-04Fix contrib/Makefile.am to list all files in EXTRA_DISTAlexander Barton
2012-09-04Update project descriptionAlexander Barton
2012-08-29New function Conn_StartLogin() to finish connection initializationAlexander Barton
Conn_StartLogin() is called after the connection has been established and fully innitialized, including the SSL handshake, for example. Up to this patch, the "NoticeAuth" option broke the SSL handshake ...
2012-08-29Convert CONN_ID and Conf_MaxConnections to "int" datatypeAlexander Barton
We can't handle more connections than accept(2) can supply, and accept(2) returns an "int" ...
2012-08-28Introduce numeric RPL_HOSTHIDDEN_MSG(396)Alexander Barton
This numeric is sent to the client each time it changes its displayed hostname using "MODE +/-x", and if "CloakHost" is set right after the MOTD has been sent.
2012-08-28Always cloak client hostname, if neededAlexander Barton
Not only cloak the hostname in Client_MaskCloaked(), but also in Client_HostnameCloaked() -- so move the actual cloaking to this function and call it in Client_MaskCloaked() to get the (cloaked) hostname. This fixes USERHOST not displaying the correctly cloaked hostname, for example.
2012-08-28NoticeAuth: make sure messages are flushed immediatelyAlexander Barton
2012-08-27Merge branch 'umode-B'Alexander Barton
This patch series allows ngIRCd to support the user mode "B" ("Bot flasg"): it is settable and unsettable by every (non-restricted) client. According to DNS777, this is how Unreal and InspIRCd do behave, so do we :-) By Alexander Barton (1) and DNS777 (1) * umode-B: Add new user mode "B" to doc/Modes.txt Implement an Unreal-like user mode "B" ("Bot mode")
2012-08-27Merge branch 'recognize-umode-R'Alexander Barton
By Alexander Barton (1) and DNS777 (1) * recognize-umode-R: Only allow IRC services to modify user mode "R" Recognize user mode "R"