Commit e10a5bdb authored by abveritas's avatar abveritas

adding a start for security options, tomoyo-tools

parent 45e5accf
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor iruel
pkgname=tomoyo-tools
_basever=2.4.0
_timestamp=20111025
_file=52848
pkgver=${_basever}.${_timestamp}
pkgrel=1
pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernel 2.6.36 and later'
arch=('i686' 'x86_64')
url='http://tomoyo.sourceforge.jp'
license=('GPL')
depends=('ncurses')
makedepends=('help2man')
conflicts=('ccs-tools')
install=tomoyo-tools.install
source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz")
md5sums=('eeee0afbccae2291e16dbbb64cf85370')
build() {
cd "${srcdir}/${pkgname}"
make -j1
}
package() {
cd "${srcdir}/${pkgname}"
make INSTALLDIR="${pkgdir}" install
}
post_install () {
echo
echo " * To enable TOMOYO Linux, append 'security=tomoyo' to the kernel"
echo " boot options and initialize policy with this command:"
echo " /usr/lib/tomoyo/init_policy"
echo
}
post_upgrade () {
post_install $1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment