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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-MMagic-XS | 0.09008_1 |
| OpenBSD | misc/p5-File-MMagic-XS | 0.09008p3 |
| NetBSD | misc/p5-File-MMagic-XS | 0.09008nb12 |
| DragonFly | devel/p5-File-MMagic-XS | 0.09008_1 |
| HardenedBSD | devel/p5-File-MMagic-XS | 0.09008_1 |
| GhostBSD | devel/p5-File-MMagic-XS | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.09008_1 | 0.09008_1 | 0.09008_1 | 0.09008_1 | 0.09008_1 |
| FreeBSD:14:quarterly | 0.09008_1 | 0.09008_1 | n/a | 0.09008_1 | 0.09008_1 |
| FreeBSD:15:latest | 0.09008_1 | 0.09008_1 | n/a | 0.09008_1 | 0.09008_1 |
| FreeBSD:15:quarterly | 0.09008_1 | 0.09008_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.09008_1 | 0.09008_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| File-MMagic-XS-0.09008.tar.gz | 120918 | a9db0db6c5530ca63d1e248cae0b45b6dcd72d2838070fdef9443cbe056cd372 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.