summaryrefslogtreecommitdiffstats
path: root/meta-extras
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-11-05 17:25:02 +0000
committerRoss Burton <ross@openedhand.com>2007-11-05 17:25:02 +0000
commit378c8dbafe89e22ad8ce3463968c366c4d745d4d (patch)
treea68019aafe73d8c77d35682b1077181adb9070eb /meta-extras
parent87c422828e1b8d2256e73924e8509e28708d8731 (diff)
downloadpoky-378c8dbafe89e22ad8ce3463968c366c4d745d4d.tar.gz
Add acct from OE, for ubootchart
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3070 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras')
-rw-r--r--meta-extras/packages/acct/acct_6.3.99+6.4pre1.bb9
-rw-r--r--meta-extras/packages/acct/files/cross-compile.patch34
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-extras/packages/acct/acct_6.3.99+6.4pre1.bb b/meta-extras/packages/acct/acct_6.3.99+6.4pre1.bb
new file mode 100644
index 0000000000..078013c39b
--- /dev/null
+++ b/meta-extras/packages/acct/acct_6.3.99+6.4pre1.bb
@@ -0,0 +1,9 @@
1LICENSE = "GPL"
2DESCRIPTION = "GNU Accounting Utilities - user and process accounting."
3
4SRC_URI = "http://www.physik3.uni-rostock.de/tim/kernel/utils/acct/acct-6.4-pre1.tar.gz \
5 file://cross-compile.patch;patch=1"
6
7S = "${WORKDIR}/acct-6.4-pre1"
8
9inherit autotools
diff --git a/meta-extras/packages/acct/files/cross-compile.patch b/meta-extras/packages/acct/files/cross-compile.patch
new file mode 100644
index 0000000000..78b57104c7
--- /dev/null
+++ b/meta-extras/packages/acct/files/cross-compile.patch
@@ -0,0 +1,34 @@
1diff -ur acct-6.4-pre1.org/configure.in acct-6.4-pre1/configure.in
2--- acct-6.4-pre1.org/configure.in 2006-01-07 23:56:46.000000000 +0200
3+++ acct-6.4-pre1/configure.in 2006-08-03 21:16:17.000000000 +0300
4@@ -87,6 +87,10 @@
5 ACCTON_MAN=accton.8
6 LASTCOMM_MAN=lastcomm.1
7 SA_MAN=sa.8
8+ WTMP_FILE_LOC=/var/log/wtmp
9+ ACCT_FILE_LOC=/var/account/pacct
10+ SAVACCT_FILE_LOC=/var/account/savacct
11+ USRACCT_FILE_LOC=/var/account/usracct
12 AC_DEFINE(HAVE_ACUTIME, ,
13 [Define if <sys/acct.h> has the AC_UTIME field.])
14 AC_DEFINE(ACUTIME_COMPT, ,
15@@ -130,6 +134,10 @@
16 ACCTON_MAN=accton.8
17 LASTCOMM_MAN=lastcomm.1
18 SA_MAN=sa.8
19+ WTMP_FILE_LOC=/var/log/wtmp
20+ ACCT_FILE_LOC=/var/account/pacct
21+ SAVACCT_FILE_LOC=/var/account/savacct
22+ USRACCT_FILE_LOC=/var/account/usracct
23 AC_HEADER_EGREP(ac_utime, sys/acct.h,
24 AC_DEFINE(HAVE_ACUTIME, ,
25 [Define if <sys/acct.h> has the AC_UTIME field.])
26@@ -277,7 +285,7 @@
27 }
28 ], . ./locs; rm locs,
29 echo "Error -- could not locate your wtmp and acct files."; exit 1,
30- echo "Sorry -- you cannot cross-compile this package (FIXME)."; exit 1 )
31+ echo "Cross-compiling - cannot find out accounting file locations - using Linux defaults."; )
32 AC_TYPE_PID_T dnl for sys/acct.h
33 AC_TYPE_UID_T dnl same as above
34 AC_TYPE_SIZE_T