PORTNAME= garage DISTVERSION= 0.7.2 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://git.deuxfleurs.fr/Deuxfleurs/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ashish@FreeBSD.org COMMENT= Open-source distributed storage service LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= protoc:devel/protobuf LIB_DEPENDS= libsodium.so:security/libsodium USES= cargo pkgconfig CARGO_ENV+= SODIUM_USE_PKG_CONFIG=1 CARGO_INSTALL_PATH= src/garage CARGO_CRATES= aho-corasick-0.7.18 \ anyhow-1.0.56 \ arc-swap-1.5.0 \ arrayvec-0.5.2 \ assert-json-diff-2.0.1 \ async-stream-0.3.3 \ async-stream-impl-0.3.3 \ async-trait-0.1.52 \ atty-0.2.14 \ autocfg-1.1.0 \ aws-endpoint-0.8.0 \ aws-http-0.8.0 \ aws-sdk-s3-0.8.0 \ aws-sig-auth-0.8.0 \ aws-sigv4-0.8.0 \ aws-smithy-async-0.38.0 \ aws-smithy-client-0.38.0 \ aws-smithy-eventstream-0.38.0 \ aws-smithy-http-0.38.0 \ aws-smithy-http-tower-0.38.0 \ aws-smithy-types-0.38.0 \ aws-smithy-xml-0.38.0 \ aws-types-0.8.0 \ base64-0.13.0 \ bitflags-1.3.2 \ blake2-0.9.2 \ block-buffer-0.9.0 \ bumpalo-3.9.1 \ byteorder-1.4.3 \ bytes-0.6.0 \ bytes-1.1.0 \ bytes-utils-0.1.2 \ cc-1.0.73 \ cfg-if-1.0.0 \ cfg_aliases-0.1.1 \ chrono-0.4.19 \ clap-2.34.0 \ clap-3.1.18 \ clap_derive-3.1.18 \ clap_lex-0.2.0 \ cloudabi-0.0.3 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.2 \ crc32fast-1.3.2 \ crossbeam-channel-0.5.4 \ crossbeam-epoch-0.9.8 \ crossbeam-utils-0.8.8 \ crypto-mac-0.8.0 \ crypto-mac-0.10.1 \ crypto-mac-0.11.1 \ ct-logs-0.8.0 \ darling-0.13.1 \ darling_core-0.13.1 \ darling_macro-0.13.1 \ dashmap-4.0.2 \ derivative-2.2.0 \ digest-0.9.0 \ dirs-next-2.0.0 \ dirs-sys-next-0.1.2 \ doc-comment-0.3.3 \ dyn-clone-1.0.5 \ either-1.6.1 \ encoding_rs-0.8.30 \ env_logger-0.7.1 \ err-derive-0.2.4 \ err-derive-0.3.1 \ fastrand-1.7.0 \ fixedbitset-0.4.1 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.0.1 \ fs2-0.4.3 \ fuchsia-cprng-0.1.1 \ futures-0.3.21 \ futures-channel-0.3.21 \ futures-core-0.3.21 \ futures-executor-0.3.21 \ futures-io-0.3.21 \ futures-macro-0.3.21 \ futures-sink-0.3.21 \ futures-task-0.3.21 \ futures-util-0.3.21 \ fxhash-0.2.1 \ garage_model-0.5.1 \ garage_rpc-0.5.1 \ garage_table-0.5.1 \ garage_util-0.5.1 \ generic-array-0.14.5 \ gethostname-0.2.3 \ getrandom-0.2.5 \ git-version-0.3.5 \ git-version-macro-0.3.5 \ h2-0.3.12 \ hashbrown-0.11.2 \ heck-0.3.3 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hex-0.4.3 \ hexdump-0.1.1 \ hmac-0.10.1 \ hmac-0.11.0 \ http-0.2.6 \ http-body-0.4.4 \ http-range-0.1.5 \ httparse-1.6.0 \ httpdate-0.3.2 \ httpdate-1.0.2 \ humantime-1.3.0 \ hyper-0.14.18 \ hyper-rustls-0.22.1 \ hyper-timeout-0.4.1 \ hyper-tls-0.5.0 \ ident_case-1.0.1 \ idna-0.2.3 \ indexmap-1.8.0 \ instant-0.1.12 \ ipnetwork-0.18.0 \ itertools-0.4.19 \ itertools-0.10.3 \ itoa-1.0.1 \ jobserver-0.1.24 \ js-sys-0.3.56 \ json-patch-0.2.6 \ jsonpath_lib-0.3.0 \ k8s-openapi-0.13.1 \ kube-0.62.0 \ kube-client-0.62.0 \ kube-core-0.62.0 \ kube-derive-0.62.0 \ kube-runtime-0.62.0 \ kuska-handshake-0.2.0 \ kuska-sodiumoxide-0.2.5-0 \ lazy_static-1.4.0 \ libc-0.2.121 \ libsodium-sys-0.2.7 \ linked-hash-map-0.5.4 \ lock_api-0.4.6 \ log-0.4.16 \ matches-0.1.9 \ md-5-0.9.1 \ md5-0.7.0 \ memchr-2.4.1 \ memoffset-0.6.5 \ mime-0.3.16 \ minimal-lexical-0.2.1 \ mio-0.8.2 \ miow-0.3.7 \ multer-2.0.2 \ multimap-0.8.3 \ native-tls-0.2.8 \ netapp-0.3.1 \ netapp-0.4.4 \ nom-7.1.1 \ ntapi-0.3.7 \ num-integer-0.1.44 \ num-traits-0.2.14 \ num_cpus-1.13.1 \ num_threads-0.1.5 \ once_cell-1.10.0 \ opaque-debug-0.3.0 \ openssl-0.10.38 \ openssl-probe-0.1.5 \ openssl-src-111.18.0+1.1.1n \ openssl-sys-0.9.72 \ opentelemetry-0.17.0 \ opentelemetry-contrib-0.9.0 \ opentelemetry-otlp-0.10.0 \ opentelemetry-prometheus-0.10.0 \ ordered-float-2.10.0 \ os_str_bytes-6.0.1 \ parking_lot-0.11.2 \ parking_lot-0.12.0 \ parking_lot_core-0.8.5 \ parking_lot_core-0.9.1 \ pem-0.8.3 \ percent-encoding-2.1.0 \ petgraph-0.6.0 \ pin-project-0.4.29 \ pin-project-1.0.10 \ pin-project-internal-0.4.29 \ pin-project-internal-1.0.10 \ pin-project-lite-0.2.8 \ pin-utils-0.1.0 \ pkg-config-0.3.24 \ pnet_base-0.28.0 \ pnet_datalink-0.28.0 \ pnet_sys-0.28.0 \ ppv-lite86-0.2.16 \ pretty_env_logger-0.4.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro2-1.0.36 \ prometheus-0.13.0 \ prost-0.9.0 \ prost-build-0.9.0 \ prost-derive-0.9.0 \ prost-types-0.9.0 \ protobuf-2.27.1 \ quick-error-1.2.3 \ quick-xml-0.21.0 \ quote-1.0.16 \ rand-0.5.6 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.3.1 \ rand_core-0.4.2 \ rand_core-0.6.3 \ redox_syscall-0.2.11 \ redox_users-0.4.2 \ regex-1.5.5 \ regex-syntax-0.6.25 \ remove_dir_all-0.5.3 \ ring-0.16.20 \ rmp-0.8.10 \ rmp-serde-0.14.4 \ rmp-serde-0.15.5 \ roxmltree-0.14.1 \ rusoto_core-0.48.0 \ rusoto_credential-0.48.0 \ rusoto_signature-0.48.0 \ rustc_version-0.4.0 \ rustls-0.19.1 \ rustls-native-certs-0.5.0 \ rustversion-1.0.6 \ ryu-1.0.9 \ same-file-1.0.6 \ schannel-0.1.19 \ schemars-0.8.8 \ schemars_derive-0.8.8 \ scopeguard-1.1.0 \ sct-0.6.1 \ security-framework-2.6.1 \ security-framework-sys-2.6.1 \ semver-1.0.6 \ serde-1.0.137 \ serde-value-0.7.0 \ serde_bytes-0.11.5 \ serde_derive-1.0.137 \ serde_derive_internals-0.25.0 \ serde_json-1.0.81 \ serde_yaml-0.8.23 \ sha2-0.9.9 \ shlex-1.1.0 \ signal-hook-registry-1.4.0 \ slab-0.4.5 \ sled-0.34.7 \ smallvec-1.8.0 \ snafu-0.6.10 \ snafu-derive-0.6.10 \ socket2-0.4.4 \ spin-0.5.2 \ spin-0.9.2 \ static_init-1.0.2 \ static_init_macro-1.0.2 \ strsim-0.10.0 \ structopt-0.3.26 \ structopt-derive-0.4.18 \ subtle-2.4.1 \ syn-1.0.94 \ synstructure-0.12.6 \ tempfile-3.3.0 \ termcolor-1.1.3 \ textwrap-0.11.0 \ textwrap-0.15.0 \ thiserror-1.0.31 \ thiserror-impl-1.0.31 \ time-0.1.44 \ time-0.3.9 \ tinyvec-1.5.1 \ tinyvec_macros-0.1.0 \ tokio-1.17.0 \ tokio-io-timeout-1.2.0 \ tokio-macros-1.7.0 \ tokio-native-tls-0.3.0 \ tokio-rustls-0.22.0 \ tokio-stream-0.1.8 \ tokio-util-0.6.9 \ tokio-util-0.7.0 \ toml-0.5.8 \ tonic-0.6.2 \ tonic-build-0.6.2 \ tower-0.4.12 \ tower-http-0.1.3 \ tower-layer-0.3.1 \ tower-service-0.3.1 \ tracing-0.1.32 \ tracing-attributes-0.1.20 \ tracing-core-0.1.23 \ tracing-futures-0.2.5 \ treediff-3.0.2 \ try-lock-0.2.3 \ typenum-1.15.0 \ unicode-bidi-0.3.7 \ unicode-normalization-0.1.19 \ unicode-segmentation-1.9.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.2 \ untrusted-0.7.1 \ url-2.2.2 \ vcpkg-0.2.15 \ version_check-0.9.4 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.79 \ wasm-bindgen-backend-0.2.79 \ wasm-bindgen-macro-0.2.79 \ wasm-bindgen-macro-support-0.2.79 \ wasm-bindgen-shared-0.2.79 \ web-sys-0.3.56 \ webpki-0.21.4 \ which-4.2.5 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.32.0 \ windows_aarch64_msvc-0.32.0 \ windows_i686_gnu-0.32.0 \ windows_i686_msvc-0.32.0 \ windows_x86_64_gnu-0.32.0 \ windows_x86_64_msvc-0.32.0 \ xml-rs-0.8.4 \ xmlparser-0.13.3 \ xxhash-rust-0.8.4 \ yaml-rust-0.4.5 \ zeroize-1.5.4 \ zstd-0.9.2+zstd.1.5.1 \ zstd-safe-4.1.3+zstd.1.5.1 \ zstd-sys-1.6.2+zstd.1.5.1 SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: ${GREP} -F -Rl /etc/garage ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ -e 's,/etc/garage,${ETCDIR},g' post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name *\.bak" .include