summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:15:36 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:15:36 -0300
commit79836a031d6d4c48982b4cbffb40bf6bf09b3798 (patch)
treee6092df6df7e313d6637c35645bd2b1d174930bd /community-testing
parent38e55a4f9ca44d32cc497abdafe5bcd4df23704b (diff)
parent6aeb515f4afd10afb53b21df18d03b0d5f3a200f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ruby-gtk2/PKGBUILD community/scite/PKGBUILD extra/pulseaudio/PKGBUILD multilib/lib32-libsamplerate/PKGBUILD staging/kdelibs/PKGBUILD
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
+}