summaryrefslogtreecommitdiff
path: root/community/osec/PKGBUILD
blob: 0f0a7a96d7fdcf6c873b195c8bcf73f71ce21ab4 (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
# $Id: PKGBUILD 35425 2010-12-20 11:43:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=osec
pkgver=1.2.3
pkgrel=1
pkgdesc="lightweight integrity checking system"
arch=(i686 x86_64)
url="http://o-security.sourceforge.net/"
license=("GPL")
makedepends=(help2man tinycdb)
depends=(cdbxx libcap openssl perl)
install=osec.install
backup=(etc/osec/dirs.conf
	etc/osec/pipe.conf)
source=(https://downloads.sourceforge.net/project/o-security/o-security/$pkgver/osec-$pkgver.tar.gz)
md5sums=('b7f3612e58c7b0ff379a8ee6b79c725c')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc/osec
  make
  make DESTDIR=$pkgdir install
  mv $pkgdir/usr/share/pipe.conf $pkgdir/etc/osec/pipe.conf
  mkdir -p $pkgdir/usr/share/osec
  mv $pkgdir/usr/share/osec.cron $pkgdir/usr/share/osec/
  install -d -m 0755 $pkgdir/var/lib/osec
}