BSD Ports

devel/rubygem-time 0.4.2_1 MidnightBSD

Extend the Time class with methods for parsing and conversion

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
22173208f1
License
bsd2, ruby
Categories
devel, rubygems

Description

When 'time' is required, Time is extended with additional methods for parsing and converting Times.

This library extends the Time class with the following conversions between date strings and Time objects:

  • date-time defined by RFC 2822
  • HTTP-date defined by RFC 2616.
  • dateTime defined by XML Schema Part 2: Datatypes (ISO 8601)
  • various formats handled by Date._parse
  • custom formats handled by Date._strptime

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-time0.4.2_1
FreeBSDdevel/rubygem-time0.4.2
DragonFlydevel/rubygem-time0.4.1

Install

Binary package:

mport install time

From mports:

cd /usr/mports/devel/rubygem-time && make install clean

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

RUN_DEPENDS=	time>0:devel/rubygem-time

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
gem cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/time-0.4.2.gem13824f324e498c3bde9471d45a7d18f874c27980e9867aa5cfca61bebf52262bc3dab
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …