From owner-svn-ports-all@freebsd.org Thu Sep 1 13:36:06 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 818B9BCAB17; Thu, 1 Sep 2016 13:36:06 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DBF1803; Thu, 1 Sep 2016 13:36:06 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u81Da520085330; Thu, 1 Sep 2016 13:36:05 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u81Da5Tx085326; Thu, 1 Sep 2016 13:36:05 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201609011336.u81Da5Tx085326@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Thu, 1 Sep 2016 13:36:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421213 - in head/misc: . timediff X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 13:36:06 -0000 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 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 +# $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 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