summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-01-26 05:15:34 +0000
committerJeroen Roovers <jer@gentoo.org>2011-01-26 05:15:34 +0000
commitbef74bab340d0f0b35a275f5344ccefece0ddb31 (patch)
tree7937f692ec478348c66b9100b2a85ad1adfcf286 /sys-process/acct
parentAlso build pam module with -fPIC #352758 by Seemant Kulleen. (diff)
downloadhistorical-bef74bab340d0f0b35a275f5344ccefece0ddb31.tar.gz
historical-bef74bab340d0f0b35a275f5344ccefece0ddb31.tar.bz2
historical-bef74bab340d0f0b35a275f5344ccefece0ddb31.zip
Old.
Package-Manager: portage-2.2.0_alpha19/cvs/Linux i686
Diffstat (limited to 'sys-process/acct')
-rw-r--r--sys-process/acct/Manifest3
-rw-r--r--sys-process/acct/acct-6.5.4-r2.ebuild41
-rw-r--r--sys-process/acct/files/acct-6.5.4-nan.patch66
3 files changed, 0 insertions, 110 deletions
diff --git a/sys-process/acct/Manifest b/sys-process/acct/Manifest
index e120a66547ad..56f556614244 100644
--- a/sys-process/acct/Manifest
+++ b/sys-process/acct/Manifest
@@ -1,10 +1,7 @@
-AUX acct-6.5.4-nan.patch 2039 RMD160 ff7a31f92749a121cdb173af7af535d32a44fb19 SHA1 20d4296b6b3a609797826eea1983ff280bffa5f2 SHA256 d8a7aa4e0aeb844fdc43c9dc67538db62b43087212b31f7af08969bc2a5ac31a
AUX acct.confd 389 RMD160 4059420389cfe442983e55f7e23e4a9df7473743 SHA1 0dd7b18b9c0a76218ceec46607fe34b63d80e4ba SHA256 03dec915e2f80746a5147f3a6ff34a5ce8d3dc4b0007a318a29c5f9ca91cdb31
AUX acct.initd 671 RMD160 83b40ccf21a17b4f82869fb96c6643fae85fc4a6 SHA1 4a884120ede717b27c17c4a67985f31e4be870c2 SHA256 3a75ee3c969bdf894d82bd38e1b7932ca96b9c63a7641cd3fe8d79b463a239ab
AUX acct.logrotate 392 RMD160 a6d7a30abd632bfb942684d84948893f503681c3 SHA1 88a8e51baed57afa2beda06c24b058fb30f75cfc SHA256 68b340aaf70ebff8ce29a39d7547d6be24880d24c512b2b77b5c99c746b2c74d
-DIST acct-6.5.4.tar.gz 643605 RMD160 3750b49ced07f028ca5881e94d7b6e29c4c0a62d SHA1 0102c906160225303014af0d1f76d5542d305622 SHA256 6ac2f5d7dd327b8434b05671fe49815c19e14af920c860efc121529bc1d979bb
DIST acct-6.5.5.tar.gz 747225 RMD160 f1e8d29a3433cb9c4cf650a78bc7288a1c64cd7a SHA1 907456b1dcf14c5079f834338e2de32cd7371a73 SHA256 4163c87b9e92a73a65eaeadc6c41caa4626da782ff26d6e7a945edcc140a6fd5
-EBUILD acct-6.5.4-r2.ebuild 1071 RMD160 207abff8db91239f74c939485824632404947268 SHA1 56ff2d0f187ef6afb50d6e008d465d04aa65cd5b SHA256 65bfc90a3c0da27e5c789a5389aca6e1bd783532136c94b4c30f3ee0bac72f30
EBUILD acct-6.5.5.ebuild 1012 RMD160 98f4ea6b9c6b7c5c5ff4863378cfe30179e434df SHA1 8456f861b5ce181402bcbec16a96a1291f643f49 SHA256 b509ee6323fb9175270b59b332efd3ea2c6c685a6d5ea330fdbf67f6a41b4685
MISC ChangeLog 6929 RMD160 77af6d55ce635b71606a60abcc60b2c6d62ddc0b SHA1 e6d91e62203ecc843f674b3249291074219618f6 SHA256 2f02bb098fee1b43c46d69fc5d7dded1cf175874edb20679e5b1f1396377bb7c
MISC metadata.xml 219 RMD160 4a90c1bc52966d2392d2bbf984e11045e6245c4d SHA1 357acb6b8c3a433b3bf79daf091febf7632e25de SHA256 4c413cf308dfd4db9cc6420c540fd4a29f6a1bb8e8a11564fc4a39ad9b800297
diff --git a/sys-process/acct/acct-6.5.4-r2.ebuild b/sys-process/acct/acct-6.5.4-r2.ebuild
deleted file mode 100644
index f27c1d32c327..000000000000
--- a/sys-process/acct/acct-6.5.4-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/acct-6.5.4-r2.ebuild,v 1.5 2010/12/05 17:44:57 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="GNU system accounting utilities"
-HOMEPAGE="https://savannah.gnu.org/projects/acct/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc x86"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-nan.patch
-}
-
-src_configure() {
- econf --enable-linux-multiformat
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
- keepdir /var/account
- newinitd "${FILESDIR}"/acct.initd acct || die
- newconfd "${FILESDIR}"/acct.confd acct
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/acct.logrotate acct
-
- # sys-apps/sysvinit already provides this
- rm "${D}"/usr/bin/last "${D}"/usr/share/man/man1/last.1 || die
-
- # accton in / is only a temp workaround for #239748
- dodir /sbin
- mv "${D}"/usr/sbin/accton "${D}"/sbin/ || die
-}
diff --git a/sys-process/acct/files/acct-6.5.4-nan.patch b/sys-process/acct/files/acct-6.5.4-nan.patch
deleted file mode 100644
index 0c15c0171f03..000000000000
--- a/sys-process/acct/files/acct-6.5.4-nan.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: Dominique Brazziel <dbrazziel@snet.net>
-Subject: Fix for sa reporting 'inf' or 'nan' instead of correct values
- because of division by clock values.
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581421
-Last-Updated: 2010-07-23
-
---- acct-6.5.4.orig/sa.c 2010-02-11 20:55:14.000000000 -0500
-+++ acct-6.5.4/sa.c 2010-07-22 14:08:26.000000000 -0400
-@@ -417,7 +417,6 @@
- (void)printf("%s: GNU Accounting Utilities (release %s)\n",
- program_name, VERSION_STRING);
- exit(EXIT_SUCCESS);
-- case 4:
- acct_file_name = optarg;
- break;
- case 'j':
-@@ -594,8 +593,11 @@
- exit(EXIT_FAILURE);
- }
-
-+ /* Set HZ value from system */
-+ hzval = sysconf(_SC_CLK_TCK);
-+
- /* Print out some debugging information. */
--
-+
- if (debugging_enabled)
- {
- (void)fprintf (stddebug, "hzval -> %d\n", hzval);
-@@ -1162,31 +1164,30 @@
- # define CURR_AHZ ((double)(ahz))
- #endif
-
--
- if (debugging_enabled)
- fprintf (stddebug, "\
- ----------------------------------------------------------------------\n\
- acct entries\n\
- ----------------------------------------------------------------------\n\
- ");
--
-+
- /* loop while there are entries to be had */
- while ((rec = pacct_get_entry ()) != NULL)
- {
- #ifdef HAVE_ACUTIME
-- double ut = comp_t_2_double (rec->ac_utime) / (double) hzval;
-+ double ut = comp_t_2_double (rec->ac_utime) / CURR_AHZ;
- #endif
-
- #ifdef HAVE_ACSTIME
-- double st = comp_t_2_double (rec->ac_stime) / (double) hzval;
-+ double st = comp_t_2_double (rec->ac_stime) / CURR_AHZ;
- #endif
-
- #ifdef HAVE_ACETIME
-- double et = comp_t_2_double (rec->ac_etime) / (double) hzval;
-+ double et = ACETIME_2_DOUBLE (rec->ac_etime) / CURR_AHZ;
- #endif
-
- #ifdef HAVE_ACIO
-- double di = comp_t_2_double (rec->ac_io) / (double) hzval;
-+ double di = comp_t_2_double (rec->ac_io) / CURR_AHZ;
- #endif
-
- #ifdef HAVE_ACMEM