Bug 169891 - New port: sysutil/tai64nfrac TAI64N timestamp converter''
Summary: New port: sysutil/tai64nfrac TAI64N timestamp converter''
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 21:40 UTC by paulo
Modified: 2012-09-02 14:20 UTC (History)
0 users

See Also:


Attachments
file.shar (2.68 KB, text/plain)
2012-07-15 21:40 UTC, paulo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description paulo 2012-07-15 21:40:08 UTC
This utility is many useful to convert logs with TAI64N timestamp created by Dan Bernstein.

Fix: Patch attached with submission follows:
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2012-07-20 20:48:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it.
Comment 2 Carlo Strub freebsd_committer freebsd_triage 2012-07-20 20:55:45 UTC
State Changed
From-To: open->feedback

There are many portlint errors. Most importantly, the header in the Makefile is missing. Please use ports-mgmt/portlint and ports-mgmt/genplist to double check your port and rewrite the Makefile header as required (and as other ports do). See the Porter's Handbook for advice. Then, resubmit your patch to this PR.
Comment 3 paulo 2012-07-27 02:38:54 UTC
>Submitter-Id:	current-users
>Originator:	Paulo Fragoso
>Organization:	Nlink Comercio e Servicos Ltda
>Confidential:	no 
>Synopsis:	Re: ports/169891: New port: sysutil/tai64nfrac TAI64N timestamp converter''
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 9.0-STABLE i386
>Environment:
System: FreeBSD release.nlink.com.br 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Jul 9 19:40:34 BRT 2012 paulo@release.nlink.com.br:/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:

	

--- tai64nfrac.shar begins here ---
# 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
#	tai64nfrac/README.html
#
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'
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# New ports collection makefile for:	tai64nfrac
X# Date created:		20 july 2012
X# Whom:			paulo@nlnk.com.br
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tai64nfrac
XPORTVERSION=	1.4
XCATEGORIES=	sysutils
XMASTER_SITES=	http://archives.eyrie.org/software/system/ \
X		http://linux4u.jinr.ru/pub/OpenAFS/eyrie/software/system/
X
XMAINTAINER=	Paulo Fragoso <paulo@nlink.com.br>
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://www.eyrie.org/~eagle/software/tai64nfrac/
330bed8760fc51421b03d5ad77aefeee
echo x - tai64nfrac/README.html
sed 's/^X//' >tai64nfrac/README.html << 'bf80cefad59b1c65cec26964144d019e'
X<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
X
X<html>
X  <head>
X    <title>The FreeBSD Ports Collection (sysutils/tai64nfrac)</title>
X  </head>
X
X  <body>
X    <h1>The FreeBSD Ports Collection (sysutils/tai64nfrac)</h1>
X    <hr>
X
X    <p>You are now in the directory for the port "sysutils/tai64nfrac".</p>
X
X    <p>The package name of this port is "tai64nfrac-1.4".</p>
X
X    <p>This is the one-line description for this port:</p>
X    <hr>
X
X    <p>
XConvert tai64n format invented by Dan Bernstein
X    </p>
X    <hr>
X
X    <p>Please read the "<a href="pkg-descr">description file</a>" for a
X    longer description and/or visit the <a href="http://www.eyrie.org/~eagle/software/tai64nfrac/">web site</a> for futher informations.</p>
X
X    <p>If needed, you may contact the <a href=
X    "mailto:paulo@nlink.com.br">maintainer</a> of this port or the port <a href=
X    "mailto:ports@FreeBSD.org">mailing-list</a>.</p>
X
X    <p></p>
X
X    <p></p>
X
X    <p>Go to the <a href="../../README.html">top of the ports tree</a> for
X    a summary on how to use the ports collection.</p>
X    <hr>
X
X    <p><a href="../README.html">Go up one level</a> | <a href=
X    "../../README.html">Go to top of ports tree</a></p>
X  </body>
X</html>
X
bf80cefad59b1c65cec26964144d019e
exit
--- tai64nfrac.shar ends here ---
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-09-02 14:09:10 UTC
Author: cs
Date: Sun Sep  2 13:08:58 2012
New Revision: 303547
URL: http://svn.freebsd.org/changeset/ports/303547

Log:
  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

Added:
  head/sysutils/tai64nfrac/
  head/sysutils/tai64nfrac/Makefile   (contents, props changed)
  head/sysutils/tai64nfrac/distinfo   (contents, props changed)
  head/sysutils/tai64nfrac/files/
  head/sysutils/tai64nfrac/files/patch-makefile   (contents, props changed)
  head/sysutils/tai64nfrac/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sun Sep  2 12:03:45 2012	(r303546)
+++ head/sysutils/Makefile	Sun Sep  2 13:08:58 2012	(r303547)
@@ -902,6 +902,7 @@
     SUBDIR += sysrc
     SUBDIR += system-tools-backends
     SUBDIR += sysupdate
+    SUBDIR += tai64nfrac
     SUBDIR += tarsnap
     SUBDIR += tbku
     SUBDIR += tclsyslog

Added: head/sysutils/tai64nfrac/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tai64nfrac/Makefile	Sun Sep  2 13:08:58 2012	(r303547)
@@ -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>

Added: head/sysutils/tai64nfrac/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tai64nfrac/distinfo	Sun Sep  2 13:08:58 2012	(r303547)
@@ -0,0 +1,2 @@
+SHA256 (tai64nfrac-1.4.tar.gz) = 7d42596eb0878a588dae6885640ecaa157c0bec12fda1fa3fb5c1cb99c2b50ad
+SIZE (tai64nfrac-1.4.tar.gz) = 4517

Added: head/sysutils/tai64nfrac/files/patch-makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tai64nfrac/files/patch-makefile	Sun Sep  2 13:08:58 2012	(r303547)
@@ -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

Added: head/sysutils/tai64nfrac/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tai64nfrac/pkg-descr	Sun Sep  2 13:08:58 2012	(r303547)
@@ -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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-09-02 14:13:28 UTC
Author: cs (ports committer)
Date: Sun Sep  2 13:13:19 2012
New Revision: 39489
URL: http://svn.freebsd.org/changeset/doc/39489

Log:
  Add Paulo Fragoso
  
  PR:		ports/169891

Modified:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml

Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml
==============================================================================
--- head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml	Sun Sep  2 12:21:36 2012	(r39488)
+++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml	Sun Sep  2 13:13:19 2012	(r39489)
@@ -8063,6 +8063,11 @@
     </listitem>
 
     <listitem>
+      <para>Paulo Fragoso
+	<email>paulo@nlink.com.br</email></para>
+    </listitem>
+
+    <listitem>
       <para>Paulo Menezes
 	<email>paulo@isr.uc.pt</email></para>
     </listitem>
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 6 Carlo Strub freebsd_committer freebsd_triage 2012-09-02 14:13:37 UTC
State Changed
From-To: feedback->closed

Committed. Thank you very much.