Sync with portage [Tue Feb 10 16:25:56 MSK 2015].

This commit is contained in:
root 2015-02-10 16:25:56 +03:00
parent 98f638c82e
commit 88786c4cc6
90 changed files with 755 additions and 2013 deletions

View file

@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription lang="en">
Cronolog is a simple filter program that reads log file entries from

View file

@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
</maintainer>
<maintainer>
<email>ottxor@gentoo.org</email>
<name>Christoph Junghans</name>

View file

@ -1 +1 @@
DIST eselect-rust-0.2_pre20141128.tar.gz 63672 SHA256 d235b2dc21221c97ebf146b8689123ea9110e26d5236dfe9308efec8826c2e0b SHA512 fea16ff2631f8f646bce46575ee961269ab305dd5736e950b413a3efe315ba2b3334becc92588a8b9a6b11e2ad3332b55ffcc62960b7f704cdb434561057f631 WHIRLPOOL 21ca29034755cc3c3d363e60aee662efd45c8f73a6b4310023547ed401cf9bdcbe773cc6325dfa936637f9c02fe9b2836dab6ac847f0ed4ca09d3b4066b64f3a
DIST eselect-rust-0.2_pre20150206.tar.gz 63707 SHA256 c034f8f56b74477c552cd74b40f30d0149b8426ca73f12c5c63ad7d5b301266f SHA512 95dadf94b69779a800869ee30565f2b8f6d1d54263919f692c0736310da5b4fd3ad83922ef736ec177fb90c2fe5c326c9756a8448d0ff55054035c1f52295ebd WHIRLPOOL d5ad6c308ff5316811bfe182f67282e0a514677972b08174be58b5277522de49094d4f4311d91b63ba7abe4c1d462947cbbe905e65b767afb64d374d0cadd4a4

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-rust/eselect-rust-0.2_pre20141128.ebuild,v 1.1 2014/11/30 12:43:07 jauhien Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-rust/eselect-rust-0.2_pre20150206.ebuild,v 1.1 2015/02/10 11:25:02 jauhien Exp $
EAPI=5

View file

@ -1,2 +1 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75

View file

@ -1,25 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-0.12.0.ebuild,v 1.1 2014/10/18 11:48:14 jauhien Exp $
EAPI="5"
inherit elisp
DESCRIPTION="A major emacs mode for editing Rust source code"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${WORKDIR}/rust-${PV}/src/etc/emacs"
SITEFILE="50${PN}-gentoo.el"

View file

@ -1,25 +1,21 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-0.11.0.ebuild,v 1.1 2014/10/18 11:48:14 jauhien Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-1.0.0_alpha.ebuild,v 1.1 2015/02/10 11:57:51 jauhien Exp $
EAPI="5"
inherit elisp
MY_PV="rustc-1.0.0-alpha"
DESCRIPTION="A major emacs mode for editing Rust source code"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${WORKDIR}/rust-${PV}/src/etc/emacs"
S="${WORKDIR}/${MY_PV}/src/etc/emacs"
SITEFILE="50${PN}-gentoo.el"

View file

@ -1,25 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-9999.ebuild,v 1.1 2014/10/18 12:42:52 jauhien Exp $
EAPI="5"
inherit elisp git-r3
DESCRIPTION="A major emacs mode for editing Rust source code"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS=""
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${S}/src/etc/emacs"
SITEFILE="50${PN}-gentoo.el"

View file

@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<use>
<flag name='camelcase'>Enable indexing for camelCase sentences and words</flag>

View file

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild,v 1.4 2015/01/26 09:21:59 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild,v 1.5 2015/02/10 12:16:49 jlec Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="https://bitbucket.org/mgorny/cpuinfo2cpuflags/downloads/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND=${PYTHON_DEPS}

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<maintainer>
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
</pkgmetadata>

View file

@ -1,2 +1 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75

View file

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-0.12.0.ebuild,v 1.1 2014/10/18 11:52:06 jauhien Exp $
EAPI="5"
DESCRIPTION="Rust zsh completions"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-shells/zsh
!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/rust-${PV}"
src_configure() {
:
}
src_compile() {
:
}
src_install() {
insinto /usr/share/zsh/site-functions
doins src/etc/zsh/_rust
}

View file

@ -1,26 +1,22 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-0.11.0.ebuild,v 1.1 2014/10/18 11:52:06 jauhien Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-1.0.0_alpha.ebuild,v 1.1 2015/02/10 12:02:09 jauhien Exp $
EAPI="5"
MY_PV="rustc-1.0.0-alpha"
DESCRIPTION="Rust zsh completions"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-shells/zsh
!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
DEPEND="app-shells/zsh"
RDEPEND="${DEPEND}"
S="${WORKDIR}/rust-${PV}"
S="${WORKDIR}/${MY_PV}"
src_configure() {
:

View file

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-9999.ebuild,v 1.1 2014/10/18 12:44:35 jauhien Exp $
EAPI="5"
inherit git-r3
DESCRIPTION="Rust zsh completions"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS=""
DEPEND="app-shells/zsh
!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
RDEPEND="${DEPEND}"
src_configure() {
:
}
src_compile() {
:
}
src_install() {
insinto /usr/share/zsh/site-functions
doins src/etc/zsh/_rust
}

View file

@ -2,7 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
</pkgmetadata>

View file

@ -1,2 +1 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75

View file

@ -1,23 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-0.11.0.ebuild,v 1.1 2014/10/18 11:50:31 jauhien Exp $
EAPI="5"
inherit vim-plugin
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${WORKDIR}/rust-${PV}/src/etc/vim"

View file

@ -1,23 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-0.12.0.ebuild,v 1.1 2014/10/18 11:50:31 jauhien Exp $
EAPI="5"
inherit vim-plugin
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${WORKDIR}/rust-${PV}/src/etc/vim"

View file

@ -0,0 +1,18 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-1.0.0_alpha.ebuild,v 1.1 2015/02/10 11:59:52 jauhien Exp $
EAPI="5"
inherit vim-plugin
MY_PV="rustc-1.0.0-alpha"
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PV}/src/etc/vim"

View file

@ -1,23 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-9999.ebuild,v 1.1 2014/10/18 12:43:35 jauhien Exp $
EAPI="5"
inherit vim-plugin git-r3
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS=""
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
!<=dev-lang/rust-0.11.0-r1:0.11
!<=dev-lang/rust-999:nightly
!<=dev-lang/rust-9999-r2:git
"
S="${S}/src/etc/vim"

View file

@ -4,6 +4,5 @@ DIST ecjsrc-3.6.zip 1310484 SHA256 bc2d624c5ca135d593c71a677674509f5801998ffe98c
DIST ecjsrc-3.7.1.jar 1365199 SHA256 d8567a5de289b750dd9853654aeb941a8e48766b1d7ae80803c71d1f47fbe9b4 SHA512 e01a4a12634a8280e27fe6d1ca0a0cb3e8865a59fa82b5f3836ef3985bdb592fc7e5c373b677a4641b891364f41efde78beb9e584039c0399f7512d09774f631 WHIRLPOOL 0bb99b9574d87df58c003c76dd117ca0458bf8e8b3f3507cc164e1882d1a4d1d47fa42e33eb3f4982abe63702627e76f0a232b533d71a92feb4fb28052866f10
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
DIST ecjsrc-4.2.jar 1416923 SHA256 1a1f5d1721d448665b3881f8f980d00d58c7340bfbd320de39d0d5022c540308 SHA512 6bb0714b8f3a2a92ac054c2ebc5a95586537a3f1b1b6325f56b8271e66dc67bc2a178150584dd1f109776bf84ae8e86469f14470ccceacda399e8d04dca7ec7a WHIRLPOOL c5e3d0ed36040499f22b2b68df84de8aa451fde89f4b591af3c7851b1d972dfaf1bee2b7e32120f27772927cd346228df14f023a20e2439263b77b6e0170dde3
DIST ecjsrc-4.4.1.jar 1759152 SHA256 ba3a471d000ae983498a0f398955e2f09d8c1093880c9f37544d47e5460ff82a SHA512 27086c4c6d35a07f38e2c5ae3d34314fcdfe8b03fd1bbd3e652acd10195a0ec4a20b312f4cc0d0e8204b824eb230d1730a2aef9d886896b81f26b93eff1ae2d1 WHIRLPOOL 1b1da40f61ea5b3768e48dd7b9685b9405e35f3b5019acaeae937335f521819743cb7bacd5a7603ea72a20fe1310c6e28fb57d6c64e46b2035b70335029b2937
DIST ecjsrc.zip 1215250 SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc SHA512 ad6b95daa8bb4c8d5bb628bf8ecb8e4540b3630cc647b88536a960ec724ea749d7b562570bb9cc7aca9faefdf725942eac4226c01a5ffd8567de7fd68ee492bc WHIRLPOOL 672ece312b4e511a3225c925976119ad1bdd5584ecb53b2184515f68d32e1584488111b5b3fdc344bfb68349caedd43fcc1bff3969ddf48af72b6ff6a6ea9228

View file

@ -1,103 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.6.ebuild,v 1.2 2011/10/19 15:44:02 fordfrog Exp $
EAPI=2
inherit java-pkg-2
MY_PN="ecj"
DMF="R-${PV}-201006080911"
S="${WORKDIR}"
DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://archive.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.zip"
IUSE="+ant userland_GNU"
LICENSE="EPL-1.0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
SLOT="3.6"
CDEPEND=">=app-admin/eselect-ecj-0.3"
JAVA_PKG_WANT_SOURCE=1.4
JAVA_PKG_WANT_TARGET=1.4
DEPEND="${CDEPEND}
app-arch/unzip
>=virtual/jdk-1.6
userland_GNU? ( sys-apps/findutils )"
RDEPEND="${CDEPEND}
>=virtual/jre-1.4"
PDEPEND="ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
src_unpack() {
unpack ${A}
cd "${S}"
# These have their own package.
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
rm -fr org/eclipse/jdt/internal/antadapter || die
# upstream build.xml excludes this
rm META-INF/eclipse.inf
}
src_compile() {
local javac_opts javac java jar
javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
javac="$(java-config -c)"
java="$(java-config -J)"
jar="$(java-config -j)"
find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
-path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
-print > sources-1.4
find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
mkdir -p bootstrap || die
cp -pPR org bootstrap || die
cd "${S}/bootstrap" || die
einfo "bootstrapping ${MY_PN} with ${javac} ..."
${javac} ${javac_opts} @../sources-1.4 || die
${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \
| xargs ${jar} cf ${MY_PN}.jar
cd "${S}" || die
einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
${javac_opts} -nowarn @sources-1.4 || die
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
-encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \
| xargs ${jar} cf ${MY_PN}.jar
}
src_install() {
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
org.eclipse.jdt.internal.compiler.batch.Main
# disable the class version verify, this has intentionally
# some classes with 1.6, but most is 1.4
JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
}
pkg_postinst() {
einfo "To select between slots of ECJ..."
einfo " # eselect ecj"
eselect ecj update ecj-${SLOT}
}
pkg_postrm() {
eselect ecj update
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild,v 1.5 2012/03/12 15:13:26 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild,v 1.6 2015/02/10 12:04:59 fordfrog Exp $
EAPI="4"
@ -27,7 +27,7 @@ JAVA_PKG_WANT_TARGET=1.4
DEPEND="${CDEPEND}
app-arch/unzip
>=virtual/jdk-1.6
|| ( virtual/jdk:1.7 virtual/jdk:1.6 )
userland_GNU? ( sys-apps/findutils )"
RDEPEND="${CDEPEND}
>=virtual/jre-1.4"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild,v 1.3 2014/06/04 10:46:06 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.2-r1.ebuild,v 1.4 2015/02/10 12:04:59 fordfrog Exp $
EAPI="4"
@ -23,7 +23,7 @@ COMMON_DEP="
RDEPEND="${COMMON_DEP}
>=virtual/jre-1.4"
DEPEND="${COMMON_DEP}
>=virtual/jdk-1.6
|| ( virtual/jdk:1.7 virtual/jdk:1.6 )
app-arch/unzip
userland_GNU? ( sys-apps/findutils )"
PDEPEND="

View file

@ -1,103 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.2.ebuild,v 1.1 2012/03/03 22:15:42 caster Exp $
EAPI="4"
inherit java-pkg-2
MY_PN="ecj"
DMF="R-${PV}-201202080800"
S="${WORKDIR}"
DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.jar"
IUSE="+ant userland_GNU"
LICENSE="EPL-1.0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
SLOT="3.7"
CDEPEND=">=app-admin/eselect-ecj-0.3"
JAVA_PKG_WANT_SOURCE=1.4
JAVA_PKG_WANT_TARGET=1.4
DEPEND="${CDEPEND}
app-arch/unzip
>=virtual/jdk-1.6
userland_GNU? ( sys-apps/findutils )"
RDEPEND="${CDEPEND}
>=virtual/jre-1.4"
PDEPEND="ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
src_unpack() {
unpack ${A}
cd "${S}"
# These have their own package.
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
rm -fr org/eclipse/jdt/internal/antadapter || die
# upstream build.xml excludes this
rm META-INF/eclipse.inf
}
src_compile() {
local javac_opts javac java jar
javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
javac="$(java-config -c)"
java="$(java-config -J)"
jar="$(java-config -j)"
find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
-path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
-print > sources-1.4
find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
mkdir -p bootstrap || die
cp -pPR org bootstrap || die
cd "${S}/bootstrap" || die
einfo "bootstrapping ${MY_PN} with ${javac} ..."
${javac} ${javac_opts} @../sources-1.4 || die
${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \
| xargs ${jar} cf ${MY_PN}.jar
cd "${S}" || die
einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
${javac_opts} -nowarn @sources-1.4 || die
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
-encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' \
| xargs ${jar} cf ${MY_PN}.jar
}
src_install() {
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
org.eclipse.jdt.internal.compiler.batch.Main
# disable the class version verify, this has intentionally
# some classes with 1.6, but most is 1.4
JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
}
pkg_postinst() {
einfo "To select between slots of ECJ..."
einfo " # eselect ecj"
eselect ecj update ecj-${SLOT}
}
pkg_postrm() {
eselect ecj update
}

View file

@ -1,98 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-4.2.ebuild,v 1.1 2012/07/11 21:03:27 caster Exp $
EAPI="4"
inherit java-pkg-2
MY_PN="ecj"
DMF="R-${PV}-201206081400"
DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar"
LICENSE="EPL-1.0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
SLOT="4.2"
IUSE="+ant userland_GNU"
COMMON_DEP="
|| ( app-admin/eselect-java app-admin/eselect-ecj )"
RDEPEND="${COMMON_DEP}
>=virtual/jre-1.4"
DEPEND="${COMMON_DEP}
>=virtual/jdk-1.6
app-arch/unzip
userland_GNU? ( sys-apps/findutils )"
PDEPEND="
ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
S="${WORKDIR}"
JAVA_PKG_WANT_SOURCE=1.4
JAVA_PKG_WANT_TARGET=1.4
java_prepare() {
# These have their own package.
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
rm -fr org/eclipse/jdt/internal/antadapter || die
}
src_compile() {
local javac_opts javac java jar
javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
javac="$(java-config -c)"
java="$(java-config -J)"
jar="$(java-config -j)"
find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
-path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
-print > sources-1.4
find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
mkdir -p bootstrap || die
cp -pPR org META-INF bootstrap || die
cd "${S}/bootstrap" || die
einfo "bootstrapping ${MY_PN} with ${javac} ..."
${javac} ${javac_opts} @../sources-1.4 || die
${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
find org/ META-INF/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
-exec ${jar} cf ${MY_PN}.jar {} + || die
cd "${S}" || die
einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
${javac_opts} -nowarn @sources-1.4 || die
${java} -classpath bootstrap/${MY_PN}.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
-encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
find org/ META-INF/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
-exec ${jar} cf ${MY_PN}.jar {} + || die
}
src_install() {
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
org.eclipse.jdt.internal.compiler.batch.Main
# disable the class version verify, this has intentionally
# some classes with 1.6, but most is 1.4
JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
}
pkg_postinst() {
einfo "To select between slots of ECJ..."
einfo " # eselect ecj"
eselect ecj update ecj-${SLOT}
}
pkg_postrm() {
eselect ecj update
}

View file

@ -2,6 +2,8 @@ DIST apache-tomcat-4.1.36-src.tar.gz 3715200 SHA256 51f9139f10cd865fc331cf5def49
DIST apache-tomcat-5.5.27-src.tar.gz 7382057 SHA256 90bc8abcddda604e855c37035653b1e24b31c2f09b7a29235e92d65025f7a334 SHA512 32c605aad92b7d554b9e0f28a4d3e707b3cbfc0661a969eb2479512517f8e9e8848b820132d711c41f5c0fa863028b38e1fa903e7c0205599e9e58a86ab4733a WHIRLPOOL d3bca642fd8d5ad73dadf8864ebd0a75146adc805c298d0fd5ad26ab2d4d93293a9ea83d4190e64accd3a7cd38bebc1580dcc266f9a81c4472bacb37598acef7
DIST apache-tomcat-5.5.34-src.tar.gz 3720299 SHA256 a52e7f2abf0fbdd9665ca398d2b39f99b80683b0ee43c72751390e88dcd6114d SHA512 4c8616f839a3c413ffef45b7b6876f123cbda37f4029db96ac1c8f259a75f0d65cdb5709468d89e731e5436b011dac4ee3e9dc397adfc9ad4d0b1bc462c8e519 WHIRLPOOL 25e987b58af5535914b666a5bb8691146d68b2287796ba25b8a5f792df08f55901a7ea3f419602207f7a8168302b080592bde5f4aeb67b58f40e5da00b8049ad
DIST apache-tomcat-6.0.41-src.tar.gz 3591370 SHA256 6def26d6eefb168a0968400d53dc08939284570ca850a0c4740398e9b645ff3c SHA512 605b33fb48772af3d34f33082d30c6791308c8ce6c52607a0e8e97b353ecd1a768a400ed65abcf2701381fff7e61d4d83a887140d4eebf753551e26dcef58e5d WHIRLPOOL c70f397308c051287d5de77e2c66b70d6003dd015cc0ba236599c09f5046bc6d5f0f03ddb672c7c9267ec860491ad7144104ede3e599a064776a931f9babfddd
DIST apache-tomcat-6.0.43-src.tar.gz 3595710 SHA256 ef32da195dc0f070c5f8d1c48b02a213cc69b680ec735f1297ef0d8ca62e75be SHA512 f2cb32e6d01e8841e4ea43cae0b495f988eb590649047627eea31411b7eac9d8a5d5747fb986d577946430c656c1e926a75b850bc7f59ec1b86c632fdb7af7e8 WHIRLPOOL 6c6ffe58a9c2bd162aa7d6b60248304fedd51724c602d9387ae2759a8218eedf93a85b40e18bb2e46de2b245c412d32ca941109045f8e5b898546f9b4cc7602f
DIST apache-tomcat-7.0.56-src.tar.gz 4648164 SHA256 d51fd6b596fbcf418eddeff721f23b6109ec4d8085ba111580dbdeaa007c5b59 SHA512 f283ec2cd806ea1ac5372efc667e75687ea637185b1b74b396cf46379248da09c9a8bbdd1f4e37e84d91ed142f80a1185816fc5215e199df2ff25dded13cacff WHIRLPOOL cf63cd6e4888585f3dd9e4659f993f48e3a08f8c220414fe8f9dac9389a1456d49878b4a39674646fd6a9ad3df4259272005ccf40ead53ab51a196bee4150a93
DIST apache-tomcat-7.0.57-src.tar.gz 4651308 SHA256 07962d20f2ce051c3e4fbdbd65a15d87d07553e7ee1542547a5ce0c201743c64 SHA512 fad8c296c2191c0168bf841b4b7c649b06900aa1b8b12d895fdaa1963f5a2b08fedb71f614cba1269b405892392daea0850c85360fb4fda2ea36311f8e8c563a WHIRLPOOL 9c938fdc419f989d9a2bc7618e9c68c0ee96b1dfaa94822d995818975c9217b7ff80c28b31cc6e9dea47d4097a2c61325e8075d4f313bc6415aa535361933741
DIST apache-tomcat-7.0.59-src.tar.gz 4687344 SHA256 3a1dedda4019db87464fca3aeb4e800a538f0baee96d8b14c9d64967b0d2ea44 SHA512 acc322eee1446dd1bff72910ae9f40a62f88332ee69d6057b3c684e2abf8f28e6df6ab9505900f0b0cf7a5e2e0e80e64b0a790b3b78594ce595ce897706b4bcb WHIRLPOOL 4948964c1746e6ee912ac72c901ba271793610f402bf082455d104e2e8d6dbfa0bf5371d42d48d8ad7c826271fa60d989119a01e700497099022d0cf3564fdff
DIST jakarta-servletapi-src.tar.gz 65342 SHA256 404e2c55423c609122921a91e03f2b67d371fedc0af8996e005862d83d626697 SHA512 7dad5a52ab6bfca4b052d60a48fc89ce22a5eb790584671f24d8d22b163f2dffe93bea58caebc6b4ecb0bd8434a074c88f640aa57daa1cefbf47d74df758c084 WHIRLPOOL beb0e14920a8623d276c8823e6291aacb4b4d5d0539f5de431ce6f94582df9b260d4e04e0d0b650c59f7ca168f4af9352fffbfc0506b2530464a3bcdcf6ac0d1

View file

@ -0,0 +1,34 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.43.ebuild,v 1.1 2015/02/10 12:16:27 fordfrog Exp $
EAPI="5"
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
MY_A="apache-${P}-src"
MY_P="${MY_A/-servlet-api/}"
DESCRIPTION="Tomcat's Servlet API 2.5/JSP API 2.1 implementation"
HOMEPAGE="http://tomcat.apache.org/"
SRC_URI="mirror://apache/tomcat/tomcat-6/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="2.5"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.5"
RDEPEND=">=virtual/jre-1.5"
S="${WORKDIR}/${MY_P}/"
java_prepare() {
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
rm */*/build.xml
}
src_install() {
java-pkg_dojar "${S}"/output/build/lib/*.jar
use source && java-pkg_dosrc java/javax/servlet/
}

View file

@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.59.ebuild,v 1.1 2015/02/10 11:32:57 fordfrog Exp $
EAPI="5"
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
MY_A="apache-${P}-src"
MY_P="${MY_A/-servlet-api/}"
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
HOMEPAGE="http://tomcat.apache.org/"
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3.0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}/${MY_P}/"
java_prepare() {
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
rm -fR */*/build.xml ||die
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + || die
}
src_install() {
java-pkg_dojar "${S}"/output/build/lib/*.jar
use source && java-pkg_dosrc java/javax/servlet/
}

View file

@ -1,2 +1,2 @@
DIST rust-0.12.0-i686-unknown-linux-gnu.tar.gz 110403651 SHA256 2a96a5662e1248da0c2dc3394646b7e75b2c05b2df332cb6f388bbbb6cb75999 SHA512 466234164e9dea906f2adcce8a4eb423fbce729171ec865cc3162b2c6b73166cbe4b4dad98cd342555ed35497dddde9c9e04b80a607d8862923e05931c406ecc WHIRLPOOL a0244cf7ed0de3417da7e982043c219cd91c08ecfba919bc6ffac9adf632f937bb21d403d1ba5ccc31e6fc44192f3954ed900ecaffc874320b67d879bfab18af
DIST rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz 110096209 SHA256 bb3e2eda2bd25690c58a3925ca175dedc27fedada33af4159fdb63dae9cc41a3 SHA512 1e08408cd8c8900fba637ce69efeb3ef565323c80aa94bda8679a667d19b16c2c10daa527a54ea401d49537aebfda825e44d690c3e99c025aa8e5ebd1b79c5fe WHIRLPOOL 63cf0b46f51c2010a7485427b179f02baa3a9e7e4a277df70617b50a603fda75591e74d5e4a263ab964e7f6c88ff3713e437a9967879428742431840ca970abf
DIST rust-1.0.0-alpha-i686-unknown-linux-gnu.tar.gz 174728415 SHA256 90f817e631a6e0cc9c3128400953752d0b2bcf487a2af36031bcdf9a218ff014 SHA512 e02e6dd56c3247115b4c88bae640686856da876d33c3d3268292b50c8e23e8fb6097d790e093de44271c6f6130ec406ddfcc727b1a1ef7ebedc5f6a37ff74108 WHIRLPOOL c8aec61fc4d4825ad404871118ceeb2286f7901ac63ea73737e5967d29a0e5bf6483a6dfea5c82c74754d0fd6f61e0444d95e82622ef94a3e800c604e791510b
DIST rust-1.0.0-alpha-x86_64-unknown-linux-gnu.tar.gz 174552165 SHA256 ac44090536b7264d3b770f01c2f544b7f64c649e75dc89e7717a1118239f4b20 SHA512 5ef4875efc8674485e48a6742b79bcb329f61aa00d6fae92379e9b685bb1de4f95c2f11e6046e3a2c009c7a43a42e46e5e5d28136d33a18ebd667a892782c02f WHIRLPOOL e145e7831b310bd03c273091a3a1f30659ec487475bd7fe70b2b41f242c516fbb96226bf7535acf796f8436fe1d659eba431099d396c598ff4e22e5ee316cfaf

View file

@ -1,77 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-0.12.0.ebuild,v 1.1 2014/10/18 12:50:48 jauhien Exp $
EAPI="5"
inherit eutils
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="amd64? ( http://static.rust-lang.org/dist/rust-${PV}-x86_64-unknown-linux-gnu.tar.gz )
x86? ( http://static.rust-lang.org/dist/rust-${PV}-i686-unknown-linux-gnu.tar.gz )"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs vim-syntax zsh-completion"
DEPEND=">=app-admin/eselect-rust-0.2_pre20141011
!dev-lang/rust:0
"
RDEPEND="${DEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
src_unpack() {
default
local postfix
use amd64 && postfix=x86_64-unknown-linux-gnu
use x86 && postfix=i686-unknown-linux-gnu
mv "${WORKDIR}/rust-${PV}-${postfix}" "${S}" || die
}
src_prepare() {
epatch "${FILESDIR}/${PN}-0.12.0-no-ldconfig.patch"
}
src_install() {
./install.sh \
--disable-verify \
--prefix="${D}/opt/${P}" \
--mandir="${D}/usr/share/${P}/man"
local rustc=rustc-bin-${PV}
local rustdoc=rustdoc-bin-${PV}
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
cat <<-EOF > "${T}"/50${P}
LDPATH="/opt/${P}/lib"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
dodir /etc/env.d/rust
touch "${D}/etc/env.d/rust/provider-${P}" || die
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust uses slots now, use 'eselect rust list'"
elog "and 'eselect rust set' to list and set rust version."
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
}
pkg_postrm() {
eselect rust unset --if-invalid
}

View file

@ -1,65 +1,55 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild,v 1.2 2014/11/30 12:46:22 jauhien Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-1.0.0_alpha.ebuild,v 1.1 2015/02/10 11:54:53 jauhien Exp $
EAPI="5"
inherit eutils
MY_PV="1.0.0-alpha"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
MY_SRC_URI="http://static.rust-lang.org/dist/rust-nightly"
SRC_URI="amd64? ( http://static.rust-lang.org/dist/rust-${MY_PV}-x86_64-unknown-linux-gnu.tar.gz )
x86? ( http://static.rust-lang.org/dist/rust-${MY_PV}-i686-unknown-linux-gnu.tar.gz )"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0"
KEYWORDS=""
KEYWORDS="~amd64 ~x86"
IUSE="emacs vim-syntax zsh-completion"
CDEPEND=">=app-admin/eselect-rust-0.2_pre20141128
DEPEND=">=app-admin/eselect-rust-0.2_pre20150206
!dev-lang/rust:0
"
DEPEND="${CDEPEND}
net-misc/wget
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
RDEPEND="${DEPEND}"
src_unpack() {
default
local postfix
use amd64 && postfix=x86_64-unknown-linux-gnu
use x86 && postfix=i686-unknown-linux-gnu
wget "${MY_SRC_URI}-${postfix}.tar.gz" || die
unpack ./"rust-nightly-${postfix}.tar.gz"
mv "${WORKDIR}/rust-nightly-${postfix}" "${S}" || die
}
src_prepare() {
epatch "${FILESDIR}/${PN}-0.12.0-no-ldconfig.patch"
mv "${WORKDIR}/rust-${MY_PV}-${postfix}" "${S}" || die
}
src_install() {
./install.sh \
--disable-verify \
--prefix="${D}/opt/${P}" \
--mandir="${D}/usr/share/${P}/man"
--mandir="${D}/usr/share/${P}/man" \
--disable-ldconfig
local rustc=rustc-bin-${PV}
local rustdoc=rustdoc-bin-${PV}
local rustlldb=rust-lldb-bin-${PV}
local rustgdb=rust-gdb-bin-${PV}
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
mv "${D}/opt/${P}/bin/rust-lldb" "${D}/opt/${P}/bin/${rustlldb}" || die
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
dosym "/opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
cat <<-EOF > "${T}"/50${P}
LDPATH="/opt/${P}/lib"
@ -79,10 +69,20 @@ pkg_postinst() {
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
elog "Rust installs a helper script for calling LLDB now,"
elog "for your convenience it is installed under /usr/bin/rust-lldb-bin-${PV},"
elog "but note, that there is no LLDB ebuild in the tree currently,"
elog "so you are on your own if you want to use it."
elog "Rust installs a helper script for calling GDB now,"
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
elog "install app-emacs/rust-mode to get emacs support for rust."
fi
if has_version app-editors/gvim || has_version app-editors/vim; then
elog "install app-vim/rust-mode to get vim support for rust."
fi
if has_version 'app-shells/zsh'; then
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
fi
}
pkg_postrm() {

View file

@ -1,6 +1,3 @@
DIST rust-0.11.0-i686-unknown-linux-gnu.tar.gz 96998445 SHA256 cbfe2050f708479f2625a935d2f41165868f354ff740d2697e08acb2255670b2 SHA512 ed9213ed97351cc7ee30aa4b1177389147771ccaf8d7aa5356cecdb082966a3c5469e08f2693cb840854da523c496c90c47fa3370ceae493638efe82d5994289 WHIRLPOOL baf470655ce9229fad58db537d1fc7d34e5b858d8a06dd94690e0403d0b8d111ed41c22cf1366c7145e22c0ed55851c0bbb56db5d2408c62931c7f76f2a02352
DIST rust-0.11.0-x86_64-unknown-linux-gnu.tar.gz 97323861 SHA256 331d6374b3c8fca3e2b5fffb65ce75dfce3529bd47333de4a9ce636cb87be432 SHA512 2f98028ddaf9900150fde0bc94f2ffe28a21def3e3c84ffc3d3e5e80ee8b6d5c7010ab01dedf43b768c1c9d356041cf102b43696805f9e15bded2377206510db WHIRLPOOL dd4fcdc4f85fb4aea60cb9b547b4f242b107c3f49f478e10902bf820032b4f620af85a335059bc0fa99e2159be3e66a80a6ea76d193c7643e9cda4c168fd9f5f
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0-i686-unknown-linux-gnu.tar.gz 110403651 SHA256 2a96a5662e1248da0c2dc3394646b7e75b2c05b2df332cb6f388bbbb6cb75999 SHA512 466234164e9dea906f2adcce8a4eb423fbce729171ec865cc3162b2c6b73166cbe4b4dad98cd342555ed35497dddde9c9e04b80a607d8862923e05931c406ecc WHIRLPOOL a0244cf7ed0de3417da7e982043c219cd91c08ecfba919bc6ffac9adf632f937bb21d403d1ba5ccc31e6fc44192f3954ed900ecaffc874320b67d879bfab18af
DIST rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz 110096209 SHA256 bb3e2eda2bd25690c58a3925ca175dedc27fedada33af4159fdb63dae9cc41a3 SHA512 1e08408cd8c8900fba637ce69efeb3ef565323c80aa94bda8679a667d19b16c2c10daa527a54ea401d49537aebfda825e44d690c3e99c025aa8e5ebd1b79c5fe WHIRLPOOL 63cf0b46f51c2010a7485427b179f02baa3a9e7e4a277df70617b50a603fda75591e74d5e4a263ab964e7f6c88ff3713e437a9967879428742431840ca970abf
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
DIST rust-stage0-2015-01-07-9e4e524-linux-i386-d8b73fc9aa3ad72ce1408a41e35d78dba10eb4d4.tar.bz2 17018260 SHA256 eed180a34b69e3dc4c04a69255e819cb4c2d84b150fa43974aa55475fb886308 SHA512 804342c8d01e546d0a9ae2158498add752d91c7c36add6250c800d3f3aa67bbb9f5b510af12b2a51845ea533363bcf17ba992daa0ead0d5c3bb470625f2c3e86 WHIRLPOOL e5d0040b76286c93a704bc03131006152336d8420952c28364bc5e9a7c18a088fe697087ddbbd9df0cc9e1ca0e5a67d65be5123f7c308ad196fed40135516fcd
DIST rust-stage0-2015-01-07-9e4e524-linux-x86_64-697880d3640e981bbbf23284363e8e9a158b588d.tar.bz2 16662646 SHA256 0e417b7970231c7687bb502826b6697d7329da0533743dc94e52046ecf6b18a4 SHA512 0291699331cee6635fe708ef6891f899089f527b3d26972742b5e3478f68f184166e48d40a28a9450c32ea1737b437bfa89712590e3dbdbd11ce4d9978190319 WHIRLPOOL 86195d3b296e064196a437cec4c3dc5f58b1de830c5d31647e4f5c2073d6a8757b595836bfc5a7fb38ffc693b51bf59de6cdaf8a0fdf3099696bda696c058921
DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75

View file

@ -1,5 +0,0 @@
;;; rust-mode site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(require 'rust-mode)

View file

@ -1,270 +0,0 @@
This patch adds proper support for --libdir configure option
See https://github.com/rust-lang/rust/issues/11671 and
https://github.com/rust-lang/rust/pull/16552
diff -r -u rust-0.11.0.orig/configure rust-0.11.0/configure
--- rust-0.11.0.orig/configure
+++ rust-0.11.0/configure
@@ -453,6 +453,14 @@
valopt libdir "${CFG_PREFIX}/${CFG_LIBDIR_RELATIVE}" "install libraries"
+case "$CFG_LIBDIR" in
+ "$CFG_PREFIX"/*) CAT_INC=2;;
+ "$CFG_PREFIX"*) CAT_INC=1;;
+ *)
+ err "libdir must begin with the prefix. Use --prefix to set it accordingly.";;
+esac
+CFG_LIBDIR_RELATIVE=`echo ${CFG_LIBDIR} | cut -c$((${#CFG_PREFIX}+${CAT_INC}))-`
+
if [ $HELP -eq 1 ]
then
echo
@@ -838,6 +846,15 @@
do
for t in $CFG_TARGET
do
+ # host lib dir stage0
+ make_dir $h/stage0/lib
+
+ # target bin dir stage0
+ make_dir $h/stage0/lib/rustlib/$t/bin
+
+ # target lib dir stage0
+ make_dir $h/stage0/lib/rustlib/$t/lib
+
for i in 0 1 2 3
do
# host bin dir
diff -r -u rust-0.11.0.orig/mk/main.mk rust-0.11.0/mk/main.mk
--- rust-0.11.0.orig/mk/main.mk
+++ rust-0.11.0/mk/main.mk
@@ -304,7 +304,11 @@
# Destinations of artifacts for the host compiler
HROOT$(1)_H_$(3) = $(3)/stage$(1)
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
+ifeq ($(1),0)
+HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/lib
+else
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR_RELATIVE)
+endif
# Destinations of artifacts for target architectures
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/rustlib/$(2)
diff -r -u rust-0.11.0.orig/src/etc/install.sh rust-0.11.0/src/etc/install.sh
--- rust-0.11.0.orig/src/etc/install.sh
+++ rust-0.11.0/src/etc/install.sh
@@ -35,6 +35,13 @@
fi
}
+need_cmd() {
+ if command -v $1 >/dev/null 2>&1
+ then msg "found $1"
+ else err "need $1"
+ fi
+}
+
putvar() {
local T
eval T=\$$1
@@ -198,7 +205,16 @@
ABSOLUTIFIED="${FILE_PATH}"
}
-CFG_SRC_DIR="$(cd $(dirname $0) && pwd)/"
+msg "looking for install programs"
+need_cmd mkdir
+need_cmd printf
+need_cmd cut
+need_cmd grep
+need_cmd uname
+need_cmd tr
+need_cmd sed
+
+CFG_SRC_DIR="$(cd $(dirname $0) && pwd)"
CFG_SELF="$0"
CFG_ARGS="$@"
@@ -216,16 +232,85 @@
step_msg "processing $CFG_SELF args"
fi
+# Check for mingw or cygwin in order to special case $CFG_LIBDIR_RELATIVE.
+# This logic is duplicated from configure in order to get the correct libdir
+# for Windows installs.
+CFG_OSTYPE=$(uname -s)
+
+case $CFG_OSTYPE in
+
+ MINGW32*)
+ CFG_OSTYPE=pc-mingw32
+ ;;
+
+ MINGW64*)
+ # msys2, MSYSTEM=MINGW64
+ CFG_OSTYPE=w64-mingw32
+ ;;
+
+# Thad's Cygwin identifers below
+
+# Vista 32 bit
+ CYGWIN_NT-6.0)
+ CFG_OSTYPE=pc-mingw32
+ ;;
+
+# Vista 64 bit
+ CYGWIN_NT-6.0-WOW64)
+ CFG_OSTYPE=w64-mingw32
+ ;;
+
+# Win 7 32 bit
+ CYGWIN_NT-6.1)
+ CFG_OSTYPE=pc-mingw32
+ ;;
+
+# Win 7 64 bit
+ CYGWIN_NT-6.1-WOW64)
+ CFG_OSTYPE=w64-mingw32
+ ;;
+esac
+
OPTIONS=""
BOOL_OPTIONS=""
VAL_OPTIONS=""
+# On windows we just store the libraries in the bin directory because
+# there's no rpath. This is where the build system itself puts libraries;
+# --libdir is used to configure the installation directory.
+# FIXME: Thise needs to parameterized over target triples. Do it in platform.mk
+CFG_LIBDIR_RELATIVE=lib
+if [ "$CFG_OSTYPE" = "pc-mingw32" ] || [ "$CFG_OSTYPE" = "w64-mingw32" ]
+then
+ CFG_LIBDIR_RELATIVE=bin
+fi
+
+if [ "$CFG_OSTYPE" = "pc-mingw32" ] || [ "$CFG_OSTYPE" = "w64-mingw32" ]
+then
+ CFG_LD_PATH_VAR=PATH
+ CFG_OLD_LD_PATH_VAR=$PATH
+elif [ "$CFG_OSTYPE" = "Darwin" ]
+then
+ CFG_LD_PATH_VAR=DYLD_LIBRARY_PATH
+ CFG_OLD_LD_PATH_VAR=$DYLD_LIBRARY_PATH
+else
+ CFG_LD_PATH_VAR=LD_LIBRARY_PATH
+ CFG_OLD_LD_PATH_VAR=$LD_LIBRARY_PATH
+fi
+
flag uninstall "only uninstall from the installation prefix"
opt verify 1 "verify that the installed binaries run correctly"
valopt prefix "/usr/local" "set installation prefix"
-# NB This isn't quite the same definition as in `configure`.
-# just using 'lib' instead of CFG_LIBDIR_RELATIVE
-valopt libdir "${CFG_PREFIX}/lib" "install libraries"
+# NB This is exactly the same definition as in `configure`.
+valopt libdir "${CFG_PREFIX}/${CFG_LIBDIR_RELATIVE}" "install libraries"
+case "$CFG_LIBDIR" in
+ "$CFG_PREFIX"/*) CAT_INC=2;;
+ "$CFG_PREFIX"*) CAT_INC=1;;
+ *)
+ err "libdir must begin with the prefix. Use --prefix to set it accordingly.";;
+esac
+CFG_LIBDIR_RELATIVE=`echo ${CFG_LIBDIR} | cut -c$((${#CFG_PREFIX}+${CAT_INC}))-`
+
valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
if [ $HELP -eq 1 ]
@@ -247,11 +332,13 @@
if [ -z "${CFG_UNINSTALL}" ]
then
msg "verifying platform can run binaries"
+ export $CFG_LD_PATH_VAR="${CFG_SRC_DIR}/lib":$CFG_OLD_LD_PATH_VAR
"${CFG_SRC_DIR}/bin/rustc" --version > /dev/null
if [ $? -ne 0 ]
then
err "can't execute rustc binary on this platform"
fi
+ export $CFG_LD_PATH_VAR=$CFG_OLD_LD_PATH_VAR
fi
fi
@@ -348,9 +435,9 @@
# Decide the destination of the file
FILE_INSTALL_PATH="${CFG_PREFIX}/$p"
- if echo "$p" | grep "^lib/" > /dev/null
+ if echo "$p" | grep "^${CFG_LIBDIR_RELATIVE}/" > /dev/null
then
- pp=`echo $p | sed 's/^lib\///'`
+ pp=`echo $p | sed "s%^${CFG_LIBDIR_RELATIVE}/%%"`
FILE_INSTALL_PATH="${CFG_LIBDIR}/$pp"
fi
@@ -384,24 +471,36 @@
need_ok "failed to update manifest"
# The manifest lists all files to install
-done < "${CFG_SRC_DIR}/lib/rustlib/manifest.in"
+done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in"
# Sanity check: can we run the installed binaries?
+#
+# As with the verification above, make sure the right LD_LIBRARY_PATH-equivalent
+# is in place. Try first without this variable, and if that fails try again with
+# the variable. If the second time tries, print a hopefully helpful message to
+# add something to the appropriate environment variable.
if [ -z "${CFG_DISABLE_VERIFY}" ]
then
msg "verifying installed binaries are executable"
- "${CFG_PREFIX}/bin/rustc" --version > /dev/null
+ "${CFG_PREFIX}/bin/rustc" --version 2> /dev/null 1> /dev/null
if [ $? -ne 0 ]
then
- ERR="can't execute installed rustc binary. "
- ERR="${ERR}installation may be broken. "
- ERR="${ERR}if this is expected then rerun install.sh with \`--disable-verify\` "
- ERR="${ERR}or \`make install\` with \`--disable-verify-install\`"
- err "${ERR}"
+ export $CFG_LD_PATH_VAR="${CFG_PREFIX}/lib":$CFG_OLD_LD_PATH_VAR
+ "${CFG_PREFIX}/bin/rustc" --version > /dev/null
+ if [ $? -ne 0 ]
+ then
+ ERR="can't execute installed rustc binary. "
+ ERR="${ERR}installation may be broken. "
+ ERR="${ERR}if this is expected then rerun install.sh with \`--disable-verify\` "
+ ERR="${ERR}or \`make install\` with \`--disable-verify-install\`"
+ err "${ERR}"
+ else
+ echo
+ echo " Note: please ensure '${CFG_PREFIX}/lib' is added to ${CFG_LD_PATH_VAR}"
+ fi
fi
fi
-
echo
echo " Rust is ready to roll."
echo
diff -r -u rust-0.11.0.orig/src/librustc/metadata/filesearch.rs rust-0.11.0/src/librustc/metadata/filesearch.rs
--- rust-0.11.0.orig/src/librustc/metadata/filesearch.rs
+++ rust-0.11.0/src/librustc/metadata/filesearch.rs
@@ -243,10 +243,14 @@
// of the directory where librustc is located, rather than where the rustc
// binary is.
- if sysroot.join(primary_libdir_name()).join(rustlibdir()).exists() {
- return primary_libdir_name();
- } else {
- return secondary_libdir_name();
+ match option_env!("CFG_LIBDIR_RELATIVE") {
+ None => if sysroot.join(primary_libdir_name()).join(rustlibdir()).exists() {
+ return primary_libdir_name();
+ } else {
+ return secondary_libdir_name();
+ },
+
+ Some(libdir) => return libdir.to_string()
}
#[cfg(target_word_size = "64")]

View file

@ -1,28 +0,0 @@
--- src/libcore/ops.rs
+++ src/libcore/ops.rs
@@ -570,12 +570,6 @@
macro_rules! shl_impl(
($($t:ty)*) => ($(
- #[cfg(stage0)]
- impl Shl<$t, $t> for $t {
- #[inline]
- fn shl(&self, other: &$t) -> $t { (*self) << (*other) }
- }
- #[cfg(not(stage0), not(test))]
impl Shl<$t, $t> for $t {
#[inline]
fn shl(&self, other: &$t) -> $t {
@@ -619,12 +613,6 @@
macro_rules! shr_impl(
($($t:ty)*) => ($(
- #[cfg(stage0, not(test))]
- impl Shr<$t, $t> for $t {
- #[inline]
- fn shr(&self, other: &$t) -> $t { (*self) >> (*other) }
- }
- #[cfg(not(stage0), not(test))]
impl Shr<$t, $t> for $t {
#[inline]
fn shr(&self, other: &$t) -> $t { (*self) >> (*other as uint) }

View file

@ -1,113 +0,0 @@
This patch adds proper support for --libdir configure option
See https://github.com/rust-lang/rust/issues/11671 and
https://github.com/rust-lang/rust/pull/16552
diff --git a/configure b/configure
index 636d502..fff67b6 100755
--- a/configure
+++ b/configure
@@ -459,6 +459,14 @@ fi
valopt libdir "${CFG_PREFIX}/${CFG_LIBDIR_RELATIVE}" "install libraries"
+case "$CFG_LIBDIR" in
+ "$CFG_PREFIX"/*) CAT_INC=2;;
+ "$CFG_PREFIX"*) CAT_INC=1;;
+ *)
+ err "libdir must begin with the prefix. Use --prefix to set it accordingly.";;
+esac
+CFG_LIBDIR_RELATIVE=`echo ${CFG_LIBDIR} | cut -c$((${#CFG_PREFIX}+${CAT_INC}))-`
+
if [ $HELP -eq 1 ]
then
echo
@@ -855,6 +863,15 @@ for h in $CFG_HOST
do
for t in $CFG_TARGET
do
+ # host lib dir stage0
+ make_dir $h/stage0/lib
+
+ # target bin dir stage0
+ make_dir $h/stage0/lib/rustlib/$t/bin
+
+ # target lib dir stage0
+ make_dir $h/stage0/lib/rustlib/$t/lib
+
for i in 0 1 2 3
do
# host bin dir
diff --git a/mk/main.mk b/mk/main.mk
index 2bdfc1b..bca5b3b 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -311,7 +311,11 @@ define SREQ
# Destinations of artifacts for the host compiler
HROOT$(1)_H_$(3) = $(3)/stage$(1)
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
+ifeq ($(1),0)
+HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/lib
+else
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR_RELATIVE)
+endif
# Destinations of artifacts for target architectures
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/rustlib/$(2)
diff --git a/src/etc/install.sh b/src/etc/install.sh
index c949743..1a472c6 100644
--- a/src/etc/install.sh
+++ b/src/etc/install.sh
@@ -301,9 +301,16 @@ fi
flag uninstall "only uninstall from the installation prefix"
opt verify 1 "verify that the installed binaries run correctly"
valopt prefix "/usr/local" "set installation prefix"
-# NB This isn't quite the same definition as in `configure`.
-# just using 'lib' instead of CFG_LIBDIR_RELATIVE
+# NB This is exactly the same definition as in `configure`.
valopt libdir "${CFG_PREFIX}/${CFG_LIBDIR_RELATIVE}" "install libraries"
+case "$CFG_LIBDIR" in
+ "$CFG_PREFIX"/*) CAT_INC=2;;
+ "$CFG_PREFIX"*) CAT_INC=1;;
+ *)
+ err "libdir must begin with the prefix. Use --prefix to set it accordingly.";;
+esac
+CFG_LIBDIR_RELATIVE=`echo ${CFG_LIBDIR} | cut -c$((${#CFG_PREFIX}+${CAT_INC}))-`
+
valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
if [ $HELP -eq 1 ]
@@ -428,9 +435,9 @@ while read p; do
# Decide the destination of the file
FILE_INSTALL_PATH="${CFG_PREFIX}/$p"
- if echo "$p" | grep "^lib/" > /dev/null
+ if echo "$p" | grep "^${CFG_LIBDIR_RELATIVE}/" > /dev/null
then
- pp=`echo $p | sed 's/^lib\///'`
+ pp=`echo $p | sed "s%^${CFG_LIBDIR_RELATIVE}/%%"`
FILE_INSTALL_PATH="${CFG_LIBDIR}/$pp"
fi
diff --git a/src/librustc/metadata/filesearch.rs b/src/librustc/metadata/filesearch.rs
index 99b98b6..f3e37ff 100644
--- a/src/librustc/metadata/filesearch.rs
+++ b/src/librustc/metadata/filesearch.rs
@@ -243,10 +243,14 @@ fn find_libdir(sysroot: &Path) -> String {
// of the directory where librustc is located, rather than where the rustc
// binary is.
- if sysroot.join(primary_libdir_name()).join(rustlibdir()).exists() {
- return primary_libdir_name();
- } else {
- return secondary_libdir_name();
+ match option_env!("CFG_LIBDIR_RELATIVE") {
+ None => if sysroot.join(primary_libdir_name()).join(rustlibdir()).exists() {
+ return primary_libdir_name();
+ } else {
+ return secondary_libdir_name();
+ },
+
+ Some(libdir) => return libdir.to_string()
}
#[cfg(target_word_size = "64")]

View file

@ -1,25 +0,0 @@
Remove ldconfig(1) execution to prevent the installation script from accessing
outside of a sandbox.
diff --git a/src/etc/install.sh b/src/etc/install.sh
index c949743..7c3daa5 100644
--- a/src/etc/install.sh
+++ b/src/etc/install.sh
@@ -466,17 +466,6 @@ while read p; do
# The manifest lists all files to install
done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in"
-# Run ldconfig to make dynamic libraries available to the linker
-if [ "$CFG_OSTYPE" = "Linux" ]
- then
- ldconfig
- if [ $? -ne 0 ]
- then
- warn "failed to run ldconfig."
- warn "this may happen when not installing as root and may be fine"
- fi
-fi
-
# Sanity check: can we run the installed binaries?
#
# As with the verification above, make sure the right LD_LIBRARY_PATH-equivalent

View file

@ -1,322 +0,0 @@
diff -u -r rust-0.12.0.orig/src/libcollections/string.rs rust-0.12.0/src/libcollections/string.rs
--- rust-0.12.0.orig/src/libcollections/string.rs 2014-10-11 14:54:06.303867073 +0200
+++ rust-0.12.0/src/libcollections/string.rs 2014-10-11 14:54:44.063471071 +0200
@@ -928,29 +928,6 @@
}
}
-#[cfg(stage0)]
-impl ops::Slice<uint, str> for String {
- #[inline]
- fn as_slice_<'a>(&'a self) -> &'a str {
- self.as_slice()
- }
-
- #[inline]
- fn slice_from_<'a>(&'a self, from: &uint) -> &'a str {
- self[][*from..]
- }
-
- #[inline]
- fn slice_to_<'a>(&'a self, to: &uint) -> &'a str {
- self[][..*to]
- }
-
- #[inline]
- fn slice_<'a>(&'a self, from: &uint, to: &uint) -> &'a str {
- self[][*from..*to]
- }
-}
-#[cfg(not(stage0))]
impl ops::Slice<uint, str> for String {
#[inline]
fn as_slice_<'a>(&'a self) -> &'a str {
diff -u -r rust-0.12.0.orig/src/libcollections/trie.rs rust-0.12.0/src/libcollections/trie.rs
--- rust-0.12.0.orig/src/libcollections/trie.rs 2014-10-11 14:54:06.303867073 +0200
+++ rust-0.12.0/src/libcollections/trie.rs 2014-10-11 14:55:10.623192469 +0200
@@ -389,15 +389,6 @@
impl<T> TrieMap<T> {
// If `upper` is true then returns upper_bound else returns lower_bound.
- #[cfg(stage0)]
- #[inline]
- fn bound<'a>(&'a self, key: uint, upper: bool) -> Entries<'a, T> {
- bound!(Entries, self = self,
- key = key, is_upper = upper,
- slice_from = slice_from_, iter = iter,
- mutability = )
- }
- #[cfg(not(stage0))]
#[inline]
fn bound<'a>(&'a self, key: uint, upper: bool) -> Entries<'a, T> {
bound!(Entries, self = self,
@@ -440,15 +431,6 @@
self.bound(key, true)
}
// If `upper` is true then returns upper_bound else returns lower_bound.
- #[cfg(stage0)]
- #[inline]
- fn bound_mut<'a>(&'a mut self, key: uint, upper: bool) -> MutEntries<'a, T> {
- bound!(MutEntries, self = self,
- key = key, is_upper = upper,
- slice_from = slice_from_mut_, iter = iter_mut,
- mutability = mut)
- }
- #[cfg(not(stage0))]
#[inline]
fn bound_mut<'a>(&'a mut self, key: uint, upper: bool) -> MutEntries<'a, T> {
bound!(MutEntries, self = self,
diff -u -r rust-0.12.0.orig/src/libcollections/vec.rs rust-0.12.0/src/libcollections/vec.rs
--- rust-0.12.0.orig/src/libcollections/vec.rs 2014-10-11 14:54:06.303867073 +0200
+++ rust-0.12.0/src/libcollections/vec.rs 2014-10-11 14:55:35.422932321 +0200
@@ -460,28 +460,6 @@
}
}*/
-#[cfg(stage0)]
-impl<T> ops::Slice<uint, [T]> for Vec<T> {
- #[inline]
- fn as_slice_<'a>(&'a self) -> &'a [T] {
- self.as_slice()
- }
-
- #[inline]
- fn slice_from_<'a>(&'a self, start: &uint) -> &'a [T] {
- self.as_slice().slice_from_(start)
- }
-
- #[inline]
- fn slice_to_<'a>(&'a self, end: &uint) -> &'a [T] {
- self.as_slice().slice_to_(end)
- }
- #[inline]
- fn slice_<'a>(&'a self, start: &uint, end: &uint) -> &'a [T] {
- self.as_slice().slice_(start, end)
- }
-}
-#[cfg(not(stage0))]
impl<T> ops::Slice<uint, [T]> for Vec<T> {
#[inline]
fn as_slice_<'a>(&'a self) -> &'a [T] {
@@ -503,28 +481,6 @@
}
}
-#[cfg(stage0)]
-impl<T> ops::SliceMut<uint, [T]> for Vec<T> {
- #[inline]
- fn as_mut_slice_<'a>(&'a mut self) -> &'a mut [T] {
- self.as_mut_slice()
- }
-
- #[inline]
- fn slice_from_mut_<'a>(&'a mut self, start: &uint) -> &'a mut [T] {
- self.as_mut_slice().slice_from_mut_(start)
- }
-
- #[inline]
- fn slice_to_mut_<'a>(&'a mut self, end: &uint) -> &'a mut [T] {
- self.as_mut_slice().slice_to_mut_(end)
- }
- #[inline]
- fn slice_mut_<'a>(&'a mut self, start: &uint, end: &uint) -> &'a mut [T] {
- self.as_mut_slice().slice_mut_(start, end)
- }
-}
-#[cfg(not(stage0))]
impl<T> ops::SliceMut<uint, [T]> for Vec<T> {
#[inline]
fn as_mut_slice_<'a>(&'a mut self) -> &'a mut [T] {
diff -u -r rust-0.12.0.orig/src/libcore/intrinsics.rs rust-0.12.0/src/libcore/intrinsics.rs
--- rust-0.12.0.orig/src/libcore/intrinsics.rs 2014-10-11 14:54:06.313867033 +0200
+++ rust-0.12.0/src/libcore/intrinsics.rs 2014-10-11 14:57:53.081488143 +0200
@@ -254,7 +254,6 @@
/// enabling further optimizations.
///
/// NB: This is very different from the `unreachable!()` macro!
- #[cfg(not(stage0))]
pub fn unreachable() -> !;
/// Execute a breakpoint trap, for inspection by a debugger.
diff -u -r rust-0.12.0.orig/src/libcore/ops.rs rust-0.12.0/src/libcore/ops.rs
--- rust-0.12.0.orig/src/libcore/ops.rs 2014-10-11 14:54:06.313867033 +0200
+++ rust-0.12.0/src/libcore/ops.rs 2014-10-11 14:56:38.552270110 +0200
@@ -711,7 +711,6 @@
* }
* ```
*/
-#[cfg(not(stage0))]
#[lang="slice"]
pub trait Slice<Idx, Sized? Result> for Sized? {
/// The method for the slicing operation foo[]
@@ -723,21 +722,6 @@
/// The method for the slicing operation foo[from..to]
fn slice_or_fail<'a>(&'a self, from: &Idx, to: &Idx) -> &'a Result;
}
-#[cfg(stage0)]
-/**
- *
- */
-#[lang="slice"]
-pub trait Slice<Idx, Sized? Result> for Sized? {
- /// The method for the slicing operation foo[]
- fn as_slice_<'a>(&'a self) -> &'a Result;
- /// The method for the slicing operation foo[from..]
- fn slice_from_<'a>(&'a self, from: &Idx) -> &'a Result;
- /// The method for the slicing operation foo[..to]
- fn slice_to_<'a>(&'a self, to: &Idx) -> &'a Result;
- /// The method for the slicing operation foo[from..to]
- fn slice_<'a>(&'a self, from: &Idx, to: &Idx) -> &'a Result;
-}
/**
*
@@ -776,7 +760,7 @@
* }
* ```
*/
-#[cfg(not(stage0))]
+
#[lang="slice_mut"]
pub trait SliceMut<Idx, Sized? Result> for Sized? {
/// The method for the slicing operation foo[]
@@ -788,21 +772,7 @@
/// The method for the slicing operation foo[from..to]
fn slice_or_fail_mut<'a>(&'a mut self, from: &Idx, to: &Idx) -> &'a mut Result;
}
-#[cfg(stage0)]
-/**
- *
- */
-#[lang="slice_mut"]
-pub trait SliceMut<Idx, Sized? Result> for Sized? {
- /// The method for the slicing operation foo[mut]
- fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Result;
- /// The method for the slicing operation foo[mut from..]
- fn slice_from_mut_<'a>(&'a mut self, from: &Idx) -> &'a mut Result;
- /// The method for the slicing operation foo[mut ..to]
- fn slice_to_mut_<'a>(&'a mut self, to: &Idx) -> &'a mut Result;
- /// The method for the slicing operation foo[mut from..to]
- fn slice_mut_<'a>(&'a mut self, from: &Idx, to: &Idx) -> &'a mut Result;
-}
+
/**
*
* The `Deref` trait is used to specify the functionality of dereferencing
diff -u -r rust-0.12.0.orig/src/libcore/slice.rs rust-0.12.0/src/libcore/slice.rs
--- rust-0.12.0.orig/src/libcore/slice.rs 2014-10-11 14:54:06.313867033 +0200
+++ rust-0.12.0/src/libcore/slice.rs 2014-10-11 14:57:08.101960051 +0200
@@ -488,7 +488,6 @@
-#[cfg(not(stage0))]
impl<T> ops::Slice<uint, [T]> for [T] {
#[inline]
fn as_slice_<'a>(&'a self) -> &'a [T] {
@@ -516,36 +515,7 @@
}
}
}
-#[cfg(stage0)]
-impl<T> ops::Slice<uint, [T]> for [T] {
- #[inline]
- fn as_slice_<'a>(&'a self) -> &'a [T] {
- self
- }
-
- #[inline]
- fn slice_from_<'a>(&'a self, start: &uint) -> &'a [T] {
- self.slice_(start, &self.len())
- }
- #[inline]
- fn slice_to_<'a>(&'a self, end: &uint) -> &'a [T] {
- self.slice_(&0, end)
- }
- #[inline]
- fn slice_<'a>(&'a self, start: &uint, end: &uint) -> &'a [T] {
- assert!(*start <= *end);
- assert!(*end <= self.len());
- unsafe {
- transmute(RawSlice {
- data: self.as_ptr().offset(*start as int),
- len: (*end - *start)
- })
- }
- }
-}
-
-#[cfg(not(stage0))]
impl<T> ops::SliceMut<uint, [T]> for [T] {
#[inline]
fn as_mut_slice_<'a>(&'a mut self) -> &'a mut [T] {
@@ -567,35 +537,6 @@
assert!(*start <= *end);
assert!(*end <= self.len());
unsafe {
- transmute(RawSlice {
- data: self.as_ptr().offset(*start as int),
- len: (*end - *start)
- })
- }
- }
-}
-#[cfg(stage0)]
-impl<T> ops::SliceMut<uint, [T]> for [T] {
- #[inline]
- fn as_mut_slice_<'a>(&'a mut self) -> &'a mut [T] {
- self
- }
-
- #[inline]
- fn slice_from_mut_<'a>(&'a mut self, start: &uint) -> &'a mut [T] {
- let len = &self.len();
- self.slice_mut_(start, len)
- }
-
- #[inline]
- fn slice_to_mut_<'a>(&'a mut self, end: &uint) -> &'a mut [T] {
- self.slice_mut_(&0, end)
- }
- #[inline]
- fn slice_mut_<'a>(&'a mut self, start: &uint, end: &uint) -> &'a mut [T] {
- assert!(*start <= *end);
- assert!(*end <= self.len());
- unsafe {
transmute(RawSlice {
data: self.as_ptr().offset(*start as int),
len: (*end - *start)
diff -u -r rust-0.12.0.orig/src/libcore/str.rs rust-0.12.0/src/libcore/str.rs
--- rust-0.12.0.orig/src/libcore/str.rs 2014-10-11 14:54:06.313867033 +0200
+++ rust-0.12.0/src/libcore/str.rs 2014-10-11 14:55:53.262745176 +0200
@@ -1164,29 +1164,6 @@
fn equiv(&self, other: &S) -> bool { eq_slice(*self, other.as_slice()) }
}
- #[cfg(stage0)]
- impl ops::Slice<uint, str> for str {
- #[inline]
- fn as_slice_<'a>(&'a self) -> &'a str {
- self
- }
-
- #[inline]
- fn slice_from_<'a>(&'a self, from: &uint) -> &'a str {
- self.slice_from(*from)
- }
-
- #[inline]
- fn slice_to_<'a>(&'a self, to: &uint) -> &'a str {
- self.slice_to(*to)
- }
-
- #[inline]
- fn slice_<'a>(&'a self, from: &uint, to: &uint) -> &'a str {
- self.slice(*from, *to)
- }
- }
- #[cfg(not(stage0))]
impl ops::Slice<uint, str> for str {
#[inline]
fn as_slice_<'a>(&'a self) -> &'a str {

View file

@ -1,15 +1,17 @@
Remove ldconfig(1) execution to prevent the installation script from accessing
outside of a sandbox.
--- install.sh
+++ install.sh
@@ -466,17 +466,6 @@ while read p; do
# The manifest lists all files to install
done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in"
diff --git a/install-template.sh b/install-template.sh
index 11bf392..bc579f5 100644
--- a/src/rust-installer/install-template.sh
+++ b/src/rust-installer/install-template.sh
@@ -697,17 +697,6 @@ done
# Drop the version number into the manifest dir
echo "$TEMPLATE_RUST_INSTALLER_VERSION" > "${ABS_LIBDIR}/${TEMPLATE_REL_MANIFEST_DIR}/rust-installer-version"
-# Run ldconfig to make dynamic libraries available to the linker
-if [ "$CFG_OSTYPE" = "Linux" ]
- then
-if [ "$CFG_OSTYPE" = "unknown-linux-gnu" -a ! -n "$CFG_DISABLE_LDCONFIG" ]; then
- msg "running ldconfig"
- ldconfig
- if [ $? -ne 0 ]
- then

View file

@ -1,100 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-0.11.0-r2.ebuild,v 1.1 2014/10/18 12:48:43 jauhien Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils python-any-r1
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
ARCH_SRC_URI="amd64? ( http://static.rust-lang.org/dist/${P}-x86_64-unknown-linux-gnu.tar.gz )
x86? ( http://static.rust-lang.org/dist/${P}-i686-unknown-linux-gnu.tar.gz )"
SRC_URI="http://static.rust-lang.org/dist/${P}.tar.gz ${ARCH_SRC_URI}"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0.11"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug emacs libcxx vim-syntax zsh-completion"
REQUIRED_USE="libcxx? ( clang )"
CDEPEND="libcxx? ( sys-libs/libcxx )
>=app-admin/eselect-rust-0.2_pre20141011
!dev-lang/rust:0
"
DEPEND="${CDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
src_prepare() {
epatch "${FILESDIR}/${P}-stage0.patch" "${FILESDIR}/${P}-libdir.patch"
}
src_configure() {
use amd64 && ARCH_POSTFIX="x86_64"
use x86 && ARCH_POSTFIX="i686"
LOCAL_RUST_PATH="${WORKDIR}/${P}-${ARCH_POSTFIX}-unknown-linux-gnu"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable libcxx libcpp) \
--enable-local-rust \
--local-rust-root="${LOCAL_RUST_PATH}" \
--disable-manage-submodules \
--disable-verify-install \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/lib/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
dodir /etc/env.d/rust
touch "${D}/etc/env.d/rust/provider-${P}" || die
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust uses slots now, use 'eselect rust list'"
elog "and 'eselect rust set' to list and set rust version."
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
}
pkg_postrm() {
eselect rust unset --if-invalid
}

View file

@ -1,104 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-0.12.0.ebuild,v 1.1 2014/10/18 12:48:43 jauhien Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils python-any-r1
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
ARCH_SRC_URI="amd64? ( http://static.rust-lang.org/dist/${P}-x86_64-unknown-linux-gnu.tar.gz )
x86? ( http://static.rust-lang.org/dist/${P}-i686-unknown-linux-gnu.tar.gz )"
SRC_URI="http://static.rust-lang.org/dist/${P}.tar.gz ${ARCH_SRC_URI}"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0.12"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug emacs libcxx vim-syntax zsh-completion"
REQUIRED_USE="libcxx? ( clang )"
CDEPEND="libcxx? ( sys-libs/libcxx )
>=app-admin/eselect-rust-0.2_pre20141011
!dev-lang/rust:0
"
DEPEND="${CDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
src_prepare() {
epatch "${FILESDIR}/${P}-stage0.patch" "${FILESDIR}/${P}-no-ldconfig.patch" "${FILESDIR}/${P}-libdir.patch"
local postfix="gentoo-${SLOT}"
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
}
src_configure() {
use amd64 && ARCH_POSTFIX="x86_64"
use x86 && ARCH_POSTFIX="i686"
LOCAL_RUST_PATH="${WORKDIR}/${P}-${ARCH_POSTFIX}-unknown-linux-gnu"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable libcxx libcpp) \
--enable-local-rust \
--local-rust-root="${LOCAL_RUST_PATH}" \
--disable-manage-submodules \
--disable-verify-install \
--disable-docs \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/lib/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
dodir /etc/env.d/rust
touch "${D}/etc/env.d/rust/provider-${P}" || die
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust uses slots now, use 'eselect rust list'"
elog "and 'eselect rust set' to list and set rust version."
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
}
pkg_postrm() {
eselect rust unset --if-invalid
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-999-r1.ebuild,v 1.4 2014/11/30 12:45:15 jauhien Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-1.0.0_alpha.ebuild,v 1.1 2015/02/10 11:35:29 jauhien Exp $
EAPI="5"
@ -8,17 +8,19 @@ PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils python-any-r1
MY_P=${PN}-nightly
MY_PV="rustc-1.0.0-alpha"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
MY_SRC_URI="http://static.rust-lang.org/dist/${MY_P}.tar.gz"
SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-01-07-9e4e524-linux-i386-d8b73fc9aa3ad72ce1408a41e35d78dba10eb4d4.tar.bz2 )
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-01-07-9e4e524-linux-x86_64-697880d3640e981bbbf23284363e8e9a158b588d.tar.bz2 )"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="nightly"
KEYWORDS=""
SLOT="1.0"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug emacs libcxx +system-llvm vim-syntax zsh-completion"
IUSE="clang debug libcxx +system-llvm"
REQUIRED_USE="libcxx? ( clang )"
CDEPEND="libcxx? ( sys-libs/libcxx )
@ -28,39 +30,32 @@ CDEPEND="libcxx? ( sys-libs/libcxx )
DEPEND="${CDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
net-misc/wget
clang? ( sys-devel/clang )
system-llvm? ( >=sys-devel/llvm-3.5.0[multitarget(-)] )
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
S="${WORKDIR}/${MY_P}"
S=${WORKDIR}/${MY_PV}
src_unpack() {
wget "${MY_SRC_URI}" || die
unpack ./"${PN}-nightly.tar.gz"
use amd64 && BUILD_TRIPLE=x86_64-unknown-linux-gnu
use x86 && BUILD_TRIPLE=i686-unknown-linux-gnu
export CFG_SRC_DIR="${S}" && \
cd ${S} && \
mkdir -p "${S}/dl" && \
mkdir -p "${S}/${BUILD_TRIPLE}/stage0/bin" && \
python2 "${S}/src/etc/get-snapshot.py" ${BUILD_TRIPLE} || die
unpack "${MY_PV}-src.tar.gz" || die
mkdir "${MY_PV}/dl" || die
cp "${DISTDIR}/rust-stage0"* "${MY_PV}/dl/" || die
}
src_prepare() {
epatch "${FILESDIR}/${PN}-0.12.0-no-ldconfig.patch"
epatch "${FILESDIR}/${PN}-0.13.0-no-ldconfig.patch"
local postfix="gentoo-${SLOT}"
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
}
src_configure() {
use amd64 && ARCH_POSTFIX="x86_64"
use x86 && ARCH_POSTFIX="i686"
LOCAL_RUST_PATH="${WORKDIR}/rust-1.0.0-alpha-${ARCH_POSTFIX}-unknown-linux-gnu/bin"
local system_llvm
use system-llvm && system_llvm="--llvm-root=${EPREFIX}/usr"
@ -92,7 +87,17 @@ src_install() {
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
mv "${D}/usr/bin/rust-lldb" "${D}/usr/bin/rust-lldb-${PV}" || die
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
rm "${D}/usr/share/doc/rust" -rf
# le kludge that fixes https://github.com/Heather/gentoo-rust/issues/41
mv "${D}/usr/lib/rust-${PV}/rust-${PV}/rustlib"/* "${D}/usr/lib/rust-${PV}/rustlib/"
rmdir "${D}/usr/lib/rust-${PV}/rust-${PV}/rustlib"
mv "${D}/usr/lib/rust-${PV}/rust-${PV}/"/* "${D}/usr/lib/rust-${PV}/"
rmdir "${D}/usr/lib/rust-${PV}/rust-${PV}/"
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/lib/${P}"
@ -112,10 +117,20 @@ pkg_postinst() {
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
elog "Rust installs a helper script for calling LLDB now,"
elog "for your convenience it is installed under /usr/bin/rust-lldb-${PV},"
elog "but note, that there is no LLDB ebuild in the tree currently,"
elog "so you are on your own if you want to use it."
elog "Rust installs a helper script for calling GDB now,"
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
elog "install app-emacs/rust-mode to get emacs support for rust."
fi
if has_version app-editors/gvim || has_version app-editors/vim; then
elog "install app-vim/rust-mode to get vim support for rust."
fi
if has_version 'app-shells/zsh'; then
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
fi
}
pkg_postrm() {

View file

@ -1,117 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-9999-r3.ebuild,v 1.3 2014/11/30 12:45:15 jauhien Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils git-r3 python-any-r1
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="git"
KEYWORDS=""
IUSE="clang debug emacs libcxx +system-llvm vim-syntax zsh-completion"
REQUIRED_USE="libcxx? ( clang )"
CDEPEND="libcxx? ( sys-libs/libcxx )
>=app-admin/eselect-rust-0.2_pre20141128
!dev-lang/rust:0
"
DEPEND="${CDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
system-llvm? ( >=sys-devel/llvm-3.5.0[multitarget(-)] )
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
vim-syntax? ( >=app-vim/rust-mode-${PV} )
zsh-completion? ( >=app-shells/rust-zshcomp-${PV} )
"
src_unpack() {
git-r3_src_unpack
use amd64 && BUILD_TRIPLE=x86_64-unknown-linux-gnu
use x86 && BUILD_TRIPLE=i686-unknown-linux-gnu
export CFG_SRC_DIR="${S}" && \
cd ${S} && \
mkdir -p "${S}/dl" && \
mkdir -p "${S}/${BUILD_TRIPLE}/stage0/bin" && \
python2 "${S}/src/etc/get-snapshot.py" ${BUILD_TRIPLE} || die
}
src_prepare() {
epatch "${FILESDIR}/${PN}-0.12.0-no-ldconfig.patch"
local postfix="gentoo-${SLOT}"
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
}
src_configure() {
local system_llvm
use system-llvm && system_llvm="--llvm-root=${EPREFIX}/usr"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable libcxx libcpp) \
${system_llvm} \
--disable-manage-submodules \
--disable-verify-install \
--disable-docs \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
mv "${D}/usr/bin/rust-lldb" "${D}/usr/bin/rust-lldb-${PV}" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/lib/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
dodir /etc/env.d/rust
touch "${D}/etc/env.d/rust/provider-${P}" || die
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust uses slots now, use 'eselect rust list'"
elog "and 'eselect rust set' to list and set rust version."
elog "For more information see 'eselect rust help'"
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide"
elog "Rust installs a helper script for calling LLDB now,"
elog "for your convenience it is installed under /usr/bin/rust-lldb-${PV},"
elog "but note, that there is no LLDB ebuild in the tree currently,"
elog "so you are on your own if you want to use it."
}
pkg_postrm() {
eselect rust unset --if-invalid
}

View file

@ -2,9 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
</maintainer>
</pkgmetadata>

View file

@ -2,8 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
</maintainer>
</pkgmetadata>

View file

@ -3,8 +3,4 @@
<pkgmetadata>
<herd>kde</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
</maintainer>
</pkgmetadata>

View file

@ -1 +1 @@
Tue, 10 Feb 2015 11:06:51 +0000
Tue, 10 Feb 2015 12:36:51 +0000

View file

@ -1 +1 @@
Tue, 10 Feb 2015 11:06:51 +0000
Tue, 10 Feb 2015 12:36:51 +0000

View file

@ -6,5 +6,5 @@ KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=app-admin/eselect
SLOT=0
SRC_URI=https://github.com/jauhien/eselect-rust/archive/0.2_pre20141128.tar.gz -> eselect-rust-0.2_pre20141128.tar.gz
_md5_=cce44d814b94c96bb7172b5e96d404a6
SRC_URI=https://github.com/jauhien/eselect-rust/archive/0.2_pre20150206.tar.gz -> eselect-rust-0.2_pre20150206.tar.gz
_md5_=016a6a60fad475b3da5842ae087a34ca

View file

@ -1,12 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git >=virtual/emacs-23
DESCRIPTION=A major emacs mode for editing Rust source code
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=>=virtual/emacs-23
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.12.0.tar.gz
_eclasses_=elisp b7ff113c97bf466ace6f3235f80af600 elisp-common 1aa23b3de5dae55456fa2071428eb5bf eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=1408634a86bab0bc360d0da130cf6b27

View file

@ -1,5 +1,5 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git >=virtual/emacs-23
DEPEND=>=virtual/emacs-23
DESCRIPTION=A major emacs mode for editing Rust source code
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
@ -7,6 +7,6 @@ KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=>=virtual/emacs-23
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.11.0.tar.gz
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-alpha-src.tar.gz
_eclasses_=elisp b7ff113c97bf466ace6f3235f80af600 elisp-common 1aa23b3de5dae55456fa2071428eb5bf eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=bde025f5f23d3c282fcb2bb55f7aa61f
_md5_=aa126c1f537886f7b660d78dcbef67ea

View file

@ -1,10 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git >=virtual/emacs-23 >=dev-vcs/git-1.8.2.1
DESCRIPTION=A major emacs mode for editing Rust source code
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=>=virtual/emacs-23
SLOT=0
_eclasses_=elisp b7ff113c97bf466ace6f3235f80af600 elisp-common 1aa23b3de5dae55456fa2071428eb5bf eutils 998e5931fb95b10a6a11ec796ada2759 git-r3 3a2bd0ae504c33a50061885480f3def3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=eda01d66a42f3b80e8d58ac0502f765b

View file

@ -3,11 +3,11 @@ DESCRIPTION=Script to guess CPU_FLAGS_X86 flags from /proc/cpuinfo
EAPI=5
HOMEPAGE=https://bitbucket.org/mgorny/cpuinfo2cpuflags
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
KEYWORDS=amd64 x86
KEYWORDS=amd64 x86 ~amd64-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
SLOT=0
SRC_URI=https://bitbucket.org/mgorny/cpuinfo2cpuflags/downloads/cpuinfo2cpuflags-1.tar.gz
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-r1 236a8d81f730332749bd484d8b53ee91 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=87923e26d668c79796f8dd67f025db03
_md5_=c4424282ee0738f08cf821dd50d3ee44

View file

@ -1,11 +0,0 @@
DEFINED_PHASES=compile configure install
DEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git
DESCRIPTION=Rust zsh completions
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.11.0.tar.gz
_md5_=90a5700c654ff1c7724a39087ce0d9ea

View file

@ -1,11 +0,0 @@
DEFINED_PHASES=compile configure install
DEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git
DESCRIPTION=Rust zsh completions
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.12.0.tar.gz
_md5_=5ca5b7f43ae8ad355f94c22956a34e8f

View file

@ -0,0 +1,11 @@
DEFINED_PHASES=compile configure install
DEPEND=app-shells/zsh
DESCRIPTION=Rust zsh completions
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=app-shells/zsh
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-alpha-src.tar.gz
_md5_=42063f511a159339f1b816542b3c6122

View file

@ -1,10 +0,0 @@
DEFINED_PHASES=compile configure install unpack
DEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git >=dev-vcs/git-1.8.2.1
DESCRIPTION=Rust zsh completions
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=app-shells/zsh !!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git
SLOT=0
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 git-r3 3a2bd0ae504c33a50061885480f3def3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=47043266d623455c65cd625ade1883dd

View file

@ -1,12 +0,0 @@
DEFINED_PHASES=install postinst postrm
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git || ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
DESCRIPTION=Rust mode for vim
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.12.0.tar.gz
_eclasses_=vim-doc 1c18baeec98cec3287524cbf2fee2bd2 vim-plugin 286547e90fbbc4c841eee80cd73e646c
_md5_=9f2458cebdf6fb8bacdbd0b6f7003b18

View file

@ -1,5 +1,5 @@
DEFINED_PHASES=install postinst postrm
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git || ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
DEPEND=|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
DESCRIPTION=Rust mode for vim
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
@ -7,6 +7,6 @@ KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
SLOT=0
SRC_URI=http://static.rust-lang.org/dist/rust-0.11.0.tar.gz
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-alpha-src.tar.gz
_eclasses_=vim-doc 1c18baeec98cec3287524cbf2fee2bd2 vim-plugin 286547e90fbbc4c841eee80cd73e646c
_md5_=b17ca584af39b9187de07d6e2d1ae45a
_md5_=afde12d9317344a7649c6959b1f9dfb0

View file

@ -1,10 +0,0 @@
DEFINED_PHASES=install postinst postrm unpack
DEPEND=!!<=app-admin/eselect-rust-0.1_pre20140820 !<=dev-lang/rust-0.11.0-r1:0.11 !<=dev-lang/rust-999:nightly !<=dev-lang/rust-9999-r2:git || ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 ) >=dev-vcs/git-1.8.2.1
DESCRIPTION=Rust mode for vim
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
LICENSE=|| ( MIT Apache-2.0 )
RDEPEND=|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
SLOT=0
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 git-r3 3a2bd0ae504c33a50061885480f3def3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac vim-doc 1c18baeec98cec3287524cbf2fee2bd2 vim-plugin 286547e90fbbc4c841eee80cd73e646c
_md5_=82f1d387f57333861382a75dcd0c871d

View file

@ -1,14 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prepare setup unpack
DEPEND=>=app-admin/eselect-ecj-0.3 app-arch/unzip >=virtual/jdk-1.6 userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DESCRIPTION=Eclipse Compiler for Java
EAPI=2
HOMEPAGE=http://www.eclipse.org/
IUSE=+ant userland_GNU elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
LICENSE=EPL-1.0
PDEPEND=ant? ( ~dev-java/ant-eclipse-ecj-3.6 )
RDEPEND=>=app-admin/eselect-ecj-0.3 >=virtual/jre-1.4 >=dev-java/java-config-2.1.9-r1
SLOT=3.6
SRC_URI=http://archive.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/ecjsrc-3.6.zip
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=9560c5884a4d81235236b9d60825a4c3

View file

@ -1,5 +1,5 @@
DEFINED_PHASES=compile install postinst postrm preinst prepare setup unpack
DEPEND=>=app-admin/eselect-ecj-0.3 app-arch/unzip >=virtual/jdk-1.6 userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DEPEND=>=app-admin/eselect-ecj-0.3 app-arch/unzip || ( virtual/jdk:1.7 virtual/jdk:1.6 ) userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DESCRIPTION=Eclipse Compiler for Java
EAPI=4
HOMEPAGE=http://www.eclipse.org/
@ -11,4 +11,4 @@ RDEPEND=>=app-admin/eselect-ecj-0.3 >=virtual/jre-1.4 >=dev-java/java-config-2.1
SLOT=3.7
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/ecjsrc-3.7.1.jar
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=6c2e594136d2cae5e89f2b9d69079960
_md5_=de09acf5a38d93acfeea4c89f3d5274f

View file

@ -1,14 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prepare setup unpack
DEPEND=>=app-admin/eselect-ecj-0.3 app-arch/unzip >=virtual/jdk-1.6 userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DESCRIPTION=Eclipse Compiler for Java
EAPI=4
HOMEPAGE=http://www.eclipse.org/
IUSE=+ant userland_GNU elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
LICENSE=EPL-1.0
PDEPEND=ant? ( ~dev-java/ant-eclipse-ecj-3.7.2 )
RDEPEND=>=app-admin/eselect-ecj-0.3 >=virtual/jre-1.4 >=dev-java/java-config-2.1.9-r1
SLOT=3.7
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/ecjsrc-3.7.2.jar
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=816156376426b2910e6d4cdd6672dd3c

View file

@ -1,5 +1,5 @@
DEFINED_PHASES=compile install postinst postrm preinst prepare setup
DEPEND=|| ( app-admin/eselect-java app-admin/eselect-ecj ) >=virtual/jdk-1.6 app-arch/unzip userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DEPEND=|| ( app-admin/eselect-java app-admin/eselect-ecj ) || ( virtual/jdk:1.7 virtual/jdk:1.6 ) app-arch/unzip userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DESCRIPTION=Eclipse Compiler for Java
EAPI=4
HOMEPAGE=http://www.eclipse.org/
@ -11,4 +11,4 @@ RDEPEND=|| ( app-admin/eselect-java app-admin/eselect-ecj ) >=virtual/jre-1.4 >=
SLOT=3.7
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/ecjsrc-3.7.2.jar
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=0cd1e64c6f3fe311b6e22c6b7c186c52
_md5_=bfbfd617feab2e42339fa2f766cfff82

View file

@ -1,14 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst prepare setup
DEPEND=|| ( app-admin/eselect-java app-admin/eselect-ecj ) >=virtual/jdk-1.6 app-arch/unzip userland_GNU? ( sys-apps/findutils ) >=dev-java/java-config-2.1.9-r1
DESCRIPTION=Eclipse Compiler for Java
EAPI=4
HOMEPAGE=http://www.eclipse.org/
IUSE=+ant userland_GNU elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
LICENSE=EPL-1.0
PDEPEND=ant? ( ~dev-java/ant-eclipse-ecj-4.2 )
RDEPEND=|| ( app-admin/eselect-java app-admin/eselect-ecj ) >=virtual/jre-1.4 >=dev-java/java-config-2.1.9-r1
SLOT=4.2
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops4/R-4.2-201206081400/ecjsrc-4.2.jar
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=b4fd6f898e70f40d3509bf629aca4d6a

View file

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install preinst prepare setup
DEPEND=>=virtual/jdk-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=Tomcat's Servlet API 2.5/JSP API 2.1 implementation
EAPI=5
HOMEPAGE=http://tomcat.apache.org/
IUSE=elibc_FreeBSD source elibc_FreeBSD
KEYWORDS=~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=>=virtual/jre-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
SLOT=2.5
SRC_URI=mirror://apache/tomcat/tomcat-6/v6.0.43/src/apache-tomcat-6.0.43-src.tar.gz
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-ant-2 1091461b8b02f54fabcfbf159164ff15 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=3d1bb49489202c7434e755a80116bcd4

View file

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install preinst prepare setup
DEPEND=>=virtual/jdk-1.6 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=Tomcat's Servlet API 3.0/JSP API 2.2 implementation
EAPI=5
HOMEPAGE=http://tomcat.apache.org/
IUSE=elibc_FreeBSD source elibc_FreeBSD
KEYWORDS=~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
SLOT=3.0
SRC_URI=mirror://apache/tomcat/tomcat-7/v7.0.59/src/apache-tomcat-7.0.59-src.tar.gz
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-ant-2 1091461b8b02f54fabcfbf159164ff15 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=9c8405f2b411be4b2483c75e1ba966f5

View file

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang )
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug emacs libcxx vim-syntax zsh-completion
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-0.11.0 ) vim-syntax? ( >=app-vim/rust-mode-0.11.0 ) zsh-completion? ( >=app-shells/rust-zshcomp-0.11.0 )
REQUIRED_USE=libcxx? ( clang )
SLOT=0.11
SRC_URI=http://static.rust-lang.org/dist/rust-0.11.0.tar.gz amd64? ( http://static.rust-lang.org/dist/rust-0.11.0-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/rust-0.11.0-i686-unknown-linux-gnu.tar.gz )
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=42971a3e3363b6c2d4bbe42415ebe70f

View file

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang )
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug emacs libcxx vim-syntax zsh-completion
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-0.12.0 ) vim-syntax? ( >=app-vim/rust-mode-0.12.0 ) zsh-completion? ( >=app-shells/rust-zshcomp-0.12.0 )
REQUIRED_USE=libcxx? ( clang )
SLOT=0.12
SRC_URI=http://static.rust-lang.org/dist/rust-0.12.0.tar.gz amd64? ( http://static.rust-lang.org/dist/rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/rust-0.12.0-i686-unknown-linux-gnu.tar.gz )
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=605c7804ac0d555743f3d1de224874ee

View file

@ -1,12 +1,14 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 net-misc/wget clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.5.0[multitarget(-)] )
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug emacs libcxx +system-llvm vim-syntax zsh-completion
IUSE=clang debug libcxx +system-llvm
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-999 ) vim-syntax? ( >=app-vim/rust-mode-999 ) zsh-completion? ( >=app-shells/rust-zshcomp-999 )
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0
REQUIRED_USE=libcxx? ( clang )
SLOT=nightly
SLOT=1.0
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-alpha-src.tar.gz x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-01-07-9e4e524-linux-i386-d8b73fc9aa3ad72ce1408a41e35d78dba10eb4d4.tar.bz2 ) amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-01-07-9e4e524-linux-x86_64-697880d3640e981bbbf23284363e8e9a158b588d.tar.bz2 )
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=76beab628e503428fb0b33c8bb639e8b
_md5_=5dbff7bbd6f13a5e397e7e9dfffbbe23

View file

@ -1,12 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.5.0[multitarget(-)] ) >=dev-vcs/git-1.8.2.1
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug emacs libcxx +system-llvm vim-syntax zsh-completion
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-9999 ) vim-syntax? ( >=app-vim/rust-mode-9999 ) zsh-completion? ( >=app-shells/rust-zshcomp-9999 )
REQUIRED_USE=libcxx? ( clang )
SLOT=git
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 git-r3 3a2bd0ae504c33a50061885480f3def3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=2e52d3a0bdc753a936121ca25cc3db88

View file

@ -1,13 +0,0 @@
DEFINED_PHASES=install postinst postrm prepare unpack
DEPEND=>=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=emacs vim-syntax zsh-completion
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=>=app-admin/eselect-rust-0.2_pre20141011 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-0.12.0 ) vim-syntax? ( >=app-vim/rust-mode-0.12.0 ) zsh-completion? ( >=app-shells/rust-zshcomp-0.12.0 )
SLOT=0
SRC_URI=amd64? ( http://static.rust-lang.org/dist/rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/rust-0.12.0-i686-unknown-linux-gnu.tar.gz )
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=5940d4cc7b98cb71e81808eb5d96881a

View file

@ -0,0 +1,13 @@
DEFINED_PHASES=install postinst postrm unpack
DEPEND=>=app-admin/eselect-rust-0.2_pre20150206 !dev-lang/rust:0
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=emacs vim-syntax zsh-completion
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=>=app-admin/eselect-rust-0.2_pre20150206 !dev-lang/rust:0
SLOT=0
SRC_URI=amd64? ( http://static.rust-lang.org/dist/rust-1.0.0-alpha-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/rust-1.0.0-alpha-i686-unknown-linux-gnu.tar.gz )
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=d9e73a0fab5a93bcffae6e0583f62496

View file

@ -1,11 +0,0 @@
DEFINED_PHASES=install postinst postrm prepare unpack
DEPEND=>=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 net-misc/wget
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=emacs vim-syntax zsh-completion
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=>=app-admin/eselect-rust-0.2_pre20141128 !dev-lang/rust:0 emacs? ( >=app-emacs/rust-mode-999 ) vim-syntax? ( >=app-vim/rust-mode-999 ) zsh-completion? ( >=app-shells/rust-zshcomp-999 )
SLOT=0
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
_md5_=0df8b3d4e4d2b881ca7aa6fe0e7383b3

View file

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
DEPEND=dev-java/eclipse-ecj:3.7 ~dev-java/tomcat-servlet-api-6.0.43 extra-webapps? ( dev-java/jakarta-jstl:0 ) >=virtual/jdk-1.5 >=dev-java/ant-core-1.8.1:0 test? ( dev-java/ant-junit:0 dev-java/junit:4 ) >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=Tomcat Servlet-2.5/JSP-2.1 Container
EAPI=4
HOMEPAGE=http://tomcat.apache.org/
IUSE=extra-webapps elibc_FreeBSD source test elibc_FreeBSD
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
LICENSE=Apache-2.0
RDEPEND=dev-java/eclipse-ecj:3.7 ~dev-java/tomcat-servlet-api-6.0.43 extra-webapps? ( dev-java/jakarta-jstl:0 ) !<dev-java/tomcat-native-1.1.20 >=virtual/jre-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
RESTRICT=test
SLOT=6
SRC_URI=mirror://apache/tomcat/tomcat-6/v6.0.43/src/apache-tomcat-6.0.43-src.tar.gz
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-ant-2 1091461b8b02f54fabcfbf159164ff15 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf prefix 21058c21ca48453d771df15500873ede toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=1a6fc410b0b729d0c5b0f45f91b5addf

View file

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
DEPEND=dev-java/eclipse-ecj:4.4 ~dev-java/tomcat-servlet-api-7.0.59 extra-webapps? ( dev-java/jakarta-jstl:0 ) websockets? ( >=virtual/jdk-1.7 ) !websockets? ( >=virtual/jdk-1.6 ) >=dev-java/ant-core-1.8.1:0 test? ( dev-java/ant-junit:0 dev-java/junit:4 ) >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
DESCRIPTION=Tomcat Servlet-3.0/JSP-2.2 Container
EAPI=5
HOMEPAGE=http://tomcat.apache.org/
IUSE=extra-webapps websockets elibc_FreeBSD doc source test elibc_FreeBSD
KEYWORDS=~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=dev-java/eclipse-ecj:4.4 ~dev-java/tomcat-servlet-api-7.0.59 extra-webapps? ( dev-java/jakarta-jstl:0 ) websockets? ( >=virtual/jre-1.7 ) !websockets? ( >=virtual/jre-1.6 ) !<dev-java/tomcat-native-1.1.24 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
RESTRICT=test
SLOT=7
SRC_URI=mirror://apache/tomcat/tomcat-7/v7.0.59/src/apache-tomcat-7.0.59-src.tar.gz
_eclasses_=eutils 998e5931fb95b10a6a11ec796ada2759 java-ant-2 1091461b8b02f54fabcfbf159164ff15 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf prefix 21058c21ca48453d771df15500873ede toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
_md5_=c62950440f801b865b8f7cfc4774c646

View file

@ -1 +1 @@
Tue, 10 Feb 2015 11:06:54 +0000
Tue, 10 Feb 2015 12:36:54 +0000

View file

@ -1 +1 @@
Tue Feb 10 11:06:51 UTC 2015
Tue Feb 10 12:36:51 UTC 2015

View file

@ -1 +1 @@
Tue, 10 Feb 2015 11:30:01 +0000
Tue, 10 Feb 2015 13:00:01 +0000

View file

@ -1 +1 @@
1423566301 Tue 10 Feb 2015 11:05:01 AM UTC UTC
1423571701 Tue 10 Feb 2015 12:35:01 PM UTC UTC

View file

@ -2,7 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
</pkgmetadata>

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>dastergon@gentoo.org</email>
<name>Pavlos Ratis</name>
</maintainer>
<use>
<flag name="tools">Build and install dnsget, ex-rdns and rblcheck tools</flag>
</use>
<maintainer>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<use>
<flag name="tools">Build and install dnsget, ex-rdns and rblcheck tools</flag>
</use>
<longdescription>
UDNS is a stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries.
</longdescription>

View file

@ -1,10 +1,14 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask,v 1.643 2015/02/07 11:51:07 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask,v 1.644 2015/02/10 11:33:36 jauhien Exp $
# This file requires >=portage-2.1.1
# New entries go on top.
# Jauhien Piatlicki <jauhien@gentoo.org> (10 Feb 2015)
# Mask until sys-devel/llvm-3.6 is in the tree
dev-lang/rust system-llvm
# Ben de Groot <yngwin@gentoo.org> (07 Feb 2015)
# Mask for all arches, can be unmasked on arm once keyworded there
games-board/stockfish armv7

View file

@ -1,3 +1,5 @@
DIST apache-tomcat-6.0.41-src.tar.gz 3591370 SHA256 6def26d6eefb168a0968400d53dc08939284570ca850a0c4740398e9b645ff3c SHA512 605b33fb48772af3d34f33082d30c6791308c8ce6c52607a0e8e97b353ecd1a768a400ed65abcf2701381fff7e61d4d83a887140d4eebf753551e26dcef58e5d WHIRLPOOL c70f397308c051287d5de77e2c66b70d6003dd015cc0ba236599c09f5046bc6d5f0f03ddb672c7c9267ec860491ad7144104ede3e599a064776a931f9babfddd
DIST apache-tomcat-6.0.43-src.tar.gz 3595710 SHA256 ef32da195dc0f070c5f8d1c48b02a213cc69b680ec735f1297ef0d8ca62e75be SHA512 f2cb32e6d01e8841e4ea43cae0b495f988eb590649047627eea31411b7eac9d8a5d5747fb986d577946430c656c1e926a75b850bc7f59ec1b86c632fdb7af7e8 WHIRLPOOL 6c6ffe58a9c2bd162aa7d6b60248304fedd51724c602d9387ae2759a8218eedf93a85b40e18bb2e46de2b245c412d32ca941109045f8e5b898546f9b4cc7602f
DIST apache-tomcat-7.0.56-src.tar.gz 4648164 SHA256 d51fd6b596fbcf418eddeff721f23b6109ec4d8085ba111580dbdeaa007c5b59 SHA512 f283ec2cd806ea1ac5372efc667e75687ea637185b1b74b396cf46379248da09c9a8bbdd1f4e37e84d91ed142f80a1185816fc5215e199df2ff25dded13cacff WHIRLPOOL cf63cd6e4888585f3dd9e4659f993f48e3a08f8c220414fe8f9dac9389a1456d49878b4a39674646fd6a9ad3df4259272005ccf40ead53ab51a196bee4150a93
DIST apache-tomcat-7.0.57-src.tar.gz 4651308 SHA256 07962d20f2ce051c3e4fbdbd65a15d87d07553e7ee1542547a5ce0c201743c64 SHA512 fad8c296c2191c0168bf841b4b7c649b06900aa1b8b12d895fdaa1963f5a2b08fedb71f614cba1269b405892392daea0850c85360fb4fda2ea36311f8e8c563a WHIRLPOOL 9c938fdc419f989d9a2bc7618e9c68c0ee96b1dfaa94822d995818975c9217b7ff80c28b31cc6e9dea47d4097a2c61325e8075d4f313bc6415aa535361933741
DIST apache-tomcat-7.0.59-src.tar.gz 4687344 SHA256 3a1dedda4019db87464fca3aeb4e800a538f0baee96d8b14c9d64967b0d2ea44 SHA512 acc322eee1446dd1bff72910ae9f40a62f88332ee69d6057b3c684e2abf8f28e6df6ab9505900f0b0cf7a5e2e0e80e64b0a790b3b78594ce595ce897706b4bcb WHIRLPOOL 4948964c1746e6ee912ac72c901ba271793610f402bf082455d104e2e8d6dbfa0bf5371d42d48d8ad7c826271fa60d989119a01e700497099022d0cf3564fdff

View file

@ -0,0 +1,31 @@
--- build.xml.orig 2012-07-06 20:26:21.361299240 +0200
+++ build.xml 2012-07-06 20:26:56.085899911 +0200
@@ -487,12 +487,14 @@
<target name="deploy" depends="build-only,build-docs,warn.dbcp">
+<!--
<copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
file="${tomcat-native.tar.gz}" />
<copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
file="${commons-daemon.native.src.tgz}" />
<copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
+-->
<!-- Copy scripts -->
<copy todir="${tomcat.build}/bin">
--- build.xml.orig 2012-07-06 20:31:31.387806167 +0200
+++ build.xml 2012-07-06 20:32:33.185315885 +0200
@@ -646,9 +646,11 @@
</fileset>
</txt2html>
+<!--
<copy file="${tomcat-dbcp.jar}" todir="${tomcat.build}/lib"
failonerror="false"/>
<copy file="${jdt.jar}" todir="${tomcat.build}/lib" />
+-->
</target>

View file

@ -0,0 +1,107 @@
diff --git a/apache-tomcat-7.0.59-src/build.xml b/apache-tomcat-7.0.59-src/build.xml
index 9c4cb10..5067f44 100644
--- a/apache-tomcat-7.0.59-src/build.xml
+++ b/apache-tomcat-7.0.59-src/build.xml
@@ -701,26 +701,32 @@
manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
<!-- Servlet 3.0 Implementation JAR File -->
+<!--
<jarIt jarfile="${servlet-api.jar}"
filesDir="${tomcat.classes}"
filesId="files.servlet-api"
manifest="${tomcat.manifests}/servlet-api.jar.manifest"
notice="${tomcat.manifests}/servlet-api.jar.notice"
license="${tomcat.manifests}/servlet-api.jar.license" />
+-->
<!-- JSP 2.2 Implementation JAR File -->
+<!--
<jarIt jarfile="${jsp-api.jar}"
filesDir="${tomcat.classes}"
filesId="files.jsp-api"
manifest="${tomcat.manifests}/jsp-api.jar.manifest"
notice="${tomcat.manifests}/jsp-api.jar.notice"
license="${tomcat.manifests}/jsp-api.jar.license" />
+-->
<!-- JSP 2.2 EL Implementation JAR File -->
+<!--
<jarIt jarfile="${el-api.jar}"
filesDir="${tomcat.classes}"
filesId="files.el-api"
manifest="${tomcat.manifests}/el-api.jar.manifest" />
+-->
<!-- Bootstrap JAR File -->
<jarIt jarfile="${bootstrap.jar}"
@@ -966,12 +972,14 @@
<target name="deploy" depends="package,build-docs,compile-webapp-examples"
description="Default. Builds a working Tomcat instance">
+<!--
<copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
file="${tomcat-native.tar.gz}" />
<copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
file="${commons-daemon.native.src.tgz}" />
<copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
+-->
<!-- Copy scripts -->
<copy todir="${tomcat.build}/bin">
@@ -1031,14 +1039,15 @@
<exclude name="${jdt.jar.filename}"/>
</fileset>
</delete>
+<!--
<copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
-
+-->
<!-- Add sources for examples -->
<antcall target="examples-sources" />
-
+<!--
<copy file="${tomcat-dbcp.jar}" todir="${tomcat.build}/lib"
failonerror="false"/>
-
+-->
<!-- build the jdbc-pool jar and source jar-->
<echo message="Building Tomcat JDBC pool libraries"/>
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
@@ -1630,7 +1639,7 @@
<target name="extras-webservices-prepare"
depends="extras-prepare"
- description="Prepare to build web services extras package">
+ description="Prepare to build web services extras package" unless="noget">
<antcall target="downloadfile">
<param name="sourcefile" value="${jaxrpc-lib.loc}"/>
@@ -2591,7 +2600,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
</target>
<target name="download-compile"
- description="Download (and build) components necessary to compile" >
+ description="Download (and build) components necessary to compile" unless="noget">
<antcall target="downloadfile-2">
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
@@ -2648,7 +2657,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
</target>
<target name="download-test-compile"
- description="Download additional components for the tests" >
+ description="Download additional components for the tests" unless="noget">
<antcall target="downloadfile">
<param name="sourcefile" value="${junit.loc}"/>
@@ -2676,7 +2685,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
</target>
<target name="download-dist"
- description="Download additional components for a distribution" >
+ description="Download additional components for a distribution" unless="noget">
<antcall target="downloadzip-2">
<param name="sourcefile.1" value="${tomcat-native.win.1}"/>

View file

@ -0,0 +1,142 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-6.0.43.ebuild,v 1.1 2015/02/10 12:17:43 fordfrog Exp $
EAPI=4
JAVA_PKG_IUSE="source test"
inherit eutils java-pkg-2 java-ant-2 prefix user
MY_P="apache-${P}-src"
DESCRIPTION="Tomcat Servlet-2.5/JSP-2.1 Container"
HOMEPAGE="http://tomcat.apache.org/"
SRC_URI="mirror://apache/${PN}/tomcat-6/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="6"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="extra-webapps"
RESTRICT="test"
ECJ_SLOT="3.7"
SAPI_SLOT="2.5"
COMMON_DEP="
dev-java/eclipse-ecj:${ECJ_SLOT}
~dev-java/tomcat-servlet-api-${PV}
extra-webapps? ( dev-java/jakarta-jstl:0 )"
RDEPEND="${COMMON_DEP}
!<dev-java/tomcat-native-1.1.20
>=virtual/jre-1.5"
DEPEND="${COMMON_DEP}
>=virtual/jdk-1.5
>=dev-java/ant-core-1.8.1:0
test? (
dev-java/ant-junit:0
dev-java/junit:4
)"
S=${WORKDIR}/${MY_P}
pkg_setup() {
java-pkg-2_pkg_setup
enewgroup tomcat 265
enewuser tomcat 265 -1 /dev/null tomcat
}
java_prepare() {
find -name '*.jar' -exec rm -v {} + || die
epatch "${FILESDIR}/${P}-build.xml.patch"
# For use of catalina.sh in netbeans
sed -i -e "/^# ----- Execute The Requested Command/ a\
CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
bin/catalina.sh || die
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_BUILD_TARGET="deploy"
EANT_DOC_TARGET=""
EANT_GENTOO_CLASSPATH="tomcat-servlet-api-${SAPI_SLOT},eclipse-ecj-${ECJ_SLOT}"
EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
EANT_NEEDS_TOOLS="true"
EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
# revision of the instance-manager script
IM_REV="-r1"
src_compile() {
EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
java-pkg-2_src_compile
}
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
src_test() {
java-pkg-2_src_test
}
src_install() {
local dest="/usr/share/${PN}-${SLOT}"
java-pkg_jarinto "${dest}"/bin
java-pkg_dojar output/build/bin/*.jar
exeinto "${dest}"/bin
doexe output/build/bin/*.sh
java-pkg_jarinto "${dest}"/lib
java-pkg_dojar output/build/lib/*.jar
# so we don't have to call java-config with --with-dependencies, which might
# bring in more jars then actually desired.
java-pkg_addcp "$(java-pkg_getjars eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT})"
dodoc RELEASE-NOTES RUNNING.txt
#use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
use source && java-pkg_dosrc java/*
### Webapps ###
insinto "${dest}"/webapps
doins -r output/build/webapps/{host-manager,manager,ROOT}
use extra-webapps && doins -r output/build/webapps/{docs,examples}
### Config ###
# replace the default pw with a random one, see #92281
local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15)
sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
insinto "${dest}"
doins -r output/build/conf
### rc ###
cp "${FILESDIR}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash} "${T}" || die
eprefixify "${T}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash}
sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash} || die
insinto "${dest}"/gentoo
doins "${T}"/tomcat.conf
exeinto "${dest}"/gentoo
doexe "${T}"/tomcat.init
newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
}
pkg_postinst() {
elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
elog "of Tomcat (<6.0.36), you have to migrate your existing instance to work with new Tomcat."
elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
elog "To manage Tomcat instances, run:"
elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
# einfo "Please read http://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
}

View file

@ -0,0 +1,144 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-7.0.59.ebuild,v 1.1 2015/02/10 11:42:30 fordfrog Exp $
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit eutils java-pkg-2 java-ant-2 prefix user
MY_P="apache-${P}-src"
DESCRIPTION="Tomcat Servlet-3.0/JSP-2.2 Container"
HOMEPAGE="http://tomcat.apache.org/"
SRC_URI="mirror://apache/${PN}/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="7"
KEYWORDS="~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="extra-webapps websockets"
RESTRICT="test" # can we run them on a production system?
ECJ_SLOT="4.4"
SAPI_SLOT="3.0"
COMMON_DEP="
dev-java/eclipse-ecj:${ECJ_SLOT}
~dev-java/tomcat-servlet-api-${PV}
extra-webapps? ( dev-java/jakarta-jstl:0 )"
RDEPEND="${COMMON_DEP}
websockets? ( >=virtual/jre-1.7 )
!websockets? ( >=virtual/jre-1.6 )
!<dev-java/tomcat-native-1.1.24"
DEPEND="${COMMON_DEP}
websockets? ( >=virtual/jdk-1.7 )
!websockets? ( >=virtual/jdk-1.6 )
>=dev-java/ant-core-1.8.1:0
test? (
dev-java/ant-junit:0
dev-java/junit:4
)"
S=${WORKDIR}/${MY_P}
pkg_setup() {
java-pkg-2_pkg_setup
enewgroup tomcat 265
enewuser tomcat 265 -1 /dev/null tomcat
}
java_prepare() {
find -type f -name '*.jar' -exec rm -frv {} + || die
epatch "${FILESDIR}/${P}-build.xml.patch"
# For use of catalina.sh in netbeans
sed -i -e "/^# ----- Execute The Requested Command/ a\
CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
bin/catalina.sh || die
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_BUILD_TARGET="deploy"
EANT_GENTOO_CLASSPATH="tomcat-servlet-api-${SAPI_SLOT},eclipse-ecj-${ECJ_SLOT}"
EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
EANT_NEEDS_TOOLS="true"
EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
# revision of the instance-manager script
IM_REV="-r1"
src_compile() {
use websockets && EANT_EXTRA_ARGS="-Djava.7.home=${JAVA_HOME}"
EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
java-pkg-2_src_compile
}
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
src_test() {
java-pkg-2_src_test
}
src_install() {
local dest="/usr/share/${PN}-${SLOT}"
java-pkg_jarinto "${dest}"/bin
java-pkg_dojar output/build/bin/*.jar
exeinto "${dest}"/bin
doexe output/build/bin/*.sh
java-pkg_jarinto "${dest}"/lib
java-pkg_dojar output/build/lib/*.jar
# so we don't have to call java-config with --with-dependencies, which might
# bring in more jars then actually desired.
java-pkg_addcp "$(java-pkg_getjars eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT})"
dodoc RELEASE-NOTES RUNNING.txt
use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
use source && java-pkg_dosrc java/*
### Webapps ###
insinto "${dest}"/webapps
doins -r output/build/webapps/{host-manager,manager,ROOT}
use extra-webapps && doins -r output/build/webapps/{docs,examples}
### Config ###
# replace the default pw with a random one, see #92281
local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15)
sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
insinto "${dest}"
doins -r output/build/conf
### rc ###
cp "${FILESDIR}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash} "${T}" || die
eprefixify "${T}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash}
sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,.init,-instance-manager${IM_REV}.bash} || die
insinto "${dest}"/gentoo
doins "${T}"/tomcat.conf
exeinto "${dest}"/gentoo
doexe "${T}"/tomcat.init
newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
}
pkg_postinst() {
elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
elog "To manage Tomcat instances, run:"
elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
# einfo "Please read http://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
}