mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=osec
|
|
pkgver=1.2.2cvs20081201
|
|
pkgrel=2
|
|
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=(http://surfnet.dl.sourceforge.net/sourceforge/o-security/$pkgname-$pkgver.tar.gz)
|
|
source=(http://archlinux-stuff.googlecode.com/files/osec-$pkgver.tar.gz)
|
|
md5sums=('6b58726f1851909223b382dad03d7ceb')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
sed -i 's#LDLIBS = -lcdbxx -lcrypto -lcap#LDLIBS = -lcdbxx -lcrypto -lcap -lcdb#' src/Makefile
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
|
|
install -D -m 0644 data/dirs.conf $startdir/pkg/etc/osec/dirs.conf && \
|
|
install -D -m 0644 data/pipe.conf $startdir/pkg/etc/osec/pipe.conf && \
|
|
install -D -m 0755 data/osec_reporter $startdir/pkg/usr/bin/osec_reporter && \
|
|
install -d -m 0755 $startdir/pkg/var/lib/osec
|
|
}
|