]>
granicus.if.org Git - pdns/log
Ruben Kerkhof [Fri, 10 Oct 2014 18:49:19 +0000 (20:49 +0200)]
Cleanup linking with YaHTTP
Replace the hardcoded paths with variables.
Peter van Dijk [Thu, 9 Oct 2014 21:45:22 +0000 (23:45 +0200)]
Revert "Fix compiling mydns module without gmysql module"
This reverts commit
c9df4fb94c49d73c06ea99223ce9ed37cbb9498b .
Peter van Dijk [Thu, 9 Oct 2014 21:37:36 +0000 (23:37 +0200)]
Merge pull request #1796 from rubenk/fix-compiling-mydns-as-module
Fix compiling mydns module without gmysql module
Peter van Dijk [Thu, 9 Oct 2014 20:36:17 +0000 (22:36 +0200)]
distribute pdns.conf-dist again, thanks @rubenk
Peter van Dijk [Thu, 9 Oct 2014 19:40:40 +0000 (21:40 +0200)]
Merge pull request #1790 from rubenk/cleanup-pdns-makefile-am
Cleanup pdns makefile am
Peter van Dijk [Thu, 9 Oct 2014 19:37:39 +0000 (21:37 +0200)]
Merge pull request #1803 from rubenk/drop-librt
We don't use librt for anything
Peter van Dijk [Thu, 9 Oct 2014 17:40:43 +0000 (19:40 +0200)]
Merge pull request #1801 from rubenk/fixup-configure-error
Remove extraneous bracket from configure.ac
Ruben Kerkhof [Thu, 9 Oct 2014 15:58:21 +0000 (17:58 +0200)]
Remove extraneous bracket from configure.ac
Ruben Kerkhof [Thu, 9 Oct 2014 10:13:48 +0000 (12:13 +0200)]
We don't use librt for anything
Peter van Dijk [Thu, 9 Oct 2014 09:50:07 +0000 (11:50 +0200)]
Merge pull request #1795 from rubenk/travis-compile-luabackend
travis: build the lua backend
Peter van Dijk [Thu, 9 Oct 2014 09:48:31 +0000 (11:48 +0200)]
Merge pull request #1797 from rubenk/dont-look-in-system-include-paths-for-pdns-headers
Don't look in system include paths for pdns headers
bert hubert [Wed, 8 Oct 2014 16:34:13 +0000 (18:34 +0200)]
add some more spaces
bert hubert [Wed, 8 Oct 2014 15:58:17 +0000 (17:58 +0200)]
small c++2011 fix for auth, more left to do
bert hubert [Wed, 8 Oct 2014 13:29:30 +0000 (15:29 +0200)]
With this cleanup commit, pdns_recursor can compile as C++2011 (CXXFLAGS=-std=gnu++0x make -j4).
Ruben Kerkhof [Wed, 8 Oct 2014 13:02:56 +0000 (15:02 +0200)]
travis: build the lua backend
Ruben Kerkhof [Wed, 8 Oct 2014 12:20:13 +0000 (14:20 +0200)]
Fix compiling mydns module without gmysql module
This fixes the last case in #544:
https://github.com/PowerDNS/pdns/issues/544#issuecomment-
32457187
It's still a dirty hack, and we should pull the parts that mydns
and gmysql have in comming into a common library.
bert hubert [Wed, 8 Oct 2014 11:10:35 +0000 (13:10 +0200)]
Merge branch 'alias'
Ruben Kerkhof [Mon, 6 Oct 2014 21:18:22 +0000 (23:18 +0200)]
Remove unneeded flags from tools
Ruben Kerkhof [Mon, 6 Oct 2014 21:14:55 +0000 (23:14 +0200)]
Move some stuff up
No functional changes
Ruben Kerkhof [Mon, 6 Oct 2014 21:09:58 +0000 (23:09 +0200)]
Conditionalize sqlite libs
Ruben Kerkhof [Mon, 6 Oct 2014 21:01:50 +0000 (23:01 +0200)]
Don't add generated sources to _SOURCES
Ruben Kerkhof [Mon, 6 Oct 2014 20:57:24 +0000 (22:57 +0200)]
Break up long lines
Ruben Kerkhof [Mon, 6 Oct 2014 18:32:55 +0000 (20:32 +0200)]
Add libdl to _LDADD instead of _LDFLAGS
Ruben Kerkhof [Mon, 6 Oct 2014 18:05:00 +0000 (20:05 +0200)]
Add libraries with _LDADD
Ruben Kerkhof [Mon, 6 Oct 2014 18:02:47 +0000 (20:02 +0200)]
Replace autoconf variable with automake variable
Peter van Dijk [Wed, 8 Oct 2014 07:14:59 +0000 (09:14 +0200)]
Merge pull request #1792 from rubenk/fix-unused-argument-warning-on-osx
Fix unused argument warning on osx
Peter van Dijk [Wed, 8 Oct 2014 07:01:47 +0000 (09:01 +0200)]
Merge pull request #1791 from rubenk/reduce-nr-of-boost-cppflags
Set BOOST_CPPFLAGS and THREADFLAGS globally
Ruben Kerkhof [Tue, 7 Oct 2014 20:34:59 +0000 (22:34 +0200)]
Don't look in system include paths for pdns headers
Ruben Kerkhof [Tue, 7 Oct 2014 17:47:01 +0000 (19:47 +0200)]
Darwin has pthread in libc
Fixes the following warning:
clang: warning: argument unused during compilation: '-pthread'
Ruben Kerkhof [Tue, 7 Oct 2014 17:13:05 +0000 (19:13 +0200)]
Link binaries explicitly with libpthread if needed
bert hubert [Tue, 7 Oct 2014 15:18:58 +0000 (17:18 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 7 Oct 2014 15:14:34 +0000 (17:14 +0200)]
closes #1785 - compile on platforms w/o SO_TIMESTAMP
Peter van Dijk [Tue, 7 Oct 2014 15:04:18 +0000 (17:04 +0200)]
Merge pull request #1788 from rubenk/handle-missing-lua-better
Handle missing Lua when lua backend is enabled
Peter van Dijk [Tue, 7 Oct 2014 15:02:31 +0000 (17:02 +0200)]
Merge pull request #1789 from rubenk/dont-override-user-cflags
Don't override the user's FLAGS
Ruben Kerkhof [Tue, 7 Oct 2014 14:29:29 +0000 (16:29 +0200)]
Set BOOST_CPPFLAGS and THREADFLAGS globally
Should fix #1523
Peter van Dijk [Tue, 7 Oct 2014 11:18:27 +0000 (13:18 +0200)]
Merge pull request #1786 from zeha/cleanup-debian-dir
debian: Remove unused files, targets
Ruben Kerkhof [Tue, 7 Oct 2014 10:40:41 +0000 (12:40 +0200)]
Don't override the user's FLAGS
Fedora for instance sets -fstack-protector-strong
but we override that with -fstack-protector, which is less secure
Ideally we never touch CFLAGS, CXXFLAGS and the like but fixing
that is an exercise left for the reader.
Ruben Kerkhof [Tue, 7 Oct 2014 10:04:32 +0000 (12:04 +0200)]
Handle missing Lua when lua backend is enabled
The first case handles ./configure --with-modules='lua' --with-lua=no.
I don't know who would do such a thing, but better handle it in
./configure than bailing out later with a compiler error.
The second case handles ./configure --with-modules=lua when you don't have
Lua installed, which I actually observed since I assumed enabling the
lua backend would be enough, and I did't have the lua headers on my
system.
Fixes #1618
Peter van Dijk [Tue, 7 Oct 2014 09:51:16 +0000 (11:51 +0200)]
nit, thanks @nivadis
Christian Hofstaedtler [Tue, 7 Oct 2014 08:42:56 +0000 (10:42 +0200)]
debian: Remove unused files, targets
Peter van Dijk [Tue, 7 Oct 2014 08:29:24 +0000 (10:29 +0200)]
Merge pull request #1611 from rubenk/move-debian-pdns-to-debian
Remove old debian/ dir, move debian-pdns to debian
Peter van Dijk [Tue, 7 Oct 2014 08:14:55 +0000 (10:14 +0200)]
Merge pull request #1784 from rubenk/update-readme
Building from git requires newer tools
Ruben Kerkhof [Tue, 7 Oct 2014 07:42:01 +0000 (09:42 +0200)]
Adjust for debian-pdns/ to debian/ move
Ruben Kerkhof [Tue, 7 Oct 2014 07:41:36 +0000 (09:41 +0200)]
Adjust debian/rules for new paths
Ruben Kerkhof [Tue, 7 Oct 2014 07:39:05 +0000 (09:39 +0200)]
Move debian-pdns/ to debian/
Ruben Kerkhof [Tue, 7 Oct 2014 07:28:50 +0000 (09:28 +0200)]
Building from git requires newer tools
Peter van Dijk [Tue, 7 Oct 2014 05:23:36 +0000 (07:23 +0200)]
Merge pull request #1780 from rubenk/always-include-polarssl-in-distfile
Always include polarssl in dist
Peter van Dijk [Tue, 7 Oct 2014 05:20:57 +0000 (07:20 +0200)]
Merge pull request #1781 from rubenk/rename-pdns-init-script
Rename pdns init script to pdns.init
Ruben Kerkhof [Sun, 5 Oct 2014 14:15:06 +0000 (16:15 +0200)]
Rename pdns init script to pdns.init
Ruben Kerkhof [Mon, 6 Oct 2014 17:31:09 +0000 (19:31 +0200)]
Always include polarssl in dist
This is necessary since POLARSSL_SUBDIR
can be empty when configuring --with-system-polarssl, running
make distdir and building an rpm from that distdir afterwards.
Peter van Dijk [Mon, 6 Oct 2014 11:58:51 +0000 (13:58 +0200)]
Merge pull request #1766 from rubenk/fixup-static-binaries-check
Fixup the static binaries check
Peter van Dijk [Mon, 6 Oct 2014 11:24:38 +0000 (13:24 +0200)]
Merge pull request #1757 from rubenk/no-dvi
Don't build dvi
Peter van Dijk [Mon, 6 Oct 2014 10:31:21 +0000 (12:31 +0200)]
Merge pull request #1774 from rubenk/cleanup-remote-backend
Cleanup remote backend
Ruben Kerkhof [Sun, 5 Oct 2014 13:07:31 +0000 (15:07 +0200)]
Remove duplicate source
Ruben Kerkhof [Sun, 5 Oct 2014 13:07:03 +0000 (15:07 +0200)]
Sort sources
Ruben Kerkhof [Sun, 5 Oct 2014 13:06:13 +0000 (15:06 +0200)]
Break long lines
Ruben Kerkhof [Sun, 5 Oct 2014 12:51:05 +0000 (14:51 +0200)]
Link all files with -pthread
Ruben Kerkhof [Sun, 5 Oct 2014 12:49:25 +0000 (14:49 +0200)]
-rdynamic is not needed for these binaries
Ruben Kerkhof [Sun, 5 Oct 2014 12:44:44 +0000 (14:44 +0200)]
Link library with -ldl, not binaries
The library is the one doing the dlopen
Ruben Kerkhof [Sun, 5 Oct 2014 12:37:56 +0000 (14:37 +0200)]
Whitespace
Ruben Kerkhof [Sun, 5 Oct 2014 12:34:10 +0000 (14:34 +0200)]
Order headers
Ruben Kerkhof [Sun, 5 Oct 2014 12:32:47 +0000 (14:32 +0200)]
Don't look for pdns headers in system includes
Ruben Kerkhof [Sun, 5 Oct 2014 12:31:34 +0000 (14:31 +0200)]
Check for headers relative to top_srcdir
Ruben Kerkhof [Sun, 5 Oct 2014 12:18:00 +0000 (14:18 +0200)]
Add our own include paths first
Ruben Kerkhof [Sun, 5 Oct 2014 12:16:16 +0000 (14:16 +0200)]
Remove commented out code
Ruben Kerkhof [Sun, 5 Oct 2014 11:37:41 +0000 (13:37 +0200)]
Move BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS to library
Ruben Kerkhof [Sun, 5 Oct 2014 11:35:45 +0000 (13:35 +0200)]
Reorder
Ruben Kerkhof [Sun, 5 Oct 2014 11:31:12 +0000 (13:31 +0200)]
Split flags and libraries
Ruben Kerkhof [Sun, 5 Oct 2014 11:16:51 +0000 (13:16 +0200)]
Conditionalize linking with zeromq
Ruben Kerkhof [Sun, 5 Oct 2014 11:07:57 +0000 (13:07 +0200)]
Link library with polarssl
The test binaries link with the library
Ruben Kerkhof [Sun, 5 Oct 2014 11:04:56 +0000 (13:04 +0200)]
Link library with zeromq
The test binaries link with the library
Ruben Kerkhof [Sun, 5 Oct 2014 10:59:09 +0000 (12:59 +0200)]
Set preprocessor flag, not compiler
Ruben Kerkhof [Sun, 5 Oct 2014 10:45:21 +0000 (12:45 +0200)]
Movve LIBZMQ_CFLAGS to AM_CPPFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:43:43 +0000 (12:43 +0200)]
Remove duplicate POLARSSL_CFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:40:18 +0000 (12:40 +0200)]
Remove duplicate include paths
They're already specified in AM_CPPFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:33:09 +0000 (12:33 +0200)]
Don't set BOOST_CPPFLAGS and THREADFLAGS twice
They are already set in AM_CPPFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:31:01 +0000 (12:31 +0200)]
Disabling optimization has no effect
Our default CXXFLAGS set in configure.ac
override those settings.
Ruben Kerkhof [Sun, 5 Oct 2014 10:21:05 +0000 (12:21 +0200)]
Remote backend doesn't use C code
So there's no use in setting bot CFLAGS and CXXFLAGS
Peter van Dijk [Mon, 6 Oct 2014 09:44:16 +0000 (11:44 +0200)]
Merge pull request #1777 from rubenk/fix-pkcs11signer-includes
Use includes relative to top srcdir
Peter van Dijk [Mon, 6 Oct 2014 09:40:11 +0000 (11:40 +0200)]
Merge pull request #1773 from rubenk/fixup-ldap
Replace hardcoded lib with variable
Peter van Dijk [Mon, 6 Oct 2014 09:39:31 +0000 (11:39 +0200)]
Merge pull request #1772 from rubenk/fixup-mysql
Replace hardcoded -lmysqlclient -lz with variable
Peter van Dijk [Mon, 6 Oct 2014 09:39:04 +0000 (11:39 +0200)]
Merge pull request #1771 from rubenk/replace-lsqlite-with-var
Remove hardcoded -lsqlite3 with variable
Peter van Dijk [Mon, 6 Oct 2014 09:38:50 +0000 (11:38 +0200)]
Merge pull request #1768 from rubenk/fixup-lmdb
Replace hardcoded -llmdb with variable
Peter van Dijk [Mon, 6 Oct 2014 09:11:26 +0000 (11:11 +0200)]
Merge pull request #1761 from rubenk/fix-duplicate-includes
Don't add includes to both CPPFLAGS and CXXFLAGS
Peter van Dijk [Mon, 6 Oct 2014 08:39:00 +0000 (10:39 +0200)]
Merge pull request #1775 from rubenk/bootstrap
Don't run automake twice
Peter van Dijk [Mon, 6 Oct 2014 08:21:54 +0000 (10:21 +0200)]
Merge pull request #1765 from cmouse/replace-usleep-sqlite3
Replace usleep sqlite3
Peter van Dijk [Mon, 6 Oct 2014 08:03:53 +0000 (10:03 +0200)]
Merge pull request #1776 from rubenk/add-json-to-bundle
Add json to the Gem bundle
Ruben Kerkhof [Sun, 5 Oct 2014 15:34:12 +0000 (17:34 +0200)]
Add json to the Gem bundle
This fixes the unit tests on Fedora Rawhide
unittest_pipe.rb:5:in `require': cannot load such file -- json
(LoadError)
Ruben Kerkhof [Sun, 5 Oct 2014 15:22:58 +0000 (17:22 +0200)]
Use includes relative to top srcdir
This change is needed since I'd like to clean up
the includes in remotebackend, and that module
uses pkcs11signers.cc as source
Ruben Kerkhof [Sun, 5 Oct 2014 13:50:31 +0000 (15:50 +0200)]
Don't run automake twice
autoreconf already does that.
also run autoreconf in verbose mode
Ruben Kerkhof [Sat, 4 Oct 2014 22:08:23 +0000 (00:08 +0200)]
Replace hardcoded lib with variable
Ruben Kerkhof [Sat, 4 Oct 2014 21:33:00 +0000 (23:33 +0200)]
Replace hardcoded -lmysqlclient -lz with variable
Ruben Kerkhof [Sat, 4 Oct 2014 21:17:54 +0000 (23:17 +0200)]
Remove hardcoded -lsqlite3 with variable
Ruben Kerkhof [Sat, 4 Oct 2014 18:38:53 +0000 (20:38 +0200)]
Replace hardcoded -llmdb with variable
and rename the variable to be consistent
with what we do for other libs
Ruben Kerkhof [Sat, 4 Oct 2014 18:29:53 +0000 (20:29 +0200)]
Fixup the static binaries check
It did set a variable which wasn't used (debug)
and didn't display a result.
Now we display the default, and yes/no properly
This still doesn't change the fact that --enable-static-binaries
doesn't do the right thing, but I'll fix that in another patch.
Aki Tuomi [Sat, 4 Oct 2014 11:00:38 +0000 (14:00 +0300)]
Use Utility::usleep instead of usleep
Aki Tuomi [Sat, 4 Oct 2014 11:00:18 +0000 (14:00 +0300)]
Use nanosleep instead of usleep
Peter van Dijk [Fri, 3 Oct 2014 07:19:24 +0000 (09:19 +0200)]
Revert "polarssl: don't build empty objects"
This reverts commit
c32f4f4f824029ae19bce5dece40ec73a6addd76 .
We need padlock.c on i386; perhaps we need other files in other places as well.
Peter van Dijk [Fri, 3 Oct 2014 06:15:18 +0000 (08:15 +0200)]
Merge pull request #1759 from rubenk/polarssl-build-only-what-we-need
polarssl: don't build empty objects
Ruben Kerkhof [Wed, 1 Oct 2014 09:39:42 +0000 (11:39 +0200)]
Don't add includes to both CPPFLAGS and CXXFLAGS