1 # Contributor: Darwin Bautista <djclue917@gmail.com>
6 pkgdesc="Device driver allowing userland applications to execute file access control"
8 url="http://www.dazuko.org/"
11 install=dazuko.install
12 source=(http://www.dazuko.org/files/dazuko-${pkgver}.tar.gz)
13 md5sums=('14ae194714584944b983845793daf2a4')
16 cd ${startdir}/src/dazuko-${pkgver}/
18 # Adds support for the "init module" event, important for use with F-Secure software
19 patch -Np0 -i patch_fsecure_init_event.diff || return 1
21 # Needs kernel patch (patch_dpath.diff) to be safe on SMP kernels
22 ./configure --disable-debug --disable-chroot-support --enable-event-init-module \
23 --without-dep --without-library --without-example-c --enable-syscalls \
24 --mapfile=/boot/System.map26
27 # Install kernel module
28 install -D -m644 dazuko.ko ${startdir}/pkg/lib/modules/$(uname -r)/extra/dazuko.ko
31 # vim:set ts=2 sw=2 et: