]> granicus.if.org Git - pdns/commitdiff
pare down zone2sql/zone2ldap dependencies so they don't depend on a working database...
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 2 Jan 2011 18:28:55 +0000 (18:28 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 2 Jan 2011 18:28:55 +0000 (18:28 +0000)
remove key-repository setting from bind backend

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1787 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/backends/bind/Makefile.am
pdns/backends/bind/bindbackend2.cc

index 5881c91bd8b05eb59d3a2fc313637d5e2169700a..262ae9694bfed0ce755c0c5d50010320bfe3f19b 100644 (file)
@@ -16,16 +16,16 @@ EXTRA_DIST=bindparser.cc bindparser.h
 
 zone2sql_SOURCES=bindparser.yy bindlexer.l \
 ../../arguments.cc ../../logger.cc zone2sql.cc ../../statbag.cc ../../misc.cc \
-../../unix_utility.cc ../../qtype.cc ../../dnspacket.cc \
+../../unix_utility.cc ../../qtype.cc ../../dns.cc \
 ../../zoneparser-tng.cc ../../dnsrecords.cc ../../sillyrecords.cc \
 ../../dnswriter.cc ../../rcpgenerator.cc ../../dnsparser.cc ../../base64.cc \
-../../nsecrecords.cc ../../dnssecinfra.cc ../../fsdnsseckeeper.cc ../../base32.cc
+../../nsecrecords.cc ../../dnssecinfra.cc  ../../base32.cc # ../../dbdnsseckeeper.cc
 
 zone2ldap_SOURCES=bindparser.yy bindlexer.l \
 ../../arguments.cc ../../logger.cc zone2ldap.cc ../../statbag.cc ../../misc.cc \
 ../../unix_utility.cc ../../qtype.cc  ../../zoneparser-tng.cc ../../dnsrecords.cc \
 ../../dnswriter.cc ../../rcpgenerator.cc ../../dnsparser.cc ../../base64.cc ../../sillyrecords.cc \
-../../nsecrecords.cc ../../dnssecinfra.cc ../../fsdnsseckeeper.cc ../../base32.cc
+../../nsecrecords.cc ../../dnssecinfra.cc  ../../base32.cc # ../../dbdnsseckeeper.cc
 
 zone2ldap_LDFLAGS=@THREADFLAGS@ $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) -L../../ext/polarssl/library
 zone2ldap_LDADD=$(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS) -lpolarssl
index 3dd3f5381c679d17b01defc0588d40fd26307c3a..bc07700b98c55975ba838a9d148d6f42e1bd1140 100644 (file)
@@ -601,7 +601,7 @@ void Bind2Backend::loadConfig(string* status)
         
         if(filenameChanged || !bbd->d_loaded || !bbd->current()) {
           L<<Logger::Info<<d_logprefix<<" parsing '"<<i->name<<"' from file '"<<i->filename<<"'"<<endl;
-          DNSSECKeeper dk(::arg()["key-repository"]);
+          DNSSECKeeper dk;
           NSEC3PARAMRecordContent ns3pr;
           dk.getNSEC3PARAM(i->name, &ns3pr);
           if(ns3pr.d_salt.empty())
@@ -838,7 +838,7 @@ bool Bind2Backend::getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string
 {
   shared_ptr<State> state = s_state;
   BB2DomainInfo& bbd = state->id_zone_map[id];  
-  DNSSECKeeper dk(::arg()["key-repository"]);
+  DNSSECKeeper dk;
   NSEC3PARAMRecordContent ns3pr;
   string auth=state->id_zone_map[id].d_name;