BSD Ports

sysutils/magika 1.1.0_2 FreeBSD

Fast and accurate AI powered file content types detection

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
9c878207a1
License
APACHE20
Categories
sysutils
Package size
3286.2 KiB, 4123.8 KiB installed

Description

Magika is a novel AI-powered file type detection tool that relies on the recent advance of deep learning to provide accurate detection. Under the hood, Magika employs a custom, highly optimized model that only weighs about a few MBs, and enables precise file identification within milliseconds, even when running on a single CPU. Magika has been trained and evaluated on a dataset of ~100M samples across 200+ content types (covering both binary and textual file formats), and it achieves an average ~99% accuracy on our test set.

Magika is used at scale to help improve Google users' safety by routing Gmail, Drive, and Safe Browsing files to the proper security and content policy scanners, processing hundreds billions samples on a weekly basis.

Install

Binary package:

pkg install magika

From the ports tree:

cd /usr/ports/sysutils/magika/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	magika>0:sysutils/magika

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.0_11.1.0_2---
FreeBSD:14:quarterly1.1.0_11.1.0_1n/a--
FreeBSD:15:latest1.1.0_21.1.0_2n/a--
FreeBSD:15:quarterly1.1.0_11.1.0_1n/an/an/a
FreeBSD:16:latest1.1.0_11.1.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 13
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 152
FileSizeSHA256
rust/crates/addr2line-0.25.1.crate431341b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/anstream-0.6.21.crate2951643d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a
rust/crates/anstyle-1.0.13.crate176515192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78
rust/crates/anstyle-parse-0.2.7.crate217074e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
rust/crates/anstyle-query-1.1.4.crate101929e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2
rust/crates/anstyle-wincon-3.0.10.crate125583e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a
rust/crates/anyhow-1.0.100.crate54059a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61
rust/crates/async-channel-2.5.0.crate18624924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2
rust/crates/autocfg-1.5.0.crate18729c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
rust/crates/backtrace-0.3.76.crate89458bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6
rust/crates/base64-0.22.1.crate8159772b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
rust/crates/base64ct-1.8.0.crate3121155248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba
rust/crates/bitflags-2.9.4.crate479502261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
rust/crates/byteorder-1.5.0.crate232881fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b
rust/crates/bytes-1.11.1.crate785841e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33
rust/crates/cc-1.2.40.crate91094e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb
rust/crates/cfg-if-1.0.3.crate87192fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
rust/crates/clap-4.5.48.crate61935e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae
rust/crates/clap_builder-4.5.48.crate170133c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9

Commit history 3

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
0fe0d014a7 Yuri Victorovich sysutils/magika: New port: Fast and accurate AI powered file content types detection