]>
Commit | Line | Data |
---|---|---|
c3a05990 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
c3a05990 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = audit |
7 | version = 2.0.5 | |
8 | release = 1 | |
c3a05990 | 9 | |
802ea3af MT |
10 | groups = System/Daemons |
11 | url = http://people.redhat.com/sgrubb/audit/ | |
12 | license = GPLv2+ | |
13 | summary = User space tools for 2.6 kernel auditing. | |
c3a05990 | 14 | |
802ea3af MT |
15 | description |
16 | The audit package contains the user space utilities for | |
17 | storing and searching the audit records generate by | |
18 | the audit subsystem in the Linux 2.6 kernel. | |
19 | end | |
c3a05990 | 20 | |
802ea3af | 21 | source_dl = http://people.redhat.com/sgrubb/audit/ |
c3a05990 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | autoconf | |
26 | automake | |
27 | libcap-ng-devel | |
28 | libtool | |
29 | openldap-devel | |
30 | python-devel | |
31 | swig | |
32 | end | |
c3a05990 | 33 | |
802ea3af MT |
34 | configure_options += \ |
35 | --sysconfdir=/etc \ | |
36 | --sbindir=/sbin \ | |
37 | --libdir=/lib \ | |
38 | --without-prelude \ | |
39 | --without-libwrap \ | |
40 | --enable-gssapi-krb5=no \ | |
41 | --with-libcap-ng=yes | |
c3a05990 | 42 | |
802ea3af MT |
43 | prepare_cmds |
44 | autoreconf -fvi | |
45 | end | |
598293d7 | 46 | |
802ea3af MT |
47 | install_cmds |
48 | rm -vf %{BUILDROOT}/lib/libau{dit,parse}.so | |
49 | ln -svf ../../lib/libaudit.so.1 %{BUILDROOT}/usr/lib/libaudit.so | |
50 | ln -svf ../../lib/libauparse.so.0 %{BUILDROOT}/usr/lib/libauparse.so | |
c3a05990 | 51 | |
802ea3af MT |
52 | mkdir -pv %{BUILDROOT}/usr/sbin/ |
53 | mv -v %{BUILDROOT}/sbin/audisp*remote %{BUILDROOT}/usr/sbin/ | |
c3a05990 | 54 | |
802ea3af MT |
55 | rm -rfv %{BUILDROOT}/etc/{rc.d,sysconfig} |
56 | end | |
57 | end | |
c3a05990 | 58 | |
802ea3af MT |
59 | packages |
60 | package %{name} | |
61 | end | |
c3a05990 | 62 | |
802ea3af MT |
63 | package %{name}-libs |
64 | template LIBS | |
65 | end | |
1f9bc2f0 | 66 | |
802ea3af MT |
67 | package %{name}-devel |
68 | template DEVEL | |
69 | end | |
1f9bc2f0 MT |
70 | |
71 | package %{name}-debuginfo | |
72 | template DEBUGINFO | |
73 | end | |
802ea3af | 74 | end |