BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-File-MMagic-XS0.09008_1 newestnone known-[email protected]-
FreeBSDdevel/p5-File-MMagic-XS0.09008_1 newestnone known-[email protected]-
OpenBSDmisc/p5-File-MMagic-XS by name0.09008p3 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDmisc/p5-File-MMagic-XS by name0.09008nb12 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-File-MMagic-XS0.09008_1 newestno data-[email protected]-
GhostBSDdevel/p5-File-MMagic-XS0.09008_1 newestno data-[email protected]-

Compare across BSDs

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.

Dependencies

Run dependencies 1
Required by 1