180 Commits

Author SHA1 Message Date
Peter Powell
999ba802d6 Fix ModuleManager failing when:
- LWP::Simple is not installed.
- Crypt::SSLeay or IO::Socket::SSL are not installed.

This fixes #154.
2012-11-08 01:07:38 +01:00
Adam
a1f823fdab Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f 2012-10-06 18:25:58 -04:00
ChrisTX
c2f7fc047c Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
2012-10-04 15:14:04 +02:00
Adam
6735f2da27 Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows.
Made NSIS script include extra DLL files if supplied and
include the conf/aliases and conf/modules example configuration files.
Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows.
Fixed typo in gnutlscert.pm.
2012-07-09 01:53:07 -04:00
Peter Powell
a528d8ddb0 Install example alias and module configuration files as well. 2012-06-12 18:53:50 +01:00
attilamolnar
79fd90ebe0 Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
2012-06-12 22:49:28 -07:00
Peter Powell
f4e2332421 Update 'make install' to inform the user about the example config files. 2012-05-04 20:54:30 +01:00
Peter Powell
d219516b43 Install example configuration files into their own directory. 2012-05-01 14:10:35 +01:00
Robby-
5e8f135c6a Headers: update remaining scripts too 2012-04-20 18:33:52 +02:00
Robby-
46a3904619 Replace copyright headers with headers granting specific authors copyright 2012-04-19 20:58:29 +02:00
Christoph Egger
234aabf36c fix build on kfreebsd
fixes #64
2012-04-16 08:29:41 +02:00
Peter Powell
4c3e9dc529 Minor style tweaks. 2012-04-12 07:38:20 +01:00
Peter Powell
fdd335625e Remove references to old configure commands. 2012-04-12 07:25:05 +01:00
Peter Powell
451e8befa7 Remove outdated references to SVN. 2012-04-09 14:10:05 +01:00
William Pitcock
0ea875369c configure: fix check for eventfd support.
InspIRCd uses eventfd_read() which was not introduced until after eventfd was first
added to glibc.  uClibc, for example, still does not have support for eventfd_read().
2012-03-29 19:52:11 -05:00
DjSlash
0c23190956 Fix for bug 116, in addition an improvement of the regex is made 2011-03-18 16:04:17 +01:00
Peter Powell
9aa4102cfd Fix "-bundle not allowed with -dynamiclib" issue on OS X 2011-02-27 00:21:45 -05:00
Daniel De Graaf
dd49cf696c Fix taint mode execution 2010-10-20 21:16:10 -04:00
Daniel De Graaf
3dc56e3425 Work around old GNU make's inability to use "else if" 2010-09-28 11:16:34 -04:00
Daniel De Graaf
1570b13174 Build fixes for darwin 2010-09-10 18:38:42 -04:00
Daniel De Graaf
b157bcdbbc Recreate the build/include symlink so that changing the build location works as expected 2010-09-08 20:21:17 -04:00
Daniel De Graaf
03166a7d11 Change argument order of LDLIBS to work properly with -Wl,--as-needed 2010-07-02 11:27:24 -04:00
Daniel De Graaf
d02d6b05a3 Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc 2.8/linux 2.6.27) 2010-05-21 19:28:46 -05:00
Daniel De Graaf
f4c8e92f8e Be consistent in testing PURE_STATIC for defined vs == 1 2010-05-12 20:01:18 -05:00
Daniel De Graaf
df347edbdb Use unit-cc for all compile and and link tasks
This allows splitting .o and .so generation for distcc builds, and also
removes some unneeded autodetection of build stage.
2010-05-07 14:04:53 -05:00
Dennis Friis
76ddca717f typo 2010-04-21 10:53:46 +02:00
Dennis Friis
7db569ca93 Fix typo in argument to valdebug spotted by daemonic. 2010-04-05 21:41:06 +02:00
Daniel De Graaf
cd6b7a8cda Split up API_VERSION number
Since we can make API changes in multiple branches at the same time,
a single sequence number is insufficient. Use two numbers to indicate
the major version and API increment.
2010-04-01 19:01:32 -05:00
Daniel De Graaf
24e5daf4f9 Improve INSTUID error message 2010-03-29 18:51:32 -05:00
Daniel De Graaf
81ea1c49fa Remove references to SVN from the Makefile 2010-03-25 15:51:40 -05:00
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