aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2015-02-18Add description to the precious Python variable.cypherpunks
2015-02-11Remove mempools and buf freelistsNick Mathewson
They have been off-by-default since 0.2.5 and nobody has complained. :) Also remove the buf_shrink() function, which hasn't done anything since we first stopped using contiguous memory to store buffers. Closes ticket 14848.
2015-02-09Re-remove the --disable-threads configure optionSebastian Hahn
2015-01-26configure.ac: fix disabling systemd notification supportAnthony G. Basile
If --disable-systemd is given, $enable_systemd is set to "no", not "false". As a result, if libsystemd is found, we still turn on systemd support even if we explicitly disable it with --disable-system.
2015-01-21Merge branch 'better_workqueue_v3_squashed'Nick Mathewson
2015-01-18Merge remote-tracking branch 'public/ticket13037'Nick Mathewson
Conflicts: src/or/config.c
2015-01-14Basic unit test for condition variables.Nick Mathewson
2015-01-14Isolate the "socketpair or a pipe" logic for alerting main threadNick Mathewson
This way we can use the linux eventfd extension where available. Using EVFILT_USER on the BSDs will be a teeny bit trickier, and will require libevent hacking.
2015-01-14Split threading-related code out of compat.cNick Mathewson
Also, re-enable the #if'd out condition-variable code. Work queues are going to make us hack on all of this stuff a bit more closely, so it might not be a terrible idea to make it easier to hack.
2015-01-12If libsystemd-daemon.pc is not found, look for libsystemdNick Mathewson
(Thanks to toralf for noting that the build was broken, and to Sebastian for telling me that my fix still wasn't right.)
2015-01-11Fix build on systemdless systemsNick Mathewson
Fixes bug 14170.
2015-01-11fix and enable systemd watchdogTomasz Torcz
There were following problems: - configure.ac wrongly checked for defined HAVE_SYSTEMD; this wasn't working, so the watchdog code was not compiled in. Replace library search with explicit version check - sd_notify() watchdog call was unsetting NOTIFY_SOCKET from env; this means only first "watchdog ping" was delivered, each subsequent one did not have socket to be sent to and systemd was killing service - after those fixes, enable Watchdog in systemd unit with one minute intervals
2015-01-10Better workaround for CFLAGS issues from #14072; fixes #14162Nick Mathewson
When I applied patch fcc78e5f8a3249eadfea31db, I somehow broke stack trace symbols on Linux. I'll leave it to others to figure out why that happens. This should be better. Really. Fixes bug 14162; bug not in any released version of Tor.
2015-01-06New option "--disable-system-torrc" to not read torrc from etcNick Mathewson
Implements 13037.
2015-01-06Use package-config output for -lsystemd correctlyNick Mathewson
In systemd 209, they deprecated -lsystemd-daemon in favor of -lsystemd. So we'd better actually look at the pkg-config output, or we'll get warnings on newer distributions. For some as-yet-unknown-to-me reason, setting CFLAGS so early makes it so -O2 -g doesn't get added to it later. So, adding it myself later. Perhaps a better fix here can be found. Fixes 14072; bugfix on 0.2.6.2-alpha. Based on a patch from h.venev
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-12-31Bump version to 0.2.6.2-alpha-devNick Mathewson
2014-12-31bump the version to 0.2.6.2-alphaNick Mathewson
2014-12-23Add support for systemd watchdog protocolMichael Scherer
It work by notifying systemd on a regular basis. If there is no notification, the daemon is restarted. This requires a version newer than the 209 version of systemd, as it is not supported before.
2014-12-23add support for systemd notification protocolMichael Scherer
This permit for now to signal readiness in a cleaner way to systemd.
2014-12-23Use the appropriate call to getsockopt for IPv6 socketsFrancisco Blas Izquierdo Riera (klondike)
The original call to getsockopt to know the original address on transparently proxyed sockets using REDIRECT in iptables failed with IPv6 addresses because it assumed all sockets used IPv4. This patch fixes this by using the appropriate options and adding the headers containing the needed definitions for these. This patch is released under the same license as the original file as long as the author iscredited. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
2014-10-30Bump version to 0.2.6.1-alpha-devNick Mathewson
2014-10-30Bump version to 0.2.6.1-alphaNick Mathewson
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2014-10-27Remove configure option to disable curve25519Sebastian Hahn
By now, support in the network is widespread and it's time to require more modern crypto on all Tor instances, whether they're clients or servers. By doing this early in 0.2.6, we can be sure that at some point all clients will have reasonable support.
2014-10-13Define a strnlen replacement on platforms (win32) that lack itNick Mathewson
Right now this is only needed for test_util_format_time_interval, so define it as a static function. We can move it into compat later if we need to.
2014-10-03Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2014-10-03Merge remote-tracking branch 'public/bug13325_024' into maint-0.2.5Nick Mathewson
2014-10-03Run correctly on OpenBSD systems without SSL_METHOD.get_cipher_by_charNick Mathewson
Also, make sure we will compile correctly on systems where they finally rip it out. Fixes issue #13325. Caused by this openbsd commit: ​http://marc.info/?l=openbsd-cvs&m=140768179627976&w=2 Reported by Fredzupy.
2014-09-28Improving error message.rl1987
2014-09-26Merge remote-tracking branch 'public/require_some_c99'Nick Mathewson
2014-09-25Merge branch 'libscrypt_trunnel_squashed'Nick Mathewson
Conflicts: src/test/test_crypto.c
2014-09-25More generic passphrase hashing code, including scrypt supportNick Mathewson
Uses libscrypt when found; otherwise, we don't have scrypt and we only support openpgp rfc2440 s2k hashing, or pbkdf2. Includes documentation and unit tests; coverage around 95%. Remaining uncovered code is sanity-checks that shouldn't be reachable fwict.
2014-09-25Tell autoconf to make the compiler act as c99Nick Mathewson
Apparently some compilers want extra switches.
2014-09-25Require two c99 features (midblock decls, designated initializers)Nick Mathewson
c99 lets us do neat stuff like: { int j, k; foo(&j, &k); int z = j + k; } and also struct point { int x; int y; }; struct point pt = { .x=5, .y=5 }; This commit makes the configure scripts check to make sure your compiler implements them. It also disables our longstanding warning about midblock declarations. Closes ticket 13233.
2014-09-22Merge remote-tracking branch 'public/bug12693_025'Nick Mathewson
2014-09-11Bump maint-0.2.5 to 0.2.5.7-rc-devNick Mathewson
2014-09-02Divide torrc.sample into torrc.sample and torrc.minimalNick Mathewson
torrc.minimal is now the one that should change as infrequently as possible. To schedule an change to go into it eventually, make your change to torrc.minimal.in-sample. torrc.sample is now the volatile one: we can change it to our hearts' content. Closes ticket #11144
2014-08-13Fix configure script build with autoconf < 2.63Nick Mathewson
We added some AS_VAR_IF-based checks to detect whether we have managed to compile (but not link) with stack-protector. On autoconf before 2.63, we don't have AS_VAR_IF, so we just have to let the user get a compile error rather than a helpful "find libssp" error. Fixes bug 12693; bugfix on 0.2.5.2-alpha (commit 21ac292820da578)
2014-07-28bump to 0.2.5.6-alphaRoger Dingledine
2014-07-28bump to 0.2.4.23Roger Dingledine
2014-07-16Move test_descriptors.txt to an include fileNick Mathewson
Making the text file work out-of-tree didn't work on windows. Maybe we can get it working that way later.
2014-07-16Fix tests when building out-of-treeNick Mathewson
(This was too hard. Silly autoconf.)
2014-07-16Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2014-07-16configure.ac: fix build with --enable-buffereventsAnthony G. Basile
When building with bufferevents enabled, configure.ac throws an error if "$ac_cv_header_event2_bufferevent_ssl_h" is not set to "yes". However, nowhere was AC_CHECK_HEADERS(event2/bufferevent_ssl.h) done. This commit adds the check.
2014-06-20Thread support is now requiredNick Mathewson
Long ago we supported systems where there was no support for threads, or where the threading library was broken. We shouldn't have do that any more: on every OS that matters, threads exist, and the OS supports running threads across multiple CPUs. This resolves tickets 9495 and 12439. It's a prerequisite to making our workqueue code work better, since sensible workqueue implementations don't split across multiple processes.
2014-06-18Bump version in master to 0.2.6.0-alpha-devNick Mathewson
2014-06-18Bump version to Tor 0.2.5.5-alpha-devNick Mathewson
2014-06-16bump version to 0.2.5.5-alpha. Not released yet.Nick Mathewson
2014-06-14Merge branch 'bug8746_v2_squashed'Nick Mathewson
Conflicts: src/common/include.am