summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-11-07 16:27:31 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-11-07 16:27:31 +0000
commitaac16178a826f3273ebd63b5717e2a5621bd2db2 (patch)
treea794aed443a2e0ae48297678a956a3e85fb9fb56 /sys-apps/ccs-tools
parentStable on ppc. (diff)
downloadhistorical-aac16178a826f3273ebd63b5717e2a5621bd2db2.tar.gz
historical-aac16178a826f3273ebd63b5717e2a5621bd2db2.tar.bz2
historical-aac16178a826f3273ebd63b5717e2a5621bd2db2.zip
Version bumped, bug #290757.
Package-Manager: portage-2.1.7.4/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/ccs-tools')
-rw-r--r--sys-apps/ccs-tools/ChangeLog8
-rw-r--r--sys-apps/ccs-tools/Manifest4
-rw-r--r--sys-apps/ccs-tools/ccs-tools-1.7.0_p20090903.ebuild68
3 files changed, 78 insertions, 2 deletions
diff --git a/sys-apps/ccs-tools/ChangeLog b/sys-apps/ccs-tools/ChangeLog
index 6ce6e013f3ef..38befb5d0e0b 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.3 2009/07/21 23:48:01 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.4 2009/11/07 16:27:31 matsuu Exp $
+
+*ccs-tools-1.7.0_p20090903 (07 Nov 2009)
+
+ 07 Nov 2009; MATSUU Takuto <matsuu@gentoo.org>
+ +ccs-tools-1.7.0_p20090903.ebuild:
+ Version bumped, bug #290757.
*ccs-tools-1.6.8_p20090623-r1 (21 Jul 2009)
diff --git a/sys-apps/ccs-tools/Manifest b/sys-apps/ccs-tools/Manifest
index d9bc90982fdf..3050d0cfda89 100644
--- a/sys-apps/ccs-tools/Manifest
+++ b/sys-apps/ccs-tools/Manifest
@@ -1,6 +1,8 @@
AUX ccs-tools-1.6.8_p20090623-gentoo.patch 13446 RMD160 0c484fa4ebff532f8b18b3d590fe2a7ac7b18acb SHA1 ad9833b9e866073dc3596e78f4955fd512260113 SHA256 6813731520b05e84f95449db29cdaeab90324b565504677c257886f7434c21a1
DIST ccs-tools-1.6.8-20090623.tar.gz 144995 RMD160 41eb0bfd26c42d1eb81319d26596cfbbcab1b96e SHA1 93db999a014a4daa36ace2d5e3f4a0733cb43980 SHA256 d2e8eec17b02e7682c814ec98dd1158a00e7b5440f25f19b4d7d5b8fb0b2e78f
+DIST ccs-tools-1.7.0-20090903.tar.gz 144114 RMD160 d2f6195fad34fbd45664aac44b1127702f2e4a44 SHA1 620e2a2b9ab33e8894383110b6e60964d9dea53b SHA256 b8a52139e3d6ca88897097887f42f78be3efa741fb27b743a487bb9ca3141576
EBUILD ccs-tools-1.6.8_p20090623-r1.ebuild 1870 RMD160 88f9a4f623e76987bad24433a3dbd44a0de78089 SHA1 2e759d0303bf15f86dc6b8be6aec7e22531a9429 SHA256 0cc772be4185a68d7295b4f9d7d9c596878d6e7353545854ee0fe95e90179d3b
EBUILD ccs-tools-1.6.8_p20090623.ebuild 1424 RMD160 bdb32f70e3642b8c5271b7e2b8e70fb197ea111e SHA1 3360e837628a9b504d56a57455f64851a02c8854 SHA256 0a57b838fa1cc08a3fd650a7853999759b45c31efc9722ba3881317cce96e600
-MISC ChangeLog 796 RMD160 f0a97815756cefba294b635a376ad1e4125779a2 SHA1 fae58739f40c08c9dad2f8dda94bcb8cd1dfce8d SHA256 140e500df7f5be95c36d111eb65aba8e11031b3fb3968f0ccc50ce21ff39d30c
+EBUILD ccs-tools-1.7.0_p20090903.ebuild 1438 RMD160 72cd7b9976b632088a1290901048a2055b03e9dc SHA1 fef6e01ed81fec6a28212fb24a64aaed2ef47a2d SHA256 f51efebfcf44df94b1c816443ebe4ee96b31fbfb8f3ad06a8186eb393682398f
+MISC ChangeLog 956 RMD160 69090530caa4105cd267ea3eeffb56318b9d5616 SHA1 0b8fe78927cb9c653011ce3aa004da8ce7e47819 SHA256 4478054d3330b79ae3d03cd27c98e9326419d6341af2680a522ca1e9103f4ea0
MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371
diff --git a/sys-apps/ccs-tools/ccs-tools-1.7.0_p20090903.ebuild b/sys-apps/ccs-tools/ccs-tools-1.7.0_p20090903.ebuild
new file mode 100644
index 000000000000..8fb2ebe706c2
--- /dev/null
+++ b/sys-apps/ccs-tools/ccs-tools-1.7.0_p20090903.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2009 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.0_p20090903.ebuild,v 1.1 2009/11/07 16:27:31 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.6.x/"
+}
+
+pkg_config() {
+ /usr/$(get_libdir)/ccs/init_policy.sh
+}