]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Preliminary Auth backend module build files
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 1 Aug 2023 13:13:55 +0000 (15:13 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:31 +0000 (13:28 +0100)
modules/bindbackend/meson.build [new file with mode: 0644]
modules/geoipbackend/meson.build [new file with mode: 0644]
modules/gmysqlbackend/meson.build [new file with mode: 0644]
modules/godbcbackend/meson.build [new file with mode: 0644]
modules/gpgsqlbackend/meson.build [new file with mode: 0644]
modules/gsqlite3backend/meson.build [new file with mode: 0644]
modules/ldapbackend/meson.build [new file with mode: 0644]
modules/lmdbbackend/meson.build [new file with mode: 0644]
modules/pipebackend/meson.build [new file with mode: 0644]
modules/remotebackend/meson.build [new file with mode: 0644]
modules/tinydnsbackend/meson.build [new file with mode: 0644]

diff --git a/modules/bindbackend/meson.build b/modules/bindbackend/meson.build
new file mode 100644 (file)
index 0000000..ecec5b3
--- /dev/null
@@ -0,0 +1,3 @@
+sources = ['bindbackend2.cc', 'binddnssec.cc']
+
+static_library('bindbackend', sources)
diff --git a/modules/geoipbackend/meson.build b/modules/geoipbackend/meson.build
new file mode 100644 (file)
index 0000000..5de702a
--- /dev/null
@@ -0,0 +1,13 @@
+sources = [
+  'geoipbackend.cc',
+  'geoipinterface-dat.cc',
+  'geoipinterface-mmdb.cc',
+  'geoipinterface.cc',
+]
+
+if geoip_module
+  static_library('geoipbackend', sources)
+endif
+
+if geoip_dyn_module
+endif
diff --git a/modules/gmysqlbackend/meson.build b/modules/gmysqlbackend/meson.build
new file mode 100644 (file)
index 0000000..3fc9812
--- /dev/null
@@ -0,0 +1,3 @@
+sources = ['gmysqlbackend.cc', 'smysql.cc']
+
+static_library('gmysqlbackend', sources)
diff --git a/modules/godbcbackend/meson.build b/modules/godbcbackend/meson.build
new file mode 100644 (file)
index 0000000..6fbf273
--- /dev/null
@@ -0,0 +1,3 @@
+sources = ['godbcbackend.cc', 'sodbc.cc']
+
+static_library('godbcbackend', sources)
diff --git a/modules/gpgsqlbackend/meson.build b/modules/gpgsqlbackend/meson.build
new file mode 100644 (file)
index 0000000..62dd0d9
--- /dev/null
@@ -0,0 +1,8 @@
+sources = ['gpgsqlbackend.cc', 'spgsql.cc']
+
+if gpgsql_module
+  static_library('gpgsqlbackend', sources)
+endif
+
+if gpgsql_dyn_module
+endif
diff --git a/modules/gsqlite3backend/meson.build b/modules/gsqlite3backend/meson.build
new file mode 100644 (file)
index 0000000..ad7904f
--- /dev/null
@@ -0,0 +1,8 @@
+sources = ['gsqlite3backend.cc']
+
+if gsqlite3_module
+  static_library('gsqlite3backend', sources)
+endif
+
+if gsqlite3_dyn_module
+endif
diff --git a/modules/ldapbackend/meson.build b/modules/ldapbackend/meson.build
new file mode 100644 (file)
index 0000000..64a1ebb
--- /dev/null
@@ -0,0 +1,8 @@
+sources = ['ldapauthenticator.cc', 'ldapbackend.cc', 'ldaputils.cc', 'master.cc', 'native.cc', 'powerldap.cc']
+
+if ldap_module
+  static_library('ldapbackend', sources)
+endif
+
+if ldap_dyn_module
+endif
diff --git a/modules/lmdbbackend/meson.build b/modules/lmdbbackend/meson.build
new file mode 100644 (file)
index 0000000..a8f8a7c
--- /dev/null
@@ -0,0 +1,13 @@
+sources = [
+  # TODO Put this in a libpdns-lmdb library
+  '../../ext/lmdb-safe/lmdb-safe.cc',
+  '../../ext/lmdb-safe/lmdb-typed.cc',
+  'lmdbbackend.cc',
+]
+
+if lmdb_module
+  static_library('lmdbbackend', sources)
+endif
+
+if lmdb_dyn_module
+endif
diff --git a/modules/pipebackend/meson.build b/modules/pipebackend/meson.build
new file mode 100644 (file)
index 0000000..6a286b7
--- /dev/null
@@ -0,0 +1,3 @@
+sources = ['coprocess.cc', 'pipebackend.cc']
+
+static_library('pipebackend', sources)
diff --git a/modules/remotebackend/meson.build b/modules/remotebackend/meson.build
new file mode 100644 (file)
index 0000000..bfb89f7
--- /dev/null
@@ -0,0 +1,49 @@
+sources = [
+  # TODO Change this into a libpdns library
+  '../../pdns/arguments.cc',
+  '../../pdns/auth-packetcache.cc',
+  '../../pdns/auth-querycache.cc',
+  '../../pdns/auth-zonecache.cc',
+  '../../pdns/base32.cc',
+  '../../pdns/base64.cc',
+  '../../pdns/dns.cc',
+  '../../pdns/dns_random_urandom.cc',
+  '../../pdns/dnsbackend.cc',
+  '../../pdns/dnslabeltext.cc',
+  '../../pdns/dnsname.cc',
+  '../../pdns/dnspacket.cc',
+  '../../pdns/dnsparser.cc',
+  '../../pdns/dnsrecords.cc',
+  '../../pdns/dnssecinfra.cc',
+  '../../pdns/dnswriter.cc',
+  '../../pdns/ednscookies.cc',
+  '../../pdns/ednsoptions.cc',
+  '../../pdns/ednssubnet.cc',
+  '../../pdns/gss_context.cc',
+  '../../pdns/iputils.cc',
+  '../../pdns/json.cc',
+  '../../pdns/logger.cc',
+  '../../pdns/misc.cc',
+  '../../pdns/nameserver.cc',
+  '../../pdns/nsecrecords.cc',
+  '../../pdns/qtype.cc',
+  '../../pdns/rcpgenerator.cc',
+  '../../pdns/shuffle.cc',
+  '../../pdns/sillyrecords.cc',
+  '../../pdns/statbag.cc',
+  '../../pdns/svc-records.cc',
+  '../../pdns/ueberbackend.cc',
+  '../../pdns/unix_utility.cc',
+  'httpconnector.cc',
+  'pipeconnector.cc',
+  'remotebackend.cc',
+  'unixconnector.cc',
+  'zmqconnector.cc',
+]
+
+if remote_module
+  static_library('remotebackend', sources)
+endif
+
+if remote_dyn_module
+endif
diff --git a/modules/tinydnsbackend/meson.build b/modules/tinydnsbackend/meson.build
new file mode 100644 (file)
index 0000000..2100bd3
--- /dev/null
@@ -0,0 +1,12 @@
+sources = [
+  # TODO Change this into a libpdns library
+  '../../pdns/cdb.cc',
+  'tinydnsbackend.cc',
+]
+
+if tinydns_module
+  static_library('tinydnsbackend', sources)
+endif
+
+if tinydns_dyn_module
+endif