Stefan Bühler
27ab3f76db
[mod_dirlisting] remove sys/syslimits.h; base.h already includes limits.h
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3024 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-23 07:41:09 +00:00
Stefan Bühler
5c48617737
[cmake] fix FreeBSD linker bug
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3018 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-22 17:52:17 +00:00
Stefan Bühler
16e1a78ad5
[cmake] don't put date into config.h (not used anyway), only unset local vars for disabled features instead of clearing cache
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3017 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-22 17:39:04 +00:00
Stefan Bühler
10f1490fb1
[cmake] cleanup cache variables if features get deactivated
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3014 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-22 16:01:05 +00:00
Stefan Bühler
403afcd251
[cmake] lowercase commands, whitespace cleanup, remove clutter in else(...), endif(...), endforeach(...)
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3013 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-22 16:01:02 +00:00
Stefan Bühler
593599f14a
rewrite network (write) backends
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3012 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-08-22 16:00:59 +00:00
Stefan Bühler
c92496720d
[mod_auth] use crypt_r instead of crypt if available
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2986 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-02-12 06:39:39 +00:00
Stefan Bühler
bfce99aacc
[bitset] unused -> remove
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2982 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-02-08 19:10:51 +00:00
Stefan Bühler
ad3e93ea96
Use buffer API to read and modify "used" member
...
- a lot of code tried to handle manually adding terminating zeroes and
keeping track of the correct "used" count.
Replaced all "external" usages with simple wrapper functions:
* buffer_string_is_empty (used <= 1), buffer_is_empty (used == 0);
prefer buffer_string_is_empty
* buffer_string_set_length
* buffer_string_length
* CONST_BUF_LEN() macro
- removed "static" buffer hacks (buffers pointing to constant/stack
memory instead of malloc()ed data)
- buffer_append_strftime(): refactor buffer+strftime uses
- li_tohex(): no need for a buffer for binary-to-hex conversion:
the output data length is easy to predict
- remove "-Winline" from extra warnings: the "inline" keyword just
supresses the warning about unused but defined (static) functions;
don't care whether it actually gets inlined or not.
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2979 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-02-08 19:10:44 +00:00
Stefan Bühler
3521be8b85
print backtrace in assert logging with libunwind
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2974 152afb58-edef-0310-8abb-c4023f1b3aa9
2015-02-07 13:32:56 +00:00
Stefan Bühler
c4f214584a
[build] use fortify flags with "extra-warnings"
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2967 152afb58-edef-0310-8abb-c4023f1b3aa9
2014-10-16 17:52:10 +00:00
Stefan Bühler
680b714543
[cmake] Use TARGET_LINK_LIBRARIES instead of LINK_FLAGS for library dependencies, also add -Wl,--as-needed to extra warnings ( fixes #2448 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2875 152afb58-edef-0310-8abb-c4023f1b3aa9
2013-06-29 09:45:23 +00:00
Stefan Bühler
90dd8af32b
Always use our 'own' md5 implementation, fixes linking issues on MacOS ( fixes #2331 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2799 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-07-30 09:16:03 +00:00
Stefan Bühler
55e1dc1825
[ssl/build] some minor fixes; fix compile without ssl, cleanup ssl config buffers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2789 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-24 16:02:55 +00:00
Stefan Bühler
f8eb52ebda
add libev fdevent handler: server.event-handler = "libev"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2754 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-07 10:46:34 +00:00
Stefan Bühler
38f2d1ddd7
cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
...
* use log functions
* convert flags
* fix handler callback prototype
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2752 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-06 21:57:15 +00:00
Stefan Bühler
fbd4fe3c07
cmake: Add -export-dynamic to link flags, fixes build on FreeBSD
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2577 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-10 16:46:04 +00:00
Stefan Bühler
fcfd4d048a
cmake: Fix crypt lib check
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2576 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-10 16:36:36 +00:00
Stefan Bühler
8f61a1ffd0
Add "lua-5.1" to searched pkg-config names for lua
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2571 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-10 16:19:45 +00:00
Stefan Bühler
2c0eb025f1
[cmake] Remove -Wno-pointer-sign from extra warnings
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2499 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-29 14:51:39 +00:00
Stefan Bühler
4a47537696
Add IPv6 support to mod_proxy ( fixes #1537 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2484 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 21:02:16 +00:00
Stefan Bühler
a8ffcb783a
Fix some cmake issues (xattr and mysql)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2437 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 16:51:53 +00:00
Stefan Bühler
9c7cdb8011
Add proper SUID bit detection ( fixes #416 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2436 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 16:51:52 +00:00
Stefan Bühler
b3c8517121
Remove mod_uploadprogress from cmake/scons ( fixes #1955 )
...
* the mod_uploadprogress.c in the svn tree is not included
in the releases; and it is not compatible to the one in 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2434 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 16:51:48 +00:00
Stefan Bühler
b8b4fe19c8
Finally removed spawn-fcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2423 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-03 22:41:02 +00:00
Stefan Bühler
63f785a2f8
Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2414 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 21:05:37 +00:00
Stefan Bühler
ff1fe3a8ee
[cmake] add lighttpd-angel
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2412 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 21:05:18 +00:00
Stefan Bühler
705fcaaff1
[cmake] Fix package version in binary
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2388 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-05 11:45:01 +00:00
Stefan Bühler
0dea6999b5
Fix configure/cmake defines and checks
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2364 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-12-07 15:22:52 +00:00
Stefan Bühler
a64e7cd46b
[cmake] Fix ipv6 detection
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2360 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-12-05 23:39:51 +00:00
Stefan Bühler
454aefc51a
[cmake] Add basic cmake support
...
- Not distributed yet (so only available in svn checkout)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2359 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-12-05 22:30:32 +00:00