339 Commits

Author SHA1 Message Date
brain
d569a50e74 Someone forgot to make correct deps for timer.h. Fixed.
Added InspTimer::CancelRepeat(), we can use this within the Tick method to cancel a repeat so that the timer is deleted after the tick, as DelTimer isnt safe within the Tick method


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6283 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09 19:15:30 +00:00
brain
6c4d15a3a4 Merge buildsystem tweaks from darix:
$ patch <inspircd-1.1b8_build_system.patch 
$ patch <inspircd-1.1b8_mod_permissions.patch 
Thanks :-)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6225 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04 21:32:53 +00:00
brain
a07a3f4897 Part 1 of my plan to take over the world. pay it no attention.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6195 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 20:24:37 +00:00
brain
efc342f58c have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 18:03:41 +00:00
brain
943def6a01 Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S to avoid one of the itoa()'s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 17:47:56 +00:00
brain
ce20c7be2f Fix --with-max-clients not taking a parameter (reported by erich)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6092 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 10:43:06 +00:00
special
f7f9192f90 Removed a pointless check in ./configure --clean that made it only work with one dash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21 23:47:35 +00:00
brain
955d378db3 Use $^O rather than chomp(uname); - use perl's neat detection of the OS name :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17 03:24:27 +00:00
brain
9c2f93089b Fix configure stuff AGAIN.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-13 21:29:34 +00:00
brain
aa5ff42284 On now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line into src/modes/Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5982 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-13 20:35:54 +00:00
brain
0471fe2677 Removal of AES, this is no longer required. (This also eliminates code that isnt ours, and was some public domain crap)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5915 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 15:51:31 +00:00
brain
6115897d26 Fix for bug #177, generate the version string at configure time and write it into the .inspircd.inc,
then when running the ./inspircd, output the string, this way we dont need the source code to hand to
report the version. (btw special, the doctor has cured you of perlprogramophobia)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 17:03:10 +00:00
brain
cc563ef8ec Apply CXXFLAGS patch from darix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5774 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 01:35:11 +00:00
brain
754a1a4b88 Remove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been needed for several versions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5773 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 01:12:26 +00:00
brain
dc43378b58 Add -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're doing with the 'punned pointer' is perfectly valid and works fine (and we've been doing it since 1.0 alphas)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5771 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 00:52:26 +00:00
brain
91c14cde8b Add CXXFLAGS appending thing from darix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-18 23:05:32 +00:00
brain
44305c4625 Enable removal of debug info for tiny systems
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5699 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 21:26:47 +00:00
brain
b0e7410a99 More pipe. Everyone likes pipe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5629 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:17:29 +00:00
brain
857b9beed4 Fix the makefile confusion removal of these headers creates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:45:34 +00:00
brain
372656dbe5 Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:42:09 +00:00
brain
e81b8faed7 Test commit 2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5598 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:16:59 +00:00
brain
ff6e512046 Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5597 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:11:07 +00:00
brain
2aa6c66308 Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-29 01:32:14 +00:00
brain
3c3b338a9d Added unsupported warning for non-interactive configure. WE DONT SUPPORT NON-INTERACTIVE!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5543 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 19:32:47 +00:00
brain
ddb55c296c Allow configuring of MAX_DESCRIPTORS by picking max number of clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5542 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 19:27:07 +00:00
w00t
663e0a4e12 Remove the fucking optimization directive from configure, it's not supported, yet people keep seeming to think it IS, and whinging about it - I've HAD ENOUGH :|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5538 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 11:42:45 +00:00
brain
d00fc6f9bf Add $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.
$ModDep allows a module to specify headers it depends on, e.g. all of the 
headers which use u_listmode.h now do this:
/* $ModDep: ../../include/u_listmode.h */


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 16:37:03 +00:00
brain
c358bb0d62 Apply patch for bug#155 submitted by jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5368 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01 16:27:50 +00:00
brain
f2bf5b703f Dont let people enable gnutls/openssl when they dont have it... imho people shouldnt try and enable support for things they dont have, whats next, preventing
them symlinking it? :P


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26 21:40:51 +00:00
brain
7db1805f6f Make svshold case insensitive, fix ./configure -update and ./configure -modupdate which were...still broke :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5341 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26 19:59:39 +00:00
brain
c86ee8c8d2 Fix (broken) ./configure -update and ./configure -modupdate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5318 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25 11:11:45 +00:00
special
e304c0b37b Fixed the reversal of update and modupdate in ./configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5312 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24 08:39:49 +00:00
brain
b1add86f04 More detail in system detection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5297 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 11:29:44 +00:00
brain
73890bca3e More help text stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5296 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 11:15:00 +00:00
brain
44411004b0 Hard requirement on 5.6.0 and above of perl
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5295 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 11:07:56 +00:00
brain
56d9b1701e Tidy up configure to display better in 80x25
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5294 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 11:04:34 +00:00
brain
4dccfb4d35 Tidy up help text
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5293 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:53:41 +00:00
brain
a708569806 clarify -- and - stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5292 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:51:48 +00:00
brain
32c1599c21 Fix old interactive opts and -update etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5291 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:50:31 +00:00
brain
b91c37b8f9 Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5290 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:35:47 +00:00
brain
88ac4810e1 Allow -help as well as --help
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5289 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:33:46 +00:00
brain
465aa31a06 Skip certificate generation if we're running non-interactive
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5288 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:32:20 +00:00
brain
efac25c23a optional non-interactive configure (woo yay, ./configure --help for info)
NO I AM NOT HERE, im committing from work :p


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5287 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19 10:25:02 +00:00
brain
ac6719f6c6 Patch from jamie to detect malformed openssl versions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5235 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:50:08 +00:00
brain
00c46713a3 Remove execinfo and threaded dns detection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5215 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 00:14:48 +00:00
brain
c20523c9f0 What TWONK made uname be /bin/uname, its NOT in /bin on bsd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5214 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 00:06:46 +00:00
brain
e20a61674e Remove -Ldl from c++ opts in freebsd... its always been a non-op (all it does is try to look in dir 'dl' for libs, which doesnt exist anyway) and was being used as a pointless "comment" to indicate dynamic linking was in use. Removed in case it ever breaks something.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5210 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 20:00:47 +00:00
brain
cf0f30eea3 We were printing a command instead of exec'ing it :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5146 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-05 23:34:15 +00:00
brain
b02af8b2a9 Obtaining of ssl cert in gnutls module and placing it into a class which is extended to the user, type ssl_cert.
In a while the openssl module will also populate this same high level class with data


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5123 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03 17:29:29 +00:00
brain
1b7c615062 Auto loading of commands as shared objects via dlsym (very lightweight interface, just expects a command_t* pointer)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03 00:09:38 +00:00