2023-08-16 22:26:55 +00:00
|
|
|
COMMENT = source of the rust-openssl crate for regression testing
|
|
|
|
|
|
|
|
# Follows HEAD
|
2023-09-28 21:55:12 +00:00
|
|
|
VERSION = 20230928
|
2023-08-16 22:26:55 +00:00
|
|
|
DISTNAME = rust-openssl-tests-${VERSION}
|
|
|
|
|
|
|
|
GH_ACCOUNT = sfackler
|
|
|
|
GH_PROJECT = rust-openssl
|
2023-09-28 21:55:12 +00:00
|
|
|
GH_COMMIT = 67cac000c60af00e8a6a7cd7f9592f721f3b56ee
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
CATEGORIES = security devel
|
|
|
|
|
|
|
|
MAINTAINER = Theo Buehler <tb@openbsd.org>
|
|
|
|
|
|
|
|
# Various, mostly MIT/Apache2, see crates.inc for details
|
|
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
|
|
MODULES = devel/cargo
|
|
|
|
|
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
|
|
|
OPENSSL_TESTS_DIR = ${PREFIX}/share/rust-openssl-tests
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${OPENSSL_TESTS_DIR}
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
pax -rw -s '/^.*${PATCHORIG}$$//' -s '/.*\.cargo\.ok//' \
|
|
|
|
-s '/.*\.cargo_vcs_info\.json//' . ${OPENSSL_TESTS_DIR}
|
|
|
|
|
|
|
|
.include "crates.inc"
|
|
|
|
|
2023-09-08 05:21:37 +00:00
|
|
|
.for _n _v in ${MODCARGO_CRATES}
|
|
|
|
VER_${_n} = ${_n}-${_v}
|
|
|
|
SUBST_VARS += VER_${_n}
|
|
|
|
.endfor
|
|
|
|
|
2023-08-16 22:26:55 +00:00
|
|
|
.include <bsd.port.mk>
|