--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+MIT License
+
+Copyright (c) 2018 bert hubert
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
--- /dev/null
+EXTRA_DIST = \
+ LICENSE
+
+noinst_LTLIBRARIES = liblmdb-safe.la
+
+liblmdb-safe_la_SOURCES = \
+ lmdb-safe.cc lmdb-safe.hh \
+ lmdb-typed.cc lmdb-typed.hh
#pragma once
#include <iostream>
-#include "pdns/lmdb-safe.hh"
+#include "lmdb-safe.hh"
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/serialization/vector.hpp>
EXTRA_DIST = OBJECTFILES OBJECTLIBS
-liblmdbbackend_la_SOURCES = lmdbbackend.cc lmdbbackend.hh lmdb-typed.hh lmdb-typed.cc \
- ../../pdns/lmdb-safe.hh ../../pdns/lmdb-safe.cc
+liblmdbbackend_la_SOURCES = lmdbbackend.cc lmdbbackend.hh \
+ ../../ext/lmdb-safe/lmdb-typed.hh ../../ext/lmdb-safe/lmdb-typed.cc \
+ ../../ext/lmdb-safe/lmdb-safe.hh ../../ext/lmdb-safe/lmdb-safe.cc
liblmdbbackend_la_LDFLAGS = -module -avoid-version
liblmdbbackend_la_LIBADD = $(LMDB_LIBS) $(BOOST_SERIALIZATION_LIBS)
-lmdbbackend.lo lmdb-typed.lo ../../pdns/lmdb-safe.lo
+lmdbbackend.lo ../../ext/lmdb-safe/lmdb-typed.lo ../../ext/lmdb-safe/lmdb-safe.lo
#pragma once
#include "pdns/dnsbackend.hh"
-#include "lmdb-typed.hh"
+#include "ext/lmdb-safe/lmdb-typed.hh"
template<class T, typename std::enable_if<std::is_same<T, DNSName>::value,T>::type* = nullptr>
std::string keyConv(const T& t)
if HAVE_LMDB
dnsdist_LDADD += $(LMDB_LDFLAGS) $(LMDB_LIBS)
testrunner_LDADD += $(LMDB_LDFLAGS) $(LMDB_LIBS)
-dnsdist_SOURCES += lmdb-safe.cc lmdb-safe.hh
-testrunner_SOURCES += lmdb-safe.cc lmdb-safe.hh
+dnsdist_SOURCES += ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
+testrunner_SOURCES += ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
endif
if HAVE_DNS_OVER_TLS
#ifdef HAVE_LMDB
-#include "lmdb-safe.hh"
+#include "ext/lmdb-safe/lmdb-safe.hh"
class LMDBKVStore: public KeyValueStore
{
--- /dev/null
+../../../../ext/lmdb-safe/LICENSE
\ No newline at end of file
--- /dev/null
+../../../../ext/lmdb-safe/Makefile.am
\ No newline at end of file
--- /dev/null
+../../../../ext/lmdb-safe/lmdb-safe.cc
\ No newline at end of file
--- /dev/null
+../../../../ext/lmdb-safe/lmdb-safe.hh
\ No newline at end of file
+++ /dev/null
-../lmdb-safe.cc
\ No newline at end of file
+++ /dev/null
-../lmdb-safe.hh
\ No newline at end of file