From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1CB591396D0 for ; Mon, 14 Aug 2017 13:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD55DE0DDD; Mon, 14 Aug 2017 13:36:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D896E0DD3 for ; Mon, 14 Aug 2017 13:36:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 300093417FA for ; Mon, 14 Aug 2017 13:36:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D00DC784D for ; Mon, 14 Aug 2017 13:36:19 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1502717755.6c217c61bdf05b725d4e9f993ebd457ef78e7fe8.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/time/files/, sys-process/time/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/time/Manifest sys-process/time/files/1.7-info-dir-entry.patch sys-process/time/files/time-1.7-build.patch sys-process/time/files/time-1.7-incorrect_memory_usage.patch sys-process/time/files/time-1.7.2-incorrect_memory_usage.patch sys-process/time/time-1.7.2.ebuild X-VCS-Directories: sys-process/time/ sys-process/time/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 6c217c61bdf05b725d4e9f993ebd457ef78e7fe8 X-VCS-Branch: master Date: Mon, 14 Aug 2017 13:36:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 07e8ded1-50f8-4b07-b8a4-419bee8a2a61 X-Archives-Hash: ea455677d8df12e264013e60be520519 commit: 6c217c61bdf05b725d4e9f993ebd457ef78e7fe8 Author: Lars Wendler gentoo org> AuthorDate: Mon Aug 14 12:41:26 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Aug 14 13:35:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c217c61 sys-process/time: Bump to version 1.7.2 Package-Manager: Portage-2.3.7, Repoman-2.3.3 sys-process/time/Manifest | 1 + sys-process/time/files/1.7-info-dir-entry.patch | 4 +-- sys-process/time/files/time-1.7-build.patch | 4 +-- .../files/time-1.7-incorrect_memory_usage.patch | 10 +++----- .../files/time-1.7.2-incorrect_memory_usage.patch | 29 ++++++++++++++++++++++ sys-process/time/time-1.7.2.ebuild | 28 +++++++++++++++++++++ 6 files changed, 66 insertions(+), 10 deletions(-) diff --git a/sys-process/time/Manifest b/sys-process/time/Manifest index aa5e05278e9..b2122bb1938 100644 --- a/sys-process/time/Manifest +++ b/sys-process/time/Manifest @@ -1 +1,2 @@ +DIST time-1.7.2.tar.gz 108371 SHA256 be6927ef6cb08c411b907ac039d9228e1649f4944ef3e0fbe381471d6a61e45b SHA512 dfde8f48a9d52bcc9080596feca6c429556e1e510977503138195d390cb52f27dd171f519d78226b0b48adc404062ec1f9234d92ea9707ec16d1be23ced90afc WHIRLPOOL 2d9bbe909bed2861459fdd2a72104ca754f99439d0ffcd9df1db23969c44b2cfcd334907a560569d552a4ed4184fd9793ad134ccb3eaad24244953c3443a1b7d DIST time-1.7.tar.gz 103066 SHA256 e37ea79a253bf85a85ada2f7c632c14e481a5fd262a362f6f4fd58e68601496d SHA512 d759b651e343beddc0b3bd06af85881486b72319c979a2e7f752d5a34edd8b7c1c19391c5c7a2e8f6685746cc7a046bf2c8e082b31458a1dd043ed90a4cebcd1 WHIRLPOOL 8102c994a6b5faa60ee51e7343383f307c0d31cbd26177f86fc96b41014e1065b536202a371556af336394ac0bf473db2571a15bc7644247a9a3d8235269880f diff --git a/sys-process/time/files/1.7-info-dir-entry.patch b/sys-process/time/files/1.7-info-dir-entry.patch index 1cc057b04ea..eb30029722b 100644 --- a/sys-process/time/files/1.7-info-dir-entry.patch +++ b/sys-process/time/files/1.7-info-dir-entry.patch @@ -1,5 +1,5 @@ ---- time.info.old 2004-09-11 03:00:39.076871344 -0400 -+++ time.info 2004-09-11 03:00:40.394671008 -0400 +--- a/time.info ++++ b/time.info @@ -19,6 +19,9 @@ manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a diff --git a/sys-process/time/files/time-1.7-build.patch b/sys-process/time/files/time-1.7-build.patch index 82d6ae1c758..504643d768e 100644 --- a/sys-process/time/files/time-1.7-build.patch +++ b/sys-process/time/files/time-1.7-build.patch @@ -1,5 +1,5 @@ ---- configure.in -+++ configure.in +--- a/configure.in ++++ b/configure.in @@ -1,11 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(time.c) diff --git a/sys-process/time/files/time-1.7-incorrect_memory_usage.patch b/sys-process/time/files/time-1.7-incorrect_memory_usage.patch index 55807100c3a..ab1f4ddfbd5 100644 --- a/sys-process/time/files/time-1.7-incorrect_memory_usage.patch +++ b/sys-process/time/files/time-1.7-incorrect_memory_usage.patch @@ -1,9 +1,8 @@ https://bugs.launchpad.net/ubuntu/+source/time/+bug/742248 https://bugs.gentoo.org/332253 -diff -rupN time-1.7-original/ChangeLog time-1.7/ChangeLog ---- time-1.7-original/ChangeLog 2011-11-11 09:17:47.507026731 +0100 -+++ time-1.7/ChangeLog 2011-11-11 09:27:46.751002205 +0100 +--- time-1.7/ChangeLog ++++ time-1.7/ChangeLog @@ -1,3 +1,9 @@ +Fri Oct 1 00:00:00 2010 Bob Proulx + The struct rusage reports ru_maxrss in kbytes not pages and @@ -14,9 +13,8 @@ diff -rupN time-1.7-original/ChangeLog time-1.7/ChangeLog Thu Jul 11 12:37:17 1996 David J MacKenzie * Version 1.7. -diff -rupN time-1.7-original/time.c time-1.7/time.c ---- time-1.7-original/time.c 2011-11-11 09:17:47.507026731 +0100 -+++ time-1.7/time.c 2011-11-11 09:27:58.167001738 +0100 +--- time-1.7/time.c ++++ time-1.7/time.c @@ -398,7 +398,7 @@ summarize (fp, fmt, command, resp) ptok ((UL) resp->ru.ru_ixrss) / MSEC_TO_TICKS (v)); break; diff --git a/sys-process/time/files/time-1.7.2-incorrect_memory_usage.patch b/sys-process/time/files/time-1.7.2-incorrect_memory_usage.patch new file mode 100644 index 00000000000..6c83f0bb926 --- /dev/null +++ b/sys-process/time/files/time-1.7.2-incorrect_memory_usage.patch @@ -0,0 +1,29 @@ +https://bugs.launchpad.net/ubuntu/+source/time/+bug/742248 +https://bugs.gentoo.org/332253 + +--- time-1.7.2/ChangeLog ++++ time-1.7.2/ChangeLog +@@ -1,6 +1,12 @@ + Fri Dec 21 23:00:00 2012 David C Niemi + * Version 1.7.1. + ++Fri Oct 1 00:00:00 2010 Bob Proulx ++ * time.c (summarize): Do not call ptok on ru_maxrss. ++ The struct rusage reports ru_maxrss in kbytes not pages and ++ should not be converted through pages-to-kbytes again. ++ Reported by Sven Hartrumpf. ++ + Thu Jul 11 12:37:17 1996 David J MacKenzie + + * Version 1.7. +--- time-1.7.2/time.c ++++ time-1.7.2/time.c +@@ -394,7 +394,7 @@ + ptok ((UL) resp->ru.ru_ixrss) / MSEC_TO_TICKS (v)); + break; + case 'M': /* Maximum resident set size. */ +- fprintf (fp, "%lu", ptok ((UL) resp->ru.ru_maxrss)); ++ fprintf (fp, "%lu", (UL) resp->ru.ru_maxrss); + break; + case 'O': /* Outputs. */ + fprintf (fp, "%ld", resp->ru.ru_oublock); diff --git a/sys-process/time/time-1.7.2.ebuild b/sys-process/time/time-1.7.2.ebuild new file mode 100644 index 00000000000..ed96169755c --- /dev/null +++ b/sys-process/time/time-1.7.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Displays info about resources used by a program" +HOMEPAGE="https://www.gnu.org/directory/time.html" +SRC_URI="http://git.savannah.gnu.org/cgit/time.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7-build.patch + "${FILESDIR}"/1.7-info-dir-entry.patch + "${FILESDIR}"/${PN}-1.7.2-incorrect_memory_usage.patch +) + +src_prepare() { + default + eautoreconf +}