freebsd-ports/security/solana/Makefile
Yuri Victorovich e9f4c9c345 security/solana: Update 1.7.2 -> 1.7.3
Reported by:	portscout
2021-06-27 01:29:43 -07:00

570 lines
12 KiB
Makefile

PORTNAME= solana
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.3
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Web-scale blockchain for decentralized apps and marketplaces
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= Fails on 32-bit systems: https://github.com/solana-labs/solana/issues/16811
BUILD_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
LIB_DEPENDS= libhidapi.so:comms/hidapi
USES= cargo pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= solana-labs
CARGO_CRATES= Inflector-0.11.4 \
addr2line-0.12.1 \
adler32-1.0.4 \
ahash-0.4.6 \
ahash-0.6.1 \
aho-corasick-0.7.10 \
ansi_term-0.11.0 \
anyhow-1.0.38 \
arc-swap-0.4.8 \
arc-swap-1.2.0 \
arrayref-0.3.6 \
arrayvec-0.5.1 \
ascii-0.9.3 \
assert_cmd-1.0.2 \
assert_matches-1.3.0 \
async-stream-0.3.0 \
async-stream-impl-0.3.0 \
async-trait-0.1.42 \
atty-0.2.14 \
autocfg-0.1.7 \
autocfg-1.0.0 \
backoff-0.3.0 \
backtrace-0.3.48 \
base-x-0.2.6 \
base32-0.4.0 \
base64-0.9.3 \
base64-0.10.1 \
base64-0.11.0 \
base64-0.12.3 \
base64-0.13.0 \
bincode-1.3.1 \
bindgen-0.57.0 \
bitflags-1.2.1 \
blake2b_simd-0.5.10 \
blake3-0.3.7 \
block-buffer-0.7.3 \
block-buffer-0.9.0 \
block-padding-0.1.5 \
block-padding-0.2.1 \
borsh-0.8.1 \
borsh-derive-0.8.1 \
borsh-derive-internal-0.8.1 \
borsh-schema-derive-internal-0.8.1 \
bs58-0.3.1 \
bstr-0.2.13 \
bumpalo-3.3.0 \
bv-0.11.1 \
byte-tools-0.3.1 \
byte-unit-4.0.9 \
bytecount-0.6.0 \
byteorder-1.3.4 \
bytes-0.4.12 \
bytes-0.5.4 \
bytes-1.0.1 \
bytesize-1.0.1 \
bzip2-0.3.3 \
bzip2-sys-0.1.9+1.0.8 \
cargo_metadata-0.12.0 \
cast-0.2.3 \
cc-1.0.67 \
cexpr-0.4.0 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chrono-0.4.19 \
chrono-humanize-0.2.1 \
clang-sys-1.2.0 \
clap-2.33.3 \
cloudabi-0.0.3 \
cloudabi-0.1.0 \
combine-3.8.1 \
console-0.11.3 \
console-0.14.1 \
const_fn-0.4.5 \
constant_time_eq-0.1.5 \
core-foundation-0.9.1 \
core-foundation-sys-0.8.2 \
core_affinity-0.5.10 \
cpuid-bool-0.1.2 \
crc32fast-1.2.0 \
criterion-stats-0.3.0 \
crossbeam-channel-0.4.4 \
crossbeam-channel-0.5.0 \
crossbeam-deque-0.7.3 \
crossbeam-deque-0.8.0 \
crossbeam-epoch-0.8.2 \
crossbeam-epoch-0.9.1 \
crossbeam-queue-0.2.3 \
crossbeam-utils-0.7.2 \
crossbeam-utils-0.8.1 \
crunchy-0.2.2 \
crypto-mac-0.7.0 \
crypto-mac-0.8.0 \
crypto-mac-0.9.1 \
crypto-mac-0.10.0 \
csv-1.1.3 \
csv-core-0.1.10 \
ctrlc-3.1.5 \
curve25519-dalek-2.1.0 \
curve25519-dalek-3.0.0 \
dashmap-4.0.2 \
derivation-path-0.1.3 \
derivative-2.1.1 \
derive_more-0.99.11 \
dialoguer-0.6.2 \
difference-2.0.0 \
digest-0.8.1 \
digest-0.9.0 \
dir-diff-0.3.2 \
dirs-next-2.0.0 \
dirs-sys-next-0.1.1 \
discard-1.0.4 \
dlopen-0.1.8 \
dlopen_derive-0.1.4 \
doc-comment-0.3.3 \
dtoa-0.4.5 \
ed25519-1.0.1 \
ed25519-dalek-1.0.1 \
ed25519-dalek-bip32-0.1.1 \
educe-0.4.13 \
either-1.5.3 \
encode_unicode-0.3.6 \
encoding_rs-0.8.23 \
enum-iterator-0.6.0 \
enum-iterator-derive-0.6.0 \
enum-ordinalize-3.1.8 \
env_logger-0.8.3 \
failure-0.1.8 \
failure_derive-0.1.8 \
fake-simd-0.1.2 \
fast-math-0.1.1 \
fd-lock-2.0.0 \
feature-probe-0.1.1 \
filedescriptor-0.8.0 \
filetime-0.2.10 \
flate2-1.0.14 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.0.0 \
fs_extra-1.2.0 \
fuchsia-cprng-0.1.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futures-0.1.29 \
futures-0.3.8 \
futures-channel-0.3.8 \
futures-core-0.3.8 \
futures-executor-0.3.8 \
futures-io-0.3.8 \
futures-macro-0.3.8 \
futures-sink-0.3.8 \
futures-task-0.3.8 \
futures-util-0.3.8 \
gag-1.0.0 \
generic-array-0.12.3 \
generic-array-0.14.3 \
gethostname-0.2.1 \
getrandom-0.1.14 \
getrandom-0.2.0 \
gimli-0.21.0 \
glob-0.3.0 \
globset-0.4.5 \
goauth-0.10.0 \
goblin-0.3.0 \
h2-0.2.5 \
h2-0.3.0 \
half-1.6.0 \
hash32-0.1.1 \
hashbrown-0.8.2 \
hashbrown-0.9.1 \
hermit-abi-0.1.13 \
hex-0.4.2 \
hidapi-1.2.5 \
histogram-0.6.9 \
hmac-0.7.1 \
hmac-0.8.1 \
hmac-0.9.0 \
hmac-0.10.1 \
hmac-drbg-0.2.0 \
http-0.2.1 \
http-body-0.3.1 \
http-body-0.4.0 \
httparse-1.3.4 \
httpdate-0.3.2 \
humantime-2.0.1 \
hyper-0.10.16 \
hyper-0.13.10 \
hyper-0.14.3 \
hyper-rustls-0.22.1 \
hyper-tls-0.5.0 \
idna-0.1.5 \
idna-0.2.0 \
ieee754-0.2.6 \
indexed-0.1.1 \
indexmap-1.5.1 \
indicatif-0.15.0 \
input_buffer-0.3.1 \
instant-0.1.6 \
iovec-0.1.4 \
ipnet-2.3.0 \
itertools-0.9.0 \
itoa-0.4.5 \
jobserver-0.1.21 \
js-sys-0.3.47 \
jsonrpc-client-transports-17.1.0 \
jsonrpc-core-17.1.0 \
jsonrpc-core-client-17.1.0 \
jsonrpc-derive-17.1.0 \
jsonrpc-http-server-17.1.0 \
jsonrpc-ipc-server-17.1.0 \
jsonrpc-pubsub-17.1.0 \
jsonrpc-server-utils-17.1.0 \
jsonrpc-ws-server-17.1.0 \
keccak-0.1.0 \
kernel32-sys-0.2.2 \
language-tags-0.2.2 \
lazy_static-1.4.0 \
lazycell-1.2.1 \
libc-0.2.81 \
libloading-0.6.2 \
libloading-0.7.0 \
librocksdb-sys-6.17.3 \
libsecp256k1-0.3.5 \
linked-hash-map-0.5.3 \
lock_api-0.3.4 \
lock_api-0.4.1 \
log-0.3.9 \
log-0.4.11 \
lru-0.6.1 \
matches-0.1.8 \
maybe-uninit-2.0.0 \
memchr-1.0.2 \
memchr-2.3.3 \
memmap2-0.1.0 \
memoffset-0.5.4 \
memoffset-0.6.1 \
mime-0.2.6 \
mime-0.3.16 \
miniz_oxide-0.3.6 \
mio-0.6.22 \
mio-0.7.6 \
mio-extras-2.0.6 \
mio-named-pipes-0.1.7 \
mio-uds-0.6.8 \
miow-0.2.2 \
miow-0.3.6 \
native-tls-0.2.7 \
net2-0.2.37 \
nix-0.17.0 \
nix-0.19.0 \
nom-3.2.1 \
nom-5.1.1 \
ntapi-0.3.4 \
num-bigint-0.3.1 \
num-derive-0.3.2 \
num-integer-0.1.42 \
num-traits-0.2.11 \
num_cpus-1.13.0 \
num_enum-0.5.1 \
num_enum_derive-0.5.1 \
number_prefix-0.3.0 \
object-0.19.0 \
once_cell-1.5.2 \
opaque-debug-0.2.3 \
opaque-debug-0.3.0 \
openssl-0.10.29 \
openssl-probe-0.1.2 \
openssl-sys-0.9.57 \
ouroboros-0.5.1 \
ouroboros_macro-0.5.1 \
parity-tokio-ipc-0.8.0 \
parity-ws-0.10.0 \
parking_lot-0.9.0 \
parking_lot-0.10.2 \
parking_lot-0.11.0 \
parking_lot_core-0.6.2 \
parking_lot_core-0.7.2 \
parking_lot_core-0.8.0 \
pbkdf2-0.3.0 \
pbkdf2-0.4.0 \
pbkdf2-0.6.0 \
peeking_take_while-0.1.2 \
percent-encoding-1.0.1 \
percent-encoding-2.1.0 \
pest-2.1.3 \
pickledb-0.4.1 \
pin-project-0.4.23 \
pin-project-1.0.1 \
pin-project-internal-0.4.23 \
pin-project-internal-1.0.1 \
pin-project-lite-0.1.5 \
pin-project-lite-0.2.4 \
pin-utils-0.1.0 \
pkg-config-0.3.17 \
plain-0.2.3 \
ppv-lite86-0.2.8 \
predicates-1.0.4 \
predicates-core-1.0.0 \
predicates-tree-1.0.0 \
pretty-hex-0.2.1 \
proc-macro-crate-0.1.5 \
proc-macro-hack-0.5.19 \
proc-macro-nested-0.1.4 \
proc-macro2-0.4.30 \
proc-macro2-1.0.24 \
prost-0.7.0 \
prost-derive-0.7.0 \
prost-types-0.7.0 \
qstring-0.7.2 \
quote-0.6.13 \
quote-1.0.6 \
rand-0.4.6 \
rand-0.6.5 \
rand-0.7.3 \
rand-0.8.3 \
rand_chacha-0.1.1 \
rand_chacha-0.2.2 \
rand_chacha-0.3.0 \
rand_core-0.3.1 \
rand_core-0.4.2 \
rand_core-0.5.1 \
rand_core-0.6.2 \
rand_hc-0.1.0 \
rand_hc-0.2.0 \
rand_hc-0.3.0 \
rand_isaac-0.1.1 \
rand_jitter-0.1.4 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_pcg-0.2.1 \
rand_xorshift-0.1.1 \
raptorq-1.4.2 \
rayon-1.5.0 \
rayon-core-1.9.0 \
rdrand-0.4.0 \
redox_syscall-0.1.56 \
redox_users-0.3.4 \
reed-solomon-erasure-4.0.2 \
regex-1.4.5 \
regex-automata-0.1.9 \
regex-syntax-0.6.23 \
remove_dir_all-0.5.0 \
reqwest-0.11.2 \
retain_mut-0.1.2 \
ring-0.16.20 \
rocksdb-0.16.0 \
rpassword-4.0.5 \
rust-argon2-0.7.0 \
rustc-demangle-0.1.16 \
rustc-hash-1.1.0 \
rustc_version-0.2.3 \
rustls-0.19.0 \
rustversion-1.0.4 \
ryu-1.0.4 \
safemem-0.3.3 \
same-file-1.0.6 \
schannel-0.1.19 \
scopeguard-1.1.0 \
scroll-0.10.1 \
scroll_derive-0.10.2 \
sct-0.6.0 \
security-framework-2.1.2 \
security-framework-sys-2.1.1 \
semver-0.9.0 \
semver-0.11.0 \
semver-parser-0.7.0 \
semver-parser-0.10.1 \
serde-1.0.126 \
serde_bytes-0.11.5 \
serde_cbor-0.11.1 \
serde_derive-1.0.126 \
serde_json-1.0.62 \
serde_urlencoded-0.7.0 \
serde_yaml-0.8.13 \
serial_test-0.4.0 \
serial_test_derive-0.4.0 \
sha-1-0.8.2 \
sha1-0.6.0 \
sha2-0.8.2 \
sha2-0.9.2 \
sha3-0.9.1 \
shlex-0.1.1 \
signal-hook-0.1.15 \
signal-hook-registry-1.2.0 \
signature-1.1.0 \
simpl-0.1.0 \
slab-0.4.2 \
smallvec-0.6.14 \
smallvec-1.6.1 \
smpl_jwt-0.6.1 \
socket2-0.3.17 \
solana-frozen-abi-1.7.1 \
solana-frozen-abi-macro-1.7.1 \
solana-logger-1.7.1 \
solana-program-1.7.1 \
solana-sdk-macro-1.7.1 \
solana_rbpf-0.2.11 \
spin-0.5.2 \
spl-associated-token-account-1.0.2 \
spl-memo-3.0.1 \
spl-token-3.1.1 \
stable_deref_trait-1.2.0 \
standback-0.2.9 \
static_assertions-1.1.0 \
stdweb-0.4.20 \
stdweb-derive-0.5.3 \
stdweb-internal-macros-0.2.9 \
stdweb-internal-runtime-0.1.5 \
strsim-0.8.0 \
subtle-1.0.0 \
subtle-2.2.2 \
symlink-0.1.0 \
syn-0.15.44 \
syn-1.0.60 \
synstructure-0.12.3 \
sysctl-0.4.0 \
systemstat-0.1.5 \
tar-0.4.28 \
tarpc-0.24.1 \
tarpc-plugins-0.9.0 \
tempfile-3.1.0 \
termcolor-1.1.0 \
terminal_size-0.1.16 \
termios-0.3.2 \
textwrap-0.11.0 \
thiserror-1.0.23 \
thiserror-impl-1.0.23 \
thread-scoped-1.0.2 \
time-0.1.43 \
time-0.2.25 \
time-macros-0.1.0 \
time-macros-impl-0.1.1 \
tiny-bip39-0.7.3 \
tiny-bip39-0.8.0 \
tinyvec-1.1.1 \
tinyvec_macros-0.1.0 \
tokio-0.1.22 \
tokio-0.2.22 \
tokio-1.1.1 \
tokio-codec-0.1.2 \
tokio-current-thread-0.1.7 \
tokio-executor-0.1.10 \
tokio-fs-0.1.7 \
tokio-io-0.1.13 \
tokio-macros-0.2.6 \
tokio-macros-1.0.0 \
tokio-native-tls-0.3.0 \
tokio-reactor-0.1.12 \
tokio-rustls-0.22.0 \
tokio-serde-0.8.0 \
tokio-stream-0.1.2 \
tokio-sync-0.1.8 \
tokio-tcp-0.1.4 \
tokio-threadpool-0.1.18 \
tokio-timer-0.2.13 \
tokio-tls-0.2.1 \
tokio-udp-0.1.6 \
tokio-uds-0.2.6 \
tokio-util-0.3.1 \
tokio-util-0.6.3 \
toml-0.5.6 \
tonic-0.4.0 \
tower-0.4.4 \
tower-layer-0.3.1 \
tower-service-0.3.0 \
tracing-0.1.18 \
tracing-attributes-0.1.9 \
tracing-core-0.1.13 \
tracing-futures-0.2.4 \
traitobject-0.1.0 \
treeline-0.1.0 \
trees-0.2.1 \
try-lock-0.2.2 \
tungstenite-0.10.1 \
typeable-0.1.2 \
typenum-1.12.0 \
ucd-trie-0.1.3 \
unicase-1.4.2 \
unicase-2.6.0 \
unicode-bidi-0.3.4 \
unicode-normalization-0.1.16 \
unicode-width-0.1.7 \
unicode-xid-0.1.0 \
unicode-xid-0.2.0 \
unix_socket2-0.5.4 \
unreachable-1.0.0 \
untrusted-0.7.1 \
uriparse-0.6.3 \
url-1.7.2 \
url-2.2.0 \
users-0.10.0 \
utf-8-0.7.5 \
utf8-width-0.1.3 \
vcpkg-0.2.8 \
vec_map-0.8.2 \
version_check-0.1.5 \
version_check-0.9.2 \
void-1.0.2 \
wait-timeout-0.2.0 \
walkdir-2.3.1 \
want-0.3.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.70 \
wasm-bindgen-backend-0.2.70 \
wasm-bindgen-futures-0.4.20 \
wasm-bindgen-macro-0.2.70 \
wasm-bindgen-macro-support-0.2.70 \
wasm-bindgen-shared-0.2.70 \
web-sys-0.3.40 \
webpki-0.21.2 \
webpki-roots-0.21.0 \
websocket-0.24.0 \
websocket-base-0.24.0 \
winapi-0.2.8 \
winapi-0.3.8 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winreg-0.7.0 \
ws2_32-sys-0.2.1 \
xattr-0.2.2 \
yaml-rust-0.4.3 \
zeroize-1.2.0 \
zeroize_derive-1.0.0 \
zstd-0.5.3+zstd.1.4.5 \
zstd-safe-2.0.5+zstd.1.4.5 \
zstd-sys-1.4.17+zstd.1.4.5
XARCH= ${ARCH:S/amd64/x86_64/:tu}
MAKE_ENV= ${XARCH}_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR=${OPENSSLINC} \
${XARCH}_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR=${OPENSSLLIB}
LLVM_VERSION= 10
BINARY_ALIAS= llvm-config=${PREFIX}/bin/llvm-config${LLVM_VERSION}
do-install:
for f in ${WRKDIR}/target/release/${PORTNAME}*; do \
if [ -f $$f -a -x $$f ]; then \
${INSTALL_PROGRAM} $$f ${STAGEDIR}${PREFIX}/bin; \
fi \
done
do-test:
@${CARGO_CARGO_RUN} test
.include <bsd.port.mk>