rust-openssl: switch from deprecated config to config.toml
authortb <tb@openbsd.org>
Sun, 23 Jun 2024 13:53:21 +0000 (13:53 +0000)
committertb <tb@openbsd.org>
Sun, 23 Jun 2024 13:53:21 +0000 (13:53 +0000)
regress/lib/libssl/rust-openssl/Makefile
regress/lib/libssl/rust-openssl/config [deleted file]
regress/lib/libssl/rust-openssl/config.toml [new file with mode: 0644]

index a243995..dc17dee 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.4 2022/12/05 14:43:06 tb Exp $
+#      $OpenBSD: Makefile,v 1.5 2024/06/23 13:53:21 tb Exp $
 
 RUST_OPENSSL_TESTS =   /usr/local/share/rust-openssl-tests
 CARGO =                        /usr/local/bin/cargo
@@ -20,7 +20,7 @@ ${_WORKSPACE_COOKIE}:
        cp ${.CURDIR}/Cargo.toml ${.OBJDIR}/
 . endif
        mkdir -p .cargo
-       cp ${.CURDIR}/config .cargo/
+       cp ${.CURDIR}/config.toml .cargo/
        cd ${.OBJDIR} && ln -sf ${WORKSPACE_LINKS:S,^,${RUST_OPENSSL_TESTS}/,} .
        touch $@
 
diff --git a/regress/lib/libssl/rust-openssl/config b/regress/lib/libssl/rust-openssl/config
deleted file mode 100644 (file)
index a474747..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[net]
-       offline = true
-[source.modcargo]
-       directory = '/usr/local/share/rust-openssl-tests/modcargo-crates'
-[source.crates-io]
-       replace-with = 'modcargo'
diff --git a/regress/lib/libssl/rust-openssl/config.toml b/regress/lib/libssl/rust-openssl/config.toml
new file mode 100644 (file)
index 0000000..a474747
--- /dev/null
@@ -0,0 +1,6 @@
+[net]
+       offline = true
+[source.modcargo]
+       directory = '/usr/local/share/rust-openssl-tests/modcargo-crates'
+[source.crates-io]
+       replace-with = 'modcargo'