summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-07 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2012-01-07 23:14:43 +0000
commit6aeb515f4afd10afb53b21df18d03b0d5f3a200f (patch)
tree531fd1ff51f0ee474a0bbaeb5cb1de852f6096dd /community-testing
parentd7931e8fa49a4698ac8dbb1a155ca6b48f031828 (diff)
Sat Jan 7 23:14:43 UTC 2012
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/tomoyo-tools/PKGBUILD30
-rw-r--r--community-testing/tomoyo-tools/tomoyo-tools.install11
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
+}