diff options
Diffstat (limited to 'community-testing/tomoyo-tools')
-rw-r--r-- | community-testing/tomoyo-tools/PKGBUILD | 30 | ||||
-rw-r--r-- | community-testing/tomoyo-tools/tomoyo-tools.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/tomoyo-tools/PKGBUILD b/community-testing/tomoyo-tools/PKGBUILD new file mode 100644 index 000000000..c2e406cd5 --- /dev/null +++ b/community-testing/tomoyo-tools/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 61687 2012-01-06 17:27:08Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk> + +pkgname=tomoyo-tools +_basever=2.5.0 +_timestamp=20111025 +_file=53357 +pkgver=${_basever}.${_timestamp} +pkgrel=1 +pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernels 2.6.36 - 3.0' +arch=('i686' 'x86_64') +url='http://tomoyo.sourceforge.jp' +#url='http://sourceforge.jp/projects/tomoyo/releases/?package_id=9818' +license=('GPL') +depends=('ncurses') +conflicts=('ccs-tools') +install=tomoyo-tools.install +source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz") +md5sums=('99999779698ea5f44c74d49e8c640ec1') + +build() { + cd "${srcdir}/${pkgname}" + make -j1 +} + +package() { + cd "${srcdir}/${pkgname}" + make INSTALLDIR="${pkgdir}" install +} diff --git a/community-testing/tomoyo-tools/tomoyo-tools.install b/community-testing/tomoyo-tools/tomoyo-tools.install new file mode 100644 index 000000000..695a53f19 --- /dev/null +++ b/community-testing/tomoyo-tools/tomoyo-tools.install @@ -0,0 +1,11 @@ +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 +} |