Index: GIDs =================================================================== --- GIDs +++ GIDs @@ -254,7 +254,7 @@ # free: 311 _sphinx:*:312: _fastdfs:*:313: -# free: 314 +mt-recorder:*:314: # free: 315 # free: 316 # free: 317 Index: UIDs =================================================================== --- UIDs +++ UIDs @@ -259,7 +259,7 @@ # free: 311 _sphinx:*:312:312::0:0:Sphinxsearch Owner:/nonexistent:/usr/sbin/nologin _fastdfs:*:313:313::0:0:FastDFS Owner:/nonexistent:/usr/sbin/nologin -# free: 314 +mt-recorder:*:314:314::0:0:Multi-Threaded Bitmarkd Recorder:/var/lib/mt-recorder:/usr/sbin/nologin # free: 315 # free: 316 # free: 317 Index: net-p2p/Makefile =================================================================== --- net-p2p/Makefile +++ net-p2p/Makefile @@ -58,6 +58,7 @@ SUBDIR += mldonkey-core SUBDIR += mldonkey-gui SUBDIR += monero-cli + SUBDIR += mt-recorder SUBDIR += namecoin SUBDIR += namecoin-daemon SUBDIR += namecoin-utils Index: net-p2p/mt-recorder/Makefile =================================================================== --- /dev/null +++ net-p2p/mt-recorder/Makefile @@ -0,0 +1,186 @@ +# $FreeBSD$ + +PORTNAME= mt-recorder +PORTVERSION= 0.5.3 +DISTVERSIONPREFIX= v +CATEGORIES= net-p2p + +MAINTAINER= hsw@bitmark.com +COMMENT= Multi-threaded hasher for Bitmark blockchain + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= llvm${LLVM_DEFAULT}>=0:devel/llvm${LLVM_DEFAULT} +LIB_DEPENDS= libzmq.so:net/libzmq4 + +USES= cargo + +OPTIONS_DEFINE= SIMD +OPTIONS_SUB= yes +SIMD_DESC= Enable optimised code using AVX instructions + +.include + +USE_GITHUB= yes +GH_ACCOUNT= hxw + +CARGO_CRATES= adler32-1.0.4 \ + aho-corasick-0.7.9 \ + ansi_term-0.11.0 \ + antidote-1.0.0 \ + arc-swap-0.4.4 \ + argonautica-0.2.0 \ + atty-0.2.14 \ + autocfg-0.1.7 \ + autocfg-1.0.0 \ + backtrace-0.3.44 \ + backtrace-sys-0.1.32 \ + base64-0.10.1 \ + base64-0.11.0 \ + base64-serde-0.4.0 \ + bindgen-0.48.1 \ + bitflags-1.2.1 \ + bstr-0.2.11 \ + byteorder-1.3.4 \ + bytes-0.5.4 \ + cc-1.0.50 \ + cexpr-0.3.5 \ + cfg-if-0.1.10 \ + chrono-0.4.10 \ + clang-sys-0.26.4 \ + clap-2.33.0 \ + cloudabi-0.0.3 \ + crc32fast-1.2.0 \ + dtoa-0.4.5 \ + env_logger-0.6.2 \ + error-chain-0.10.0 \ + failure-0.1.5 \ + failure_derive-0.1.6 \ + flate2-1.0.13 \ + fnv-1.0.6 \ + fuchsia-cprng-0.1.1 \ + futures-0.1.29 \ + futures-cpupool-0.1.8 \ + glob-0.2.11 \ + hashbrown-0.1.8 \ + hermit-abi-0.1.8 \ + hex-0.3.2 \ + hex-0.4.2 \ + hex-serde-0.1.0 \ + humantime-1.3.0 \ + itoa-0.4.5 \ + jobserver-0.1.21 \ + lazy_static-1.4.0 \ + libc-0.2.67 \ + libloading-0.5.2 \ + linked-hash-map-0.5.2 \ + log-0.4.8 \ + log-mdc-0.1.0 \ + log4rs-0.10.0 \ + memchr-2.3.3 \ + metadeps-1.1.2 \ + miniz_oxide-0.3.6 \ + nom-4.2.3 \ + num-integer-0.1.42 \ + num-traits-0.2.11 \ + num_cpus-1.12.0 \ + ordered-float-1.0.2 \ + peeking_take_while-0.1.2 \ + pkg-config-0.3.17 \ + proc-macro2-0.4.30 \ + proc-macro2-1.0.9 \ + quick-error-1.2.3 \ + quote-0.6.13 \ + quote-1.0.2 \ + rand-0.4.6 \ + rand-0.6.5 \ + rand_chacha-0.1.1 \ + rand_core-0.3.1 \ + rand_core-0.4.2 \ + rand_hc-0.1.0 \ + rand_isaac-0.1.1 \ + rand_jitter-0.1.4 \ + rand_os-0.1.3 \ + rand_pcg-0.1.2 \ + rand_xorshift-0.1.1 \ + rdrand-0.4.0 \ + redox_syscall-0.1.56 \ + regex-1.3.3 \ + regex-syntax-0.6.16 \ + remove_dir_all-0.5.2 \ + rlua-0.17.0 \ + rustc-demangle-0.1.16 \ + ryu-1.0.2 \ + scopeguard-0.3.3 \ + scopeguard-1.1.0 \ + serde-1.0.104 \ + serde-aux-0.6.1 \ + serde-value-0.6.0 \ + serde_derive-1.0.104 \ + serde_json-1.0.48 \ + serde_yaml-0.8.11 \ + simple-error-0.2.1 \ + spmc-0.3.0 \ + strsim-0.8.0 \ + syn-1.0.16 \ + synstructure-0.12.3 \ + tempdir-0.3.7 \ + termcolor-1.1.0 \ + textwrap-0.11.0 \ + thread-id-3.3.0 \ + thread_local-1.0.1 \ + time-0.1.42 \ + toml-0.2.1 \ + traitobject-0.1.0 \ + typemap-0.3.3 \ + unicode-width-0.1.7 \ + unicode-xid-0.1.0 \ + unicode-xid-0.2.0 \ + unsafe-any-0.4.2 \ + vec_map-0.8.1 \ + version_check-0.1.5 \ + which-2.0.1 \ + winapi-0.3.8 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-util-0.1.3 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + yaml-rust-0.3.5 \ + yaml-rust-0.4.3 \ + zmq-0.9.2 \ + zmq-sys-0.11.0 + +.if ${PORT_OPTIONS:MSIMD} +CARGO_FEATURES+= simd +.endif + +USE_RC_SUBR= mt-recorder +USERS= mt-recorder +GROUPS= mt-recorder +VAR_DIR= /var +MT_RECORDER_RUN= ${VAR_DIR}/run/mt-recorder +MT_RECORDER_DATA= ${VAR_DIR}/lib/mt-recorder +SUB_LIST= MT_RECORDER_USER=mt-recorder \ + MT_RECORDER_GROUP=mt-recorder \ + MT_RECORDER_RUN=${MT_RECORDER_RUN} \ + MT_RECORDER_DATA=${MT_RECORDER_DATA} + +PLIST_FILES= sbin/${PORTNAME} \ + "@sample etc/${PORTNAME}.conf.sample" \ + etc/syslog.d/${PORTNAME}.conf \ + etc/newsyslog.conf.d/${PORTNAME}.conf \ + "@dir ${VAR_DIR}/lib" \ + "@dir(mt-recorder,mt-recorder,) ${MT_RECORDER_DATA}" \ + "@dir(mt-recorder,mt-recorder,) ${MT_RECORDER_RUN}" + +post-install: + ${MKDIR} ${STAGEDIR}${MT_RECORDER_RUN} + ${MKDIR} ${STAGEDIR}${MT_RECORDER_DATA} + ${MV} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/sbin/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/ + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.syslog ${STAGEDIR}${PREFIX}/etc/syslog.d/${PORTNAME}.conf + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.newsyslog ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf + +.include Index: net-p2p/mt-recorder/distinfo =================================================================== --- /dev/null +++ net-p2p/mt-recorder/distinfo @@ -0,0 +1,251 @@ +TIMESTAMP = 1583215036 +SHA256 (rust/crates/adler32-1.0.4.tar.gz) = 5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2 +SIZE (rust/crates/adler32-1.0.4.tar.gz) = 5105 +SHA256 (rust/crates/aho-corasick-0.7.9.tar.gz) = d5e63fd144e18ba274ae7095c0197a870a7b9468abc801dd62f190d80817d2ec +SIZE (rust/crates/aho-corasick-0.7.9.tar.gz) = 110785 +SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087 +SHA256 (rust/crates/antidote-1.0.0.tar.gz) = 34fde25430d87a9388dadbe6e34d7f72a462c8b43ac8d309b42b0a8505d7e2a5 +SIZE (rust/crates/antidote-1.0.0.tar.gz) = 6312 +SHA256 (rust/crates/arc-swap-0.4.4.tar.gz) = d7b8a9123b8027467bce0099fe556c628a53c8d83df0507084c31e9ba2e39aff +SIZE (rust/crates/arc-swap-0.4.4.tar.gz) = 47969 +SHA256 (rust/crates/argonautica-0.2.0.tar.gz) = b765e206f4ab068271148430e0799aa84d81b8a13680c680f29f6c1d67da5f37 +SIZE (rust/crates/argonautica-0.2.0.tar.gz) = 1910292 +SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470 +SHA256 (rust/crates/autocfg-0.1.7.tar.gz) = 1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2 +SIZE (rust/crates/autocfg-0.1.7.tar.gz) = 12158 +SHA256 (rust/crates/autocfg-1.0.0.tar.gz) = f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d +SIZE (rust/crates/autocfg-1.0.0.tar.gz) = 12870 +SHA256 (rust/crates/backtrace-0.3.44.tar.gz) = e4036b9bf40f3cf16aba72a3d65e8a520fc4bafcdc7079aea8f848c58c5b5536 +SIZE (rust/crates/backtrace-0.3.44.tar.gz) = 68057 +SHA256 (rust/crates/backtrace-sys-0.1.32.tar.gz) = 5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491 +SIZE (rust/crates/backtrace-sys-0.1.32.tar.gz) = 518920 +SHA256 (rust/crates/base64-0.10.1.tar.gz) = 0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e +SIZE (rust/crates/base64-0.10.1.tar.gz) = 41988 +SHA256 (rust/crates/base64-0.11.0.tar.gz) = b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7 +SIZE (rust/crates/base64-0.11.0.tar.gz) = 48362 +SHA256 (rust/crates/base64-serde-0.4.0.tar.gz) = a197a8c04e701ecd834668fbf9dfce85a5b9badc5f57a21e5f56d0083987d28d +SIZE (rust/crates/base64-serde-0.4.0.tar.gz) = 3736 +SHA256 (rust/crates/bindgen-0.48.1.tar.gz) = 9d3d411fd93fd296e613bdac1d16755a6a922a4738e1c8f6a5e13542c905f3ca +SIZE (rust/crates/bindgen-0.48.1.tar.gz) = 181414 +SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 +SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745 +SHA256 (rust/crates/bstr-0.2.11.tar.gz) = 502ae1441a0a5adb8fbd38a5955a6416b9493e92b465de5e4a9bde6a539c2c48 +SIZE (rust/crates/bstr-0.2.11.tar.gz) = 338763 +SHA256 (rust/crates/byteorder-1.3.4.tar.gz) = 08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de +SIZE (rust/crates/byteorder-1.3.4.tar.gz) = 21943 +SHA256 (rust/crates/bytes-0.5.4.tar.gz) = 130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1 +SIZE (rust/crates/bytes-0.5.4.tar.gz) = 46813 +SHA256 (rust/crates/cc-1.0.50.tar.gz) = 95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd +SIZE (rust/crates/cc-1.0.50.tar.gz) = 49792 +SHA256 (rust/crates/cexpr-0.3.5.tar.gz) = a7fa24eb00d5ffab90eaeaf1092ac85c04c64aaf358ea6f84505b8116d24c6af +SIZE (rust/crates/cexpr-0.3.5.tar.gz) = 16938 +SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 +SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933 +SHA256 (rust/crates/chrono-0.4.10.tar.gz) = 31850b4a4d6bae316f7a09e691c944c28299298837edc0a03f755618c23cbc01 +SIZE (rust/crates/chrono-0.4.10.tar.gz) = 136101 +SHA256 (rust/crates/clang-sys-0.26.4.tar.gz) = 6ef0c1bcf2e99c649104bd7a7012d8f8802684400e03db0ec0af48583c6fa0e4 +SIZE (rust/crates/clang-sys-0.26.4.tar.gz) = 33343 +SHA256 (rust/crates/clap-2.33.0.tar.gz) = 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9 +SIZE (rust/crates/clap-2.33.0.tar.gz) = 196458 +SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f +SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156 +SHA256 (rust/crates/crc32fast-1.2.0.tar.gz) = ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1 +SIZE (rust/crates/crc32fast-1.2.0.tar.gz) = 39161 +SHA256 (rust/crates/dtoa-0.4.5.tar.gz) = 4358a9e11b9a09cf52383b451b49a169e8d797b68aa02301ff586d70d9661ea3 +SIZE (rust/crates/dtoa-0.4.5.tar.gz) = 14840 +SHA256 (rust/crates/env_logger-0.6.2.tar.gz) = aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3 +SIZE (rust/crates/env_logger-0.6.2.tar.gz) = 31078 +SHA256 (rust/crates/error-chain-0.10.0.tar.gz) = d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8 +SIZE (rust/crates/error-chain-0.10.0.tar.gz) = 18432 +SHA256 (rust/crates/failure-0.1.5.tar.gz) = 795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2 +SIZE (rust/crates/failure-0.1.5.tar.gz) = 36749 +SHA256 (rust/crates/failure_derive-0.1.6.tar.gz) = 0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08 +SIZE (rust/crates/failure_derive-0.1.6.tar.gz) = 4902 +SHA256 (rust/crates/flate2-1.0.13.tar.gz) = 6bd6d6f4752952feb71363cffc9ebac9411b75b87c6ab6058c40c8900cf43c0f +SIZE (rust/crates/flate2-1.0.13.tar.gz) = 74039 +SHA256 (rust/crates/fnv-1.0.6.tar.gz) = 2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3 +SIZE (rust/crates/fnv-1.0.6.tar.gz) = 11131 +SHA256 (rust/crates/fuchsia-cprng-0.1.1.tar.gz) = a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba +SIZE (rust/crates/fuchsia-cprng-0.1.1.tar.gz) = 2950 +SHA256 (rust/crates/futures-0.1.29.tar.gz) = 1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef +SIZE (rust/crates/futures-0.1.29.tar.gz) = 158346 +SHA256 (rust/crates/futures-cpupool-0.1.8.tar.gz) = ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4 +SIZE (rust/crates/futures-cpupool-0.1.8.tar.gz) = 10583 +SHA256 (rust/crates/glob-0.2.11.tar.gz) = 8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb +SIZE (rust/crates/glob-0.2.11.tar.gz) = 18065 +SHA256 (rust/crates/hashbrown-0.1.8.tar.gz) = 3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da +SIZE (rust/crates/hashbrown-0.1.8.tar.gz) = 57450 +SHA256 (rust/crates/hermit-abi-0.1.8.tar.gz) = 1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8 +SIZE (rust/crates/hermit-abi-0.1.8.tar.gz) = 7581 +SHA256 (rust/crates/hex-0.3.2.tar.gz) = 805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77 +SIZE (rust/crates/hex-0.3.2.tar.gz) = 9053 +SHA256 (rust/crates/hex-0.4.2.tar.gz) = 644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35 +SIZE (rust/crates/hex-0.4.2.tar.gz) = 13385 +SHA256 (rust/crates/hex-serde-0.1.0.tar.gz) = 3486d7bc9e52c4c5fc1856ae8a5e4ab41d2499fc20bbc44492e244e8bf1b7012 +SIZE (rust/crates/hex-serde-0.1.0.tar.gz) = 1811 +SHA256 (rust/crates/humantime-1.3.0.tar.gz) = df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f +SIZE (rust/crates/humantime-1.3.0.tar.gz) = 17020 +SHA256 (rust/crates/itoa-0.4.5.tar.gz) = b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e +SIZE (rust/crates/itoa-0.4.5.tar.gz) = 11194 +SHA256 (rust/crates/jobserver-0.1.21.tar.gz) = 5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2 +SIZE (rust/crates/jobserver-0.1.21.tar.gz) = 21228 +SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443 +SHA256 (rust/crates/libc-0.2.67.tar.gz) = eb147597cdf94ed43ab7a9038716637d2d1bf2bc571da995d0028dec06bd3018 +SIZE (rust/crates/libc-0.2.67.tar.gz) = 458605 +SHA256 (rust/crates/libloading-0.5.2.tar.gz) = f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753 +SIZE (rust/crates/libloading-0.5.2.tar.gz) = 16420 +SHA256 (rust/crates/linked-hash-map-0.5.2.tar.gz) = ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83 +SIZE (rust/crates/linked-hash-map-0.5.2.tar.gz) = 16109 +SHA256 (rust/crates/log-0.4.8.tar.gz) = 14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7 +SIZE (rust/crates/log-0.4.8.tar.gz) = 31297 +SHA256 (rust/crates/log-mdc-0.1.0.tar.gz) = a94d21414c1f4a51209ad204c1776a3d0765002c76c6abcb602a6f09f1e881c7 +SIZE (rust/crates/log-mdc-0.1.0.tar.gz) = 6711 +SHA256 (rust/crates/log4rs-0.10.0.tar.gz) = 853db99624c59798ddcf027dbe486541dd5cb5008ac6a6aaf217cc6fa044ee71 +SIZE (rust/crates/log4rs-0.10.0.tar.gz) = 49990 +SHA256 (rust/crates/memchr-2.3.3.tar.gz) = 3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400 +SIZE (rust/crates/memchr-2.3.3.tar.gz) = 22566 +SHA256 (rust/crates/metadeps-1.1.2.tar.gz) = 73b122901b3a675fac8cecf68dcb2f0d3036193bc861d1ac0e1c337f7d5254c2 +SIZE (rust/crates/metadeps-1.1.2.tar.gz) = 2768 +SHA256 (rust/crates/miniz_oxide-0.3.6.tar.gz) = aa679ff6578b1cddee93d7e82e263b94a575e0bfced07284eb0c037c1d2416a5 +SIZE (rust/crates/miniz_oxide-0.3.6.tar.gz) = 44717 +SHA256 (rust/crates/nom-4.2.3.tar.gz) = 2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6 +SIZE (rust/crates/nom-4.2.3.tar.gz) = 115343 +SHA256 (rust/crates/num-integer-0.1.42.tar.gz) = 3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba +SIZE (rust/crates/num-integer-0.1.42.tar.gz) = 19463 +SHA256 (rust/crates/num-traits-0.2.11.tar.gz) = c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096 +SIZE (rust/crates/num-traits-0.2.11.tar.gz) = 42000 +SHA256 (rust/crates/num_cpus-1.12.0.tar.gz) = 46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6 +SIZE (rust/crates/num_cpus-1.12.0.tar.gz) = 11867 +SHA256 (rust/crates/ordered-float-1.0.2.tar.gz) = 18869315e81473c951eb56ad5558bbc56978562d3ecfb87abb7a1e944cea4518 +SIZE (rust/crates/ordered-float-1.0.2.tar.gz) = 9458 +SHA256 (rust/crates/peeking_take_while-0.1.2.tar.gz) = 19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099 +SIZE (rust/crates/peeking_take_while-0.1.2.tar.gz) = 6697 +SHA256 (rust/crates/pkg-config-0.3.17.tar.gz) = 05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677 +SIZE (rust/crates/pkg-config-0.3.17.tar.gz) = 14533 +SHA256 (rust/crates/proc-macro2-0.4.30.tar.gz) = cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759 +SIZE (rust/crates/proc-macro2-0.4.30.tar.gz) = 34731 +SHA256 (rust/crates/proc-macro2-1.0.9.tar.gz) = 6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435 +SIZE (rust/crates/proc-macro2-1.0.9.tar.gz) = 35576 +SHA256 (rust/crates/quick-error-1.2.3.tar.gz) = a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0 +SIZE (rust/crates/quick-error-1.2.3.tar.gz) = 15066 +SHA256 (rust/crates/quote-0.6.13.tar.gz) = 6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1 +SIZE (rust/crates/quote-0.6.13.tar.gz) = 17475 +SHA256 (rust/crates/quote-1.0.2.tar.gz) = 053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe +SIZE (rust/crates/quote-1.0.2.tar.gz) = 23023 +SHA256 (rust/crates/rand-0.4.6.tar.gz) = 552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293 +SIZE (rust/crates/rand-0.4.6.tar.gz) = 76401 +SHA256 (rust/crates/rand-0.6.5.tar.gz) = 6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca +SIZE (rust/crates/rand-0.6.5.tar.gz) = 104814 +SHA256 (rust/crates/rand_chacha-0.1.1.tar.gz) = 556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef +SIZE (rust/crates/rand_chacha-0.1.1.tar.gz) = 11703 +SHA256 (rust/crates/rand_core-0.3.1.tar.gz) = 7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b +SIZE (rust/crates/rand_core-0.3.1.tar.gz) = 15483 +SHA256 (rust/crates/rand_core-0.4.2.tar.gz) = 9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc +SIZE (rust/crates/rand_core-0.4.2.tar.gz) = 20243 +SHA256 (rust/crates/rand_hc-0.1.0.tar.gz) = 7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4 +SIZE (rust/crates/rand_hc-0.1.0.tar.gz) = 11644 +SHA256 (rust/crates/rand_isaac-0.1.1.tar.gz) = ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08 +SIZE (rust/crates/rand_isaac-0.1.1.tar.gz) = 16020 +SHA256 (rust/crates/rand_jitter-0.1.4.tar.gz) = 1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b +SIZE (rust/crates/rand_jitter-0.1.4.tar.gz) = 18409 +SHA256 (rust/crates/rand_os-0.1.3.tar.gz) = 7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071 +SIZE (rust/crates/rand_os-0.1.3.tar.gz) = 18965 +SHA256 (rust/crates/rand_pcg-0.1.2.tar.gz) = abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44 +SIZE (rust/crates/rand_pcg-0.1.2.tar.gz) = 10844 +SHA256 (rust/crates/rand_xorshift-0.1.1.tar.gz) = cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c +SIZE (rust/crates/rand_xorshift-0.1.1.tar.gz) = 8997 +SHA256 (rust/crates/rdrand-0.4.0.tar.gz) = 678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2 +SIZE (rust/crates/rdrand-0.4.0.tar.gz) = 6456 +SHA256 (rust/crates/redox_syscall-0.1.56.tar.gz) = 2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84 +SIZE (rust/crates/redox_syscall-0.1.56.tar.gz) = 17117 +SHA256 (rust/crates/regex-1.3.3.tar.gz) = b5508c1941e4e7cb19965abef075d35a9a8b5cdf0846f30b4050e9b55dc55e87 +SIZE (rust/crates/regex-1.3.3.tar.gz) = 234861 +SHA256 (rust/crates/regex-syntax-0.6.16.tar.gz) = 1132f845907680735a84409c3bebc64d1364a5683ffbce899550cd09d5eaefc1 +SIZE (rust/crates/regex-syntax-0.6.16.tar.gz) = 290042 +SHA256 (rust/crates/remove_dir_all-0.5.2.tar.gz) = 4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e +SIZE (rust/crates/remove_dir_all-0.5.2.tar.gz) = 8907 +SHA256 (rust/crates/rlua-0.17.0.tar.gz) = 25fa5b2c667bae0b6218361e96d365e414fe4a0fa80f476b9631aa2dea2c6881 +SIZE (rust/crates/rlua-0.17.0.tar.gz) = 260501 +SHA256 (rust/crates/rustc-demangle-0.1.16.tar.gz) = 4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783 +SIZE (rust/crates/rustc-demangle-0.1.16.tar.gz) = 19137 +SHA256 (rust/crates/ryu-1.0.2.tar.gz) = bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8 +SIZE (rust/crates/ryu-1.0.2.tar.gz) = 42001 +SHA256 (rust/crates/scopeguard-0.3.3.tar.gz) = 94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27 +SIZE (rust/crates/scopeguard-0.3.3.tar.gz) = 9605 +SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470 +SHA256 (rust/crates/serde-1.0.104.tar.gz) = 414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449 +SIZE (rust/crates/serde-1.0.104.tar.gz) = 73258 +SHA256 (rust/crates/serde-aux-0.6.1.tar.gz) = ae50f53d4b01e854319c1f5b854cd59471f054ea7e554988850d3f36ca1dc852 +SIZE (rust/crates/serde-aux-0.6.1.tar.gz) = 5701 +SHA256 (rust/crates/serde-value-0.6.0.tar.gz) = 5a65a7291a8a568adcae4c10a677ebcedbc6c9cec91c054dee2ce40b0e3290eb +SIZE (rust/crates/serde-value-0.6.0.tar.gz) = 9887 +SHA256 (rust/crates/serde_derive-1.0.104.tar.gz) = 128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64 +SIZE (rust/crates/serde_derive-1.0.104.tar.gz) = 49658 +SHA256 (rust/crates/serde_json-1.0.48.tar.gz) = 9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25 +SIZE (rust/crates/serde_json-1.0.48.tar.gz) = 72113 +SHA256 (rust/crates/serde_yaml-0.8.11.tar.gz) = 691b17f19fc1ec9d94ec0b5864859290dff279dbd7b03f017afda54eb36c3c35 +SIZE (rust/crates/serde_yaml-0.8.11.tar.gz) = 35772 +SHA256 (rust/crates/simple-error-0.2.1.tar.gz) = 339844c9af2d844b9230bb28e8f819a7790cbf20a29b5cbd2b59916a03a1ef51 +SIZE (rust/crates/simple-error-0.2.1.tar.gz) = 9640 +SHA256 (rust/crates/spmc-0.3.0.tar.gz) = 02a8428da277a8e3a15271d79943e80ccc2ef254e78813a166a08d65e4c3ece5 +SIZE (rust/crates/spmc-0.3.0.tar.gz) = 9181 +SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a +SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309 +SHA256 (rust/crates/syn-1.0.16.tar.gz) = 123bd9499cfb380418d509322d7a6d52e5315f064fe4b3ad18a53d6b92c07859 +SIZE (rust/crates/syn-1.0.16.tar.gz) = 198097 +SHA256 (rust/crates/synstructure-0.12.3.tar.gz) = 67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545 +SIZE (rust/crates/synstructure-0.12.3.tar.gz) = 17788 +SHA256 (rust/crates/tempdir-0.3.7.tar.gz) = 15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8 +SIZE (rust/crates/tempdir-0.3.7.tar.gz) = 11468 +SHA256 (rust/crates/termcolor-1.1.0.tar.gz) = bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f +SIZE (rust/crates/termcolor-1.1.0.tar.gz) = 17193 +SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 +SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322 +SHA256 (rust/crates/thread-id-3.3.0.tar.gz) = c7fbf4c9d56b320106cd64fd024dadfa0be7cb4706725fc44a7d7ce952d820c1 +SIZE (rust/crates/thread-id-3.3.0.tar.gz) = 7514 +SHA256 (rust/crates/thread_local-1.0.1.tar.gz) = d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14 +SIZE (rust/crates/thread_local-1.0.1.tar.gz) = 12609 +SHA256 (rust/crates/time-0.1.42.tar.gz) = db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f +SIZE (rust/crates/time-0.1.42.tar.gz) = 30005 +SHA256 (rust/crates/toml-0.2.1.tar.gz) = 736b60249cb25337bc196faa43ee12c705e426f3d55c214d73a4e7be06f92cb4 +SIZE (rust/crates/toml-0.2.1.tar.gz) = 47258 +SHA256 (rust/crates/traitobject-0.1.0.tar.gz) = efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079 +SIZE (rust/crates/traitobject-0.1.0.tar.gz) = 1957 +SHA256 (rust/crates/typemap-0.3.3.tar.gz) = 653be63c80a3296da5551e1bfd2cca35227e13cdd08c6668903ae2f4f77aa1f6 +SIZE (rust/crates/typemap-0.3.3.tar.gz) = 4148 +SHA256 (rust/crates/unicode-width-0.1.7.tar.gz) = caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479 +SIZE (rust/crates/unicode-width-0.1.7.tar.gz) = 16644 +SHA256 (rust/crates/unicode-xid-0.1.0.tar.gz) = fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc +SIZE (rust/crates/unicode-xid-0.1.0.tar.gz) = 16000 +SHA256 (rust/crates/unicode-xid-0.2.0.tar.gz) = 826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c +SIZE (rust/crates/unicode-xid-0.2.0.tar.gz) = 14994 +SHA256 (rust/crates/unsafe-any-0.4.2.tar.gz) = f30360d7979f5e9c6e6cea48af192ea8fab4afb3cf72597154b8f08935bc9c7f +SIZE (rust/crates/unsafe-any-0.4.2.tar.gz) = 1922 +SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a +SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959 +SHA256 (rust/crates/version_check-0.1.5.tar.gz) = 914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd +SIZE (rust/crates/version_check-0.1.5.tar.gz) = 8173 +SHA256 (rust/crates/which-2.0.1.tar.gz) = b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164 +SIZE (rust/crates/which-2.0.1.tar.gz) = 6953 +SHA256 (rust/crates/winapi-0.3.8.tar.gz) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6 +SIZE (rust/crates/winapi-0.3.8.tar.gz) = 1128308 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-util-0.1.3.tar.gz) = 4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80 +SIZE (rust/crates/winapi-util-0.1.3.tar.gz) = 9913 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (rust/crates/yaml-rust-0.3.5.tar.gz) = e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992 +SIZE (rust/crates/yaml-rust-0.3.5.tar.gz) = 42087 +SHA256 (rust/crates/yaml-rust-0.4.3.tar.gz) = 65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d +SIZE (rust/crates/yaml-rust-0.4.3.tar.gz) = 45768 +SHA256 (rust/crates/zmq-0.9.2.tar.gz) = aad98a7a617d608cd9e1127147f630d24af07c7cd95ba1533246d96cbdd76c66 +SIZE (rust/crates/zmq-0.9.2.tar.gz) = 55227 +SHA256 (rust/crates/zmq-sys-0.11.0.tar.gz) = d33a2c51dde24d5b451a2ed4b488266df221a5eaee2ee519933dc46b9a9b3648 +SIZE (rust/crates/zmq-sys-0.11.0.tar.gz) = 12220 +SHA256 (hxw-mt-recorder-v0.5.3_GH0.tar.gz) = 9626789d20d4840e282cc4473406effe2739a5c2383d5fe3e30611a8881d585c +SIZE (hxw-mt-recorder-v0.5.3_GH0.tar.gz) = 19018 Index: net-p2p/mt-recorder/files/mt-recorder.in =================================================================== --- /dev/null +++ net-p2p/mt-recorder/files/mt-recorder.in @@ -0,0 +1,97 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: mt-recorder +# REQUIRE: LOGIN cleanvar +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable: +# mt_recorder_enable (bool) Set to "NO" by default. +# Set it to "YES" to enable mt_recorder +# mt_recorder_options (str) Set to "" by default +# mt_recorder_user (str) Set to "%%MT_RECORDER_USER%%" by default. +# mt_recorder_group (str) Set to "%%MT_RECORDER_GROUP%%" by default. +# mt_recorder_config_file (str) Set to "%%PREFIX%%/etc/mt-recorder.conf" by default. +# mt_recorder_data_dir (str) Set to "%%MT_RECORDER_DATA%%" by default. +# mt_recorder_run_dir (str) Set to "%%MT_RECORDER_RUN%%" by default. +# mt_recorder_syslog_enable (bool) Set to "NO" by default. +# +# mt_recorder_limits_enable (bool) Set to "NO" by default. +# Set it to "YES" to enable mt_recorder_limits +# mt_recorder_limits_args (str) Set to "-e -U ${mt_recorder_user}" by default + +. /etc/rc.subr + +name="mt_recorder" +rcvar=mt_recorder_enable + +load_rc_config ${name} + +: ${mt_recorder_enable:="NO"} +: ${mt_recorder_options:=""} +: ${mt_recorder_user:="%%MT_RECORDER_USER%%"} +: ${mt_recorder_group:="%%MT_RECORDER_GROUP%%"} +: ${mt_recorder_config_file:="%%PREFIX%%/etc/mt-recorder.conf"} +: ${mt_recorder_data_dir:="%%MT_RECORDER_DATA%%"} +: ${mt_recorder_run_dir:="%%MT_RECORDER_RUN%%"} +: ${mt_recorder_syslog_enable:="NO"} + +: ${mt_recorder_limits_enable:="NO"} +: ${mt_recorder_limits_args:="-e -U ${mt_recorder_user}"} + +start_precmd="${name}_precmd" +stop_postcmd="${name}_poststop" + +pidfile="${mt_recorder_run_dir}/mt-recorder.pid" + +required_files="${mt_recorder_config_file}" + +_mt_recorder_program="%%PREFIX%%/sbin/mt-recorder" +_mt_recorder_arguments="--config=${mt_recorder_config_file} ${mt_recorder_options}" + +command="/usr/sbin/daemon" +command_args="-f" +checkyesno mt_recorder_syslog_enable && command_args="-S -T mt-recorder" +command_args="${command_args} -P ${pidfile} -R 60 -- ${_mt_recorder_program} ${_mt_recorder_arguments}" +#procname=${_mt_recorder_program} # do not override procname as program runs under daemon + +mt_recorder_checkdirs() +{ + local dir + for dir in "${mt_recorder_data_dir}" "${mt_recorder_data_dir}/log" "${mt_recorder_run_dir}" + do + install -d -o "${mt_recorder_user}" -g "${mt_recorder_group}" -m 770 "${dir}" + done + cd "${mt_recorder_data_dir}" + checkyesno mt_recorder_syslog_enable && newsyslog -C + +} + +mt_recorder_precmd() +{ + pid=$(check_pidfile "${pidfile}" "${command}") + if [ -n "${pid}" ] + then + echo "another mt_recorder is running on pid: ${pid}" + return 1 + else + rm -f "${pidfile}" + fi + + mt_recorder_checkdirs + + if checkyesno mt_recorder_limits_enable + then + eval $(/usr/bin/limits ${mt_recorder_limits_args}) 2>/dev/null + else + return 0 + fi +} + +mt_recorder_poststop() +{ + rm -f "${pidfile}" + rm -f "${lock_file}" +} + +run_rc_command "$1" Index: net-p2p/mt-recorder/files/mt-recorder.newsyslog =================================================================== --- /dev/null +++ net-p2p/mt-recorder/files/mt-recorder.newsyslog @@ -0,0 +1,2 @@ +# mt-recorder syslog rotation +/var/lib/mt-recorder/log/mt-recorder.syslog root:wheel 640 7 1000 * CJ Index: net-p2p/mt-recorder/files/mt-recorder.syslog =================================================================== --- /dev/null +++ net-p2p/mt-recorder/files/mt-recorder.syslog @@ -0,0 +1,3 @@ +# mt-recorder syslog +!+mt-recorder +daemon.info /var/lib/mt-recorder/log/mt-recorder.syslog Index: net-p2p/mt-recorder/pkg-descr =================================================================== --- /dev/null +++ net-p2p/mt-recorder/pkg-descr @@ -0,0 +1,9 @@ +mt-recorder is an Argon2 hasher for a Bitmark Blockchain Node + +- connects to multiple bitmarkd servers +- threads per connection are individually selectable +- individual connections have enable flag +- compatible with bitmarkd 0.12.x recorder protocol +- nosimd flavor to support older CPUs lacking these op codes + +WWW: https://github.com/hxw/mt-recorder