summaryrefslogtreecommitdiff
path: root/community/aide/PKGBUILD
blob: d7961b6498f5752217a13b20e2be206c55eecfce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id: PKGBUILD 60050 2011-12-03 20:33:18Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Thomas S Hatch <thatch45@gmail.copm>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> 
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=aide
pkgver=0.15.1
pkgrel=3
pkgdesc='A file integrity checker and intrusion detection program.'
arch=('i686' 'x86_64' 'mips64el')
url="http://www.cs.tut.fi/~rammer/aide.html"
license=('GPL')
makedepends=('mhash' 'elfutils')
backup=('etc/aide.conf')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
        aide.conf)
md5sums=('d0b72535ff68b93a648e4d08b0ed7f07'
         'd3ac69ad7c12c1686f8accf2717139f6')

build() {
	cd $srcdir/$pkgname-$pkgver
	./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --with-mhash \
        --with-posix-acl \
        --with-prelink \
        --with-xattr \
        --with-zlib \
        --with-e2fsattrs
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR=$pkgdir install

	install -D -m644 $srcdir/aide.conf $pkgdir/etc/aide.conf
    mkdir -p $pkgdir/var/{log,lib}/aide/
}