diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-process/time | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-process/time')
-rw-r--r-- | sys-process/time/Manifest | 1 | ||||
-rw-r--r-- | sys-process/time/files/1.7-info-dir-entry.patch | 12 | ||||
-rw-r--r-- | sys-process/time/files/time-1.7-build.patch | 16 | ||||
-rw-r--r-- | sys-process/time/files/time-1.7-incorrect_memory_usage.patch | 28 | ||||
-rw-r--r-- | sys-process/time/metadata.xml | 5 | ||||
-rw-r--r-- | sys-process/time/time-1.7-r1.ebuild | 22 | ||||
-rw-r--r-- | sys-process/time/time-1.7-r2.ebuild | 24 |
7 files changed, 108 insertions, 0 deletions
diff --git a/sys-process/time/Manifest b/sys-process/time/Manifest new file mode 100644 index 000000000000..aa5e05278e9f --- /dev/null +++ b/sys-process/time/Manifest @@ -0,0 +1 @@ +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 new file mode 100644 index 000000000000..1cc057b04ea1 --- /dev/null +++ b/sys-process/time/files/1.7-info-dir-entry.patch @@ -0,0 +1,12 @@ +--- time.info.old 2004-09-11 03:00:39.076871344 -0400 ++++ time.info 2004-09-11 03:00:40.394671008 -0400 +@@ -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..82d6ae1c7584 --- /dev/null +++ b/sys-process/time/files/time-1.7-build.patch @@ -0,0 +1,16 @@ +--- configure.in ++++ 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..55807100c3a9 --- /dev/null +++ b/sys-process/time/files/time-1.7-incorrect_memory_usage.patch @@ -0,0 +1,28 @@ +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 +@@ -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. +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 +@@ -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/metadata.xml b/sys-process/time/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-process/time/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</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..c04633522c20 --- /dev/null +++ b/sys-process/time/time-1.7-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils autotools + +DESCRIPTION="displays info about resources used by a program" +HOMEPAGE="http://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 ~ia64-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-r2.ebuild b/sys-process/time/time-1.7-r2.ebuild new file mode 100644 index 000000000000..9c1c4b7e3405 --- /dev/null +++ b/sys-process/time/time-1.7-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils autotools + +DESCRIPTION="displays info about resources used by a program" +HOMEPAGE="http://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 ~ia64-linux ~x86-linux" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${PV}-info-dir-entry.patch \ + "${FILESDIR}"/${P}-incorrect_memory_usage.patch + eautoreconf +} |