242 Commits

Author SHA1 Message Date
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
brain
f5a50a0b6d cmd_* files are now shared object. This lets make -j optimize the build process a little better (it doesnt have to wait for the cmd_ files to finish so it can link commands.cpp against them), and it makes libIRCDcommands.so not be 20mb in size (which might hit file size limits on some shell hosters)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5117 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02 23:06:14 +00:00
brain
d20dd9a5c3 Remove -v argument from install (openbsd doesnt like it) - thanks wyleniauy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5082 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30 11:55:15 +00:00
brain
5b8d2c4cab Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30 09:51:50 +00:00
brain
d54fd9b1e6 Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30 09:03:03 +00:00
brain
c87cfcdb79 Changed modes/ makefile (not yet tested)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4979 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:14:18 +00:00
om
667bf73637 #define IS_MINGW on..MinGW (*shock*)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4836 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 15:28:31 +00:00
om
0056f9a759 Don't use -fPIC on MinGW platforms
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4835 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 15:06:43 +00:00
om
75d72cb832 Add a few tidbits for MinGW, check for C:\ style paths as well as just beginning with '/' when determining if a path is absolute (only check if OSTYPE = MINGW32)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4834 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 15:04:10 +00:00
om
e80c54a965 Change to use the core perl module Cwd rather than the pwd command. Should be more portable. (Om's bi-monthly MinGw attempt)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4831 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 13:46:11 +00:00
brain
f9d9052040 Misplaced backtick makes stuff look ugly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4698 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04 11:05:06 +00:00
brain
b8c3c5d25b Safety wrapper defines for ipv6 code on ipv4 ircds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4697 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04 11:03:21 +00:00
brain
bc6975c361 Remove dnsqueue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4630 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 23:29:24 +00:00
brain
0d4c597e61 Correct static build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 09:34:38 +00:00
brain
7c2dda0b8a Fix -modupdate to not break inspircd_se_config.h (a configure-written header that contains an include for the socketengine header)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4502 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22 11:08:00 +00:00
brain
eb38bafc62 Change formatting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4467 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20 18:27:58 +00:00
brain
28fcd23763 Add comments, remove debug, alter message in ./configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4466 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20 18:26:09 +00:00
brain
3a6885d6a1 * Seperate out socket engines into derived classes of SocketEngine.
* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type
* Implement configure hax to compile only the required socketengine and the base class
* Eliminates ugly defines, and is more in line with C++ ways


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19 12:51:21 +00:00
brain
5454b47bd5 Removed GCC2 checks as we havent supported gcc2 for years
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-15 17:35:31 +00:00
brain
45216ce431 Move a notice around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4379 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:30:55 +00:00
brain
c02f21d528 Fix -modupdate to actually work (doesnt force a total rebuild when you add a module)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4378 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:30:18 +00:00
brain
7ba5119a71 Missing newline
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4377 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:21:24 +00:00
brain
7386174f05 Output module counts on ./configure -update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4376 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:19:52 +00:00
brain
09b79e31b4 Add empty snomasks.cpp (still got to add headers here so the build doesnt barf on the empty file?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4270 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 14:32:50 +00:00
brain
3f1bff4b2d Updated to detect stdint (same fix as 1_0_stable branch)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4259 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 02:30:45 +00:00
brain
3c438a5d5b Fixed to work with -j 3
On multiprocessor systems, do the initial make command with: make -j 3 (or whatever) and the -j option will recurse to the other make processes.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-08 10:35:31 +00:00
brain
5d1d168739 In static build save munged files as .m_name_static.cpp rather than m_name_static.cpp so they arent immediately visible, and less likely to be edited
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3912 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-28 00:13:15 +00:00
brain
db5e5a9184 Change the makefile too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 18:57:44 +00:00
brain
d86ab7f3d4 Fixed execinfo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3894 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 17:50:36 +00:00
brain
51a38342f4 Extra stuff to explicitly link execinfo.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3893 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 17:41:12 +00:00
brain
b802d24ffe Alright, who fucked with this?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3890 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 17:29:43 +00:00
brain
162bbb0513 Fixes for lib dirs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 16:59:28 +00:00
brain
86ac3c9866 Add /usr/local/include (why isnt this included as default?!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 16:50:27 +00:00
brain
67f111a8aa Execinfo stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 16:13:01 +00:00
brain
364135911b Added detection of execinfo.h (part of the libexecinfo port on freebsd, default in glibc) -- can be used to make inspircd generate its OWN backtraces :>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3885 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20 16:09:03 +00:00
brain
014f3452c7 Bail if no g++
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3882 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-14 22:00:03 +00:00
brain
ec3afa5c04 Better handling of dependencies, doesnt always rebuild mode handler files now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3878 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-13 10:58:03 +00:00
brain
b8a0e4415c Test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3875 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-13 10:38:55 +00:00
om
77123f4dec Remove references to inspircd_io from these, stop configure making all the modules depend on it too. And remove some more un-needed includes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3853 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 22:33:46 +00:00
om
d54fbc71e2 Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits going into inspircd.*, doesn't look like I've broken anything... :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:05:48 +00:00
nenolod
ac6b0d3f1d - useless IPv6 yesno() for now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3844 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 01:12:14 +00:00
brain
ed4bdb0e46 Test commit to trunk (1.1) to make sure its not also updating the 1.0 stable branch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3762 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26 17:51:35 +00:00
brain
1a44c42dab Made 'install' a little quieter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3737 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-19 18:41:47 +00:00
brain
33701bf0ec Check g++ not gcc in configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3733 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-19 17:08:59 +00:00
brain
d64a61a0e4 Better checking for if its svn or not
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3706 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13 20:53:08 +00:00
brain
78db8a3413 Fixed to show proper 'r0' on non-svn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3705 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13 20:51:09 +00:00
brain
3d023700b1 Work out revision id without src/svn-rev.sh!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3687 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 21:56:45 +00:00
brain
891a6f193f Check if we're running -svnupdate on an svn version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3647 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10 19:40:05 +00:00