Initial import.
authorDaniel Ahlberg <aliz@gentoo.org>
Wed, 30 Oct 2002 15:54:42 +0000 (15:54 +0000)
committerDaniel Ahlberg <aliz@gentoo.org>
Wed, 30 Oct 2002 15:54:42 +0000 (15:54 +0000)
sys-apps/acct/ChangeLog [new file with mode: 0644]
sys-apps/acct/acct-6.3.5.ebuild [new file with mode: 0644]
sys-apps/acct/files/acct-6.3.5-gentoo.diff [new file with mode: 0644]
sys-apps/acct/files/acct.rc6 [new file with mode: 0644]
sys-apps/acct/files/digest-acct-6.3.5 [new file with mode: 0644]

diff --git a/sys-apps/acct/ChangeLog b/sys-apps/acct/ChangeLog
new file mode 100644 (file)
index 0000000..4020ae5
--- /dev/null
@@ -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 (file)
index 0000000..b1b3ee8
--- /dev/null
@@ -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 (file)
index 0000000..d5976d2
--- /dev/null
@@ -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 (file)
index 0000000..4fd46e6
--- /dev/null
@@ -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 (file)
index 0000000..9cc24e3
--- /dev/null
@@ -0,0 +1 @@
+MD5 a982333648d68e0eabf87989a1e5427b acct_6.3.5.orig.tar.gz 155418