BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDwww/p5-LWP-MediaTypes6.04 behind since 2026-09-04no data-[email protected]-
FreeBSDwww/p5-LWP-MediaTypes6.05 newestnone known-[email protected]2026-09-19
OpenBSDwww/p5-LWP-MediaTypes6.05 newestno data-Nigel Taylor <[email protected]>2026-09-04
NetBSDwww/p5-LWP-MediaTypes6.05 newestnone known-[email protected]2026-09-12
DragonFlywww/p5-LWP-MediaTypes6.04 behind since 2026-09-04none known-[email protected]-
HardenedBSDwww/p5-LWP-MediaTypes6.05 newestno data-[email protected]-
GhostBSDwww/p5-LWP-MediaTypes6.05 newestno data-[email protected]-
OPNsensewww/p5-LWP-MediaTypes6.04 behind since 2026-09-04no data-[email protected]-

Compare across BSDs

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

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
FileSizeSHA256
LWP-MediaTypes-6.04.tar.gz400008f1bca12dab16a1c2a7c03a49c5e58cce41a6fec9519f0aadfba8dad997919d9
Master sites 1
  • CPAN