about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2010-10-26Make contrib/platformtest.sh more portableAlexander Barton
2010-10-26Mac OS X package ("make osxpkg"): generate PAM configurationAlexander Barton
2010-10-26Xcode builds ("make xcode"): disable pam_fail_delay()Alexander Barton
disable pam_fail_delay() only is available starting with Mac OS X 10.6; but we use the 10.5 SDK for campatibility, so don't use this function at all when building using Xcode.
2010-10-26Xcode: update project file, use 10.5.x SDKAlexander Barton
This is required for universal 32 bit and 64 bit builds: now code for ppc, i386, and x86_64 is generated (which requires 10.5 or newer).
2010-10-26Xcode builds ("make xcode"): detect version number correctlyAlexander Barton
2010-10-25ngIRCd release 17~rc2 rel-17-rc2Alexander Barton
2010-10-25Updated contrib/platformtest.sh (new version scheme)Alexander Barton
- handle version numbers generated by "git describe" - detect gcc compiler version correctly when "-std=xxx" is used
2010-10-25New doc/HowToRelease.txt file describing the release processAlexander Barton
2010-10-25ZeroConf: include header files missing since commit a988bbc86aAlexander Barton
2010-10-24Generate ngIRCd version number from GIT tagAlexander Barton
Now the ngIRCd release/version number is deduced from the "current" annotated GIT tag; see "git describe --help" for details. This is the same scheme the Linux kernel uses and gives much more details version numbers for interim releases and inofficial source archives generated using "make dist". Please note: the version number is only updated it the autogen.sh script is run; so after pulling in and pushing out new commits, you should run ./autogen.sh!
2010-10-24Make sourcecode compatible with ansi2knr againAlexander Barton
This allows to compile ngIRCd using a pre-ANSI K&R C compiler again: all source files are automatically converted by the included ansi2knr program (of GNU automake/autoconf) before compiling them with the K&R C compiler, but a few coding standards must be met. Tested on Apple A/UX 3.x. Regression testing on Linux and Mac OS X.
2010-10-24./configure: check if C compiler can compile ISO Standard CAlexander Barton
This is required for enabling ansi2knr on systems that don't have an ANSI C compiler installed (e.g. on A/UX with Apple standard C compiler).
2010-10-24./configure: check support for C prototypes againAlexander Barton
2010-10-24Don't use PARAMS() macro for function implementationsAlexander Barton
The PARAMS() macro is only needed for function prototypes; don't use it for the actual implementations.
2010-10-19Added m68k/apple/aux3.0.1 (gcc 2.7.2) to doc/Platforms.txtAlexander Barton
2010-10-19Only try to set FD_CLOEXEC if this flag is definedAlexander Barton
A/UX 3.x doesn't implement this constant, for example.
2010-10-19Only use "__attribute__ ((unused))" if GCC >=2.8 is usedAlexander Barton
At least GCC 2.7.2 doesn't support this attribute.
2010-10-13doc/Makefile.am: don¹t set docdir, automake handles it alreadyAlexander Barton
And elder make(1) programs don¹t like "x ?= y" ...
2010-10-11ngIRCd release 17~rc1 rel-17-rc1Alexander Barton
2010-10-11New configuration option "NoZeroConf" to disable ZeroConf registrationAlexander Barton
If ngIRCd is compiled to register its services using ZeroConf (e.g. using Howl, Avahi or on Mac OS X) this parameter can be used to disable service registration at runtime.
2010-10-09Xcode: only build current architecture in "Debug" targetAlexander Barton
2010-10-07doc/Platforms.txt: added NetBSD 5.0.2Alexander Barton
2010-10-05Updated doc/Platforms.txtAlexander Barton
2010-10-05Make sure sighandlers.h is listed in noinst_HEADERSAlexander Barton
... because it must be included in the distribution archive :-)
2010-10-05const'ify ngt_SyslogFacilityName() functionAlexander Barton
This fixes the following gcc compiler warning: tool.c: In function 'ngt_SyslogFacilityName': tool.c:195: warning: return discards qualifiers from pointer target type
2010-10-03Debian packages: build "-full" and "-full-dbg" with support for PAMAlexander Barton
2010-09-24New configuration option "SyslogFacility"Alexander Barton
The new option "SyslogFacility" deines the syslog "facility" to which ngIRCd should send log messages. Possible values are system dependant, but most probably "auth", "daemon", "user" and "local1" through "local7" are possible values; see syslog(3). Default is "local5" for historical reasons.
2010-09-24New functions ngt_SyslogFacilityName() and ngt_SyslogFacilityID()Alexander Barton
These both functions translate syslog facility names to ID numbers and vice versa. On systems that don't define the facilitynames[] array in syslog.h, we try to build one ourself.
2010-09-22Explicitly cast return value of read(2) to "int"Alexander Barton
This fixes the following gcc warning, emitted by Xcode: src/ngircd/sighandlers.c: In function 'Signal_Callback': src/ngircd/sighandlers.c:239: warning: implicit conversion shortens 64-bit value into a 32-bit value
2010-09-22Add sighandlers.{c|h} to Xcode projectAlexander Barton
And update static Mac OS X config.h used by the Xcode project.
2010-09-22Don't call sigaction() if it is not available on the systemAlexander Barton
2010-09-14Fix signalpipe file descriptor leak on RESTARTFlorian Westphal
Signals_Init() must only be called once. This does not affect any ngircd release version. Earlier version of this patch moved the io and sighandler initialization before the while() loop, but as Alexander Barton noticed that broke all systems without builtin select support in io.c...
2010-09-14sighandlers.{c|h}: Code cleanupAlexander Barton
- declare signals_catch[] array not between the function implementations. - rename now local function NGIRCd_Rehash() to Rehash(). - remove empty and therefore not used "catch SIGHUP; break;".
2010-09-14Make sighandlers.{c|h} compatible with ansi2knrAlexander Barton
2010-09-14Updated ChangeLog to include signal handler changesAlexander Barton
2010-09-14Bump version number to "17-dev"Alexander Barton
2010-09-14Update ChangeLog and NEWS: include SIGUSR1/SIGUSR2 changesAlexander Barton
2010-09-14Output connection status when dumping the internal server stateAlexander Barton
2010-09-14Reformat "server state" debug messages a little bitAlexander Barton
2010-09-14Enable the daemon to dump its internal state in debug-mode.Alexander Barton
This patch allows ngIRCd to dump its internal state (connected clients, actual configuration) when compiled with --enable-debug. The daemon catches two more signals: - SIGUSR1: toggle debug mode (on/off), - SIGUSR2: dump internal state to console/syslog.
2010-09-11signalhandlers: add fallback to deprecated sysv APIFlorian Westphal
2010-09-11remove NGIRCd_SignalRehashFlorian Westphal
now that the main signal handling is done from the dispatcher loop we can call NGIRCD_Rehash() directly. the /REHASH handler can queue the Rehash() function for execution by sending a SIGHUP. It will be run when we return back to the dispatch loop.
2010-09-11Add new 'delayed' signal handlers.Florian Westphal
Allows to defer/queue signal processing for execution on the next event dispatch call, i.e. we can perform any signal action in normal, non-signal context. Example uses: - Reload everything on HUP without writing a global "SIGHUP_received" variable - Dump status of internal Lists on SIGUSR1, etc.
2010-09-11io: add io_cloexec to set close-on-exec flag.Florian Westphal
2010-09-11ng_ipaddr.h: include assert.hFlorian Westphal
We use assert() in this header, so we should include assert.h.
2010-09-08Conn_SyncServerStruct(): test all connections; and work case insensitiveAlexander Barton
Fix synchronization of established connections and configured server structures after a configuration update: - Not only test servers that already have a connection, but also check and update configured servers to which a new connection is beeing established (SERVER_WAIT state). - And do the server name comparision case-insensitive.
2010-09-08Check_Servers(): skip servers already beeing connectedAlexander Barton
Let CheckServers() not only skip servers that already have a connection, but also skip servers to which a new connection is already beeing established (SERVER_WAIT state).
2010-09-08Check_Servers(): Code cleanupAlexander Barton
2010-08-29Update ChangeLog and NEWS in preparation for the next release ...Alexander Barton
2010-08-29Fix linebreak in INSTALL text to fit in 80 columnsAlexander Barton