Permalink
Browse files

move random backend to modules

  • Loading branch information...
1 parent a42dbd9 commit bb4a57397f03a506e8ba64880cc8d6f2aa22fad6 @mind04 mind04 committed with mind04 Apr 30, 2013
View
@@ -6,7 +6,7 @@ before_script:
- sudo apt-get install -qq libboost-all-dev libtolua-dev bc libcdb-dev libnet-dns-perl ldnsutils dnsutils
script:
- ./bootstrap
- - ./configure --with-modules='gmysql' --with-sqlite3
+ - ./configure --with-modules='gmysql random' --with-dynmodules='' --with-sqlite3
- make -j 4
- cd regression-tests
- touch verify-dnssec-zone/skip
View
@@ -271,7 +271,7 @@ fi
-modules="gmysql geo"
+modules="gmysql geo random"
AC_ARG_WITH(modules, AC_HELP_STRING([--with-modules],[which backends to compile with]),
[
modules="$withval"
@@ -738,4 +738,5 @@ modules/gpgsqlbackend/Makefile modules/ldapbackend/Makefile \
modules/gsqlite3backend/Makefile \
modules/goraclebackend/Makefile modules/mydnsbackend/Makefile \
modules/luabackend/Makefile modules/tinydnsbackend/Makefile \
-modules/remotebackend/Makefile)
+modules/remotebackend/Makefile \
+modules/randombackend/Makefile)
View
@@ -1,2 +1,2 @@
SUBDIRS=@moduledirs@
-DIST_SUBDIRS=db2backend geobackend gmysqlbackend godbcbackend goraclebackend gpgsqlbackend gsqlite3backend ldapbackend luabackend mydnsbackend opendbxbackend oraclebackend pipebackend xdbbackend tinydnsbackend remotebackend
+DIST_SUBDIRS=db2backend geobackend gmysqlbackend godbcbackend goraclebackend gpgsqlbackend gsqlite3backend ldapbackend luabackend mydnsbackend opendbxbackend oraclebackend pipebackend xdbbackend tinydnsbackend remotebackend randombackend
@@ -0,0 +1,5 @@
+AM_CPPFLAGS=@THREADFLAGS@
+lib_LTLIBRARIES = librandombackend.la
+
+librandombackend_la_SOURCES=randombackend.cc
+librandombackend_la_LDFLAGS=-module -avoid-version
@@ -0,0 +1 @@
+randombackend.o
No changes.
@@ -16,13 +16,13 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "utility.hh"
-#include "dnsbackend.hh"
-#include "dns.hh"
-#include "dnsbackend.hh"
-#include "dnspacket.hh"
-#include "ahuexception.hh"
-#include "logger.hh"
+#include "pdns/utility.hh"
+#include "pdns/dnsbackend.hh"
+#include "pdns/dns.hh"
+#include "pdns/dnsbackend.hh"
+#include "pdns/dnspacket.hh"
+#include "pdns/ahuexception.hh"
+#include "pdns/logger.hh"
#include <boost/algorithm/string.hpp>
/* FIRST PART */
View
@@ -52,7 +52,7 @@ ueberbackend.hh pdns.conf-dist ws.hh ws.cc webserver.cc webserver.hh \
session.cc session.hh misc.cc misc.hh receiver.cc ueberbackend.cc \
dynlistener.cc dynlistener.hh dynhandler.cc dynhandler.hh \
resolver.hh resolver.cc slavecommunicator.cc mastercommunicator.cc communicator.cc communicator.hh dnsproxy.cc \
-dnsproxy.hh randombackend.cc unix_utility.cc common_startup.cc \
+dnsproxy.hh unix_utility.cc common_startup.cc \
utility.hh iputils.hh common_startup.hh unix_semaphore.cc \
backends/bind/bindbackend2.cc backends/bind/binddnssec.cc bind-dnssec.schema.sqlite3.sql.h \
backends/bind/bindparser.cc backends/bind/bindlexer.c \
@@ -103,7 +103,7 @@ pdnssec_SOURCES=pdnssec.cc dbdnsseckeeper.cc sstuff.hh dnsparser.cc dnsparser.hh
backends/bind/bindparser.cc backends/bind/bindlexer.c \
backends/gsql/gsqlbackend.cc \
backends/gsql/gsqlbackend.hh backends/gsql/ssql.hh zoneparser-tng.cc \
- dynlistener.cc dns.cc randombackend.cc dnssecsigner.cc polarrsakeyinfra.cc md5.cc \
+ dynlistener.cc dns.cc dnssecsigner.cc polarrsakeyinfra.cc md5.cc \
signingpipe.cc dnslabeltext.cc ednssubnet.cc cachecleaner.hh \
aes/aescpp.h \
aes/aescrypt.c aes/aes.h aes/aeskey.c aes/aes_modes.c aes/aesopt.h \

0 comments on commit bb4a573

Please sign in to comment.