From 78ea2243c6b9c7da1591ca5bd3db0b2ba2a8f44b Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Sat, 27 Dec 2025 23:48:17 +0100 Subject: bahnhof-dns: new application * New executable `bahnhof-dns`, which serves TXT records over DNS at `*.ril100.` and `*.leitpunkt.` * Extract definitions used by both executables into new Util module (slightly amended by stuebinm) --- bahnhof-name.cabal | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'bahnhof-name.cabal') diff --git a/bahnhof-name.cabal b/bahnhof-name.cabal index 02a7344..bd20dc0 100644 --- a/bahnhof-name.cabal +++ b/bahnhof-name.cabal @@ -20,8 +20,9 @@ executable bahnhof-name import: warnings main-is: Main.hs + other-modules: Util hs-source-dirs: app - build-depends: base ^>=4.18 + build-depends: base ^>=4.19 , fuzzyset >= 0.3.0 , fuzzyfind , text @@ -39,3 +40,22 @@ executable bahnhof-name , time default-language: GHC2021 ghc-options: -threaded -with-rtsopts=--nonmoving-gc + +executable bahnhof-dns + import: warnings + + main-is: BahnhofDNS.hs + other-modules: Util + hs-source-dirs: app + build-depends: base ^>=4.19 + , fuzzyset >= 0.3.0 + , fuzzyfind + , text + , vector + , cassava + , bytestring + , containers + , dns + , network + default-language: GHC2021 + ghc-options: -threaded -with-rtsopts=--nonmoving-gc -- cgit v1.2.3