summaryrefslogtreecommitdiff
path: root/sys-process/time
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/time
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/time')
-rw-r--r--sys-process/time/Manifest12
-rw-r--r--sys-process/time/files/1.7-info-dir-entry.patch12
-rw-r--r--sys-process/time/files/time-1.7-build.patch16
-rw-r--r--sys-process/time/files/time-1.7-incorrect_memory_usage.patch26
-rw-r--r--sys-process/time/files/time-1.7.2-incorrect_memory_usage.patch29
-rw-r--r--sys-process/time/metadata.xml8
-rw-r--r--sys-process/time/time-1.7-r1.ebuild21
-rw-r--r--sys-process/time/time-1.7-r3.ebuild28
-rw-r--r--sys-process/time/time-1.7.2.ebuild28
9 files changed, 180 insertions, 0 deletions
diff --git a/sys-process/time/Manifest b/sys-process/time/Manifest
new file mode 100644
index 000000000000..3e376bf5efd7
--- /dev/null
+++ b/sys-process/time/Manifest
@@ -0,0 +1,12 @@
+AUX 1.7-info-dir-entry.patch 389 SHA256 c3d83530ea0e0c67cbfe586a3604a58577714056c5f78ee10d1f5ae384323f69 SHA512 2c490a82cfb935904372ad630f82098896b4ae535b85601122e92810cb0d7f20657a07b2b286bbe8a6b084f9fb9af7dd8bb009b6f57fd2e713420acc8143a6d9 WHIRLPOOL 13133ac12c035f9c8edd1e2d59edb5d471e14cc358d2b9c825ac423061f4e4402809eca9c8a24622d2d0a9ea13c0a3bc1324a680c5bbf816e465095ceda25fe7
+AUX time-1.7-build.patch 301 SHA256 cf38a64a3fb85e1e03e182b15b69a1677e4ffcfbb358bc8cc070b9b8641f1225 SHA512 a0c03992ed5a0d44179a164771f9fb8b8972827df262eb2aa8dd0a1d04f84ab2b904cc96e0068763f197bfa418256a6459e63eeead5edc5e777f5cc459889c47 WHIRLPOOL 014b38cfccdd383505dddb421dd5315a89f203049300244789f47fd4bbff094f0c5fa0ef869da15dd02ad98035a262ffaf38f5a7c7365925fda1fe140705a333
+AUX time-1.7-incorrect_memory_usage.patch 945 SHA256 49e58baceb5d3cc22f6489098d47cd993394624674f1ad83256247e92c3c5b88 SHA512 e9affbdfb982dcd63171a75bb61471e6e27f47944ab786ba2a3764376faa9a103f999049dadd1383e03fc5f3084207e0b004f82662f07c87207cffb6aeaad703 WHIRLPOOL 5966c53c16ac5f59bcfd8523fd893ef3276c2f711d785d0ed63ea42087238c5cde9e3a30482d02db7ead1726671e1a5f666982f86a46bb48d40e665ecfaa5456
+AUX time-1.7.2-incorrect_memory_usage.patch 1012 SHA256 05950d90026e1b75c4b6dcac1a201919bee0980b7b8b162cc1ac6addfecdc8e2 SHA512 512905d1ed3210c7bea96901897c877ca77355fea6cc7ede7ba99ea2ed5dc14365e725ed1f7cc1fc53330f55597764f9936a8f2e1508e95749af38ee309d0bcf WHIRLPOOL 9ec408d9d4150dc31de67b655dc5282a618e33ad860e2644204a4540465b5492188d35e0e1460dbe2018f6227203726aca8133ff6df247c458c86cc6e025cae1
+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
+EBUILD time-1.7-r1.ebuild 557 SHA256 3d2782430ba2f060057aaabd07d511b55f9db04bea73bc16c73b986ba5c571ee SHA512 5b627020ad01ba84c38cd154eede8bd1e9cdd8ff26ddb43be298bf1dc06720111d12d583e90997c8fdb582805cef40bd20ad5d54deb26b15c30e801efdc1fd69 WHIRLPOOL 3644207cd82842ae7f7a3ea87fd8b2963b63acda5c43c40556fcab7856e10165cf98c96511e56f86a8d8e8f2d12d002f406b952c3b69f1f61c303effd1fb2310
+EBUILD time-1.7-r3.ebuild 643 SHA256 099397e621a99d94320402593c4a60ee56a9d2e3c8f7ea359f0ad21e80964aca SHA512 385137702371965342aa1178b21ed070f8bcc26a771d6c3d42e80de0bb2ce71ddebedb0e47fb833edf37aa148acbb06b690200fd3ac2f900ee46326466c2149f WHIRLPOOL a4eaf38545424bc456991be3688e74b451e6999c2893d0813bda201d3ab6d0b5cd52cd4121f4434afaaef54edfc027ade7c546372bbbfea9976fa130c5a65050
+EBUILD time-1.7.2.ebuild 688 SHA256 2f50e873ab6348a671ca2a7689ab53a6bddb0e07db4f9082a9e977d6f5a6b0c1 SHA512 953d0fc78115d4b47649b80e7e5abafe48f0e94459ce23a6dfd2c6e9b98fe502a9b080a65420c9c2f0ec48d6cf53813b72de51cb461503608dad963e13132b53 WHIRLPOOL 80483a95f49bc54caa7e5a1fde0d63044fdbdf92bb1fff0f272b4b597e43cc4b9a0f10ab804712a767f12b405a9657bfc5c8887ab321339c36e08b0fab45b029
+MISC ChangeLog 3256 SHA256 1c2a074339b4de71760673f6418c0c7b6403cba40e925ceacf9817337a01028b SHA512 c23754427cec4a423ea34f6e2386311ed03a169fe508abf4cbd5153090ab79c4b25ac32005338fa9888b1c2a2f37771c2b798a6c1504888dbb4538f368f91adf WHIRLPOOL bd12b19c0d6106fe7ae51365aee315a43be608787a7a372fe12cf58672ca375fde07c16870bec27520c538559049567bcf9bcf38c3f2f35c9f18144eadcd2861
+MISC ChangeLog-2015 2409 SHA256 94aafa96c12241bda52707b22165c27e87d22e5a43d843bc84b62d8826975a87 SHA512 574fa9cd3b97f4be09eda2efa1e6238b644d98051bfafa7139b978db3320d7264f87521ecf0540bb79930ae59de81c8faff27890e40e6344dd632541cc3fd06f WHIRLPOOL 592284c6d40860f5b42b425d817af231fe697fa5e60b82304a9e3eaddec31fc94631fb98b7e2eeeac594af6171db255e5e4f5171cea96dda712c407f73ddae62
+MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8
diff --git a/sys-process/time/files/1.7-info-dir-entry.patch b/sys-process/time/files/1.7-info-dir-entry.patch
new file mode 100644
index 000000000000..eb30029722bb
--- /dev/null
+++ b/sys-process/time/files/1.7-info-dir-entry.patch
@@ -0,0 +1,12 @@
+--- 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
+ translation approved by the Foundation.
++START-INFO-DIR-ENTRY
++* time: (time). summarize system resources used
++END-INFO-DIR-ENTRY
+
+ 
+ File: time.info, Node: Top, Prev: (dir), Up: (dir)
diff --git a/sys-process/time/files/time-1.7-build.patch b/sys-process/time/files/time-1.7-build.patch
new file mode 100644
index 000000000000..504643d768e5
--- /dev/null
+++ b/sys-process/time/files/time-1.7-build.patch
@@ -0,0 +1,16 @@
+--- 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)
+-VERSION=1.7
+-AC_SUBST(VERSION)
+-PACKAGE=time
+-AC_SUBST(PACKAGE)
+-
+-AC_ARG_PROGRAM
++AC_INIT(time, 1.7)
++AM_INIT_AUTOMAKE
+
+ dnl Checks for programs.
+ AC_PROG_CC
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
new file mode 100644
index 000000000000..ab1f4ddfbd5e
--- /dev/null
+++ b/sys-process/time/files/time-1.7-incorrect_memory_usage.patch
@@ -0,0 +1,26 @@
+https://bugs.launchpad.net/ubuntu/+source/time/+bug/742248
+https://bugs.gentoo.org/332253
+
+--- time-1.7/ChangeLog
++++ time-1.7/ChangeLog
+@@ -1,3 +1,9 @@
++Fri Oct 1 00:00:00 2010 Bob Proulx <bob@proulx.com>
++ The struct rusage reports ru_maxrss in kbytes not pages and
++ should not be converted through pages-to-kbytes again.
++ Reported by Sven Hartrumpf.
++ * time.c (summarize): Do not call ptok on ru_maxrss.
++
+ Thu Jul 11 12:37:17 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
+
+ * Version 1.7.
+--- 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;
+ 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/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 000000000000..6c83f0bb9264
--- /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 <gnutime@dcn.tuxers.net>
+ * Version 1.7.1.
+
++Fri Oct 1 00:00:00 2010 Bob Proulx <bob@proulx.com>
++ * 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 <djm@catapult.va.pubnix.com>
+
+ * 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/metadata.xml b/sys-process/time/metadata.xml
new file mode 100644
index 000000000000..56c124413057
--- /dev/null
+++ b/sys-process/time/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-process/time/time-1.7-r1.ebuild b/sys-process/time/time-1.7-r1.ebuild
new file mode 100644
index 000000000000..fb0c6152bd19
--- /dev/null
+++ b/sys-process/time/time-1.7-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils autotools
+
+DESCRIPTION="displays info about resources used by a program"
+HOMEPAGE="https://www.gnu.org/directory/time.html"
+SRC_URI="mirror://gnu/time/${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=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${PV}-info-dir-entry.patch
+ eautoreconf
+}
diff --git a/sys-process/time/time-1.7-r3.ebuild b/sys-process/time/time-1.7-r3.ebuild
new file mode 100644
index 000000000000..0cca396dce63
--- /dev/null
+++ b/sys-process/time/time-1.7-r3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils autotools
+
+DESCRIPTION="Displays info about resources used by a program"
+HOMEPAGE="https://www.gnu.org/directory/time.html"
+SRC_URI="mirror://gnu/time/${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}"/${P}-build.patch
+ "${FILESDIR}"/${PV}-info-dir-entry.patch
+ "${FILESDIR}"/${P}-incorrect_memory_usage.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
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 000000000000..ed96169755c3
--- /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
+}