BSD Ports

devel/p5-File-MMagic-XS 0.09008_1 FreeBSD

Guess File Type With XS (a la mod_mime_magic)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
33.9 KiB, 92.4 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

SystemPortVersion
FreeBSDdevel/p5-File-MMagic-XS0.09008_1
OpenBSDmisc/p5-File-MMagic-XS0.09008p3
NetBSDmisc/p5-File-MMagic-XS0.09008nb12
DragonFlydevel/p5-File-MMagic-XS0.09008_1
HardenedBSDdevel/p5-File-MMagic-XS0.09008_1
GhostBSDdevel/p5-File-MMagic-XS0.09008_1

Install

Binary package:

pkg install p5-File-MMagic-XS

From the ports tree:

cd /usr/ports/devel/p5-File-MMagic-XS/ && make install clean

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

RUN_DEPENDS=	p5-File-MMagic-XS>0:devel/p5-File-MMagic-XS

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:latest0.09008_10.09008_10.09008_10.09008_10.09008_1
FreeBSD:14:quarterly0.09008_10.09008_1n/a0.09008_10.09008_1
FreeBSD:15:latest0.09008_10.09008_1n/a0.09008_10.09008_1
FreeBSD:15:quarterly0.09008_10.09008_1n/an/an/a
FreeBSD:16:latest0.09008_10.09008_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 5
  • %%SITE_ARCH%%/File/MMagic/XS.pm
  • %%SITE_ARCH%%/File/MMagic/benchmark.pl
  • %%SITE_ARCH%%/File/MMagic/magic
  • %%SITE_ARCH%%/auto/File/MMagic/XS/XS.so
  • %%PERL5_MAN3%%/File::MMagic::XS.3.gz
distinfo 1
FileSizeSHA256
File-MMagic-XS-0.09008.tar.gz120918a9db0db6c5530ca63d1e248cae0b45b6dcd72d2838070fdef9443cbe056cd372
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.