diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-04-03 17:43:12 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-04-03 17:43:12 +0000 |
commit | bf67630addf962962ce644c73e7d812da45cfa9e (patch) | |
tree | ce75e19586f697f053a60dbb91d4f31cb9fabb8a /textproc | |
parent | Update to 0.1.b146 (diff) |
New port: textproc/sonic
Sonic is a fast, lightweight, and schema-less search backend. It
ingests search texts and identifier tuples that can then be queried
against in a microsecond's time.
Sonic can be used as a simple alternative to super-heavy and
full-featured search backends such as Elasticsearch in some use-cases.
It is capable of normalizing natural language search queries,
auto-completing a search query and providing the most relevant
results for a query. Sonic is an identifier index, rather than a
document index; when queried, it returns IDs that can then be used
to refer to the matched documents in an external database.
A strong attention to performance and code cleanliness has been
given when designing Sonic. It aims at being crash-free, super-fast
and puts minimum strain on server resources.
WWW: https://github.com/valeriansaliou/sonic
Notes
Notes:
svn path=/head/; revision=497739
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/sonic/Makefile | 147 | ||||
-rw-r--r-- | textproc/sonic/distinfo | 217 | ||||
-rw-r--r-- | textproc/sonic/files/sonic.in | 25 | ||||
-rw-r--r-- | textproc/sonic/pkg-descr | 17 |
5 files changed, 407 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d1e320fb70da..c242f8e729c4 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1724,6 +1724,7 @@ SUBDIR += smi SUBDIR += smu SUBDIR += so-hunspell + SUBDIR += sonic SUBDIR += soothsayer SUBDIR += source-highlight SUBDIR += sowing diff --git a/textproc/sonic/Makefile b/textproc/sonic/Makefile new file mode 100644 index 000000000000..d23c330219a3 --- /dev/null +++ b/textproc/sonic/Makefile @@ -0,0 +1,147 @@ +# $FreeBSD$ + +PORTNAME= sonic +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.9 +CATEGORIES= textproc + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Fast, lightweight, and schema-less search backend + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} + +USES= cargo compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= valeriansaliou +GH_TUPLE= rust-rocksdb:rust-rocksdb:218edeffcc4122097f384e336f6cb08d2de83889:librocksdbsys/rust-rocksdb \ + lz4:lz4:c10863b98e1503af90616ae99725ecd120265dfb:lz4/rust-rocksdb/librocksdb-sys/lz4 \ + facebook:rocksdb:641fae60f63619ed5d0c9d9e4c4ea5a0ffa3e253:rocksdb/rust-rocksdb/librocksdb-sys/rocksdb \ + google:snappy:2d99bd14d471664758e4dfdf81b44f413a7353fd:snappy/rust-rocksdb/librocksdb-sys/snappy \ + madler:zlib:cacf7f1d4e3d44d871b605da3b647f07d718623f:zlib/rust-rocksdb/librocksdb-sys/zlib \ + facebook:zstd:f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00:zstd/rust-rocksdb/librocksdb-sys/zstd +USE_RC_SUBR= sonic + +CARGO_CRATES= aho-corasick-0.6.10 \ + ansi_term-0.11.0 \ + arrayvec-0.4.10 \ + atty-0.2.11 \ + autocfg-0.1.2 \ + backtrace-0.3.14 \ + backtrace-sys-0.1.28 \ + bindgen-0.47.3 \ + bitflags-0.4.0 \ + bitflags-1.0.4 \ + byteorder-1.3.1 \ + cc-1.0.32 \ + cexpr-0.3.5 \ + cfg-if-0.1.7 \ + clang-sys-0.26.4 \ + clap-2.32.0 \ + cloudabi-0.0.3 \ + crossbeam-deque-0.2.0 \ + crossbeam-epoch-0.3.1 \ + crossbeam-utils-0.2.2 \ + either-1.5.1 \ + env_logger-0.6.1 \ + failure-0.1.5 \ + fs_extra-1.1.0 \ + fst-0.3.3 \ + fst-levenshtein-0.2.1 \ + fst-regex-0.2.2 \ + fuchsia-cprng-0.1.1 \ + glob-0.2.11 \ + graceful-0.1.1 \ + hashbrown-0.1.8 \ + humantime-1.2.0 \ + jemalloc-sys-0.3.0 \ + jemallocator-0.3.0 \ + kernel32-sys-0.2.2 \ + lazy_static-1.3.0 \ + libc-0.2.51 \ + libloading-0.5.0 \ + linked-hash-map-0.5.2 \ + linked_hash_set-0.1.3 \ + log-0.4.6 \ + memchr-2.2.0 \ + memmap-0.6.2 \ + memoffset-0.2.1 \ + nix-0.7.0 \ + nodrop-0.1.13 \ + nom-4.2.3 \ + num_cpus-1.10.0 \ + peeking_take_while-0.1.2 \ + proc-macro2-0.4.27 \ + quick-error-1.2.2 \ + quote-0.6.11 \ + rand-0.6.5 \ + rand_chacha-0.1.1 \ + rand_core-0.3.1 \ + rand_core-0.4.0 \ + rand_hc-0.1.0 \ + rand_isaac-0.1.1 \ + rand_jitter-0.1.3 \ + rand_os-0.1.3 \ + rand_pcg-0.1.2 \ + rand_xorshift-0.1.1 \ + rayon-1.0.3 \ + rayon-core-1.4.1 \ + rdrand-0.4.0 \ + redox_syscall-0.1.51 \ + redox_termios-0.1.1 \ + regex-1.1.2 \ + regex-syntax-0.3.9 \ + regex-syntax-0.6.5 \ + rustc-demangle-0.1.13 \ + rustc_version-0.1.7 \ + scopeguard-0.3.3 \ + semver-0.1.20 \ + serde-1.0.89 \ + serde_derive-1.0.89 \ + strsim-0.7.0 \ + syn-0.15.29 \ + termcolor-1.0.4 \ + termion-1.5.1 \ + textwrap-0.10.0 \ + thread_local-0.3.6 \ + toml-0.5.0 \ + twox-hash-1.1.2 \ + ucd-util-0.1.3 \ + unicode-segmentation-1.2.1 \ + unicode-width-0.1.5 \ + unicode-xid-0.1.0 \ + utf8-ranges-1.0.2 \ + vec_map-0.8.1 \ + version_check-0.1.5 \ + void-1.0.2 \ + whatlang-0.7.0 \ + which-2.0.1 \ + winapi-0.2.8 \ + winapi-0.3.6 \ + winapi-build-0.1.1 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-util-0.1.2 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + wincolor-1.0.1 +CARGO_USE_GITHUB= yes + +USERS= sonic +GROUPS= sonic + +PLIST_FILES= bin/sonic \ + "@sample ${ETCDIR}/config.cfg.sample" +PORTDOCS= CONFIGURATION.md PROTOCOL.md README.md +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sonic + @${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/config.cfg ${STAGEDIR}${ETCDIR}/config.cfg.sample + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/textproc/sonic/distinfo b/textproc/sonic/distinfo new file mode 100644 index 000000000000..2d3ffd832899 --- /dev/null +++ b/textproc/sonic/distinfo @@ -0,0 +1,217 @@ +TIMESTAMP = 1554240179 +SHA256 (rust/crates/aho-corasick-0.6.10.tar.gz) = 81ce3d38065e618af2d7b77e10c5ad9a069859b4be3c2250f674af3840d9c8a5 +SIZE (rust/crates/aho-corasick-0.6.10.tar.gz) = 26122 +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/arrayvec-0.4.10.tar.gz) = 92c7fb76bc8826a8b33b4ee5bb07a247a81e76764ab4d55e8f73e3a4d8808c71 +SIZE (rust/crates/arrayvec-0.4.10.tar.gz) = 26133 +SHA256 (rust/crates/atty-0.2.11.tar.gz) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652 +SIZE (rust/crates/atty-0.2.11.tar.gz) = 5916 +SHA256 (rust/crates/autocfg-0.1.2.tar.gz) = a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799 +SIZE (rust/crates/autocfg-0.1.2.tar.gz) = 10444 +SHA256 (rust/crates/backtrace-0.3.14.tar.gz) = cd5a90e2b463010cd0e0ce9a11d4a9d5d58d9f41d4a6ba3dcaf9e68b466e88b4 +SIZE (rust/crates/backtrace-0.3.14.tar.gz) = 33452 +SHA256 (rust/crates/backtrace-sys-0.1.28.tar.gz) = 797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6 +SIZE (rust/crates/backtrace-sys-0.1.28.tar.gz) = 522603 +SHA256 (rust/crates/bindgen-0.47.3.tar.gz) = df683a55b54b41d5ea8ebfaebb5aa7e6b84e3f3006a78f010dadc9ca88469260 +SIZE (rust/crates/bindgen-0.47.3.tar.gz) = 181359 +SHA256 (rust/crates/bitflags-0.4.0.tar.gz) = 8dead7461c1127cf637931a1e50934eb6eee8bff2f74433ac7909e9afcee04a3 +SIZE (rust/crates/bitflags-0.4.0.tar.gz) = 10186 +SHA256 (rust/crates/bitflags-1.0.4.tar.gz) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12 +SIZE (rust/crates/bitflags-1.0.4.tar.gz) = 15282 +SHA256 (rust/crates/byteorder-1.3.1.tar.gz) = a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb +SIZE (rust/crates/byteorder-1.3.1.tar.gz) = 20959 +SHA256 (rust/crates/cc-1.0.32.tar.gz) = ad0daef304fa0b4238f5f7ed7178774b43b06f6a9b6509f6642bef4ff1f7b9b2 +SIZE (rust/crates/cc-1.0.32.tar.gz) = 42985 +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.7.tar.gz) = 11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4 +SIZE (rust/crates/cfg-if-0.1.7.tar.gz) = 7360 +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.32.0.tar.gz) = b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e +SIZE (rust/crates/clap-2.32.0.tar.gz) = 196073 +SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f +SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156 +SHA256 (rust/crates/crossbeam-deque-0.2.0.tar.gz) = f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3 +SIZE (rust/crates/crossbeam-deque-0.2.0.tar.gz) = 12638 +SHA256 (rust/crates/crossbeam-epoch-0.3.1.tar.gz) = 927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150 +SIZE (rust/crates/crossbeam-epoch-0.3.1.tar.gz) = 33093 +SHA256 (rust/crates/crossbeam-utils-0.2.2.tar.gz) = 2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9 +SIZE (rust/crates/crossbeam-utils-0.2.2.tar.gz) = 11901 +SHA256 (rust/crates/either-1.5.1.tar.gz) = c67353c641dc847124ea1902d69bd753dee9bb3beff9aa3662ecf86c971d1fac +SIZE (rust/crates/either-1.5.1.tar.gz) = 11532 +SHA256 (rust/crates/env_logger-0.6.1.tar.gz) = b61fa891024a945da30a9581546e8cfaf5602c7b3f4c137a2805cf388f92075a +SIZE (rust/crates/env_logger-0.6.1.tar.gz) = 28567 +SHA256 (rust/crates/failure-0.1.5.tar.gz) = 795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2 +SIZE (rust/crates/failure-0.1.5.tar.gz) = 36749 +SHA256 (rust/crates/fs_extra-1.1.0.tar.gz) = 5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674 +SIZE (rust/crates/fs_extra-1.1.0.tar.gz) = 29292 +SHA256 (rust/crates/fst-0.3.3.tar.gz) = db72126ca7dff566cdbbdd54af44668c544897d9d3862b198141f176f1238bdf +SIZE (rust/crates/fst-0.3.3.tar.gz) = 1568765 +SHA256 (rust/crates/fst-levenshtein-0.2.1.tar.gz) = 9e88429a6c230ef3bedcc8bc7c063252f7e82e8192571aebb56b094240a0b5e8 +SIZE (rust/crates/fst-levenshtein-0.2.1.tar.gz) = 4214 +SHA256 (rust/crates/fst-regex-0.2.2.tar.gz) = 87aca1d91eed3c128132cee31d291fd4e8492df0b742a5b1453857a4c7cedd88 +SIZE (rust/crates/fst-regex-0.2.2.tar.gz) = 7458 +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/glob-0.2.11.tar.gz) = 8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb +SIZE (rust/crates/glob-0.2.11.tar.gz) = 18065 +SHA256 (rust/crates/graceful-0.1.1.tar.gz) = 1ca5313c7c751c3e64c789d0c0abfc8f6e782d4e93d88da070012d434a215ecc +SIZE (rust/crates/graceful-0.1.1.tar.gz) = 6743 +SHA256 (rust/crates/hashbrown-0.1.8.tar.gz) = 3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da +SIZE (rust/crates/hashbrown-0.1.8.tar.gz) = 57450 +SHA256 (rust/crates/humantime-1.2.0.tar.gz) = 3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114 +SIZE (rust/crates/humantime-1.2.0.tar.gz) = 16795 +SHA256 (rust/crates/jemalloc-sys-0.3.0.tar.gz) = 7bef0d4ce37578dfd80b466e3d8324bd9de788e249f1accebb0c472ea4b52bdc +SIZE (rust/crates/jemalloc-sys-0.3.0.tar.gz) = 608172 +SHA256 (rust/crates/jemallocator-0.3.0.tar.gz) = c2b69163a3cf2d0fffcd4e1b57921bc6d8fb97ec27f2aeef00562abdaf4ffe2a +SIZE (rust/crates/jemallocator-0.3.0.tar.gz) = 16236 +SHA256 (rust/crates/kernel32-sys-0.2.2.tar.gz) = 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d +SIZE (rust/crates/kernel32-sys-0.2.2.tar.gz) = 24537 +SHA256 (rust/crates/lazy_static-1.3.0.tar.gz) = bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14 +SIZE (rust/crates/lazy_static-1.3.0.tar.gz) = 10616 +SHA256 (rust/crates/libc-0.2.51.tar.gz) = bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917 +SIZE (rust/crates/libc-0.2.51.tar.gz) = 397323 +SHA256 (rust/crates/libloading-0.5.0.tar.gz) = 9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2 +SIZE (rust/crates/libloading-0.5.0.tar.gz) = 15990 +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/linked_hash_set-0.1.3.tar.gz) = 3c7c91c4c7bbeb4f2f7c4e5be11e6a05bd6830bc37249c47ce1ad86ad453ff9c +SIZE (rust/crates/linked_hash_set-0.1.3.tar.gz) = 15180 +SHA256 (rust/crates/log-0.4.6.tar.gz) = c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6 +SIZE (rust/crates/log-0.4.6.tar.gz) = 22303 +SHA256 (rust/crates/memchr-2.2.0.tar.gz) = 2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39 +SIZE (rust/crates/memchr-2.2.0.tar.gz) = 20939 +SHA256 (rust/crates/memmap-0.6.2.tar.gz) = e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff +SIZE (rust/crates/memmap-0.6.2.tar.gz) = 15015 +SHA256 (rust/crates/memoffset-0.2.1.tar.gz) = 0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3 +SIZE (rust/crates/memoffset-0.2.1.tar.gz) = 4618 +SHA256 (rust/crates/nix-0.7.0.tar.gz) = a0d95c5fa8b641c10ad0b8887454ebaafa3c92b5cd5350f8fc693adafd178e7b +SIZE (rust/crates/nix-0.7.0.tar.gz) = 70639 +SHA256 (rust/crates/nodrop-0.1.13.tar.gz) = 2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945 +SIZE (rust/crates/nodrop-0.1.13.tar.gz) = 7508 +SHA256 (rust/crates/nom-4.2.3.tar.gz) = 2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6 +SIZE (rust/crates/nom-4.2.3.tar.gz) = 115343 +SHA256 (rust/crates/num_cpus-1.10.0.tar.gz) = 1a23f0ed30a54abaa0c7e83b1d2d87ada7c3c23078d1d87815af3e3b6385fbba +SIZE (rust/crates/num_cpus-1.10.0.tar.gz) = 10669 +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/proc-macro2-0.4.27.tar.gz) = 4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915 +SIZE (rust/crates/proc-macro2-0.4.27.tar.gz) = 34098 +SHA256 (rust/crates/quick-error-1.2.2.tar.gz) = 9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0 +SIZE (rust/crates/quick-error-1.2.2.tar.gz) = 15132 +SHA256 (rust/crates/quote-0.6.11.tar.gz) = cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1 +SIZE (rust/crates/quote-0.6.11.tar.gz) = 17283 +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.0.tar.gz) = d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0 +SIZE (rust/crates/rand_core-0.4.0.tar.gz) = 20326 +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.3.tar.gz) = 7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832 +SIZE (rust/crates/rand_jitter-0.1.3.tar.gz) = 18341 +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/rayon-1.0.3.tar.gz) = 373814f27745b2686b350dd261bfd24576a6fb0e2c5919b3a2b6005f820b0473 +SIZE (rust/crates/rayon-1.0.3.tar.gz) = 134391 +SHA256 (rust/crates/rayon-core-1.4.1.tar.gz) = b055d1e92aba6877574d8fe604a63c8b5df60f60e5982bf7ccbb1338ea527356 +SIZE (rust/crates/rayon-core-1.4.1.tar.gz) = 53760 +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.51.tar.gz) = 423e376fffca3dfa06c9e9790a9ccd282fafb3cc6e6397d01dbf64f9bacc6b85 +SIZE (rust/crates/redox_syscall-0.1.51.tar.gz) = 15646 +SHA256 (rust/crates/redox_termios-0.1.1.tar.gz) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76 +SIZE (rust/crates/redox_termios-0.1.1.tar.gz) = 3227 +SHA256 (rust/crates/regex-1.1.2.tar.gz) = 53ee8cfdddb2e0291adfb9f13d31d3bbe0a03c9a402c01b1e24188d86c35b24f +SIZE (rust/crates/regex-1.1.2.tar.gz) = 241143 +SHA256 (rust/crates/regex-syntax-0.3.9.tar.gz) = f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957 +SIZE (rust/crates/regex-syntax-0.3.9.tar.gz) = 117427 +SHA256 (rust/crates/regex-syntax-0.6.5.tar.gz) = 8c2f35eedad5295fdf00a63d7d4b238135723f92b434ec06774dad15c7ab0861 +SIZE (rust/crates/regex-syntax-0.6.5.tar.gz) = 272475 +SHA256 (rust/crates/rustc-demangle-0.1.13.tar.gz) = adacaae16d02b6ec37fdc7acfcddf365978de76d1983d3ee22afc260e1ca9619 +SIZE (rust/crates/rustc-demangle-0.1.13.tar.gz) = 11726 +SHA256 (rust/crates/rustc_version-0.1.7.tar.gz) = c5f5376ea5e30ce23c03eb77cbe4962b988deead10910c372b226388b594c084 +SIZE (rust/crates/rustc_version-0.1.7.tar.gz) = 8816 +SHA256 (rust/crates/scopeguard-0.3.3.tar.gz) = 94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27 +SIZE (rust/crates/scopeguard-0.3.3.tar.gz) = 9605 +SHA256 (rust/crates/semver-0.1.20.tar.gz) = d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac +SIZE (rust/crates/semver-0.1.20.tar.gz) = 15876 +SHA256 (rust/crates/serde-1.0.89.tar.gz) = 92514fb95f900c9b5126e32d020f5c6d40564c27a5ea6d1d7d9f157a96623560 +SIZE (rust/crates/serde-1.0.89.tar.gz) = 71395 +SHA256 (rust/crates/serde_derive-1.0.89.tar.gz) = bb6eabf4b5914e88e24eea240bb7c9f9a2cbc1bbbe8d961d381975ec3c6b806c +SIZE (rust/crates/serde_derive-1.0.89.tar.gz) = 48599 +SHA256 (rust/crates/strsim-0.7.0.tar.gz) = bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550 +SIZE (rust/crates/strsim-0.7.0.tar.gz) = 8435 +SHA256 (rust/crates/syn-0.15.29.tar.gz) = 1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2 +SIZE (rust/crates/syn-0.15.29.tar.gz) = 146203 +SHA256 (rust/crates/termcolor-1.0.4.tar.gz) = 4096add70612622289f2fdcdbd5086dc81c1e2675e6ae58d6c4f62a16c6d7f2f +SIZE (rust/crates/termcolor-1.0.4.tar.gz) = 14416 +SHA256 (rust/crates/termion-1.5.1.tar.gz) = 689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096 +SIZE (rust/crates/termion-1.5.1.tar.gz) = 20659 +SHA256 (rust/crates/textwrap-0.10.0.tar.gz) = 307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6 +SIZE (rust/crates/textwrap-0.10.0.tar.gz) = 15986 +SHA256 (rust/crates/thread_local-0.3.6.tar.gz) = c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b +SIZE (rust/crates/thread_local-0.3.6.tar.gz) = 12388 +SHA256 (rust/crates/toml-0.5.0.tar.gz) = 87c5890a989fa47ecdc7bcb4c63a77a82c18f306714104b1decfd722db17b39e +SIZE (rust/crates/toml-0.5.0.tar.gz) = 51079 +SHA256 (rust/crates/twox-hash-1.1.2.tar.gz) = 555cd4909480122bbbf21e34faac4cb08a171f324775670447ed116726c474af +SIZE (rust/crates/twox-hash-1.1.2.tar.gz) = 7742 +SHA256 (rust/crates/ucd-util-0.1.3.tar.gz) = 535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86 +SIZE (rust/crates/ucd-util-0.1.3.tar.gz) = 25897 +SHA256 (rust/crates/unicode-segmentation-1.2.1.tar.gz) = aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1 +SIZE (rust/crates/unicode-segmentation-1.2.1.tar.gz) = 68223 +SHA256 (rust/crates/unicode-width-0.1.5.tar.gz) = 882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526 +SIZE (rust/crates/unicode-width-0.1.5.tar.gz) = 15761 +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/utf8-ranges-1.0.2.tar.gz) = 796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737 +SIZE (rust/crates/utf8-ranges-1.0.2.tar.gz) = 8510 +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/void-1.0.2.tar.gz) = 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d +SIZE (rust/crates/void-1.0.2.tar.gz) = 2356 +SHA256 (rust/crates/whatlang-0.7.0.tar.gz) = fc1896a535c457cf3085e39e0489d7271fddd6243baa25a9e0804bc2356ecc35 +SIZE (rust/crates/whatlang-0.7.0.tar.gz) = 78615 +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.2.8.tar.gz) = 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a +SIZE (rust/crates/winapi-0.2.8.tar.gz) = 455145 +SHA256 (rust/crates/winapi-0.3.6.tar.gz) = 92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0 +SIZE (rust/crates/winapi-0.3.6.tar.gz) = 1029391 +SHA256 (rust/crates/winapi-build-0.1.1.tar.gz) = 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc +SIZE (rust/crates/winapi-build-0.1.1.tar.gz) = 669 +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.2.tar.gz) = 7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9 +SIZE (rust/crates/winapi-util-0.1.2.tar.gz) = 7810 +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/wincolor-1.0.1.tar.gz) = 561ed901ae465d6185fa7864d63fbd5720d0ef718366c9a4dc83cf6170d7e9ba +SIZE (rust/crates/wincolor-1.0.1.tar.gz) = 4737 +SHA256 (valeriansaliou-sonic-v1.1.9_GH0.tar.gz) = e0586863e79dbcd9ea2897e91744c6fcf09625c883e4cfd715c60de38c9b745e +SIZE (valeriansaliou-sonic-v1.1.9_GH0.tar.gz) = 155319 +SHA256 (rust-rocksdb-rust-rocksdb-218edeffcc4122097f384e336f6cb08d2de83889_GH0.tar.gz) = 520b011c6ac86ab280aa05f3639a9867ca77bacfb79df8c1bc252c39656011e1 +SIZE (rust-rocksdb-rust-rocksdb-218edeffcc4122097f384e336f6cb08d2de83889_GH0.tar.gz) = 95487 +SHA256 (lz4-lz4-c10863b98e1503af90616ae99725ecd120265dfb_GH0.tar.gz) = 0df7bd2a9463d9345a038d2dad25c43a8771aef6f70f7c967bc0f28dea1affdc +SIZE (lz4-lz4-c10863b98e1503af90616ae99725ecd120265dfb_GH0.tar.gz) = 223026 +SHA256 (facebook-rocksdb-641fae60f63619ed5d0c9d9e4c4ea5a0ffa3e253_GH0.tar.gz) = d35b789eb6696e196cd407117bbce43d9edae7491e4843a8251ac1f77b5e99b0 +SIZE (facebook-rocksdb-641fae60f63619ed5d0c9d9e4c4ea5a0ffa3e253_GH0.tar.gz) = 5423518 +SHA256 (google-snappy-2d99bd14d471664758e4dfdf81b44f413a7353fd_GH0.tar.gz) = 1caf81f6cf3917344f7a35e462bda1b86b8427cbb1bc16d75ae411241ddfd4fc +SIZE (google-snappy-2d99bd14d471664758e4dfdf81b44f413a7353fd_GH0.tar.gz) = 1124835 +SHA256 (madler-zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f_GH0.tar.gz) = 6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45 +SIZE (madler-zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f_GH0.tar.gz) = 645528 +SHA256 (facebook-zstd-f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00_GH0.tar.gz) = 21e16e5b89f0f8c1fb9754933a029c3a9dee1c05bded953180230ba06aacb49a +SIZE (facebook-zstd-f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00_GH0.tar.gz) = 1858494 diff --git a/textproc/sonic/files/sonic.in b/textproc/sonic/files/sonic.in new file mode 100644 index 000000000000..fbf7458ad4e4 --- /dev/null +++ b/textproc/sonic/files/sonic.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# PROVIDE: sonic +# REQUIRE: NETWORKING +# BEFORE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name=sonic +desc="Fast, lightweight, and schema-less search backend" +rcvar=sonic_enable + +load_rc_config $name + +: ${sonic_enable:=NO} +: ${sonic_config="%%ETCDIR%%/config.cfg"} + +sonic_chdir=/var/db/sonic +pidfile=/var/run/sonic.pid +start_precmd="/usr/bin/install -d -o sonic -g sonic -m 750 /var/db/sonic" +command=/usr/sbin/daemon +command_args="-S -u sonic -P ${pidfile} %%PREFIX%%/bin/sonic -c ${sonic_config}" + +run_rc_command "$1" diff --git a/textproc/sonic/pkg-descr b/textproc/sonic/pkg-descr new file mode 100644 index 000000000000..a5dc4eb4ac6d --- /dev/null +++ b/textproc/sonic/pkg-descr @@ -0,0 +1,17 @@ +Sonic is a fast, lightweight, and schema-less search backend. It +ingests search texts and identifier tuples that can then be queried +against in a microsecond's time. + +Sonic can be used as a simple alternative to super-heavy and +full-featured search backends such as Elasticsearch in some use-cases. +It is capable of normalizing natural language search queries, +auto-completing a search query and providing the most relevant +results for a query. Sonic is an identifier index, rather than a +document index; when queried, it returns IDs that can then be used +to refer to the matched documents in an external database. + +A strong attention to performance and code cleanliness has been +given when designing Sonic. It aims at being crash-free, super-fast +and puts minimum strain on server resources. + +WWW: https://github.com/valeriansaliou/sonic |