BSD Ports

devel/p5-Time-timegm 0.01 FreeBSD

Efficiently compute time from local and GMT time

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
8.6 KiB, 14.3 KiB installed

Description

The POSIX standard provides three functions for converting between integer epoch values and 6-component "broken-down" time representations. localtime and gmtime convert an epoch into the 6 components of seconds, minutes, hours, day of month, month and year, in either local timezone or UTC. The mktime function converts a local broken-down time into an epoch value. However, POSIX does not provide a UTC version of this.

This module provides a function timegm which has this ability.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Time-timegm0.01
DragonFlydevel/p5-Time-timegm0.01
HardenedBSDdevel/p5-Time-timegm0.01
GhostBSDdevel/p5-Time-timegm0.01

Install

Binary package:

pkg install p5-Time-timegm

From the ports tree:

cd /usr/ports/devel/p5-Time-timegm/ && make install clean

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

RUN_DEPENDS=	p5-Time-timegm>0:devel/p5-Time-timegm

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.010.010.010.010.01
FreeBSD:14:quarterly0.010.01n/a0.010.01
FreeBSD:15:latest0.010.01n/a0.010.01
FreeBSD:15:quarterly0.010.01n/an/an/a
FreeBSD:16:latest0.010.01n/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 3
  • %%PERL5_MAN3%%/Time::timegm.3.gz
  • %%SITE_PERL%%/Time/timegm.pm
  • %%SITE_PERL%%/Time/timegm.xs
distinfo 1
FileSizeSHA256
Time-timegm-0.01.tar.gz13466e721cdfda183146b895e04cee712e10ab1bc73c8bad1bbc84c04b19ef1052c98
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.