diff options
author | Sorin-Mihai Vârgolici | 2017-03-22 11:08:49 +0200 |
---|---|---|
committer | Sorin-Mihai Vârgolici | 2017-03-22 11:08:49 +0200 |
commit | 43549d5a0b93c6862c16d0d416c8fe5ad3d4a065 (patch) | |
tree | 212c4f81d2db30aa2c57722956df245528ddf48c /PKGBUILD | |
download | aur-43549d5a0b93c6862c16d0d416c8fe5ad3d4a065.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4f1992a9dfd6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Sorin-Mihai Vârgolici <sorin-mihai@vargolici.com> +# Contributor: Thomas S Hatch <thatch45@gmail.copm> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> + +pkgname=aide-selinux +_srcname=aide +pkgver=0.16 +pkgrel=1 +pkgdesc='A file integrity checker and intrusion detection program.' +arch=('i686' 'x86_64') +url="http://aide.sourceforge.net/" +license=('GPL') +groups=('selinux') +depends=('acl' 'e2fsprogs' 'elfutils' 'mhash' 'pcre' 'libsepol') +backup=('etc/aide.conf') +source=(http://downloads.sourceforge.net/sourceforge/$_srcname/$_srcname-$pkgver.tar.gz{,.asc} \ + aide.conf) +md5sums=('25c616f67c667acd4088747ae7f6a9a3' + 'SKIP' + 'd029f9796de01dc8a791f89ac931d7fb') +validpgpkeys=('2BBBD30FAAB29B3253BCFBA6F6947DAB68E7B931') # Hannes von Haugwitz <hannes@vonhaugwitz.com> + +build() { + cd $srcdir/$_srcname-$pkgver + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-mhash \ + --with-posix-acl \ + --with-prelink \ + --with-xattr \ + --with-zlib \ + --with-e2fsattrs \ + --with-selinux \ + --with-audit \ + --disable-static + make +} + +package() { + conflicts=('aide') + provides=('aide') + cd $srcdir/$_srcname-$pkgver + make DESTDIR=$pkgdir install + + install -D -m644 $srcdir/aide.conf $pkgdir/etc/aide.conf + mkdir -p $pkgdir/var/{log,lib}/aide/ +} |