From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 17 15:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2A31C37 for ; Mon, 17 Mar 2014 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F52A386 for ; Mon, 17 Mar 2014 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HFo1DA000760 for ; Mon, 17 Mar 2014 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2HFo1hO000759; Mon, 17 Mar 2014 15:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2014 15:50:01 GMT Resent-Message-Id: <201403171550.s2HFo1hO000759@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jesse Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1537293D for ; Mon, 17 Mar 2014 15:41:37 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0239B28F for ; Mon, 17 Mar 2014 15:41:37 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HFfZhZ001066 for ; Mon, 17 Mar 2014 15:41:35 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2HFfZUk001062; Mon, 17 Mar 2014 15:41:35 GMT (envelope-from nobody) Message-Id: <201403171541.s2HFfZUk001062@cgiserv.freebsd.org> Date: Mon, 17 Mar 2014 15:41:35 GMT From: Jesse To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187663: New port: sysutils/dateutils X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 15:50:01 -0000 >Number: 187663 >Category: ports >Synopsis: New port: sysutils/dateutils >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: Mon Mar 17 15:50:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jesse >Release: FreeBSD 10.0 amd64 >Organization: RM >Environment: >Description: The attached is a new port for the Dateutils suite of tools. Dateutils provides command line utilities for working with, converting and comparing date/calendar information. The upstream project can be found at http://www.fresse.org/dateutils/ >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: # # dateutils/ # dateutils/distinfo # dateutils/pkg-descr # dateutils/files # dateutils/files/patch-src__prchunk.c # dateutils/files/patch-lib__tzraw.c # dateutils/Makefile # dateutils/pkg-plist # echo c - dateutils/ mkdir -p dateutils/ > /dev/null 2>&1 echo x - dateutils/distinfo sed 's/^X//' >dateutils/distinfo << '52903fa18ea3fef16174e2e99d32a0d1' XSHA256 (dateutils-0.2.7.tar.xz) = f7d0c502d79dec4a604ebc30e7c44988d7095bd303137d1fa652720350337042 XSIZE (dateutils-0.2.7.tar.xz) = 490456 52903fa18ea3fef16174e2e99d32a0d1 echo x - dateutils/pkg-descr sed 's/^X//' >dateutils/pkg-descr << 'fd5cf148075230fb797963be82609600' XDateutils are a bunch of tools that revolve around fiddling with dates and times on the command line. Commands included in the suite offer ways of converting dates between valendars, computing durations between dates and finding dates in input streams. X XWWW: http://www.fresse.org/dateutils/ fd5cf148075230fb797963be82609600 echo c - dateutils/files mkdir -p dateutils/files > /dev/null 2>&1 echo x - dateutils/files/patch-src__prchunk.c sed 's/^X//' >dateutils/files/patch-src__prchunk.c << 'ab16f9e1ccb977c601aef544ebbb2ef0' X--- ./src/prchunk.c.orig 2014-03-17 12:03:56.037832619 -0300 X+++ ./src/prchunk.c 2014-03-17 12:05:00.244886432 -0300 X@@ -61,9 +61,13 @@ X #define MAX_NLINES (16384) X #define MAX_LLEN (1024) X X-#if !defined MAP_ANONYMOUS && defined MAP_ANON X-# define MAP_ANONYMOUS (MAP_ANON) X-#endif /* MAP_ANON->MAP_ANONYMOUS */ X+#ifndef MAP_ANONYMOUS X+#define MAP_ANONYMOUS 0x1000 X+#endif X+ X+#ifndef MAP_ANON X+#define MAP_ANON 0x1000 X+#endif X X #if defined __INTEL_COMPILER X # pragma warning(disable: 981) ab16f9e1ccb977c601aef544ebbb2ef0 echo x - dateutils/files/patch-lib__tzraw.c sed 's/^X//' >dateutils/files/patch-lib__tzraw.c << '5e3049aba2f37b48c580b5519f4a1e91' X--- ./lib/tzraw.c.orig 2014-03-17 11:58:34.267941549 -0300 X+++ ./lib/tzraw.c 2014-03-17 11:59:54.020897009 -0300 X@@ -34,6 +34,8 @@ X * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. X * X ***/ X+ X+ X /* implementation part of tzraw.h */ X #if !defined INCLUDED_tzraw_c_ X #define INCLUDED_tzraw_c_ X@@ -70,9 +72,14 @@ X /* me own header, innit */ X #include "tzraw.h" X X-#if !defined MAP_ANONYMOUS && defined MAP_ANON X-# define MAP_ANONYMOUS (MAP_ANON) X-#endif /* MAP_ANON->MAP_ANONYMOUS */ X+#ifndef MAP_ANONYMOUS X+#define MAP_ANONYMOUS 0x1000 X+#endif X+ X+#ifndef MAP_ANON X+#define MAP_ANON 0x1000 X+#endif X+ X X #if defined TZDIR X static const char tzdir[] = TZDIR; 5e3049aba2f37b48c580b5519f4a1e91 echo x - dateutils/Makefile sed 's/^X//' >dateutils/Makefile << '46b04d86d3875c17d16c26966a28dcfc' X# $FreeBSD: X XPORTNAME= dateutils XPORTVERSION= 0.2.7 XCATEGORIES= sysutils XMASTER_SITES= https://bitbucket.org/hroptatyr/dateutils/downloads/ X XMAINTAINER= jessefrgsmith@yahoo.ca XCOMMENT= A collection of command line utilities for working with dates. X XLICENSE= BSD XEXTRACT_SUFX=.tar.xz XUSES_TAR=xz XGNU_CONFIGURE=yes XMAKE_JOBS_UNSAFE=yes XUSES_GCC=yes XNO_STAGE=yes X.include X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/dadd ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/dconv ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/ddiff ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/dgrep ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/dround ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/dseq ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/dtest ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/src/strptime ${PREFIX}/bin X X.include 46b04d86d3875c17d16c26966a28dcfc echo x - dateutils/pkg-plist sed 's/^X//' >dateutils/pkg-plist << '06aa4d882d7c8dc0d1e339283f29123d' Xbin/dadd Xbin/dconv Xbin/ddiff Xbin/dgrep Xbin/dround Xbin/dseq Xbin/dtest Xbin/strptime X 06aa4d882d7c8dc0d1e339283f29123d exit >Release-Note: >Audit-Trail: >Unformatted: