notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
sonic Fast, lightweight, and schema-less search backend
1.3.0_13 textproc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.3.0_11Version of this port present on the latest quarterly branch.
Maintainer: mikael@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-04-03 17:43:32
Last Update: 2021-09-19 09:03:23
Commit Hash: 7059b43
License: MPL20
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/sonic
  2. @sample /usr/local/etc/sonic/config.cfg.sample
  3. /usr/local/share/licenses/sonic-1.3.0_13/catalog.mk
  4. /usr/local/share/licenses/sonic-1.3.0_13/LICENSE
  5. /usr/local/share/licenses/sonic-1.3.0_13/MPL20
Collapse this list.
Dependency lines:
  • sonic>0:textproc/sonic
To install the port: cd /usr/ports/textproc/sonic/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/sonic
  • pkg install sonic
PKGNAME: sonic
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
sonic
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.3.0_131.3.0_11
FreeBSD:11:armv6--
FreeBSD:11:i3861.3.0_131.3.0_11
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd641.3.0_131.3.0_11
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.3.0_131.3.0_11
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd641.3.0_131.3.0_11
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.3.0_131.3.0_11
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.3.0_71.3.0_11
FreeBSD:14:aarch641.3.0_13-
FreeBSD:14:amd641.3.0_13-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.3.0_13-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.3.0_9-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. llvm90>0 : devel/llvm90
  2. rust>=1.55.0 : lang/rust
  3. gmake : devel/gmake
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/valeriansaliou/sonic/tar.gz/v1.3.0?dummy=/
Collapse this list.

Number of commits found: 39

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 Sep 2021 09:03:23
 files touched by this commit commit hash:7059b437276adb3724a01c87aa54da081f71c94b  1.3.0_13
tobik search for other commits by this committer
*: Rebuild lang/rust consumers after the 1.55.0 update
28 Aug 2021 13:42:06
 files touched by this commit commit hash:70f1b063ed6e9bfdab36a45f5fb18898d5e66b24  1.3.0_12
mikael search for other commits by this committer
lang/rust: Rebuild consumers for 1.54.0
27 Jun 2021 05:39:51
 files touched by this commit commit hash:06dbc12f96527e421161f573b6f983c8cfb0391c  1.3.0_11
tobik search for other commits by this committer
lang/rust: Rebuild consumers for 1.53.0
11 May 2021 18:33:12
 files touched by this commit commit hash:28e7a9334a30b9ace65539f22940d2d7831bad1e  1.3.0_10
tobik search for other commits by this committer
Rebuild lang/rust consumers after d8837418ea743776
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1.3.0_9
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.3.0_9
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2021 18:10:46
Original commit files touched by this commit Revision:569491  1.3.0_9
tobik search for other commits by this committer
Rebuild lang/rust consumers after r569489
14 Feb 2021 15:45:11
Original commit files touched by this commit Revision:565245  1.3.0_8
mikael search for other commits by this committer
lang/rust: Update to 1.50.0

  - Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
06 Jan 2021 10:13:59
Original commit files touched by this commit Revision:560492  1.3.0_7
mikael search for other commits by this committer
lang/rust: Update to 1.49.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D27940
24 Nov 2020 12:48:54
Original commit files touched by this commit Revision:556157  1.3.0_6
mikael search for other commits by this committer
lang/rust: Update to 1.48.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
26 Oct 2020 16:54:16
Original commit files touched by this commit Revision:553367  1.3.0_5
mikael search for other commits by this committer
Take maintainership
13 Oct 2020 08:36:35
Original commit files touched by this commit Revision:552221  1.3.0_5
mikael search for other commits by this committer
lang/rust: Update to 1.47.0

  - Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
   
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
28 Sep 2020 05:05:25
Original commit files touched by this commit Revision:550400  1.3.0_4
tobik search for other commits by this committer
Reset MAINTAINER
30 Aug 2020 18:36:08
Original commit files touched by this commit Revision:547071  1.3.0_4
tobik search for other commits by this committer
lang/rust: Update to 1.46.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D26176
03 Aug 2020 15:18:49
Original commit files touched by this commit Revision:544073  1.3.0_3
tobik search for other commits by this committer
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
30 Jul 2020 18:26:54
Original commit files touched by this commit Revision:543815  1.3.0_2
tobik search for other commits by this committer
lang/rust: Update to 1.45.1

- Apply the "hard links break `env::current_exe()`" workaround from
  r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0

Changes:	https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25835
17 Jul 2020 06:44:04
Original commit files touched by this commit Revision:542412  1.3.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.45.0

- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
28 Jun 2020 04:58:02
Original commit files touched by this commit Revision:540672  1.3.0
tobik search for other commits by this committer
textproc/sonic: Update to v1.3.0

Changes:	https://github.com/valeriansaliou/sonic/releases/tag/v1.3.0
04 Jun 2020 18:08:01
Original commit files touched by this commit Revision:537917  1.2.3_7
tobik search for other commits by this committer
lang/rust: Update to 1.44.0

- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR:		246332 [1]
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25099
23 Apr 2020 15:32:30
Original commit files touched by this commit Revision:532685  1.2.3_6
tobik search for other commits by this committer
lang/rust: Update to 1.43.0

- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
17 Mar 2020 22:34:58
Original commit files touched by this commit Revision:528607  1.2.3_5
tobik search for other commits by this committer
Unbreak librocksdb-sys crate build after LLVM 10 import

In file included from rocksdb/utilities/backupable/backupable_db.cc:16:
rocksdb/util/channel.h:35:33: error: no matching constructor for initialization
of 'std::lock_guard<std::mutex>'
    std::lock_guard<std::mutex> lk(lock_);
                                ^  ~~~~~
/usr/include/c++/v1/__mutex_base:90:14: note: candidate constructor not viable:
1st argument ('const std::mutex') would lose const qualifier
    explicit lock_guard(mutex_type& __m)
_LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
             ^
/usr/include/c++/v1/__mutex_base:100:5: note: candidate constructor not viable:
no known conversion from 'const std::mutex' to 'const
std::__1::lock_guard<std::__1::mutex>' for 1st argument
    lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
    ^
/usr/include/c++/v1/__mutex_base:94:5: note: candidate constructor not viable:
requires 2 arguments, but 1 was provided
    lock_guard(mutex_type& __m, adopt_lock_t)
_LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
    ^
1 error generated.
12 Mar 2020 19:39:25
Original commit files touched by this commit Revision:528318  1.2.3_5
tobik search for other commits by this committer
lang/rust: Update to 1.42.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24020
27 Feb 2020 15:22:29
Original commit files touched by this commit Revision:527260  1.2.3_4
tobik search for other commits by this committer
lang/rust: Update to 1.41.1

- Force rebuild all consumers to fix potential miscompilations with
  1.41.0
- Enable SOURCES by default.  The sources are indexed by RLS and
  required for it to function properly, so they should be available
  by default.  This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]

Changes:	https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by:	mikael [0,1,2]
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23835
30 Jan 2020 20:00:07
Original commit files touched by this commit Revision:524658  1.2.3_3
tobik search for other commits by this committer
lang/rust: Update to 1.41.0

- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
  architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
  produce more useful failure logs when something panics during
  builds

Changes:	https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23385
19 Dec 2019 16:14:49
Original commit files touched by this commit Revision:520446  1.2.3_2
tobik search for other commits by this committer
lang/rust: Update to 1.40.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22843
07 Nov 2019 18:07:20
Original commit files touched by this commit Revision:516995  1.2.3_1
tobik search for other commits by this committer
lang/rust: Update to 1.39.0

- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
15 Oct 2019 08:28:55
Original commit files touched by this commit Revision:514495  1.2.3
tobik search for other commits by this committer
textproc/sonic: Update to v1.2.3

Changes:	https://github.com/valeriansaliou/sonic/releases/tag/v1.2.3
27 Sep 2019 09:35:21
Original commit files touched by this commit Revision:513013  1.2.2_4
tobik search for other commits by this committer
lang/rust: Update to 1.38.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html
Tested by:	jbeich, mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21778
20 Sep 2019 19:58:36
Original commit files touched by this commit Revision:512440  1.2.2_3
jbeich search for other commits by this committer
Switch default devel/llvm* to 90

PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
15 Aug 2019 14:30:16
Original commit files touched by this commit Revision:508994  1.2.2_2
tobik search for other commits by this committer
lang/rust: Update to 1.37.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Tested by:	jbeich, tobik, greg@unrelenting.technology (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21247
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  1.2.2_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
12 Jul 2019 08:17:37
Original commit files touched by this commit Revision:506442  1.2.2
tobik search for other commits by this committer
textproc/sonic: Update to 1.2.2

Changes:	https://github.com/valeriansaliou/sonic/releases/tag/v1.2.2
09 Jul 2019 10:35:08
Original commit files touched by this commit Revision:506277  1.2.1
tobik search for other commits by this committer
textproc/sonic: Update to 1.2.1

Changes:	https://github.com/valeriansaliou/sonic/releases/tag/v1.2.1
04 Jul 2019 14:41:57
Original commit files touched by this commit Revision:505837  1.2.0_3
tobik search for other commits by this committer
lang/rust: Update to 1.36.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
Tested by:	jbeich, mikael.urankar@gmail.com
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20810
24 May 2019 03:25:12
Original commit files touched by this commit Revision:502416  1.2.0_2
tobik search for other commits by this committer
lang/rust: Update to 1.35.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/05/23/Rust-1.35.0.html
Reviewed by:	jbeich
Tested by:	pkubaj (powerpc64), mikael.urankar@gmail.com (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20332
15 May 2019 03:12:15
Original commit files touched by this commit Revision:501679  1.2.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.34.2

- While here add patches from [1] for LibreSSL 2.9.1 support

[1] https://github.com/sfackler/rust-openssl/pull/1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166
04 May 2019 09:23:48
Original commit files touched by this commit Revision:500799  1.2.0
tobik search for other commits by this committer
textproc/sonic: Update to 1.2.0

Changes:	https://github.com/valeriansaliou/sonic/releases/tag/v1.2.0
11 Apr 2019 19:39:28
Original commit files touched by this commit Revision:498677  1.1.9_1
tobik search for other commits by this committer
lang/rust: Update to 1.34.0

- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
Reviewed by:	jbeich
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D19850
03 Apr 2019 17:43:13
Original commit files touched by this commit Revision:497739  1.1.9
tobik search for other commits by this committer
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

Number of commits found: 39