From 6dab5c46b00f624c7900ff6d11b75bcafbe251d0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Apr 2011 04:53:33 +0000 Subject: Wed Apr 13 04:53:33 UTC 2011 --- community/tomoyo-tools/PKGBUILD | 29 +++++++++++++++++++++++++++++ community/tomoyo-tools/tomoyo-tools.install | 11 +++++++++++ 2 files changed, 40 insertions(+) create mode 100644 community/tomoyo-tools/PKGBUILD create mode 100644 community/tomoyo-tools/tomoyo-tools.install (limited to 'community/tomoyo-tools') diff --git a/community/tomoyo-tools/PKGBUILD b/community/tomoyo-tools/PKGBUILD new file mode 100644 index 000000000..ceda8d708 --- /dev/null +++ b/community/tomoyo-tools/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 44878 2011-04-12 10:45:41Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Jamie Nguyen + +pkgname=tomoyo-tools +_basever=2.3.0 +_timestamp=20110211 +pkgver=${_basever}.${_timestamp} +pkgrel=4 +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/48663/${pkgname}-${_basever}-${_timestamp}.tar.gz") +md5sums=('000015f85fe9aa814196d5a981fab5b6') + +build() { + cd "${srcdir}/${pkgname}" + make -j1 +} + +package() { + cd "${srcdir}/${pkgname}" + make INSTALLDIR="${pkgdir}" install +} diff --git a/community/tomoyo-tools/tomoyo-tools.install b/community/tomoyo-tools/tomoyo-tools.install new file mode 100644 index 000000000..6fb5e16d2 --- /dev/null +++ b/community/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 +} -- cgit v1.2.3-54-g00ecf