]> granicus.if.org Git - pdns/log
pdns
10 years agoUse correct syntax for escapes
Aki Tuomi [Tue, 14 Oct 2014 17:27:45 +0000 (20:27 +0300)]
Use correct syntax for escapes

10 years agoMerge pull request #1818 from mind04/polarversion
bert hubert [Tue, 14 Oct 2014 07:29:37 +0000 (09:29 +0200)]
Merge pull request #1818 from mind04/polarversion

report built-in PolarSSL version

10 years agoreport built-in PolarSSL version
Kees Monshouwer [Mon, 13 Oct 2014 23:12:28 +0000 (01:12 +0200)]
report built-in PolarSSL version

10 years agoMerge pull request #1779 from rubenk/use-automake-variable-for-server-building
bert hubert [Mon, 13 Oct 2014 18:49:54 +0000 (20:49 +0200)]
Merge pull request #1779 from rubenk/use-automake-variable-for-server-building

Use an automake variable for server building

10 years agoMerge pull request #1813 from mind04/polar-cleanup
bert hubert [Mon, 13 Oct 2014 18:48:35 +0000 (20:48 +0200)]
Merge pull request #1813 from mind04/polar-cleanup

cleanup polar update

10 years agoMerge pull request #1815 from rubenk/remove-bootstrap.freebsd
bert hubert [Mon, 13 Oct 2014 18:46:28 +0000 (20:46 +0200)]
Merge pull request #1815 from rubenk/remove-bootstrap.freebsd

Remove outdated bootstrap.freebsd script

10 years agoRemove outdated bootstrap.freebsd script
Ruben Kerkhof [Mon, 13 Oct 2014 17:51:01 +0000 (19:51 +0200)]
Remove outdated bootstrap.freebsd script

The normal bootstrap script works just fine

10 years agocleanup polar update
Kees Monshouwer [Mon, 13 Oct 2014 14:24:34 +0000 (16:24 +0200)]
cleanup polar update

10 years agoMerge pull request #1812 from nlyan/minor-fixes
bert hubert [Mon, 13 Oct 2014 13:33:19 +0000 (15:33 +0200)]
Merge pull request #1812 from nlyan/minor-fixes

Memory allocating with new[] should be freed with delete[]

10 years agoalso dist polarssl platform.h with the recursor
Peter van Dijk [Mon, 13 Oct 2014 10:05:43 +0000 (12:05 +0200)]
also dist polarssl platform.h with the recursor

10 years agoMerge pull request #1808 from rubenk/upgrade-polarssl
Peter van Dijk [Mon, 13 Oct 2014 09:41:54 +0000 (11:41 +0200)]
Merge pull request #1808 from rubenk/upgrade-polarssl

Upgrade polarssl

10 years agoMerge pull request #1782 from zeha/api-key
Peter van Dijk [Mon, 13 Oct 2014 08:19:54 +0000 (10:19 +0200)]
Merge pull request #1782 from zeha/api-key

API: Replace HTTP Basic auth with static key in custom header

10 years agoMerge pull request #1804 from rubenk/conditionalize-lua
Peter van Dijk [Mon, 13 Oct 2014 07:36:26 +0000 (09:36 +0200)]
Merge pull request #1804 from rubenk/conditionalize-lua

Only add LUA_CFLAGS and LUA_LIBS if we have lua

10 years agoMerge pull request #1807 from rubenk/cleanup-linking-with-yahttp
Peter van Dijk [Mon, 13 Oct 2014 06:43:39 +0000 (08:43 +0200)]
Merge pull request #1807 from rubenk/cleanup-linking-with-yahttp

Cleanup linking with YaHTTP

10 years agoMerge pull request #1809 from rubenk/remove-last-remnant-of-boost-cppflags
Peter van Dijk [Mon, 13 Oct 2014 05:46:23 +0000 (07:46 +0200)]
Merge pull request #1809 from rubenk/remove-last-remnant-of-boost-cppflags

Remove leftover BOOST_CPPFLAGS and THREADFLAGS

10 years agoMerge pull request #1806 from mind04/lua-test
Peter van Dijk [Sun, 12 Oct 2014 19:48:10 +0000 (21:48 +0200)]
Merge pull request #1806 from mind04/lua-test

cleanup lua backend test dir

10 years agoMemory allocating with new[] should be freed with delete[]
Andrew Nelless [Sun, 12 Oct 2014 12:12:57 +0000 (13:12 +0100)]
Memory allocating with new[] should be freed with delete[]

10 years agoRemove leftover BOOST_CPPFLAGS and THREADFLAGS
Ruben Kerkhof [Sat, 11 Oct 2014 15:46:07 +0000 (17:46 +0200)]
Remove leftover BOOST_CPPFLAGS and THREADFLAGS

They're now set in configure.ac

10 years agoUse an automake variable for server building
Ruben Kerkhof [Sun, 5 Oct 2014 09:50:02 +0000 (11:50 +0200)]
Use an automake variable for server building

Since automake knows all possible values of this variable
up front, it can determine what goes into DIST_SUBDIRS
automagically.

10 years agoDisable aesni for now
Ruben Kerkhof [Sat, 11 Oct 2014 12:25:13 +0000 (14:25 +0200)]
Disable aesni for now

10 years agoUpgrade to polarssl 1.3.8
Ruben Kerkhof [Sat, 11 Oct 2014 12:24:13 +0000 (14:24 +0200)]
Upgrade to polarssl 1.3.8

Upstream commit 1910aa78a367

10 years agoRename polarssl-1.3.2 to polarssl
Ruben Kerkhof [Sat, 11 Oct 2014 11:16:27 +0000 (13:16 +0200)]
Rename polarssl-1.3.2 to polarssl

Makes upgrading in the future much easier
since we don't hardcode the version number everywhere.

10 years agoCleanup linking with YaHTTP
Ruben Kerkhof [Fri, 10 Oct 2014 18:49:19 +0000 (20:49 +0200)]
Cleanup linking with YaHTTP

Replace the hardcoded paths with variables.

10 years agocleanup lua backend test dir
Kees Monshouwer [Fri, 10 Oct 2014 18:10:44 +0000 (20:10 +0200)]
cleanup lua backend test dir

10 years agotravis: enable verbose builds, fixes #1778
Peter van Dijk [Fri, 10 Oct 2014 13:45:53 +0000 (15:45 +0200)]
travis: enable verbose builds, fixes #1778

10 years agoRevert "Fix compiling mydns module without gmysql module"
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.

10 years agoMerge pull request #1796 from rubenk/fix-compiling-mydns-as-module
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

10 years agodistribute pdns.conf-dist again, thanks @rubenk
Peter van Dijk [Thu, 9 Oct 2014 20:36:17 +0000 (22:36 +0200)]
distribute pdns.conf-dist again, thanks @rubenk

10 years agoOnly add LUA_CFLAGS and LUA_LIBS if we have lua
Ruben Kerkhof [Thu, 9 Oct 2014 20:04:19 +0000 (22:04 +0200)]
Only add LUA_CFLAGS and LUA_LIBS if we have lua

10 years agoMerge pull request #1790 from rubenk/cleanup-pdns-makefile-am
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

10 years agoMerge pull request #1803 from rubenk/drop-librt
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

10 years agoMerge pull request #1801 from rubenk/fixup-configure-error
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

10 years agoRemove extraneous bracket from configure.ac
Ruben Kerkhof [Thu, 9 Oct 2014 15:58:21 +0000 (17:58 +0200)]
Remove extraneous bracket from configure.ac

10 years agoWe don't use librt for anything
Ruben Kerkhof [Thu, 9 Oct 2014 10:13:48 +0000 (12:13 +0200)]
We don't use librt for anything

10 years agoMerge pull request #1795 from rubenk/travis-compile-luabackend
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

10 years agoMerge pull request #1797 from rubenk/dont-look-in-system-include-paths-for-pdns-headers
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

10 years agoadd some more spaces
bert hubert [Wed, 8 Oct 2014 16:34:13 +0000 (18:34 +0200)]
add some more spaces

10 years agosmall c++2011 fix for auth, more left to do
bert hubert [Wed, 8 Oct 2014 15:58:17 +0000 (17:58 +0200)]
small c++2011 fix for auth, more left to do

10 years agoWith this cleanup commit, pdns_recursor can compile as C++2011 (CXXFLAGS=-std=gnu...
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).

10 years agotravis: build the lua backend
Ruben Kerkhof [Wed, 8 Oct 2014 13:02:56 +0000 (15:02 +0200)]
travis: build the lua backend

10 years agoFix compiling mydns module without gmysql module
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.

10 years agoMerge branch 'alias'
bert hubert [Wed, 8 Oct 2014 11:10:35 +0000 (13:10 +0200)]
Merge branch 'alias'

10 years agoRemove unneeded flags from tools
Ruben Kerkhof [Mon, 6 Oct 2014 21:18:22 +0000 (23:18 +0200)]
Remove unneeded flags from tools

10 years agoMove some stuff up
Ruben Kerkhof [Mon, 6 Oct 2014 21:14:55 +0000 (23:14 +0200)]
Move some stuff up

No functional changes

10 years agoConditionalize sqlite libs
Ruben Kerkhof [Mon, 6 Oct 2014 21:09:58 +0000 (23:09 +0200)]
Conditionalize sqlite libs

10 years agoDon't add generated sources to _SOURCES
Ruben Kerkhof [Mon, 6 Oct 2014 21:01:50 +0000 (23:01 +0200)]
Don't add generated sources to _SOURCES

10 years agoBreak up long lines
Ruben Kerkhof [Mon, 6 Oct 2014 20:57:24 +0000 (22:57 +0200)]
Break up long lines

10 years agoAdd libdl to _LDADD instead of _LDFLAGS
Ruben Kerkhof [Mon, 6 Oct 2014 18:32:55 +0000 (20:32 +0200)]
Add libdl to _LDADD instead of _LDFLAGS

10 years agoAdd libraries with _LDADD
Ruben Kerkhof [Mon, 6 Oct 2014 18:05:00 +0000 (20:05 +0200)]
Add libraries with _LDADD

10 years agoReplace autoconf variable with automake variable
Ruben Kerkhof [Mon, 6 Oct 2014 18:02:47 +0000 (20:02 +0200)]
Replace autoconf variable with automake variable

10 years agoMerge pull request #1792 from rubenk/fix-unused-argument-warning-on-osx
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

10 years agoMerge pull request #1791 from rubenk/reduce-nr-of-boost-cppflags
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

10 years agoDon't look in system include paths for pdns headers
Ruben Kerkhof [Tue, 7 Oct 2014 20:34:59 +0000 (22:34 +0200)]
Don't look in system include paths for pdns headers

10 years agoDarwin has pthread in libc
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'

10 years agoLink binaries explicitly with libpthread if needed
Ruben Kerkhof [Tue, 7 Oct 2014 17:13:05 +0000 (19:13 +0200)]
Link binaries explicitly with libpthread if needed

10 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Tue, 7 Oct 2014 15:18:58 +0000 (17:18 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns

10 years agocloses #1785 - compile on platforms w/o SO_TIMESTAMP
bert hubert [Tue, 7 Oct 2014 15:14:34 +0000 (17:14 +0200)]
closes #1785 - compile on platforms w/o SO_TIMESTAMP

10 years agoMerge pull request #1788 from rubenk/handle-missing-lua-better
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

10 years agoMerge pull request #1789 from rubenk/dont-override-user-cflags
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

10 years agoSet BOOST_CPPFLAGS and THREADFLAGS globally
Ruben Kerkhof [Tue, 7 Oct 2014 14:29:29 +0000 (16:29 +0200)]
Set BOOST_CPPFLAGS and THREADFLAGS globally

Should fix #1523

10 years agoMerge pull request #1786 from zeha/cleanup-debian-dir
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

10 years agoDon't override the user's FLAGS
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.

10 years agoHandle missing Lua when lua backend is enabled
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

10 years agonit, thanks @nivadis
Peter van Dijk [Tue, 7 Oct 2014 09:51:16 +0000 (11:51 +0200)]
nit, thanks @nivadis

10 years agodebian: Remove unused files, targets
Christian Hofstaedtler [Tue, 7 Oct 2014 08:42:56 +0000 (10:42 +0200)]
debian: Remove unused files, targets

10 years agoMerge pull request #1611 from rubenk/move-debian-pdns-to-debian
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

10 years agoMerge pull request #1784 from rubenk/update-readme
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

10 years agoAdjust for debian-pdns/ to debian/ move
Ruben Kerkhof [Tue, 7 Oct 2014 07:42:01 +0000 (09:42 +0200)]
Adjust for debian-pdns/ to debian/ move

10 years agoAdjust debian/rules for new paths
Ruben Kerkhof [Tue, 7 Oct 2014 07:41:36 +0000 (09:41 +0200)]
Adjust debian/rules for new paths

10 years agoMove debian-pdns/ to debian/
Ruben Kerkhof [Tue, 7 Oct 2014 07:39:05 +0000 (09:39 +0200)]
Move debian-pdns/ to debian/

10 years agoBuilding from git requires newer tools
Ruben Kerkhof [Tue, 7 Oct 2014 07:28:50 +0000 (09:28 +0200)]
Building from git requires newer tools

10 years agoAPI: Replace HTTP Basic auth with static key in custom header
Christian Hofstaedtler [Mon, 6 Oct 2014 21:51:01 +0000 (23:51 +0200)]
API: Replace HTTP Basic auth with static key in custom header

Given that the key is sent in a custom header, this should prevent
any possible CSRF attacks.

Fixes #1769.

10 years agoMerge pull request #1780 from rubenk/always-include-polarssl-in-distfile
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

10 years agoMerge pull request #1781 from rubenk/rename-pdns-init-script
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

10 years agoRename 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

10 years agoAlways include polarssl in dist
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.

10 years agoMerge pull request #1766 from rubenk/fixup-static-binaries-check
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

10 years agoMerge pull request #1757 from rubenk/no-dvi
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

10 years agoMerge pull request #1774 from rubenk/cleanup-remote-backend
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

10 years agoRemove duplicate source
Ruben Kerkhof [Sun, 5 Oct 2014 13:07:31 +0000 (15:07 +0200)]
Remove duplicate source

10 years agoSort sources
Ruben Kerkhof [Sun, 5 Oct 2014 13:07:03 +0000 (15:07 +0200)]
Sort sources

10 years agoBreak long lines
Ruben Kerkhof [Sun, 5 Oct 2014 13:06:13 +0000 (15:06 +0200)]
Break long lines

10 years agoLink all files with -pthread
Ruben Kerkhof [Sun, 5 Oct 2014 12:51:05 +0000 (14:51 +0200)]
Link all files with -pthread

10 years ago-rdynamic is not needed for these binaries
Ruben Kerkhof [Sun, 5 Oct 2014 12:49:25 +0000 (14:49 +0200)]
-rdynamic is not needed for these binaries

10 years agoLink library with -ldl, not 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

10 years agoWhitespace
Ruben Kerkhof [Sun, 5 Oct 2014 12:37:56 +0000 (14:37 +0200)]
Whitespace

10 years agoOrder headers
Ruben Kerkhof [Sun, 5 Oct 2014 12:34:10 +0000 (14:34 +0200)]
Order headers

10 years agoDon't look for pdns headers in system includes
Ruben Kerkhof [Sun, 5 Oct 2014 12:32:47 +0000 (14:32 +0200)]
Don't look for pdns headers in system includes

10 years agoCheck for headers relative to top_srcdir
Ruben Kerkhof [Sun, 5 Oct 2014 12:31:34 +0000 (14:31 +0200)]
Check for headers relative to top_srcdir

10 years agoAdd our own include paths first
Ruben Kerkhof [Sun, 5 Oct 2014 12:18:00 +0000 (14:18 +0200)]
Add our own include paths first

10 years agoRemove commented out code
Ruben Kerkhof [Sun, 5 Oct 2014 12:16:16 +0000 (14:16 +0200)]
Remove commented out code

10 years agoMove BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS to library
Ruben Kerkhof [Sun, 5 Oct 2014 11:37:41 +0000 (13:37 +0200)]
Move BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS to library

10 years agoReorder
Ruben Kerkhof [Sun, 5 Oct 2014 11:35:45 +0000 (13:35 +0200)]
Reorder

10 years agoSplit flags and libraries
Ruben Kerkhof [Sun, 5 Oct 2014 11:31:12 +0000 (13:31 +0200)]
Split flags and libraries

10 years agoConditionalize linking with zeromq
Ruben Kerkhof [Sun, 5 Oct 2014 11:16:51 +0000 (13:16 +0200)]
Conditionalize linking with zeromq

10 years agoLink library with polarssl
Ruben Kerkhof [Sun, 5 Oct 2014 11:07:57 +0000 (13:07 +0200)]
Link library with polarssl

The test binaries link with the library

10 years agoLink library with zeromq
Ruben Kerkhof [Sun, 5 Oct 2014 11:04:56 +0000 (13:04 +0200)]
Link library with zeromq

The test binaries link with the library

10 years agoSet preprocessor flag, not compiler
Ruben Kerkhof [Sun, 5 Oct 2014 10:59:09 +0000 (12:59 +0200)]
Set preprocessor flag, not compiler

10 years agoMovve LIBZMQ_CFLAGS to AM_CPPFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:45:21 +0000 (12:45 +0200)]
Movve LIBZMQ_CFLAGS to AM_CPPFLAGS

10 years agoRemove duplicate POLARSSL_CFLAGS
Ruben Kerkhof [Sun, 5 Oct 2014 10:43:43 +0000 (12:43 +0200)]
Remove duplicate POLARSSL_CFLAGS