]> granicus.if.org Git - pdns/log
pdns
9 years agoMerge pull request #2053 from mind04/pdnssec-rrsig
Peter van Dijk [Fri, 9 Jan 2015 11:31:33 +0000 (12:31 +0100)]
Merge pull request #2053 from mind04/pdnssec-rrsig

pdnssec: fix ttl ceck for RRSIG records

9 years agoMerge pull request #2051 from mind04/base64
Peter van Dijk [Fri, 9 Jan 2015 10:17:42 +0000 (11:17 +0100)]
Merge pull request #2051 from mind04/base64

use polarssl Base64

9 years agosilence some stray debugging in recent 'any' address support (sorry)
bert hubert [Fri, 9 Jan 2015 09:33:48 +0000 (10:33 +0100)]
silence some stray debugging in recent 'any' address support (sorry)

9 years agoAdd blurb about presign as discussed
JP Mens [Thu, 8 Jan 2015 20:21:44 +0000 (21:21 +0100)]
Add blurb about presign as discussed

for #2057

9 years agoAdd missing parenthesis
JP Mens [Thu, 8 Jan 2015 20:03:50 +0000 (21:03 +0100)]
Add missing parenthesis

9 years agowe relied on an unitialized variable for enabling UDP timestamps, plus set IPV6_V6ONL...
bert hubert [Thu, 8 Jan 2015 19:45:44 +0000 (20:45 +0100)]
we relied on an unitialized variable for enabling UDP timestamps, plus set IPV6_V6ONLY when binding

9 years agoimprove timeout reporting in rec_control
bert hubert [Thu, 8 Jan 2015 15:59:33 +0000 (16:59 +0100)]
improve timeout reporting in rec_control

9 years agorecursor timestamps, recursor any address, auth consolidation: teach recursor about...
bert hubert [Thu, 8 Jan 2015 15:40:13 +0000 (16:40 +0100)]
recursor timestamps, recursor any address, auth consolidation: teach recursor about how to properly reply from 0.0.0.0, ::
teach recursor to measure 'received' timestamps, teach it to drop queries that have been sitting in a queue for a second already, add too-old-drops metric for this
unify some code with the auth server

9 years agofix up compilation of testrunner
bert hubert [Thu, 8 Jan 2015 14:48:11 +0000 (15:48 +0100)]
fix up compilation of testrunner

9 years agomove infrastructure for serving from 0.0.0.0 and :: from Auth server to a shared...
bert hubert [Thu, 8 Jan 2015 13:50:49 +0000 (14:50 +0100)]
move infrastructure for serving from 0.0.0.0 and :: from Auth server to a shared place with the recursor

9 years agoconst correctness in addCMsgSrcAddr
bert hubert [Thu, 8 Jan 2015 13:48:46 +0000 (14:48 +0100)]
const correctness in addCMsgSrcAddr

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Thu, 8 Jan 2015 12:02:10 +0000 (13:02 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agodon't reprime the root because we discovered a delegation loop. No longer terminate...
bert hubert [Thu, 8 Jan 2015 12:01:30 +0000 (13:01 +0100)]
don't reprime the root because we discovered a delegation loop. No longer terminate a query when this happens. Do terminate a query if more than 50 throttled queries. Improve --trace output a bit.

9 years agopdnssec: fix ttl ceck for RRSIG records
Kees Monshouwer [Tue, 6 Jan 2015 21:46:23 +0000 (22:46 +0100)]
pdnssec: fix ttl ceck for RRSIG records

9 years agoMerge pull request #1998 from mind04/ed25519
Peter van Dijk [Tue, 6 Jan 2015 19:33:14 +0000 (20:33 +0100)]
Merge pull request #1998 from mind04/ed25519

hookup experimental ed25519 signer

9 years agonew queries now get far more multiplexer attention than they used to
bert hubert [Tue, 6 Jan 2015 15:30:53 +0000 (16:30 +0100)]
new queries now get far more multiplexer attention than they used to

9 years agoput our loop detection on a diet, plus make it IPv6 aware (again)
bert hubert [Tue, 6 Jan 2015 15:12:09 +0000 (16:12 +0100)]
put our loop detection on a diet, plus make it IPv6 aware (again)

9 years agoslightly tweak the 'doubting root repriming' logic
bert hubert [Tue, 6 Jan 2015 15:11:12 +0000 (16:11 +0100)]
slightly tweak the 'doubting root repriming' logic

9 years agoif a query ends up failing so badly we want to reprime the root, do so, but abort...
bert hubert [Tue, 6 Jan 2015 14:28:25 +0000 (15:28 +0100)]
if a query ends up failing so badly we want to reprime the root, do so, but abort the query

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 6 Jan 2015 14:25:32 +0000 (15:25 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agoimprove non-quiet logging a bit, remove some dead code
bert hubert [Tue, 6 Jan 2015 14:25:08 +0000 (15:25 +0100)]
improve non-quiet logging a bit, remove some dead code

9 years agobase64 encode/decode speedtest
Kees Monshouwer [Sun, 4 Jan 2015 14:30:32 +0000 (15:30 +0100)]
base64 encode/decode speedtest

9 years agouse polarssl base64
Kees Monshouwer [Sat, 3 Jan 2015 22:24:24 +0000 (23:24 +0100)]
use polarssl base64

9 years agoRevert "Make executables position-independent"
Peter van Dijk [Tue, 6 Jan 2015 13:51:14 +0000 (14:51 +0100)]
Revert "Make executables position-independent"

This reverts commit c116f5d4a4e0d7a0cc22844cbd2a3cf267fb1a8e.

(Because it breaks with semistatic. Will have another attempt later.)

9 years agoMerge pull request #2036 from rubenk/the-pie-is-a-lie
Peter van Dijk [Tue, 6 Jan 2015 13:11:38 +0000 (14:11 +0100)]
Merge pull request #2036 from rubenk/the-pie-is-a-lie

Make executables postion-independent

9 years agoscavenge some further malloc calls, plus don't attempt to make socket nonblocking...
bert hubert [Tue, 6 Jan 2015 11:56:38 +0000 (12:56 +0100)]
scavenge some further malloc calls, plus don't attempt to make socket nonblocking before we know it is open!
Plus some comments on non-observed speedups on reducing system calls by passing CLO_EXEC and NONBLOCK to socket directly

9 years agokill some further mallocs and add note to remind us not to add them back
bert hubert [Tue, 6 Jan 2015 11:49:31 +0000 (12:49 +0100)]
kill some further mallocs and add note to remind us not to add them back

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 6 Jan 2015 11:49:11 +0000 (12:49 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agokill some mallocs we were doing for EDNS PING which we don't use right now
bert hubert [Tue, 6 Jan 2015 11:48:54 +0000 (12:48 +0100)]
kill some mallocs we were doing for EDNS PING which we don't use right now

9 years agoMerge pull request #1918 from mind04/pc-key
Peter van Dijk [Tue, 6 Jan 2015 08:28:08 +0000 (09:28 +0100)]
Merge pull request #1918 from mind04/pc-key

better key for packetcache

9 years agoMerge pull request #2006 from rubenk/fix-postgres-check-with-missing-pg_config
Peter van Dijk [Tue, 6 Jan 2015 07:42:16 +0000 (08:42 +0100)]
Merge pull request #2006 from rubenk/fix-postgres-check-with-missing-pg_config

If pg_config is not found, don't override paths

9 years agoMerge pull request #2042 from pieterlexis/issue-494-VirtualHosting
Peter van Dijk [Mon, 5 Jan 2015 17:05:47 +0000 (18:05 +0100)]
Merge pull request #2042 from pieterlexis/issue-494-VirtualHosting

Expand a little on the virtual hosting docs

9 years agoExpand a little on the virtual hosting docs
Pieter Lexis [Sun, 4 Jan 2015 13:55:16 +0000 (14:55 +0100)]
Expand a little on the virtual hosting docs

Closes #494 in the process

9 years agoMerge pull request #2046 from pieterlexis/fix-manpages-sections
Peter van Dijk [Mon, 5 Jan 2015 16:58:56 +0000 (17:58 +0100)]
Merge pull request #2046 from pieterlexis/fix-manpages-sections

Fix manpage sections _in_ the manpages

9 years agoFix manpage sections _in_ the manpages
Pieter Lexis [Mon, 5 Jan 2015 16:57:11 +0000 (17:57 +0100)]
Fix manpage sections _in_ the manpages

9 years agoMerge pull request #2045 from mind04/zsk
Peter van Dijk [Mon, 5 Jan 2015 15:10:44 +0000 (16:10 +0100)]
Merge pull request #2045 from mind04/zsk

support single-type ZSK signing

9 years agodocument iputils class, fix some formatting
bert hubert [Mon, 5 Jan 2015 13:57:27 +0000 (14:57 +0100)]
document iputils class, fix some formatting

9 years agofix up namespace issue for RHEL
bert hubert [Mon, 5 Jan 2015 13:56:19 +0000 (14:56 +0100)]
fix up namespace issue for RHEL

9 years agorename prequery to preoutquery, remove a duplicate *duplicate* prequery from example...
bert hubert [Mon, 5 Jan 2015 13:21:39 +0000 (14:21 +0100)]
rename prequery to preoutquery, remove a duplicate *duplicate* prequery from example script

9 years agofix up compilation with lua-ipset after dist-recursor, plus fix up compilation w...
bert hubert [Mon, 5 Jan 2015 12:43:51 +0000 (13:43 +0100)]
fix up compilation with lua-ipset after dist-recursor, plus fix up compilation w/o lua

9 years agoexpand our example script to benefit from the iputils code in prequery
bert hubert [Mon, 5 Jan 2015 12:32:38 +0000 (13:32 +0100)]
expand our example script to benefit from the iputils code in prequery

9 years agoMerge branch 'master' into prequery
bert hubert [Mon, 5 Jan 2015 12:26:59 +0000 (13:26 +0100)]
Merge branch 'master' into prequery

9 years agoexpose 'iputils' module to Lua code, allowing for native IP(v6) address processing...
bert hubert [Mon, 5 Jan 2015 12:24:55 +0000 (13:24 +0100)]
expose 'iputils' module to Lua code, allowing for native IP(v6) address processing, netmasks and netmaskgroups

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Mon, 5 Jan 2015 12:13:59 +0000 (13:13 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agoMerge pull request #1992 from rubenk/fixup-sqlite3-check
Peter van Dijk [Mon, 5 Jan 2015 11:50:18 +0000 (12:50 +0100)]
Merge pull request #1992 from rubenk/fixup-sqlite3-check

(Finally) move sqlite3 to separate checks

9 years agoif we make an IPv6 address struct, make sure it has that family, and that the scope_i...
bert hubert [Mon, 5 Jan 2015 11:46:50 +0000 (12:46 +0100)]
if we make an IPv6 address struct, make sure it has that family, and that the scope_id is zeroed of not set explicitly

9 years agosmall escaping issue
bert hubert [Mon, 5 Jan 2015 11:45:33 +0000 (12:45 +0100)]
small escaping issue

9 years agosupport single-type ZSK signing
Kees Monshouwer [Mon, 5 Jan 2015 10:26:08 +0000 (11:26 +0100)]
support single-type ZSK signing

9 years agoMerge pull request #2004 from rubenk/use-ac-path-prog-for-mysql_config
Peter van Dijk [Mon, 5 Jan 2015 10:00:24 +0000 (11:00 +0100)]
Merge pull request #2004 from rubenk/use-ac-path-prog-for-mysql_config

Check the whole $PATH for mysql_config

9 years agoMerge pull request #2039 from rubenk/fix-race-in-generated-header
Peter van Dijk [Sun, 4 Jan 2015 18:32:15 +0000 (19:32 +0100)]
Merge pull request #2039 from rubenk/fix-race-in-generated-header

Fix race condition in generating header

9 years agoFix the same race in recursor Makefile
Ruben Kerkhof [Sun, 4 Jan 2015 15:54:40 +0000 (16:54 +0100)]
Fix the same race in recursor Makefile

9 years agomake sure decoded is not filled by previous base64encode test
Kees Monshouwer [Sat, 3 Jan 2015 20:55:13 +0000 (21:55 +0100)]
make sure decoded is not filled by previous base64encode test

9 years agoremove some dead code from webserver
Kees Monshouwer [Sat, 3 Jan 2015 20:41:02 +0000 (21:41 +0100)]
remove some dead code from webserver

9 years agoFix race condition in generating header
Ruben Kerkhof [Sat, 3 Jan 2015 16:06:04 +0000 (17:06 +0100)]
Fix race condition in generating header

Use a define to create the file in one go.
Fixes #1853

9 years agohookup experimental ed25519 signer
Kees Monshouwer [Thu, 25 Dec 2014 12:47:51 +0000 (13:47 +0100)]
hookup experimental ed25519 signer

9 years agoMerge pull request #2038 from ahupowerdns/uniwork
bert hubert [Sat, 3 Jan 2015 10:57:03 +0000 (11:57 +0100)]
Merge pull request #2038 from ahupowerdns/uniwork

Fix up various gcc 4.2.1 issues on FreeBSD with Boost

9 years agodisable our -fPIE detection for freebsd for recursor for now
bert hubert [Sat, 3 Jan 2015 10:55:26 +0000 (11:55 +0100)]
disable our -fPIE detection for freebsd for recursor for now

9 years agooops that bit too
bert hubert [Sat, 3 Jan 2015 10:30:01 +0000 (11:30 +0100)]
oops that bit too

9 years agowork around a compiler/boost bug (unsure who is really to blame)
bert hubert [Sat, 3 Jan 2015 10:12:12 +0000 (11:12 +0100)]
work around a compiler/boost bug (unsure who is really to blame)

9 years agoMerge pull request #1999 from zeha/f/pipedocs
bert hubert [Fri, 2 Jan 2015 21:57:34 +0000 (22:57 +0100)]
Merge pull request #1999 from zeha/f/pipedocs

docs: Remove PING from pipebackend

9 years agowork around a boost issue with circular buffer or map of unions, most evident on...
bert hubert [Fri, 2 Jan 2015 21:40:59 +0000 (22:40 +0100)]
work around a boost issue with circular buffer or map of unions, most evident on freebsd 9 and 10

9 years agoMake executables position-independent
Ruben Kerkhof [Fri, 2 Jan 2015 18:28:14 +0000 (19:28 +0100)]
Make executables position-independent

Pass -pie to the linker

before:
ruben@yourmomma: pdns (master %=)$ checksec --file pdns/pdns_server
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   No PIE         No RPATH   No RUNPATH   pdns/pdns_server
ruben@yourmomma: pdns (master %=)$ checksec --file pdns/pdns_control
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   No PIE         No RPATH   No RUNPATH   pdns/pdns_control

after:
ruben@yourmomma: pdns (master *%=)$ checksec --file pdns/pdns_control
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   PIE enabled    No RPATH   No RUNPATH   pdns/pdns_control
ruben@yourmomma: pdns (master *%=)$ checksec --file pdns/pdns_server
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO     Canary found     NX enabled   PIE enabled    No RPATH   No RUNPATH   pdns/pdns_server

9 years agodocs: correct typo for pipebackend
Christian Hofstaedtler [Thu, 25 Dec 2014 16:35:52 +0000 (17:35 +0100)]
docs: correct typo for pipebackend

9 years agodocs: improve formatting for pipebackend
Christian Hofstaedtler [Thu, 25 Dec 2014 16:35:16 +0000 (17:35 +0100)]
docs: improve formatting for pipebackend

9 years agodocs: Remove PING from pipebackend
Christian Hofstaedtler [Thu, 25 Dec 2014 16:25:34 +0000 (17:25 +0100)]
docs: Remove PING from pipebackend

PING is never sent by pipebackend, so don't have it in the docs.

9 years agoMerge pull request #2034 from rubenk/handle-missing-pandoc-and-no-generated-manpages
Peter van Dijk [Fri, 2 Jan 2015 18:02:14 +0000 (19:02 +0100)]
Merge pull request #2034 from rubenk/handle-missing-pandoc-and-no-generated-manpages

Handle missing pandoc and no generated manpages

9 years agoMerge pull request #2035 from nivex/patch-1
Peter van Dijk [Fri, 2 Jan 2015 18:01:10 +0000 (19:01 +0100)]
Merge pull request #2035 from nivex/patch-1

Fix SOA example in backend.pl

9 years agobought a book on Lua. Turns out I needed to learn a few things on scope ;-)
bert hubert [Fri, 2 Jan 2015 15:36:27 +0000 (16:36 +0100)]
bought a book on Lua. Turns out I needed to learn a few things on scope ;-)

9 years agoadd note about precompiled lua scripts
bert hubert [Fri, 2 Jan 2015 15:12:36 +0000 (16:12 +0100)]
add note about precompiled lua scripts

9 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Fri, 2 Jan 2015 09:54:24 +0000 (10:54 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

9 years agoimprove packet too short error message
bert hubert [Fri, 2 Jan 2015 09:54:08 +0000 (10:54 +0100)]
improve packet too short error message

9 years agoUpdate backend.pl
Kevin Otte [Thu, 1 Jan 2015 19:53:34 +0000 (14:53 -0500)]
Update backend.pl

SOA record format is "hostname email serial ..."
Example has hostname and email flipped.

9 years agoCorrect HAVE_MANPAGES conditional
Ruben Kerkhof [Thu, 1 Jan 2015 18:08:36 +0000 (19:08 +0100)]
Correct HAVE_MANPAGES conditional

We need to check for files in $srcdir during VPATH build

9 years agoGenerating manpages without pandoc is an error
Ruben Kerkhof [Thu, 1 Jan 2015 18:05:01 +0000 (19:05 +0100)]
Generating manpages without pandoc is an error

If for some reason we end up with a dist tarball
without generated manpages, better warn and exit then trying to run
no -s -t man manpages/dnsdist.1.md -o dnsdist.1

9 years agoMerge pull request #2033 from rubenk/make-distcheck
Peter van Dijk [Thu, 1 Jan 2015 14:25:13 +0000 (15:25 +0100)]
Merge pull request #2033 from rubenk/make-distcheck

Fix header path during VPATH build

9 years agoFix header path during VPATH build
Ruben Kerkhof [Tue, 30 Dec 2014 22:35:20 +0000 (23:35 +0100)]
Fix header path during VPATH build

/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../modules/remotebackend -I../..  -I../.. -I../../..
-pthread -I/usr/include -I../../pdns/ext/rapidjson/include
-I../../../pdns/ext/yahttp -I../../../pdns/ext/polarssl/include/
-fPIE -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4
-fstack-protector -Wall -g -O2 -c -o remotebackend.lo
../../../modules/remotebackend/remotebackend.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I.
-I../../../modules/remotebackend -I../.. -I../.. -I../../.. -pthread
-I/usr/include -I../../pdns/ext/rapidjson/include
-I../../../pdns/ext/yahttp -I../../../pdns/ext/polarssl/include/ -DPIE
-D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g
-O2 -c ../../../modules/remotebackend/remotebackend.cc  -fPIC -DPIC -o
.libs/remotebackend.o
In file included from
../../../modules/remotebackend/remotebackend.hh:9:0,
                 from ../../../modules/remotebackend/remotebackend.cc:1:
../../../pdns/json.hh:27:32: fatal error: rapidjson/document.h: No such
file or directory
 #include "rapidjson/document.h"
                                ^
compilation terminated.

9 years agoMerge pull request #2023 from rubenk/travis-multiline
Peter van Dijk [Thu, 1 Jan 2015 14:22:57 +0000 (15:22 +0100)]
Merge pull request #2023 from rubenk/travis-multiline

Travis multiline

9 years agoBreak long lines into multiple lines
Ruben Kerkhof [Thu, 1 Jan 2015 12:51:25 +0000 (13:51 +0100)]
Break long lines into multiple lines

9 years agoMerge pull request #2027 from rubenk/fix-building-on-osx-again
Peter van Dijk [Thu, 1 Jan 2015 12:40:25 +0000 (13:40 +0100)]
Merge pull request #2027 from rubenk/fix-building-on-osx-again

Fix building tools on OSX

9 years agoMerge pull request #2028 from rubenk/vpath-build
Peter van Dijk [Thu, 1 Jan 2015 12:40:08 +0000 (13:40 +0100)]
Merge pull request #2028 from rubenk/vpath-build

Specify the correct location of the prerequisite

9 years agoMerge pull request #2032 from mind04/2015
Peter van Dijk [Thu, 1 Jan 2015 00:10:27 +0000 (01:10 +0100)]
Merge pull request #2032 from mind04/2015

happy new year :)

9 years agohappy new year :)
Kees Monshouwer [Wed, 31 Dec 2014 23:57:08 +0000 (00:57 +0100)]
happy new year :)

9 years agoforce PACKAGEVERSION to string in secpoll-recursor
Peter van Dijk [Wed, 31 Dec 2014 18:41:16 +0000 (18:41 +0000)]
force PACKAGEVERSION to string in secpoll-recursor

9 years agoforce PACKAGEVERSION to string, fixes #2030
Peter van Dijk [Wed, 31 Dec 2014 16:58:06 +0000 (16:58 +0000)]
force PACKAGEVERSION to string, fixes #2030

9 years agoattempt to remove pandoc dependency for "make install" from a dist tarball; @rubenk...
Peter van Dijk [Wed, 31 Dec 2014 13:48:44 +0000 (14:48 +0100)]
attempt to remove pandoc dependency for "make install" from a dist tarball; @rubenk should i use build_dir or something in that test -e?

9 years agoremove recursor manpages from auth dist
Peter van Dijk [Wed, 31 Dec 2014 11:50:30 +0000 (12:50 +0100)]
remove recursor manpages from auth dist

9 years agogenerate recursor manpages during dist-recursor; reverts & fixes 8045478dd4f548a76d72...
Peter van Dijk [Wed, 31 Dec 2014 11:46:57 +0000 (12:46 +0100)]
generate recursor manpages during dist-recursor; reverts & fixes 8045478dd4f548a76d72f948591d5fcdea4ff83d

9 years agoupdate more manpage sections
Peter van Dijk [Wed, 31 Dec 2014 11:07:54 +0000 (12:07 +0100)]
update more manpage sections

9 years agoMerge pull request #2029 from rubenk/only-create-manpages-if-we-have-pandoc
Peter van Dijk [Wed, 31 Dec 2014 10:07:29 +0000 (11:07 +0100)]
Merge pull request #2029 from rubenk/only-create-manpages-if-we-have-pandoc

Only build manpages if we have pandoc

9 years agoupdate debian rules for new manual sections
Peter van Dijk [Wed, 31 Dec 2014 10:05:43 +0000 (11:05 +0100)]
update debian rules for new manual sections

9 years agoupdate RPM spec for new manual sections
Peter van Dijk [Wed, 31 Dec 2014 10:04:17 +0000 (11:04 +0100)]
update RPM spec for new manual sections

9 years agodon't log BOOST_LDFLAGS as it no longer exists
Peter van Dijk [Wed, 31 Dec 2014 09:33:34 +0000 (10:33 +0100)]
don't log BOOST_LDFLAGS as it no longer exists

9 years agoremove BOOST_LDFLAGS; this reverts 5e71d414cfc63e0a84d0d34b81bd07950ba4db2c
Peter van Dijk [Wed, 31 Dec 2014 09:31:29 +0000 (10:31 +0100)]
remove BOOST_LDFLAGS; this reverts 5e71d414cfc63e0a84d0d34b81bd07950ba4db2c

9 years agoRevert "Use Boost macros from autoconf-archive"
Peter van Dijk [Wed, 31 Dec 2014 09:28:41 +0000 (10:28 +0100)]
Revert "Use Boost macros from autoconf-archive"

This reverts commit 39107229d77017ae3909a48332175f901d49e6e0.

Discussed with @rubenk. While a lot faster, the autoconf-archive
variant gives confusing errors when parts of Boost are missing,
and misses an rpath workaround for Solaris

9 years agoOnly build manpages if we have pandoc
Ruben Kerkhof [Tue, 30 Dec 2014 22:57:07 +0000 (23:57 +0100)]
Only build manpages if we have pandoc

9 years agoFix building tools on OSX
Ruben Kerkhof [Tue, 30 Dec 2014 21:50:12 +0000 (22:50 +0100)]
Fix building tools on OSX

Triggered by running ./configure --enable-tools

Turns the error

In file included from selectmplexer.cc:6:
In file included from ./syncres.hh:22:
In file included from ./mtasker.hh:26:
/usr/include/ucontext.h:43:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
^
In file included from selectmplexer.cc:6:
In file included from ./syncres.hh:22:
In file included from ./mtasker.hh:113:
./mtasker.cc:272:3: error: use of undeclared identifier 'getcontext'
getcontext(uc);
^
2 errors generated.
make[4]: *** [selectmplexer.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

into a warning:

In file included from ./mtasker.hh:113:
./mtasker.cc:272:3: warning: 'getcontext' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
  getcontext(uc);
  ^
/usr/include/ucontext.h:37:6: note: 'getcontext' has been explicitly marked deprecated here
int  getcontext(ucontext_t *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0);
     ^
1 warning generated.

9 years agoSpecify the correct location of the prerequisite
Ruben Kerkhof [Tue, 30 Dec 2014 21:16:22 +0000 (22:16 +0100)]
Specify the correct location of the prerequisite

9 years agoREVERT ME: remove manpages from recursor dist
Peter van Dijk [Tue, 30 Dec 2014 14:56:38 +0000 (15:56 +0100)]
REVERT ME: remove manpages from recursor dist

9 years agoMerge pull request #2025 from rubenk/postgres-fix
Peter van Dijk [Mon, 29 Dec 2014 19:30:30 +0000 (20:30 +0100)]
Merge pull request #2025 from rubenk/postgres-fix

Fix semistatic building

9 years agoFix semistatic building
Ruben Kerkhof [Mon, 29 Dec 2014 16:10:32 +0000 (17:10 +0100)]
Fix semistatic building

5e71d414cfc6 added BOOST_LDFLAGS to the front of LDFLAGS.
A side effect of this change is that this adds -L/usr/lib
at the front of the linker search path, where normally it is last.

We then try to link to /usr/lib/libpq.a but that's a different version
than the one we need.

As a workaround place the BOOST_LDFLAGS after LDFLAGS. The correct fix
needs more thought.