diff options
author | Chris Reffett <creffett@gentoo.org> | 2013-12-11 01:20:41 +0000 |
---|---|---|
committer | Chris Reffett <creffett@gentoo.org> | 2013-12-11 01:20:41 +0000 |
commit | dd207b55c365f380e35a8d4e835f8282d22ece21 (patch) | |
tree | 685deb0057323b0514eaece54c5a39f8158c9a1a /dev-scheme/chicken | |
parent | Upgrade and bug fixes. (diff) | |
download | historical-dd207b55c365f380e35a8d4e835f8282d22ece21.tar.gz historical-dd207b55c365f380e35a8d4e835f8282d22ece21.tar.bz2 historical-dd207b55c365f380e35a8d4e835f8282d22ece21.zip |
Security cleanup wrt bug 462458
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x42618354
Diffstat (limited to 'dev-scheme/chicken')
-rw-r--r-- | dev-scheme/chicken/ChangeLog | 6 | ||||
-rw-r--r-- | dev-scheme/chicken/Manifest | 31 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-3.3.0.ebuild | 70 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-4.6.0.ebuild | 53 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-4.7.3-r1.ebuild | 67 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-4.8.0.3.ebuild | 77 |
6 files changed, 13 insertions, 291 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog index 692841b77c02..bfaf14af57a1 100644 --- a/dev-scheme/chicken/ChangeLog +++ b/dev-scheme/chicken/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-scheme/chicken # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.59 2013/07/14 14:18:38 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.60 2013/12/11 01:20:32 creffett Exp $ + + 11 Dec 2013; Chris Reffett <creffett@gentoo.org> -chicken-3.3.0.ebuild, + -chicken-4.6.0.ebuild, -chicken-4.7.3-r1.ebuild, -chicken-4.8.0.3.ebuild: + Security cleanup wrt bug 462458 14 Jul 2013; Agostino Sarubbo <ago@gentoo.org> chicken-4.8.0.3-r1.ebuild: Stable for alpha, wrt bug #476172 diff --git a/dev-scheme/chicken/Manifest b/dev-scheme/chicken/Manifest index 43bebe679ea5..70d015297304 100644 --- a/dev-scheme/chicken/Manifest +++ b/dev-scheme/chicken/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX 50hen-gentoo.el 145 SHA256 5b58b0cc226fd167fa8f2523846fa980c74df77513703dbd63f7f82167ec0f52 SHA512 9e9e2a29ca0591eca6858326fa56cb90db406fb5dad487d2b452b51f6a575dd7df307673c9289ce04b9488da599f84c2b70373638c0fb141fe57e03c7254ee81 WHIRLPOOL aa1f242327f2c285efe1ac9e458d3fc1574454feef878aa27fcf2d73825c486a1fb90ece6a44055ae6b84a413fad49babb16e8ce4f1c6ac211dbe20b24e1f623 AUX chicken-4.5.0-r0-ARCH-to-zARCH-hack.patch 5441 SHA256 a887a97531a57585894cae4ac6934ce88073525ef96e5ef5d6201421f93c1e6f SHA512 79b84a5f183c3a42eddbd991bd42453c7b666f5684abb1ea303eca6c603bd9ab5b9e0eee2cf74bdf92535fafaca2adb6879e961b0f00e8a7d6bc2f5e14f0d7b2 WHIRLPOOL 61b9c1e374dbfa424d9bedd1e1422effab997964579eeb5f74163cdeea7c8078fb0a83aba2a0fdc9c69d83836d7cd998e861466c47f26fb4e541909b50cdcc1a @@ -9,32 +9,17 @@ AUX chicken-4.8.0.3-CVE-2013-2024.patch 1466 SHA256 fab93b61b95c87b95d2d4894988b AUX chicken-4.8.0.3-CVE-2013-2075_1.patch 6574 SHA256 1621872142aeee4868082b430a5c2c4bd52760cd48adf4926d0f9c1c6c4b9f4b SHA512 9e82d6e17f6930c430f20689a83d3a5841cf328f78e9b507defcb9ecf3016881cfda9085773d92f0d1456680e4f30d0418bf163c416c9acadbaa97335653fc08 WHIRLPOOL 31dde9cb237b48b37342e4509efd84ee375ab2847aa1791312ed8f6fdfb70b1a1c744e912b2971aa88a521db6af5b86cfa08bdbc47d61e809fb703f1fb8f8bef AUX chicken-4.8.0.3-CVE-2013-2075_2.patch 10011 SHA256 0b70a4b8838e8ae366e23d135e8ec260ad33d0191edc0047fc5ade6fa385119b SHA512 5d5f04a9ec8f4c8b9a903c123d51cd91f6f220a160891c16df660fa216f380f21a90c613bf5cbcb914d2c6a8cc9ede6b2b774dbd09cd2d782abbc09ffc01773b WHIRLPOOL b4e14a87745ee0f2987cfbe09700dfb3c1b9cb70a488ff49d61d83b0f0a59b4183ba2653db311cb910f65e68e84212e3076d1363ea6954911af77115a0eaa284 AUX chicken-4.8.0.3-parallel-build.patch 3112 SHA256 0fc0f3422c2c24a2bdfb67aaec5e0378e5835b8858b9fd9cd7e9d296183101af SHA512 b85db92ef9f92484e5cc35b570bc7017f970d3d57aff5c573acfb7d8efac4ee823ab2c269f383695dbb834b37cb07b2638d19ea2114b0ad23ef73e00dc11aba8 WHIRLPOOL 6b81fc9745728092b992a0442dfdb2994906a1205bfdc76a32dd97a7a3716d587362ac8bde6775c1f4a924e7a28b23484e7ab6ff764feef748f58c045bda11bd -DIST chicken-3.3.0.tar.gz 4228441 SHA256 5ce2519bac9956de5700a5777b2bbc2cd89202ef2d2252a40a0d1e8c9854bec6 -DIST chicken-4.6.0.tar.gz 3019126 SHA256 c55d1dadf9941b3efbc7be9181d5c7cbc304a20c614625fbf710c0acaa1cd245 -DIST chicken-4.7.3.tar.gz 3316152 SHA256 00c82bc2208d74463a69356d2a30a3771f87048ea87fb9c024d464b3c9d4e230 DIST chicken-4.8.0.3-cve-updates.tar.bz2 218025 SHA256 3e4de410766b09706be156d8460a39a8382365470f46f2da545a577a4f986502 SHA512 2ad05fbc414fe536d94a63e4d57c98c3bb19267f99e636c2039cd2c3984778fb7f7a0765c64ed6dbe4c438c14bdc94d1f83a626191e0cb817eeca5ea1e480132 WHIRLPOOL b0c7a0280ff08e1ca66a8155e3917f6b12c4e9d9b94f2b354046d3d4cbc598d5edb43c4a210d30fda59c9a4654e95adfe7b21a0aa84ab795e46b37128235ec1e DIST chicken-4.8.0.3.tar.gz 3959422 SHA256 6a1414e6f35586e47d7f4470eaf1779a4f73dec664b14bebf8763dd804b399c3 SHA512 8a716953fe7eeaea9039e90c5a2abad7fbe341a580176abe870c7b78bfdd11f1291d90bb9df43334b7f7ea484695ba59eba3558b9e360e5e9bd21fa106679197 WHIRLPOOL f55ca79a7df54dce9612b444a5a6a767b9b18cb9ba48a91bb5abab799d260e6c8aef83dade54d38013f41cc4d4b8bbdcda77513d75c91ab038289c6eabcca2fb -EBUILD chicken-3.3.0.ebuild 1569 SHA256 68e958a02a13039359584927a0d15e5b95280bcf1e12da97bad4dada0e8c17e7 SHA512 cf72e794dc60a635184a6ee5243d916a72bbb019e32dda6c7ec65766081af9e9048d2774513a909148f5c29e0be8830210b49c7ffa748eadb2f7c5ddc0c97a5c WHIRLPOOL 3b5c969762e0f4d0becac42f449481acf1461ff90da1cf8958930add92578ee90090b1d3fbbc86a1812b27e24d4bb4bbbde733a0d8946d9a312d4278edcb304a -EBUILD chicken-4.6.0.ebuild 1693 SHA256 baac199e060815f232b8947c00fea3d39e6e42622095111b0370f9d5c7187d6a SHA512 4119461d3e2ba3a9b7803af7e350f17e20b528b2753ed3de669fb8dc1cf78ce90b1c8741ef56f27483dc1752ce3db3754b6a3a468cf5410c9dd03d28e20ddc30 WHIRLPOOL d744e08a4b62b75e93937eb71cf20298128c0d51110d507ae642ca6b8a9c91b4f46f378ececb30a2ccf9b3cf0105a9d50a98881d182b96b6051053608115ac67 -EBUILD chicken-4.7.3-r1.ebuild 2211 SHA256 ec496c450194858301e12d6a2bc4fe265bed39a139b581d54fc5411e6fbed3c6 SHA512 2b91d77e285889197bf2082218557dc45d73e27a99e2f631f364cd15d7b642dd2be04116a4cd51bc73364d8a8867a16703d64c0a9992e7e780a8e23d38b1c21a WHIRLPOOL 47e7b3504f7a44aaf31fe155dde011aec602aa6467111ed8c24d4bbb6a7a479d77c0e74f1c2bffadae635ba314ad748d6791b49bc4c1691e65755585f866834b EBUILD chicken-4.8.0.3-r1.ebuild 2840 SHA256 71afe838827b3f1d762016b6aff68f8b78bbbcf7b3d83f2993180c6260c139b5 SHA512 aa8e353c0f511c6994deb70d91e721942b215267a59943ff0a5452bf60f1bcd6b73371bdfa25fbbf17d8c1359b5ca97eddc321f161ed6dc6348f3ee67abf615a WHIRLPOOL 33b198102f624e1401d33023ae94eb4540764f49d994ef8abc8d6f429d995e848423773d8abdf3ed04611b286243f46b5042c61b7844d1ae4669628150a088e6 -EBUILD chicken-4.8.0.3.ebuild 2326 SHA256 79a59e05f3a440f48f3890a43a053a327519f840e341b33b3271022391c051bc SHA512 44b5759d197fd0633deadc349ce528b60e98cf7da60c7e3bb24c276e920ca627526dec75af5b00c39188420a89a0929546f92024fb943a4d72411a8f18c4768d WHIRLPOOL 9d26940dfb0368f9b66f7cbae65c980e6edb32caecca6d72f17d4a63780e4a4459b7f455f9af2bb2cdcd3637b6a2ce369a69cdb9f23ab77f9eea0a1cd5dfa88b -MISC ChangeLog 9320 SHA256 65533164af02ab61cecb26ca9ec5ac21607ac2dc8016477a638e69cd0fea97f8 SHA512 b5d0f856de0bb6edc928e920422027e4c5dfa1c458a060aaa28f62b7eddef23e5917245b9dcc297fd86f958f0679bb349d7ae7537bc8230a0e861337a9c86d3c WHIRLPOOL 33f2cf76fcf95b768401a1c8fc4559d843728c4b4f828ecf0a5e27ab6712328996e56640a75750703b2064e0f2259867bc22256818360122c70b5012f1c349f9 +MISC ChangeLog 9510 SHA256 9b6ab33ead78605222453f07a3d2820e2471c23690240f0acb911ace40153632 SHA512 b24034ade3bb894146b593aec5e6d0d50887615c88f340073bf1afc531310821e771fd26e11ab8aaa0198e923ae0a82f17b1e803b45eb7fbb2e550daa9a4d110 WHIRLPOOL 5f6eedd0ab42a29ace24a21892895d4ff197b73da8757a3d458b6745413009bc09757d8a04d8276ed28884f3a6016b5094674b33e97c6d0dbccd43ec6a696b2d MISC metadata.xml 870 SHA256 8608f5461e3c84d4034d7fdb21f85cfcaa7afdbf7603fce4f8b817edcd99da94 SHA512 eab200c152579766739e425703a9a1b002df0c5ceb31ce201424789a4f821c004d968a9b5dffe9ee9735913331b40261784ed70b6ec8a256b3117c98cb0ebab4 WHIRLPOOL 78f702cbd1e1ea1aa39c62fb9ab48b102b1bc859c1535531d2d073d9f57bdeb4413247d3331057c167b32e6fa69d76c818f76b8d39d7afb0d96396923f11947e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJR4rKFAAoJELp701BxlEWfZ+QP/3sEkrlPY21UtDDyVCq+HyWU -mSAA5tIiBea100SZCoWKU8ORNr/o0JJa/ck+eSW5k6/qEL3jYNa/hbi6QVJ9u5Tb -fw7Auw/pLmXGiplKG3HUVaG7Md5Js/oii9hGTBHy8xRMvJW9+kPYESSQlZoBWNRa -jOzm9DchgyehdlCTCRLZUlgv9MDqz2MdKls4tgrYO8WoPcg2jD/UG6cPlS+kZQ2p -T1coWuRwjzVtXEsR9bKumBBnUkRFT0oGCcf1y9mGOeniJdWESTn+zOZILfpUzpZv -Or5fZtUNfofRvIV8EaTC34sgnSBppOxcUHFIJCLrWUk+yKlzZrQTK5BuLH1E4Tjh -Y7VHkL0RG6odz4hyGvRqAb5VXC1VdfKPG83TR/q8wGokgx67rkn+sk9WtgLgOS/8 -4T+gY6RXeSEfStZDvtrjkzExQfnAfg7HhdqKuyhoJDdQOZ3K5VuMu1iBcnV05xZ6 -4cm241ub1aWKKBbqjez+jbevjk91cJoWW3qIG0FVWK7yE2w72ebNI71jmLVJ44YM -LQIR9Gtrdmvs1C3TQ3IuNGJvO/3pwVvvwtsvF+v8jmdB6u0ctAud6MsH6F+k6XM5 -odSvpuyLASTVeCXJCnR8Lz2miTGu4aE+MBlir5sdLGMc133U+NcFnfoUsmTJSi5T -FDjABrJFsojiB5ViBfUS -=c8o+ +iKYEAREIAGYFAlKnveNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC +Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1TidQCfb8g6P7jH6ygiaUfAd/9eyGKE +aaQAoI2OuDgZfHpUWtSn1YMgO1VPN4J1 +=Qzz/ -----END PGP SIGNATURE----- diff --git a/dev-scheme/chicken/chicken-3.3.0.ebuild b/dev-scheme/chicken/chicken-3.3.0.ebuild deleted file mode 100644 index dde164bf6494..000000000000 --- a/dev-scheme/chicken/chicken-3.3.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-3.3.0.ebuild,v 1.6 2009/09/14 06:36:11 araujo Exp $ - -inherit multilib elisp-common - -DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" -SRC_URI="http://chicken.wiki.br/releases/${PV}/${P}.tar.gz" -HOMEPAGE="http://www.call-with-current-continuation.org/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ppc ppc64 x86" -IUSE="emacs" - -DEPEND=">=dev-libs/libpcre-7.6 - sys-apps/texinfo - emacs? ( virtual/emacs )" -RDEPEND="${DEPEND}" - -SITEFILE=50hen-gentoo.el - -src_unpack() { - unpack ${A}; cd "${S}" - sed "s:/lib:/$(get_libdir):g" -i defaults.make -} - -src_compile() { - # $A is used by the makefile so >_> - unset A - - OPTIONS="PLATFORM=linux PREFIX=/usr USE_HOST_PCRE=1" - echo $OPTIONS - emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" || die - - if use emacs; then - elisp-compile hen.el || die - fi -} - -# chicken doesn't seem to honor CHICKEN_PREFIX CHICKEN_HOME or LD_LIBRARY_PATH=${S}/.libs/ -RESTRICT=test -#src_test() { -# cd tests -# bash runtests.sh -#} - -src_install() { - unset A - - emake ${OPTIONS} DESTDIR="${D}" install || die - dodoc ChangeLog* NEWS - dohtml -r html/ - rm -rf "${D}"/usr/share/chicken/doc - - keepdir /usr/$(get_libdir)/chicken/3 - - if use emacs; then - elisp-install ${PN} hen.{el,elc} || die - elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-scheme/chicken/chicken-4.6.0.ebuild b/dev-scheme/chicken/chicken-4.6.0.ebuild deleted file mode 100644 index 0ed734fcc9aa..000000000000 --- a/dev-scheme/chicken/chicken-4.6.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.6.0.ebuild,v 1.1 2010/10/06 04:25:05 chiiph Exp $ - -EAPI="3" - -inherit eutils multilib - -DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" -HOMEPAGE="http://www.call-with-current-continuation.org/" -SRC_URI="http://code.call-cc.org/releases/4.6.0/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" -IUSE="emacs" - -DEPEND="sys-apps/texinfo - emacs? ( virtual/emacs )" -RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )" - -src_prepare() { - #Because chicken's Upstream have a custom to use variables that also - #portage uses :( eg. $ARCH in this case - for f in defaults.make Makefile.bsd Makefile.cross-linux-mingw Makefile.cygwin \ - Makefile.linux Makefile.macosx Makefile.mingw-msys Makefile.solaris \ - rules.make - do - sed "s,ARCH,zARCH," -i ${f} || die "sed failed" - done - - sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed" - sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed" -} - -src_compile() { - OPTIONS="PLATFORM=linux PREFIX=/usr" - #upstream does not support parallel builds, bug 265881 - emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ - HOSTSYSTEM="${CBUILD}" || die "emake failed" -} - -# chicken's testsuite is not runnable before install -# upstream has been notified of the issue -RESTRICT=test - -src_install() { - # bug #283158 - emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" install || die - - rm "${D}"/usr/share/doc/${P}/LICENSE || die - dodoc NEWS || die -} diff --git a/dev-scheme/chicken/chicken-4.7.3-r1.ebuild b/dev-scheme/chicken/chicken-4.7.3-r1.ebuild deleted file mode 100644 index f8ccd20e1a7f..000000000000 --- a/dev-scheme/chicken/chicken-4.7.3-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.7.3-r1.ebuild,v 1.1 2011/12/10 13:41:55 maksbotan Exp $ - -EAPI="3" - -inherit eutils multilib - -DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" -HOMEPAGE="http://www.call-cc.org/" -SRC_URI="http://code.call-cc.org/dev-snapshots/2011/08/17/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" -IUSE="emacs parallel-build" - -DEPEND="sys-apps/texinfo - emacs? ( virtual/emacs )" -RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )" - -src_prepare() { - if use "parallel-build" - then - epatch "${FILESDIR}"/${P}-parallel-build.patch - fi - - #Because chicken's Upstream is in the habit of using variables that - #portage also uses :( eg. $ARCH and $A - for f in defaults.make Makefile.bsd Makefile.cross-linux-mingw Makefile.cygwin \ - Makefile.linux Makefile.macosx Makefile.mingw-msys Makefile.solaris \ - rules.make - do - sed "s,ARCH,zARCH," -i ${f} || die "sed failed" - # bug #393561: installs /usr/lib/libchickenchicken-4.7.3.tar.gz (portage pollutes ${A} variable) - sed 's,A\(\s?=\|)\),chicken&,p' -i ${f} || die "sed failed" - done - - sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed" - sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed" -} - -src_compile() { - OPTIONS="PLATFORM=linux PREFIX=/usr" - if use "parallel-build" - then - ewarn "You enabled parralel-build use flag. This feature is still" - ewarn "in testing, try without it before filing bugs" - emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ - HOSTSYSTEM="${CBUILD}" || die "emake failed" - else - emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ - HOSTSYSTEM="${CBUILD}" || die "emake failed" - fi -} - -# chicken's testsuite is not runnable before install -# upstream has been notified of the issue -RESTRICT=test - -src_install() { - # still can't run make in parallel for the install target - emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" install || die - - rm "${D}"/usr/share/doc/${P}/LICENSE || die - dodoc NEWS || die -} diff --git a/dev-scheme/chicken/chicken-4.8.0.3.ebuild b/dev-scheme/chicken/chicken-4.8.0.3.ebuild deleted file mode 100644 index 85b46cd9c899..000000000000 --- a/dev-scheme/chicken/chicken-4.8.0.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.3.ebuild,v 1.6 2013/04/11 21:42:52 ago Exp $ - -EAPI="3" - -inherit eutils multilib versionator - -MY_PV=$(get_version_component_range 1-3) -DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" -HOMEPAGE="http://www.call-cc.org/" -SRC_URI="http://code.call-cc.org/releases/${MY_PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ppc ppc64 x86" -IUSE="emacs parallel-build doc" - -DEPEND="sys-apps/texinfo - emacs? ( virtual/emacs )" -RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )" - -src_prepare() { - if use "parallel-build" - then - epatch "${FILESDIR}"/${P}-parallel-build.patch - fi - - #Because chicken's Upstream is in the habit of using variables that - #portage also uses :( eg. $ARCH and $A - sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \ - defaults.make rules.make \ - || die "sed failed" - - sed "s,ARCH,zARCH," -i Makefile.bsd Makefile.cross-linux-mingw \ - Makefile.cygwin Makefile.haiku Makefile.linux Makefile.macosx \ - Makefile.mingw Makefile.mingw-msys Makefile.solaris \ - defaults.make rules.make \ - || die "sed failed" - - sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed" - sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed" -} - -src_compile() { - OPTIONS="PLATFORM=linux PREFIX=/usr" - if use "parallel-build" - then - emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ - LINKER_OPTIONS="${LDFLAGS}" \ - HOSTSYSTEM="${CBUILD}" || die "emake failed" - else - emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ - LINKER_OPTIONS="${LDFLAGS}" \ - HOSTSYSTEM="${CBUILD}" || die "emake failed" - fi -} - -# chicken's testsuite is not runnable before install -# upstream has been notified of the issue -RESTRICT=test - -src_install() { - # still can't run make in parallel for the install target - emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \ - LINKER_OPTIONS="${LDFLAGS}" \ - install || die - - rm "${D}"/usr/share/doc/${P}/LICENSE || die - dodoc NEWS || die - - # remove HTML documentation if the user doesn't USE=doc - if ! use "doc" - then - rm -rf "${D}"/usr/share/doc/${P}/manual || die - fi -} |