devel/p5-File-MMagic-XS 0.09008_1 DragonFly
Guess File Type With XS (a la mod_mime_magic)
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 30.6 KiB, 87.3 KiB installed
Description
This is a port of Apache2 mod_mime_magic.c in Perl, written in XS with the aim of being efficient and fast especially for applications that need to be run for an extended amount of time.
There is a compatibility layer for File::MMagic. you can specify :compat when importing the module
use File::MMagic::XS qw(:compat);
And then the following methods are going to be available from File::MMagic::XS:
checktype_filename checktype_filehandle checktype_contents addMagicEntry
Currently this software is in beta. If you have suggestions/recommendations about the interface or anything else, now is your chance to send them!
In the other systems
The newest version among them is 0.09008, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-File-MMagic-XS | 0.09008_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-File-MMagic-XS | 0.09008_1 newest | none known | - | [email protected] | - |
| OpenBSD | misc/p5-File-MMagic-XS by name | 0.09008p3 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | misc/p5-File-MMagic-XS by name | 0.09008nb12 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-File-MMagic-XS | 0.09008_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-File-MMagic-XS | 0.09008_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-File-MMagic-XS
From DPorts:
cd /usr/dports/devel/p5-File-MMagic-XS && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.