diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2011-03-02 00:36:22 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2011-03-02 00:36:22 +0000 |
commit | d2e3f3e882387c3bc23bf6b72b613443b6b60375 (patch) | |
tree | 14e8cc91affdcbabaf3cea7ee21952bbfb0f176f /sys-apps/ccs-tools | |
parent | sparc stable (bug 355911) (diff) | |
download | historical-d2e3f3e882387c3bc23bf6b72b613443b6b60375.tar.gz historical-d2e3f3e882387c3bc23bf6b72b613443b6b60375.tar.bz2 historical-d2e3f3e882387c3bc23bf6b72b613443b6b60375.zip |
Version bumped, bug #355799. respect LDFLAGS, bug #332603.
Package-Manager: portage-2.1.9.40/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/ccs-tools')
-rw-r--r-- | sys-apps/ccs-tools/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/ccs-tools/Manifest | 33 | ||||
-rw-r--r-- | sys-apps/ccs-tools/ccs-tools-1.8.0_p20110214.ebuild | 72 | ||||
-rw-r--r-- | sys-apps/ccs-tools/files/ccs-tools-1.8.0_p20110214-parallel.patch | 13 |
4 files changed, 112 insertions, 17 deletions
diff --git a/sys-apps/ccs-tools/ChangeLog b/sys-apps/ccs-tools/ChangeLog index 80d668479e96..f42b8822c6c7 100644 --- a/sys-apps/ccs-tools/ChangeLog +++ b/sys-apps/ccs-tools/ChangeLog @@ -1,6 +1,13 @@ # 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.7 2010/04/04 15:56:43 matsuu Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.8 2011/03/02 00:36:22 matsuu Exp $ + +*ccs-tools-1.8.0_p20110214 (02 Mar 2011) + + 02 Mar 2011; MATSUU Takuto <matsuu@gentoo.org> + +ccs-tools-1.8.0_p20110214.ebuild, + +files/ccs-tools-1.8.0_p20110214-parallel.patch: + Version bumped, bug #355799. respect LDFLAGS, bug #332603. *ccs-tools-1.7.2_p20100401 (04 Apr 2010) diff --git a/sys-apps/ccs-tools/Manifest b/sys-apps/ccs-tools/Manifest index a68f6c353cbf..dd2d8dbd2fbe 100644 --- a/sys-apps/ccs-tools/Manifest +++ b/sys-apps/ccs-tools/Manifest @@ -2,31 +2,34 @@ Hash: SHA1 AUX ccs-tools-1.6.8_p20090623-gentoo.patch 13446 RMD160 0c484fa4ebff532f8b18b3d590fe2a7ac7b18acb SHA1 ad9833b9e866073dc3596e78f4955fd512260113 SHA256 6813731520b05e84f95449db29cdaeab90324b565504677c257886f7434c21a1 +AUX ccs-tools-1.8.0_p20110214-parallel.patch 405 RMD160 cb1484bae9e44047e869b5ded3ea2ae6641daf2d SHA1 48d67bf26e0fd1102191a0046b338a5ef4f208a0 SHA256 3e055f2c175a27d32ae1fab9a903d6583133db9a398b08b9216021d0cb00a67d DIST ccs-tools-1.6.8-20090623.tar.gz 144995 RMD160 41eb0bfd26c42d1eb81319d26596cfbbcab1b96e SHA1 93db999a014a4daa36ace2d5e3f4a0733cb43980 SHA256 d2e8eec17b02e7682c814ec98dd1158a00e7b5440f25f19b4d7d5b8fb0b2e78f DIST ccs-tools-1.6.8-20100115.tar.gz 147437 RMD160 306d967c6151c1ce14e873e07a078995c6f645b3 SHA1 7a8ae9571382201f6ec7ebd4633dc1310aced27c SHA256 8be63d4671166659c01fe76b73af382b06426c9f1ca9edbc1f2c4776f5c9cb55 DIST ccs-tools-1.7.1-20100110.tar.gz 151821 RMD160 87603f18ecec6160ae025bb5baa85eb065955bcd SHA1 8c2df28bc98394c5f4f57ce2353b20d9a270f8ff SHA256 a185409cdd7c043c5701445e9a3df839ee0ebf4d681ea984c5ae97ccc0d01fcb DIST ccs-tools-1.7.2-20100401.tar.gz 154564 RMD160 2af066eb616ce853fd5ff976234b5c5a4d50b216 SHA1 86be6d3609bc741ed511766cb15c85b11da25d07 SHA256 1db7917763de1e98efa157e56c0953e20ad1526eaf3441b00c46535184ef6d54 +DIST ccs-tools-1.8.0-20110214.tar.gz 160049 RMD160 6dc7a564b4b8fd21398dbfae15b21bd9581ba3a8 SHA1 cb46cd1e7a401d519acba000e890d972e3723cc2 SHA256 4ffec375b335477b6aadb352c6a749ee09f283eb58d991420ac74e12037cc670 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 EBUILD ccs-tools-1.6.8_p20100115.ebuild 1873 RMD160 b18b19904e6d217f89eefc6c3444d23c0474e459 SHA1 ed6d5f37526020f92df5ca8d992d2628d4bafb42 SHA256 ebc8d56197077945a08f6461f674a2bad6a5aa7be5f7b386b40d8582bb84c44c EBUILD ccs-tools-1.7.1_p20100110.ebuild 1436 RMD160 262c90377cfc7288931cb6f65609573869a16f05 SHA1 66f47df663f89bd319cbd7448413f78740a46333 SHA256 370081833e5a8bd1e7dd12b16f1fc2c1e2472276a2ccb6c37fd55c0815aa031c EBUILD ccs-tools-1.7.2_p20100401.ebuild 1436 RMD160 fed568e7b1a3f549deec1e1e8e4a72c2b598e754 SHA1 152fb1af6403ca5f88e091d8e94a5ab1ee0c47c6 SHA256 7430540e03afc8da833f27eb663a9f6c07aa2a69b0f2b83a3f592ddcd123b731 -MISC ChangeLog 1483 RMD160 2072b65bd4a6d58fc71500371c9d76f74b982311 SHA1 718d1c2e5a35b67ecb5584ba0a9339dd3261c752 SHA256 0dd802c48c75b17260bb5f45daee0a8f161eee70b73f738b6ad7520b7569105c +EBUILD ccs-tools-1.8.0_p20110214.ebuild 1585 RMD160 5dc6f0bce959612a102cb14de09bc8e586521c6d SHA1 28caad2640caeb1cc100cada0d123b07706f6e6d SHA256 4ef72f97f0927ea41714d8cf3de7c125a6ea28ddf6efd76e921ddc8496c6e1d0 +MISC ChangeLog 1724 RMD160 bc06fc324613bcbb9ef27f99dadb2ba90b8902a1 SHA1 d53c3310535466c77fefc1b953fe4e2773a83fdf SHA256 71538d4180d7acf767b94e95c7c1be84f4ce62e45c7b5872ff8d6f0a3a215fa1 MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJLuLbBAAoJECaGw+YFKA1pAywP/iV667SF5p4/j00T4H5plgmR -GTLviTRDPJVGM9ZyD1OCwG0BmLOaMcFjuJUXHNfMyI2rodMIJdqZx5XQdFTVB/R4 -33uCsHREhtgYZZbfp1ZdMllByDFaM9IZ1ekAdq42ScaAiA/ME5SGsY9hqvJjSEcp -AELjhohK0s9/XrLOPkcASn2Mc4Uzx948D8S2/u0iT1RyY8vUqyBKVcGDlKEc8wUn -Rme66z4rTkN3l/sDF3SYNgIH1shJPU7CNZcegwAJ8CrdWn44H1ZfXhYxGTuYBYWa -7IQiMIx4sE1BuSaCrxRjoLqkGXLOAFoKoFRUZS2kAtxa4mYv/gdeiNow7lf3GpLP -KeGtbmseOIh0HT7d5EbP+AznP2t/pkZrYlkCH5y7vf+vcdRfGbery7uSpl0kjvDm -/lbNT4j0gkJP4uouDlcVkGwXdBMqMORPH2ptDL4RbE0EDa3S9FkpMZjOUhFMh+A5 -7sFLBz7QO9h6iAYf1nq0fxbsQ/oyBv8RdDkL388cbGkuo/8O6TChINKYwsPQM0y/ -BROJNeGHB6XFje2zt6WWaH7z1NBiiWFGZnkFC7oy93cL1HY7EXdzDLdm2HojS9vx -U02IiwRE6gQf2xL0yIz0pybG2zOjukWnvlB0yAYo8jMOs1dICs1Ie2FEEnc0cbGg -k98ApSaYi2WX6x1N5t9j -=D+L5 +iQIcBAEBAgAGBQJNbZEaAAoJECaGw+YFKA1p5UIQAJa9pGwP66+6hg0Y32aRBYd/ +HcPYkgZaB5+LC1sms/5tC6Eq30hB/GRSqvs+oVsFy+5cn6NP5uvgAXyg/yyA6C2i +zExR/xilvUNCxbvMghWTm8kn8581YlvStcDhP32/thgTDb/hw6aSbCDswwrSasvE +0SLA+8fLfdaSlEw55DQ4ZyQUwUo8uQrdaWculNvcBhnzTE4a3ZJC00PUnOJgdGcE +MOg1PZfyC5BF7E1RroVfnxGPpmmlCjteUGQ6J2klSXRuecBUHXW7X2UUMjwpg3CG +e9NBIs4O834IiPgMQKwMdr8AQMkMHMz1ICBdzo84Sh4RyacTMg9/FQLaTsvdellw +l4E3qxZgIBaBW6c8HxMTUkSQhmmarvMyXg7vPdGe30zCff89P1v0kAr7RVwBxwNm +TfgPwZUGht+R1bXZQ5Izd7Mz0ohnTE6fAg/onD8/OjimzG2N85D7pV5EGtgnUTF6 +cKkWZiZ4q81TB0snvpy3duGvvDSRkL6L5RauZS4By2487Bw2qk3Cc33zUAu3KE/q +LVkIVh59pUoe5ncqrhKG99Z9e/nlFuccHvQbsO0Qr/PrE+lCTtEU0OCL6wuXexwV +PG7Hn07C4W6NEPJaytdFxw+93BAC7zYPPh6bc0zi/H2Lc4WpgGKIlSZoz5yCZ15d +6+IwIch+l+zw8fMa3WCD +=3GFr -----END PGP SIGNATURE----- diff --git a/sys-apps/ccs-tools/ccs-tools-1.8.0_p20110214.ebuild b/sys-apps/ccs-tools/ccs-tools-1.8.0_p20110214.ebuild new file mode 100644 index 000000000000..8ba28518f236 --- /dev/null +++ b/sys-apps/ccs-tools/ccs-tools-1.8.0_p20110214.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 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.0_p20110214.ebuild,v 1.1 2011/03/02 00:36:22 matsuu 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}/ccstools" + +src_prepare() { + epatch "${FILESDIR}/${P}-parallel.patch" + sed -i \ + -e "s:gcc:$(tc-getCC):" \ + -e "s:-O2:${CFLAGS}:" \ + -e 's/\$(CFLAGS)/& $(LDFLAGS)/' \ + -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 + +# 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.36:" + elog "http://tomoyo.sourceforge.jp/2.3/" + elog + elog "For >=kernel-2.6.30:" + elog "http://tomoyo.sourceforge.jp/2.2/" + elog + elog "For <kernel-2.6.30 + ccs-patch:" + elog "http://tomoyo.sourceforge.jp/1.8/" +} + +pkg_config() { + /usr/$(get_libdir)/ccs/init_policy.sh +} diff --git a/sys-apps/ccs-tools/files/ccs-tools-1.8.0_p20110214-parallel.patch b/sys-apps/ccs-tools/files/ccs-tools-1.8.0_p20110214-parallel.patch new file mode 100644 index 000000000000..95093b9be846 --- /dev/null +++ b/sys-apps/ccs-tools/files/ccs-tools-1.8.0_p20110214-parallel.patch @@ -0,0 +1,13 @@ +Index: usr_sbin/Makefile +=================================================================== +--- usr_sbin/Makefile (revision 4670) ++++ usr_sbin/Makefile (revision 4671) +@@ -7,6 +7,8 @@ + + all: libccstools.so $(BUILD_FILES) + ++$(BUILD_FILES): libccstools.so ++ + /usr/include/curses.h: + @echo "/usr/include/curses.h is missing." + @echo "Run 'yum install ncurses-devel' or 'apt-get install libncurses-dev'" |