diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
commit | d73f07b0acf8bae623e1e112a7cb3744a84a92ee (patch) | |
tree | 87a2b353ea5229bbe309ea9db9d43bf24e2a6fd8 /pcr/tomoyo-tools | |
parent | c001329b017288676a28aa6078bf16ad42e318e9 (diff) | |
parent | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (diff) | |
download | abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.gz abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.bz2 abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'pcr/tomoyo-tools')
-rw-r--r-- | pcr/tomoyo-tools/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/tomoyo-tools/tomoyo-tools.install | 11 |
2 files changed, 39 insertions, 0 deletions
diff --git a/pcr/tomoyo-tools/PKGBUILD b/pcr/tomoyo-tools/PKGBUILD new file mode 100644 index 000000000..9f583166b --- /dev/null +++ b/pcr/tomoyo-tools/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer (Arch): 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' 'mips64el') +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") + +build() { + cd "${srcdir}/${pkgname}" + make -j1 || return 1 +} + +package() { + cd "${srcdir}/${pkgname}" + make INSTALLDIR="${pkgdir}" install || return 1 +} + +sha256sums=('3144bbd6056528c85f63889c8b977b994d5596611b74afdc9a3924162cf94db0') diff --git a/pcr/tomoyo-tools/tomoyo-tools.install b/pcr/tomoyo-tools/tomoyo-tools.install new file mode 100644 index 000000000..6fb5e16d2 --- /dev/null +++ b/pcr/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 +} |