diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-10-30 15:54:42 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-10-30 15:54:42 +0000 |
commit | 99c630e6bb5518d8127016c2e1d0305bdd26eb0d (patch) | |
tree | 166de6f655dcc9cad0550dd03d3f219fed359770 /sys-apps/acct | |
parent | set min sharutils version for GLSA (diff) | |
download | historical-99c630e6bb5518d8127016c2e1d0305bdd26eb0d.tar.gz historical-99c630e6bb5518d8127016c2e1d0305bdd26eb0d.tar.bz2 historical-99c630e6bb5518d8127016c2e1d0305bdd26eb0d.zip |
Initial import.
Diffstat (limited to 'sys-apps/acct')
-rw-r--r-- | sys-apps/acct/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/acct/acct-6.3.5.ebuild | 32 | ||||
-rw-r--r-- | sys-apps/acct/files/acct-6.3.5-gentoo.diff | 11 | ||||
-rw-r--r-- | sys-apps/acct/files/acct.rc6 | 15 | ||||
-rw-r--r-- | sys-apps/acct/files/digest-acct-6.3.5 | 1 |
5 files changed, 68 insertions, 0 deletions
diff --git a/sys-apps/acct/ChangeLog b/sys-apps/acct/ChangeLog new file mode 100644 index 000000000000..4020ae5d62b0 --- /dev/null +++ b/sys-apps/acct/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sys-apps/acct +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acct/ChangeLog,v 1.1 2002/10/30 15:54:42 aliz Exp $ + +*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-apps/acct/acct-6.3.5.ebuild b/sys-apps/acct/acct-6.3.5.ebuild new file mode 100644 index 000000000000..b1b3ee832310 --- /dev/null +++ b/sys-apps/acct/acct-6.3.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acct/acct-6.3.5.ebuild,v 1.1 2002/10/30 15:54:42 aliz Exp $ + +MY_P=${P/-/_} +S=${WORKDIR}/${P} +DESCRIPTION="GNU system accounting utilities" +SRC_URI="http://ftp.debian.org/debian/pool/main/a/acct/${MY_P}.orig.tar.gz" +HOMEPAGE="http://www.gnu.org/directory/acct.html" +KEYWORDS="~x86 ~ppc" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_install() { + dobin ac last lastcomm + dosbin dump-utmp dump-acct accton sa + doinfo accounting.info + doman *.[18] + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README ToDo + dodir /var/account + exeinto /etc/init.d + newexe ${FILESDIR}/acct.rc6 acct +} diff --git a/sys-apps/acct/files/acct-6.3.5-gentoo.diff b/sys-apps/acct/files/acct-6.3.5-gentoo.diff new file mode 100644 index 000000000000..d5976d2e5e71 --- /dev/null +++ b/sys-apps/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-apps/acct/files/acct.rc6 b/sys-apps/acct/files/acct.rc6 new file mode 100644 index 000000000000..4fd46e6259a9 --- /dev/null +++ b/sys-apps/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-apps/acct/files/digest-acct-6.3.5 b/sys-apps/acct/files/digest-acct-6.3.5 new file mode 100644 index 000000000000..9cc24e3aa40f --- /dev/null +++ b/sys-apps/acct/files/digest-acct-6.3.5 @@ -0,0 +1 @@ +MD5 a982333648d68e0eabf87989a1e5427b acct_6.3.5.orig.tar.gz 155418 |