$OpenBSD$

Remove TEST_DEPENDS on wget/curl by using ftp.

Index: test/test-databases/Makefile.local
--- test/test-databases/Makefile.local.orig
+++ test/test-databases/Makefile.local
@@ -7,13 +7,8 @@ dir := test/test-databases
 test_databases := $(dir)/database-v1.tar.xz
 
 %.tar.xz:
-	@exec 1>&2 ;\
-	if command -v wget >/dev/null ;\
-	then set -x; wget -nv -O $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
-	elif command -v curl >/dev/null ;\
-	then set -x; curl -L -s -o $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
-	else echo Cannot fetch databases, no wget nor curl available; exit 1 ;\
-	fi
+	@exec 2>&1; exec 1>/dev/null;\
+	set -x; ftp -o $@ ${TEST_DATABASE_MIRROR}/$(notdir $@)
 
 download-test-databases: ${test_databases}
 
