350 Commits

Author SHA1 Message Date
danieldg
5a7d1bbe19 Improve the output of "make install"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12660 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-24 19:52:07 +00:00
danieldg
7cb909b0f3 PURE_STATIC fixes to use normal <module> tags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12641 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18 15:14:31 +00:00
danieldg
f02f3a24aa Remove checkconf, it is no longer needed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12628 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13 02:02:52 +00:00
danieldg
9331a84cc0 Don't implement --atleast-version ourselves, incorrectly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12622 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11 19:28:15 +00:00
danieldg
73d9ee96e1 Clean up the Makefile a bit, add DESTDIR
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12620 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11 17:00:21 +00:00
danieldg
03a1bf15b1 Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not specified
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-23 18:45:26 +00:00
danieldg
1824ae8d9d Disable -O2 when compiling with full debug, allow make D=2 to enable debug+optimize
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12498 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-19 16:31:47 +00:00
danieldg
040cdb13e4 Remove unused exports; counting is not for programmers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12457 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-14 18:34:35 +00:00
danieldg
04ea7de4a7 Copy example configs and such to run/conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12448 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-13 04:59:45 +00:00
danieldg
bd64961912 Improve support for NetBSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
7cc4e61f0e Allow "make QUICK=1" to speed up the compile (disables -O2)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12431 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11 04:34:38 +00:00
danieldg
1d17a9d23e Move configuration examples to docs, remove automatic overwrite on make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12383 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06 04:29:02 +00:00
danieldg
c5cda58914 Linux apparently needs another library for linking now...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12294 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18 19:49:07 +00:00
danieldg
88b9ecb6b3 PURE_STATIC improvements: Allow modules to be reloaded, generate linker arguments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12276 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17 03:17:25 +00:00
danieldg
5de7651ebe Make a ./configure --system to support system-wide installation of inspircd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12275 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17 00:29:28 +00:00
danieldg
127ecef929 Allow .force-root-ok to bypass the root check for easier distro packaging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12271 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-16 20:45:55 +00:00
danieldg
4b5dc58bc7 Break compilation when running as root to discourage stupid user mistakes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12269 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-16 20:34:34 +00:00
danieldg
e2b57026ef Remove launchd references (incomplete pieces of a system-wide installation setup)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12251 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14 00:09:30 +00:00
brain
cd712c40e1 ...because every now and again, i have to do a massive commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
danieldg
3396bbbcb0 Fix makefile remake target to work in BSD make and avoid looping when .config.cache is updated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12242 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04 18:59:57 +00:00
danieldg
988784816b GCC 4.5 warning fixups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04 17:04:08 +00:00
danieldg
c6140ba704 OpenBSD apparently hates adding features that can be implemented in other ways; fix make there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12126 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-13 19:40:54 +00:00
danieldg
19487dbebc Allow static build of inspircd without module support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-11 00:17:07 +00:00
danieldg
7746307ab6 Clarify comments in Makefiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11990 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03 01:14:04 +00:00
danieldg
34fbe51fa4 Move DumpText into User; kill unused WriteWallOps and DecreasePenalty functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11931 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20 04:40:27 +00:00
danieldg
43ea75c0b3 Move ugly .*.inc files into make/template/ where they can be more easily found
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20 01:17:04 +00:00
danieldg
26cd5393c9 Update m_cloaking to use free-form keys instead of weakening the hash IV
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:06:52 +00:00
danieldg
7aa5e059a8 Remove include/inspircd_se_config.h and socketengine-specific headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 18:31:05 +00:00
danieldg
4a64082e31 Move destruction logic for User and Spanningtree into cull()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 17:12:08 +00:00
danieldg
6b27fae945 Sort the module list to give a useful indicator of compile progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11779 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 00:54:17 +00:00
danieldg
5e1d239f3d Work around BSD make chdir bug with symlinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11775 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 15:39:46 +00:00
danieldg
d811ffeda2 Fix linking errors on BSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11774 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 02:21:43 +00:00
danieldg
c7e9032358 Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 01:43:47 +00:00
danieldg
d5e36aa2b2 Fix warnings from BSD build and work around the failures of BSD make
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 00:55:42 +00:00
danieldg
d7ee3683a4 Fix modules/extra symlinks when calculating dependencies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11769 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 14:37:04 +00:00
danieldg
792d6d6725 Fix unit-cc when build is not a direct subdirectory of source; create make rule for GNUmakefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11746 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18 14:05:49 +00:00
danieldg
05b111d6a2 Update make help, configure, and fix build of empty m_* directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11739 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 14:13:17 +00:00
danieldg
3a186342c9 Remove .*.d dependency garbage, and use a dedicated build directory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11738 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 03:04:27 +00:00
danieldg
3841c4b04a Attempt to revert r11734
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 22:42:36 +00:00
danieldg
558a44bf47 Merge commands and modules in source, since they are already merged in install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11734 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:16:26 +00:00
danieldg
c90f2b28d2 Allow make on a read-only source tree using make O=objdir
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11733 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:00:15 +00:00
danieldg
4d1e32528f Force rebuild of symlinked modules when the source file changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11709 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:55 +00:00
danieldg
f4472dd6dc Change cmd_*.so to use the Module object API
Create Module* objects for each command, and load them like modules.
This unifies the external API for modules.

Library directory is now deprecated: all modules are located in a
single module directory.

Header files for each command are no longer needed; remove.

This also fixes two potential segfaults in m_spanningtree.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03 02:30:12 +00:00
danieldg
3e26f42a8f Include VERSION/REVISION information in module version tag, so that we do no longer rely on $Id$
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11666 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 18:33:16 +00:00
danieldg
eb910456e2 Move file inclusion logic into calcdep, and complain about ambiguous #include directives there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:44 +00:00
danieldg
1819d0109b Enable IPv6 support by default
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:55 +00:00
danieldg
819147178d Strip SUPPORT_IP6LINKS #define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:47 +00:00
danieldg
5c93325b53 Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:39 +00:00
danieldg
e9c9012636 Move bsd-dep.mk/gnu-dep.mk to top-level Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11569 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:25 +00:00
danieldg
facb1eb98f Replace special treatment of spanningtree module directory with a generic directory build
This allows "make M=m_spanningtree" to work on a clean build tree
It also allows for other complex modules to be created (i.e. m_services)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11567 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:11 +00:00