433 Commits

Author SHA1 Message Date
brain
7d7250484c First phase of conversion to dynamic limits on all the lengths, configured via the <limits> tag
(the tag isnt there yet, these all just run on defaults in the class constructor)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:30:43 +00:00
brain
4564ed215c Extra support for freebsd openssl, allow user to pick between ports and base version if they have both, default to ports version in interactive, require a flag in ./configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:37:50 +00:00
brain
caa89fb37c More stuff so that freebsd users can still use the ports version of openssl if they want
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:17:59 +00:00
brain
2e4f3512c9 Detect openssl on freebsd with the openssl binary, so we can find the base version as well as the ports version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9589 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:50:53 +00:00
w00t
d862d654dd Bump date
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9498 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 22:17:15 +00:00
brain
4e078ed34b Remove all compile-time max client and max fd's configuration. This is no longer required by InspIRCd as it is fully supported by auto detection and connect allow lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9264 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02 17:27:40 +00:00
brain
2db77cda56 Automatic detection and allocation of max fds. No longer needs recompile to change, just adjust it in your kernel or whatever and restart insp.
Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9263 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02 17:08:09 +00:00
aquanight
58385dd458 Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd now get treated like printf (meaning compile-time check goodness) in GCC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30 02:48:54 +00:00
aquanight
d6100a5221 Fix configure -svnupdate not bailing if conflicts occur.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9177 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23 20:46:10 +00:00
aquanight
920ddd9180 Forgot about .*.inc files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9054 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 01:10:35 +00:00
aquanight
741682d5c5 Make ./configure -svnupdate smarter (don't actually do the update if it's not needed, or only do -modupdate if full -update isn't needed)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9053 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 00:57:32 +00:00
brain
9ce18436e9 Revert configure so that we can uh, actually compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9037 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-26 19:18:26 +00:00
aquanight
4611272960 ./configure --update-root - Updates the root directory files from their .<foo>.inc counterparts.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9032 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 20:43:16 +00:00
aquanight
2aca48ec49 Make cmd_*.cpp build to a .so in one step, no intermediate .o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9015 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 14:31:15 +00:00
brain
18b1f95c40 Change of configure message to plainer english as requested by voidzero
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8986 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 20:34:25 +00:00
brain
e05da189da More fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8981 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:09:31 +00:00
brain
21193e2e62 Threadengine stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8980 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:06:20 +00:00
w00t
d697fa15ce Add -Woverloaded-virtual (fixes to follow)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8898 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11 11:08:41 +00:00
w00t
5db1d322be Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a note to webirc that needs looking at.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11 09:41:58 +00:00
brain
bfc3de1cc4 Even tidier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8879 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 17:25:58 +00:00
brain
df167bf4ac Now very tidy make output, with pretty colours :p
(Unless it errors, then you get the full commandline and error output etc)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 17:22:36 +00:00
brain
eedce11c96 Add -pthread link flag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8875 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 14:33:30 +00:00
brain
9dbd7d10ac Add threading engine stuff. Docs to follow, untested and not used anywhere yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 14:32:02 +00:00
brain
75d5b90c9c Move run-cc.pl to make/ directory and update paths, keeps root tidy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8868 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 13:30:59 +00:00
aquanight
6650ab5cb5 Add a perl script which will abort compiles for warning messages that don't have a switch to convert to errors (like the one about non-PODs through ...)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8855 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09 01:55:31 +00:00
aquanight
0808eb7a9d Fix $config{HAS_OPENSSL} winding up undefined and crashing configure if openssl isn't found or otherwise spits garbage for version.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8789 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02 18:02:47 +00:00
fez
e139829557 fixed type defiined to defined
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8779 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-01 07:33:18 +00:00
aquanight
f652bca336 Revert tmpfile cleanup from r8761, also make configure's perl version check happen during compilation phase so that people don't get millions of useless errors.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27 14:49:41 +00:00
aquanight
39e6732f23 Some configure cleanups: like using perl functions/modules instead of system() (symlink, clear, mv, mkdir -p), clean up tmpfile for eval(), use \e instead of \033, and use a heredoc for the big banner on starting configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8761 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27 14:32:20 +00:00
brain
586c3cae3d Extra sanity checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8741 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 18:50:43 +00:00
brain
789506bf30 Fix freebsd glitches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 18:44:20 +00:00
aquanight
d13cd5ca80 Add ./configure --list-extras, --enable-extras, and --disable-extras
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8739 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 17:33:13 +00:00
aquanight
37283ce7b3 Modules using NoPedantic now properly respect 'make debug'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 16:58:18 +00:00
w00t
3bbfbc1e07 And another tiny one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8734 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 01:26:14 +00:00
w00t
17afa4f05a Patch from aquanight to fix a problem introduced with some of the recent tidyups.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 01:22:28 +00:00
brain
207af6fb2f Aquanight's configure strict/fatal warnings patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17 21:36:02 +00:00
brain
1ccb806885 Relax detection rules on openssl and gnutls, there arent any commonly used versions around any more that we dont support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8477 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-03 19:48:58 +00:00
brain
4bd6bbfebc Add --disable-rpath. Probably wont backport this for the time being
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8475 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-03 18:09:26 +00:00
brain
34df2c0d94 I was wrong its in one place :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:07:15 +00:00
brain
52941397f8 Tidy up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8366 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:05:58 +00:00
brain
0117b824f2 More dots!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8365 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:03:50 +00:00
brain
aaff467643 Take out craq i forgot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8364 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:00:53 +00:00
brain
da79274a2d Forgot these two lines that prevent duplicate make install/deinstall lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8363 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 20:56:14 +00:00
brain
a9d2342f6a Make install list list automatically generated from build targets and provide facility for installing extra files.
Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module.
Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 20:51:58 +00:00
brain
2ab88037d8 Pedantic clean
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8349 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 18:03:36 +00:00
brain
57f0a0ffb9 -pedantic good, -Wextra bad. read g++ manpage :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8348 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 17:46:57 +00:00
brain
cbb8fda4a7 Move socketengines into their own dir. This was all w00t's idea, but i told him no because i didnt think it would work. Now ive done it myself :P ner ner ne ner ner :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8332 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 22:30:25 +00:00
brain
71e400674f -Wall is still required, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8331 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 22:10:18 +00:00
brain
bfa8e627a1 -W -> -Wextra
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8330 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 22:08:57 +00:00
brain
1db092e08e This now works properly with $NoPedantic macro.
Question: where did all the 'unused parameter' warnings vanish to???


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8329 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 22:07:47 +00:00