diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 15:21:43 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-03-03 15:21:43 +0000 |
commit | b74059c655f48cbdc050244edc32d4a989d32a78 (patch) | |
tree | 16afa75d9f8c133187cf6961968abd6c1aa59eb5 /sys-process/acct | |
parent | Moved sys-apps/acctail to sys-process/acctail (diff) | |
download | gentoo-2-b74059c655f48cbdc050244edc32d4a989d32a78.tar.gz gentoo-2-b74059c655f48cbdc050244edc32d4a989d32a78.tar.bz2 gentoo-2-b74059c655f48cbdc050244edc32d4a989d32a78.zip |
Moved from sys-apps/acct to sys-process/acct.
Diffstat (limited to 'sys-process/acct')
-rw-r--r-- | sys-process/acct/ChangeLog | 33 | ||||
-rw-r--r-- | sys-process/acct/Manifest | 6 | ||||
-rw-r--r-- | sys-process/acct/acct-6.3.5.ebuild | 34 | ||||
-rw-r--r-- | sys-process/acct/files/acct-6.3.5-gentoo.diff | 11 | ||||
-rw-r--r-- | sys-process/acct/files/acct.rc6 | 15 | ||||
-rw-r--r-- | sys-process/acct/files/digest-acct-6.3.5 | 1 | ||||
-rw-r--r-- | sys-process/acct/metadata.xml | 5 |
7 files changed, 105 insertions, 0 deletions
diff --git a/sys-process/acct/ChangeLog b/sys-process/acct/ChangeLog new file mode 100644 index 000000000000..9c15dd7f975e --- /dev/null +++ b/sys-process/acct/ChangeLog @@ -0,0 +1,33 @@ +# ChangeLog for sys-apps/acct +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.1 2005/03/03 15:21:43 ciaranm Exp $ + +*acct-6.3.5 (03 Mar 2005) + + 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +files/acct-6.3.5-gentoo.diff, +files/acct.rc6, +acct-6.3.5.ebuild: + Moved from sys-apps/acct to sys-process/acct. + + 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> acct-6.3.5.ebuild: + Masked acct-6.3.5.ebuild stable for ppc + + 24 Aug 2004; Sven Wegener <swegener@gentoo.org> acct-6.3.5.ebuild: + Changed SRC_URI to use mirror:// syntax. + + 14 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> acct-6.3.5.ebuild: + inherit eutils; use epatch; error check; tidy + + 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> acct-6.3.5.ebuild: + Stable on alpha. + + 14 Apr 2004; <kloeri@gentoo.org> acct-6.3.5.ebuild: + Keyworded ~alpha. + +*acct-6.3.5 (30 Oct 2002) + + 30 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> : + Initial import. Ebuild submitted by Andrwe Minter <gm@masarand.com> + in 6385#. diff --git a/sys-process/acct/Manifest b/sys-process/acct/Manifest new file mode 100644 index 000000000000..2aa3b699c1a1 --- /dev/null +++ b/sys-process/acct/Manifest @@ -0,0 +1,6 @@ +MD5 4b41596245cee4aae3fed0de0caa60a7 ChangeLog 989 +MD5 64b50c7d050a599d04c50046177fbf42 acct-6.3.5.ebuild 866 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 296bdfcb1fa7634f32846c4f1caee788 files/digest-acct-6.3.5 67 +MD5 1e626acad5540fee59e05067baccf551 files/acct.rc6 232 +MD5 2dbe3e38c54e479bccb31fa6c30f28b6 files/acct-6.3.5-gentoo.diff 371 diff --git a/sys-process/acct/acct-6.3.5.ebuild b/sys-process/acct/acct-6.3.5.ebuild new file mode 100644 index 000000000000..03fe489138a1 --- /dev/null +++ b/sys-process/acct/acct-6.3.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/acct-6.3.5.ebuild,v 1.1 2005/03/03 15:21:43 ciaranm Exp $ + +inherit eutils + +MY_P=${P/-/_} +DESCRIPTION="GNU system accounting utilities" +HOMEPAGE="http://www.gnu.org/directory/acct.html" +SRC_URI="mirror://debian/pool/main/a/acct/${MY_P}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc alpha amd64" +IUSE="" + +DEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PF}-gentoo.diff" +} + +src_install() { + dobin ac last lastcomm || die "dobin failed" + dosbin dump-utmp dump-acct accton sa || die "dosbin failed" + doinfo accounting.info + doman *.[18] + dodoc AUTHORS ChangeLog INSTALL NEWS README ToDo + keepdir /var/account + exeinto /etc/init.d + newexe "${FILESDIR}/acct.rc6" acct +} diff --git a/sys-process/acct/files/acct-6.3.5-gentoo.diff b/sys-process/acct/files/acct-6.3.5-gentoo.diff new file mode 100644 index 000000000000..d5976d2e5e71 --- /dev/null +++ b/sys-process/acct/files/acct-6.3.5-gentoo.diff @@ -0,0 +1,11 @@ +*** accounting.info.old 2002-08-13 01:38:37.000000000 +0100 +--- accounting.info 2002-08-13 01:41:03.000000000 +0100 +*************** +*** 1,3 **** +--- 1,6 ---- ++ START-INFO-DIR-ENTRY ++ * accounting: (accounting). Accounting ++ END-INFO-DIR-ENTRY + This is Info file accounting.info, produced by Makeinfo version 1.67 + from the input file accounting.texi. + diff --git a/sys-process/acct/files/acct.rc6 b/sys-process/acct/files/acct.rc6 new file mode 100644 index 000000000000..4fd46e6259a9 --- /dev/null +++ b/sys-process/acct/files/acct.rc6 @@ -0,0 +1,15 @@ +#!/sbin/runscript + +start() { + ebegin "Starting accounting" + touch /var/account/pacct + chmod 600 /var/account/pacct + /usr/sbin/accton /var/account/pacct + eend $? +} + +stop() { + ebegin "Stopping accounting" + /usr/sbin/accton + eend $? +} diff --git a/sys-process/acct/files/digest-acct-6.3.5 b/sys-process/acct/files/digest-acct-6.3.5 new file mode 100644 index 000000000000..9cc24e3aa40f --- /dev/null +++ b/sys-process/acct/files/digest-acct-6.3.5 @@ -0,0 +1 @@ +MD5 a982333648d68e0eabf87989a1e5427b acct_6.3.5.orig.tar.gz 155418 diff --git a/sys-process/acct/metadata.xml b/sys-process/acct/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-process/acct/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> |