ports/169891: New port: sysutil/tai64nfrac TAI64N timestamp converter''
Paulo Fragoso
paulo at nlink.com.br
Sun Jul 15 20:40:09 UTC 2012
>Number: 169891
>Category: ports
>Synopsis: New port: sysutil/tai64nfrac TAI64N timestamp converter''
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 15 20:40:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Paulo Fragoso
>Release: FreeBSD 9.0-RELEASE
>Organization:
Nlink Comercio e Servicos Ltda
>Environment:
FreeBSD fw.nlink.com.br 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This utility is many useful to convert logs with TAI64N timestamp created by Dan Bernstein.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# tai64nfrac
# tai64nfrac/files
# tai64nfrac/files/patch-makefile
# tai64nfrac/distinfo
# tai64nfrac/pkg-plist
# tai64nfrac/Makefile
# tai64nfrac/pkg-descr
#
echo c - tai64nfrac
mkdir -p tai64nfrac > /dev/null 2>&1
echo c - tai64nfrac/files
mkdir -p tai64nfrac/files > /dev/null 2>&1
echo x - tai64nfrac/files/patch-makefile
sed 's/^X//' >tai64nfrac/files/patch-makefile << 'df1c12ca1090b311f8720f960d345f2f'
X--- Makefile.orig Thu Sep 4 12:05:38 2003
X+++ Makefile Thu Sep 4 12:08:48 2003
X@@ -4,8 +4,7 @@
X prefix = /usr/local
X exec_prefix = /usr/local
X bindir = $(prefix)/bin
X-mandir = $(prefix)/man
X-man1dir = $(mandir)/man1
X+mandir = $(prefix)/man/man1
X
X CC = gcc
X CFLAGS = -g -O
X@@ -25,10 +24,8 @@
X --section=1 $< > $@
X
X install: tai64nfrac tai64nfrac.1
X- mkdir -p $(bindir)
X- cp tai64nfrac $(bindir)
X- mkdir -p $(man1dir)
X- cp tai64nfrac.1 $(man1dir)
X+ install -c -g 0 -o 0 -m 0555 tai64nfrac $(bindir)
X+ install -c -g 0 -o 0 -m 0444 tai64nfrac.1 $(mandir)
X
X clean:
X rm -f *.o tai64nfrac
df1c12ca1090b311f8720f960d345f2f
echo x - tai64nfrac/distinfo
sed 's/^X//' >tai64nfrac/distinfo << '5ce31d8dc3eb16096315d77031df053c'
XMD5 (tai64nfrac-1.4.tar.gz) = 0bb2546f579bb8c226e7267dc168f3a5
XSHA256 (tai64nfrac-1.4.tar.gz) = 7d42596eb0878a588dae6885640ecaa157c0bec12fda1fa3fb5c1cb99c2b50ad
XSIZE (tai64nfrac-1.4.tar.gz) = 4517
5ce31d8dc3eb16096315d77031df053c
echo x - tai64nfrac/pkg-plist
sed 's/^X//' >tai64nfrac/pkg-plist << 'f4e9a120d8a1a66f23736be8dd0c0760'
Xbin/tai64nfrac
Xman/man1/tai64nfrac.1
f4e9a120d8a1a66f23736be8dd0c0760
echo x - tai64nfrac/Makefile
sed 's/^X//' >tai64nfrac/Makefile << '2c7a986075f9bf5c554c1a120a00b3b1'
X#
X# tai64nfrac para o log de e-mail
X#
X
XPORTNAME= tai64nfrac
XPORTVERSION= 1.4
XCATEGORIES= sysutils
XMASTER_SITES= http://archives.eyrie.org/software/system/
X
XMAINTAINER= paulo at nlink.com.br
X
XCOMMENT= Convert tai64n format invented by Dan Bernstein
X
X.include <bsd.port.mk>
2c7a986075f9bf5c554c1a120a00b3b1
echo x - tai64nfrac/pkg-descr
sed 's/^X//' >tai64nfrac/pkg-descr << '330bed8760fc51421b03d5ad77aefeee'
XThe TAI64N format is a format for time stamps in log files, invented by
XDan Bernstein and used by some of his software, most notably the multilog
Xcomponent of daemontools. That package comes with a program (tai64nlocal)
Xto convert those time stamps to a human-readable date.
X
XWWW: http://http://www.eyrie.org/~eagle/software/tai64nfrac/
330bed8760fc51421b03d5ad77aefeee
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list