[arch-commits] Commit in tomoyo-tools/repos (6 files)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Fri Aug 30 20:31:33 UTC 2013
Date: Friday, August 30, 2013 @ 22:31:33
Author: foutrelis
Revision: 96509
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
tomoyo-tools/repos/community-testing-i686/
tomoyo-tools/repos/community-testing-i686/PKGBUILD
(from rev 96508, tomoyo-tools/trunk/PKGBUILD)
tomoyo-tools/repos/community-testing-i686/tomoyo-tools.install
(from rev 96508, tomoyo-tools/trunk/tomoyo-tools.install)
tomoyo-tools/repos/community-testing-x86_64/
tomoyo-tools/repos/community-testing-x86_64/PKGBUILD
(from rev 96508, tomoyo-tools/trunk/PKGBUILD)
tomoyo-tools/repos/community-testing-x86_64/tomoyo-tools.install
(from rev 96508, tomoyo-tools/trunk/tomoyo-tools.install)
-----------------------------------------------+
community-testing-i686/PKGBUILD | 37 ++++++++++++++++++++++++
community-testing-i686/tomoyo-tools.install | 11 +++++++
community-testing-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++
community-testing-x86_64/tomoyo-tools.install | 11 +++++++
4 files changed, 96 insertions(+)
Copied: tomoyo-tools/repos/community-testing-i686/PKGBUILD (from rev 96508, tomoyo-tools/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-30 20:31:33 UTC (rev 96509)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk>
+
+pkgname=tomoyo-tools
+_basever=2.5.0
+_timestamp=20130406
+_file=53357
+pkgver=${_basever}.${_timestamp}
+pkgrel=2
+pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2'
+arch=('i686' 'x86_64')
+url='http://tomoyo.sourceforge.jp'
+#url='http://sourceforge.jp/projects/tomoyo/releases/?package_id=9818'
+license=('GPL')
+depends=('ncurses' 'linux>=3.2')
+install=tomoyo-tools.install
+source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz")
+md5sums=('8888f83fcb87823d714ff551e8680d0d')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ sed -i \
+ -e 's|usr/sbin|usr/bin|g' \
+ -e 's|sbin|usr/bin|g' \
+ usr_lib_tomoyo/init_policy.c
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ make USRSBINDIR=/usr/bin SBINDIR=/usr/bin
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make USRSBINDIR=/usr/bin SBINDIR=/usr/bin INSTALLDIR="${pkgdir}" install
+}
Copied: tomoyo-tools/repos/community-testing-i686/tomoyo-tools.install (from rev 96508, tomoyo-tools/trunk/tomoyo-tools.install)
===================================================================
--- community-testing-i686/tomoyo-tools.install (rev 0)
+++ community-testing-i686/tomoyo-tools.install 2013-08-30 20:31:33 UTC (rev 96509)
@@ -0,0 +1,11 @@
+post_install () {
+ echo
+ echo " * To enable TOMOYO Linux, append 'security=tomoyo TOMOYO_trigger=/usr/bin/init' to the kernel"
+ echo " boot options and initialize policy with this command:"
+ echo " /usr/lib/tomoyo/init_policy"
+ echo
+}
+
+post_upgrade () {
+ post_install $1
+}
Copied: tomoyo-tools/repos/community-testing-x86_64/PKGBUILD (from rev 96508, tomoyo-tools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-08-30 20:31:33 UTC (rev 96509)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk>
+
+pkgname=tomoyo-tools
+_basever=2.5.0
+_timestamp=20130406
+_file=53357
+pkgver=${_basever}.${_timestamp}
+pkgrel=2
+pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2'
+arch=('i686' 'x86_64')
+url='http://tomoyo.sourceforge.jp'
+#url='http://sourceforge.jp/projects/tomoyo/releases/?package_id=9818'
+license=('GPL')
+depends=('ncurses' 'linux>=3.2')
+install=tomoyo-tools.install
+source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz")
+md5sums=('8888f83fcb87823d714ff551e8680d0d')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ sed -i \
+ -e 's|usr/sbin|usr/bin|g' \
+ -e 's|sbin|usr/bin|g' \
+ usr_lib_tomoyo/init_policy.c
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ make USRSBINDIR=/usr/bin SBINDIR=/usr/bin
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make USRSBINDIR=/usr/bin SBINDIR=/usr/bin INSTALLDIR="${pkgdir}" install
+}
Copied: tomoyo-tools/repos/community-testing-x86_64/tomoyo-tools.install (from rev 96508, tomoyo-tools/trunk/tomoyo-tools.install)
===================================================================
--- community-testing-x86_64/tomoyo-tools.install (rev 0)
+++ community-testing-x86_64/tomoyo-tools.install 2013-08-30 20:31:33 UTC (rev 96509)
@@ -0,0 +1,11 @@
+post_install () {
+ echo
+ echo " * To enable TOMOYO Linux, append 'security=tomoyo TOMOYO_trigger=/usr/bin/init' to the kernel"
+ echo " boot options and initialize policy with this command:"
+ echo " /usr/lib/tomoyo/init_policy"
+ echo
+}
+
+post_upgrade () {
+ post_install $1
+}
More information about the arch-commits
mailing list