www/p5-LWP-MediaTypes 6.04 MidnightBSD
Guess media type for a file or a URL
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- www, perl5
Description
LWP::MediaTypes provides functions for handling media (also known as MIME) types and encodings. The mapping from file extensions to media types is defined by the media.types file. If the ~/.media.types file exists it is used instead. For backwards compatibility we will also look for ~/.mime.types.
In the other systems
The newest version among them is 6.05, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/p5-LWP-MediaTypes | 6.04 behind since 2026-09-04 | no data | - | [email protected] | - |
| FreeBSD | www/p5-LWP-MediaTypes | 6.05 newest | none known | - | [email protected] | 2026-09-19 |
| OpenBSD | www/p5-LWP-MediaTypes | 6.05 newest | no data | - | Nigel Taylor <[email protected]> | 2026-09-04 |
| NetBSD | www/p5-LWP-MediaTypes | 6.05 newest | none known | - | [email protected] | 2026-09-12 |
| DragonFly | www/p5-LWP-MediaTypes | 6.04 behind since 2026-09-04 | none known | - | [email protected] | - |
| HardenedBSD | www/p5-LWP-MediaTypes | 6.05 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-LWP-MediaTypes | 6.05 newest | no data | - | [email protected] | - |
| OPNsense | www/p5-LWP-MediaTypes | 6.04 behind since 2026-09-04 | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-LWP-MediaTypes
From mports:
cd /usr/mports/www/p5-LWP-MediaTypes && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-LWP-MediaTypes>0:www/p5-LWP-MediaTypes
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
As this port's Makefile names them.
Test 1
p5-Test-Fatal>=0: devel/p5-Test-Fatal
Required by 3
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_PERL%%/LWP/MediaTypes.pm
- %%SITE_PERL%%/LWP/media.types
- %%PERL5_MAN3%%/LWP::MediaTypes.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| LWP-MediaTypes-6.04.tar.gz | 40000 | 8f1bca12dab16a1c2a7c03a49c5e58cce41a6fec9519f0aadfba8dad997919d9 |
Master sites 1
- CPAN