diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-02-04 11:24:12 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-02-04 11:24:12 +0000 |
commit | 5c93b4645d51a9c26a33ca5ff314c8bf50cffe4f (patch) | |
tree | 1b85494c81024d2485eaa6209300ef8d2ebeb732 /sys-apps/ccs-tools | |
parent | Version bumped. (diff) | |
download | gentoo-2-5c93b4645d51a9c26a33ca5ff314c8bf50cffe4f.tar.gz gentoo-2-5c93b4645d51a9c26a33ca5ff314c8bf50cffe4f.tar.bz2 gentoo-2-5c93b4645d51a9c26a33ca5ff314c8bf50cffe4f.zip |
Version bumped.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/ccs-tools')
-rw-r--r-- | sys-apps/ccs-tools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/ccs-tools/ccs-tools-1.7.1_p20100110.ebuild | 68 |
2 files changed, 75 insertions, 1 deletions
diff --git a/sys-apps/ccs-tools/ChangeLog b/sys-apps/ccs-tools/ChangeLog index b7b65a94b4ec..10dcc3ffc7a1 100644 --- a/sys-apps/ccs-tools/ChangeLog +++ b/sys-apps/ccs-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/ccs-tools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.5 2010/01/23 06:49:05 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.6 2010/02/04 11:24:12 matsuu Exp $ + +*ccs-tools-1.7.1_p20100110 (04 Feb 2010) + + 04 Feb 2010; MATSUU Takuto <matsuu@gentoo.org> + +ccs-tools-1.7.1_p20100110.ebuild: + Version bumped. *ccs-tools-1.6.8_p20100115 (23 Jan 2010) diff --git a/sys-apps/ccs-tools/ccs-tools-1.7.1_p20100110.ebuild b/sys-apps/ccs-tools/ccs-tools-1.7.1_p20100110.ebuild new file mode 100644 index 000000000000..2dd06db0601d --- /dev/null +++ b/sys-apps/ccs-tools/ccs-tools-1.7.1_p20100110.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.7.1_p20100110.ebuild,v 1.1 2010/02/04 11:24:12 matsuu Exp $ + +inherit eutils multilib toolchain-funcs + +MY_P="${P/_p/-}" +DESCRIPTION="TOMOYO Linux tools" +HOMEPAGE="http://tomoyo.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/tomoyo/43376/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="test" + +DEPEND="sys-libs/ncurses + sys-libs/readline" +RDEPEND="${DEPEND} + sys-apps/which" + +S="${WORKDIR}/ccstools" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "/^CC=/s:gcc:$(tc-getCC):" \ + -e "/^CFLAGS=/s:-O2:${CFLAGS}:" \ + -e "s:/usr/lib/:/usr/$(get_libdir)/:g" \ + Makefile || die +} + +src_test() { + cd "${S}/kernel_test" + emake || die + ./testall.sh || die +} + +src_install() { + emake INSTALLDIR="${D}" install || die + + insinto /etc/ccs + doins ccstools.conf || die + + dodoc README.ccs +} + +pkg_postinst() { + elog "Execute the following command to setup the initial policy configuration:" + elog + elog "emerge --config =${CATEGORY}/${PF}" + elog + elog "For more information, please visit the following." + elog + elog "For >=kernel-2.6.30:" + elog "http://tomoyo.sourceforge.jp/en/2.2.x/" + elog + elog "For <kernel-2.6.30 + ccs-patch:" + elog "http://tomoyo.sourceforge.jp/en/1.7/" +} + +pkg_config() { + /usr/$(get_libdir)/ccs/init_policy.sh +} |