diff options
author | Naohiro Aota <naota@gentoo.org> | 2013-02-26 12:00:27 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2013-02-26 12:00:27 +0000 |
commit | 4f1bbe0ec35ab084a918142ffba05b215fd5d622 (patch) | |
tree | 45415e33b65c3b6093f2361e74ff223ed991883c /sys-apps/ccs-tools | |
parent | Stable for arm, wrt bug #458430 (diff) | |
download | gentoo-2-4f1bbe0ec35ab084a918142ffba05b215fd5d622.tar.gz gentoo-2-4f1bbe0ec35ab084a918142ffba05b215fd5d622.tar.bz2 gentoo-2-4f1bbe0ec35ab084a918142ffba05b215fd5d622.zip |
version bump
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8551514)
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.8.3_p20130214.ebuild | 61 |
2 files changed, 68 insertions, 1 deletions
diff --git a/sys-apps/ccs-tools/ChangeLog b/sys-apps/ccs-tools/ChangeLog index 3b30d84838ca..2e931e40e0aa 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.14 2013/02/03 12:41:48 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.15 2013/02/26 12:00:27 naota Exp $ + +*ccs-tools-1.8.3_p20130214 (26 Feb 2013) + + 26 Feb 2013; Naohiro Aota <naota@gentoo.org> + +ccs-tools-1.8.3_p20130214.ebuild: + version bump 03 Feb 2013; Pacho Ramos <pacho@gentoo.org> -ccs-tools-1.6.8_p20090623-r1.ebuild, -ccs-tools-1.6.8_p20090623.ebuild, diff --git a/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild b/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild new file mode 100644 index 000000000000..b2dfe91595cc --- /dev/null +++ b/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 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.8.3_p20130214.ebuild,v 1.1 2013/02/26 12:00:27 naota Exp $ + +EAPI=3 +inherit eutils multilib toolchain-funcs + +MY_P="${P/_p/-}" +DESCRIPTION="TOMOYO Linux tools" +HOMEPAGE="http://tomoyo.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/tomoyo/49693/${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}/ccs-tools" + +src_prepare() { + sed -i \ + -e "s:gcc:$(tc-getCC):" \ + -e "s/\(CFLAGS.*:=\).*/\1 ${CFLAGS}/" \ + -e "s:/usr/lib:/usr/$(get_libdir):g" \ + -e "s:= /:= ${EPREFIX}/:g" \ + Include.make || die +} + +src_test() { + cd "${S}/kernel_test" + emake || die + ./testall.sh || die +} + +src_install() { + emake INSTALLDIR="${D}" install || 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 http://tomoyo.sourceforge.jp/1.8/" + elog + elog "This tools are for ccs-patch'ed kernels. There are also sys-apps/tomoyo-tools" + elog "which works with TOMOYO 2.x.x versions (already merged into Linux kernel)." + elog "If you'd like to try them, please emerge sys-apps/tomoyo-tools instead." +} + +pkg_config() { + /usr/$(get_libdir)/ccs/init_policy +} |