Date: Thu, 1 Sep 2016 13:36:05 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421213 - in head/misc: . timediff Message-ID: <201609011336.u81Da5Tx085326@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Thu Sep 1 13:36:05 2016 New Revision: 421213 URL: https://svnweb.freebsd.org/changeset/ports/421213 Log: New port: misc/timediff timediff is a simple command line tool to show time pairs between target timezone and localtime. $ date Mon Aug 29 23:10:36 EDT 2016 $ timediff Tokyo 2016-08-30 12:10 JST 2016-08-29 23:10 EDT 2016-08-30 13:10 JST 2016-08-30 00:10 EDT 2016-08-30 14:10 JST 2016-08-30 01:10 EDT 2016-08-30 15:10 JST 2016-08-30 02:10 EDT 2016-08-30 16:10 JST 2016-08-30 03:10 EDT 2016-08-30 17:10 JST 2016-08-30 04:10 EDT 2016-08-30 18:10 JST 2016-08-30 05:10 EDT 2016-08-30 19:10 JST 2016-08-30 06:10 EDT 2016-08-30 20:10 JST 2016-08-30 07:10 EDT 2016-08-30 21:10 JST 2016-08-30 08:10 EDT The answer is 14:10 JST. Here is short history of timediff. timediff is written by Minmin (is a nickname of github account). He showed it in 20th FreeBSD Workshop Tokyo on Aug, 1st. WWW: https://github.com/belgianbeer/timediff PR: 212255 Submitted by: Naito Yuichiro <naito.yuichiro@gmail.com> Reviewed by: feld (mentor) Approved by: feld (mentor) Added: head/misc/timediff/ head/misc/timediff/Makefile (contents, props changed) head/misc/timediff/distinfo (contents, props changed) head/misc/timediff/pkg-descr (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Thu Sep 1 13:25:49 2016 (r421212) +++ head/misc/Makefile Thu Sep 1 13:36:05 2016 (r421213) @@ -450,6 +450,7 @@ SUBDIR += terraform SUBDIR += teseq SUBDIR += teslams + SUBDIR += timediff SUBDIR += tkcron SUBDIR += tkinfo SUBDIR += tkregexp Added: head/misc/timediff/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/timediff/Makefile Thu Sep 1 13:36:05 2016 (r421213) @@ -0,0 +1,31 @@ +# Created by: Naito Yuichiro <naito.yuichiro@gmail.com> +# $FreeBSD$ + +PORTNAME= timediff +PORTVERSION= 0.1 +CATEGORIES= misc + +MAINTAINER= naito.yuichiro@gmail.com +COMMENT= Showing time pairs between target timezone and localtime + +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes +GH_ACCOUNT= belgianbeer +GH_PROJECT= timediff + +PLIST_FILES= sbin/timediff + +NO_ARCH= yes + +do-build: +.for file in timediff + ${SED} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${file} \ + > ${WRKDIR}/${file:T} +.endfor + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/timediff \ + ${STAGEDIR}${PREFIX}/sbin + +.include <bsd.port.mk> Added: head/misc/timediff/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/timediff/distinfo Thu Sep 1 13:36:05 2016 (r421213) @@ -0,0 +1,3 @@ +TIMESTAMP = 1472562109 +SHA256 (belgianbeer-timediff-0.1_GH0.tar.gz) = 2fa2643a2884772eba9ba025be358b30177b5bc7e2c7c80436999f5522fde826 +SIZE (belgianbeer-timediff-0.1_GH0.tar.gz) = 2075 Added: head/misc/timediff/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/timediff/pkg-descr Thu Sep 1 13:36:05 2016 (r421213) @@ -0,0 +1,4 @@ +timediff is a simple command line tool to show time pairs +between target timezone and localtime. + +WWW: https://github.com/belgianbeer/timediff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609011336.u81Da5Tx085326>