summaryrefslogtreecommitdiff
path: root/community/tomoyo-tools
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-13 04:53:33 +0000
committerroot <root@rshg047.dnsready.net>2011-04-13 04:53:33 +0000
commit6dab5c46b00f624c7900ff6d11b75bcafbe251d0 (patch)
tree3f4cd3c5e20b03bbad9955444c32083ddd92b422 /community/tomoyo-tools
parent28b5bbf3fee0627993658e096eadab71c2779912 (diff)
Wed Apr 13 04:53:33 UTC 2011
Diffstat (limited to 'community/tomoyo-tools')
-rw-r--r--community/tomoyo-tools/PKGBUILD29
-rw-r--r--community/tomoyo-tools/tomoyo-tools.install11
2 files changed, 40 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com>
+# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk>
+
+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
+}