1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

The TAI64N format is a format for time stamps in log files, invented by Dan

Bernstein and used by some of his software, most notably the multilog component
of daemontools. That package comes with a program (tai64nlocal) to convert those
time stamps to a human-readable date.

WWW: http://www.eyrie.org/~eagle/software/tai64nfrac/

PR:		ports/169891
Submitted by:	paulo@nlink.com.br
This commit is contained in:
Carlo Strub 2012-09-02 13:08:58 +00:00
parent 0605c9637c
commit c671393334
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303547
5 changed files with 52 additions and 0 deletions

View File

@ -902,6 +902,7 @@
SUBDIR += sysrc
SUBDIR += system-tools-backends
SUBDIR += sysupdate
SUBDIR += tai64nfrac
SUBDIR += tarsnap
SUBDIR += tbku
SUBDIR += tclsyslog

View File

@ -0,0 +1,15 @@
# $FreeBSD$
PORTNAME= tai64nfrac
PORTVERSION= 1.4
CATEGORIES= sysutils
MASTER_SITES= http://archives.eyrie.org/software/system/ \
http://linux4u.jinr.ru/pub/OpenAFS/eyrie/software/system/
MAINTAINER= paulo@nlink.com.br
COMMENT= Convert tai64n format invented by Dan Bernstein
MAN1= tai64nfrac.1
PLIST_FILES= bin/tai64nfrac
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (tai64nfrac-1.4.tar.gz) = 7d42596eb0878a588dae6885640ecaa157c0bec12fda1fa3fb5c1cb99c2b50ad
SIZE (tai64nfrac-1.4.tar.gz) = 4517

View File

@ -0,0 +1,28 @@
--- Makefile 2003-03-10 03:33:41.000000000 +0100
+++ Makefile.new 2012-09-02 14:58:41.920363626 +0200
@@ -4,10 +4,9 @@
prefix = /usr/local
exec_prefix = /usr/local
bindir = $(prefix)/bin
-mandir = $(prefix)/man
-man1dir = $(mandir)/man1
+mandir = $(prefix)/man/man1
-CC = gcc
+CC ?= gcc
CFLAGS = -g -O
LDFLAGS =
LIBS =
@@ -25,10 +24,8 @@
--section=1 $< > $@
install: tai64nfrac tai64nfrac.1
- mkdir -p $(bindir)
- cp tai64nfrac $(bindir)
- mkdir -p $(man1dir)
- cp tai64nfrac.1 $(man1dir)
+ install -c -g 0 -o 0 -m 0555 tai64nfrac $(bindir)
+ install -c -g 0 -o 0 -m 0444 tai64nfrac.1 $(mandir)
clean:
rm -f *.o tai64nfrac

View File

@ -0,0 +1,6 @@
The TAI64N format is a format for time stamps in log files, invented by Dan
Bernstein and used by some of his software, most notably the multilog component
of daemontools. That package comes with a program (tai64nlocal) to convert those
time stamps to a human-readable date.
WWW: http://www.eyrie.org/~eagle/software/tai64nfrac/