From: Fred Morcos Date: Tue, 1 Aug 2023 13:13:55 +0000 (+0200) Subject: Meson: Preliminary Auth backend module build files X-Git-Tag: rec-5.1.0-alpha1~80^2~312 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efc0f825f4c21c9bbbd6d58af7da1605b995d43;p=thirdparty%2Fpdns.git Meson: Preliminary Auth backend module build files --- diff --git a/modules/bindbackend/meson.build b/modules/bindbackend/meson.build new file mode 100644 index 0000000000..ecec5b36f6 --- /dev/null +++ b/modules/bindbackend/meson.build @@ -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 index 0000000000..5de702a711 --- /dev/null +++ b/modules/geoipbackend/meson.build @@ -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 index 0000000000..3fc9812ea6 --- /dev/null +++ b/modules/gmysqlbackend/meson.build @@ -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 index 0000000000..6fbf2739ac --- /dev/null +++ b/modules/godbcbackend/meson.build @@ -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 index 0000000000..62dd0d9dc6 --- /dev/null +++ b/modules/gpgsqlbackend/meson.build @@ -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 index 0000000000..ad7904fb55 --- /dev/null +++ b/modules/gsqlite3backend/meson.build @@ -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 index 0000000000..64a1ebbfe4 --- /dev/null +++ b/modules/ldapbackend/meson.build @@ -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 index 0000000000..a8f8a7c537 --- /dev/null +++ b/modules/lmdbbackend/meson.build @@ -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 index 0000000000..6a286b7b97 --- /dev/null +++ b/modules/pipebackend/meson.build @@ -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 index 0000000000..bfb89f7695 --- /dev/null +++ b/modules/remotebackend/meson.build @@ -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 index 0000000000..2100bd303c --- /dev/null +++ b/modules/tinydnsbackend/meson.build @@ -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