devel/libtai 0.60_7 FreeBSD
Library for storing and manipulating dates and times
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- UNLICENSE
- Categories
- devel
- Package size
- 25.7 KiB, 89.9 KiB installed
Description
libtai supports two time scales: (1) TAI64, covering a few hundred billion years with 1-second precision; (2) TAI64NA, covering the same period with 1-attosecond precision. Both scales are defined in terms of TAI, the current international real time standard.
libtai provides an internal format for TAI64, struct tai, designed for fast time manipulations. The tai_pack() and tai_unpack() routines convert between struct tai and a portable 8-byte TAI64 storage format. libtai provides similar internal and external formats for TAI64NA.
libtai provides struct caldate to store dates in year-month-day form. It can convert struct caldate, under the Gregorian calendar, to a modified Julian day number for easy date arithmetic.
This version of libtai requires a UNIX system with gettimeofday(). It will be easy to port to other operating systems with compilers supporting 64-bit arithmetic.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libtai | 0.60_7 |
| NetBSD | devel/libtai | 0.60nb8 |
| DragonFly | devel/libtai | 0.60_7 |
Install
Binary package:
pkg install libtai
From the ports tree:
cd /usr/ports/devel/libtai/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libtai>0:devel/libtai
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.60_7 | 0.60_7 | 0.60_6 | 0.60_7 | 0.60_7 |
| FreeBSD:14:quarterly | 0.60_7 | 0.60_7 | n/a | 0.60_7 | 0.60_7 |
| FreeBSD:15:latest | 0.60_7 | 0.60_7 | n/a | 0.60_7 | 0.60_7 |
| FreeBSD:15:quarterly | 0.60_7 | 0.60_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.60_7 | 0.60_7 | 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 7
Required by 1
Configuration
No options to configure.
- USES
- groff
- Service scripts
- none
- Conflicts with
- mess822
Files
Manual pages 11
- caldate(3)
- caldate_mjd(3)
- caltime(3)
- caltime_tai(3)
- leapsecs(3)
- tai(3)
- tai_now(3)
- tai_pack(3)
- taia(3)
- taia_now(3)
- taia_pack(3)
pkg-plist 25
- bin/easter
- bin/leapsecs
- bin/nowutc
- bin/yearcal
- include/libtai/caldate.h
- include/libtai/caltime.h
- include/libtai/leapsecs.h
- include/libtai/tai.h
- include/libtai/taia.h
- include/libtai/uint64.h
- lib/.a
- lib/.so
- lib/.so.
- share/man/man3/caldate.3.gz
- share/man/man3/caldate_mjd.3.gz
- share/man/man3/caltime.3.gz
- share/man/man3/caltime_tai.3.gz
- share/man/man3/leapsecs.3.gz
- share/man/man3/tai.3.gz
- share/man/man3/tai_now.3.gz
- share/man/man3/tai_pack.3.gz
- share/man/man3/taia.3.gz
- share/man/man3/taia_now.3.gz
- share/man/man3/taia_pack.3.gz
- @(,,0644) etc/leapsecs.dat
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libtai-0.60.tar.gz | 17300 | 06dc42ccb77aee681fbd0e0754fc2180e1e9aeaa650838e9d74933d447a3d219 |
Master sites 2
- http://cr.yp.to/libtai/
- ftp://ftp.task.gda.pl/mirror/mirror.qmail.org/koobera/pub/software/
Commit history 0
No commits in the history this site was built from.