parent
11c7042695
commit
1cf1c5c188
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST augeas-1.10.1.tar.gz 2289207 BLAKE2B 6e3cf750c4d3faf7dc472ec7bfe3c46f5babca294d2bd5169cca419c2f93e21bdd656bbc44b30ab66c00fb793df1aa045f60c1260963901773c334b9019eff0b SHA512 382e8ef6a5bd3d12d7d2e0d2987f39c04ff7df3f07cd68aa732bf266b89d5d59a85be63921a7ff70f9219dbc6bb8547f80528242caa9417e08a008d1721cb1d2
|
DIST augeas-1.10.1.tar.gz 2289207 BLAKE2B 6e3cf750c4d3faf7dc472ec7bfe3c46f5babca294d2bd5169cca419c2f93e21bdd656bbc44b30ab66c00fb793df1aa045f60c1260963901773c334b9019eff0b SHA512 382e8ef6a5bd3d12d7d2e0d2987f39c04ff7df3f07cd68aa732bf266b89d5d59a85be63921a7ff70f9219dbc6bb8547f80528242caa9417e08a008d1721cb1d2
|
||||||
DIST augeas-1.11.0.tar.gz 2393675 BLAKE2B e7c50715fee892b47843f9be4ec9e88937c0ce10544b3e212d9c32a6151bbc36550d711ebec9db2a691e91cc6a2cd93696d807b440ab57a678ca6680426a4b03 SHA512 1b67bb7fcd9b560d3fe4a5c753d5e778db73caaab6e50367afd123eec107b65b73096913ac7d5170e85f5b63ff3522b2a6932b130e207ab22560dfc6e267b8a1
|
DIST augeas-1.11.0.tar.gz 2393675 BLAKE2B e7c50715fee892b47843f9be4ec9e88937c0ce10544b3e212d9c32a6151bbc36550d711ebec9db2a691e91cc6a2cd93696d807b440ab57a678ca6680426a4b03 SHA512 1b67bb7fcd9b560d3fe4a5c753d5e778db73caaab6e50367afd123eec107b65b73096913ac7d5170e85f5b63ff3522b2a6932b130e207ab22560dfc6e267b8a1
|
||||||
|
DIST augeas-1.12.0.tar.gz 2429279 BLAKE2B cd90203fec1a81b114d95bb50e168b852923136f34c83974d3427cbedd4eb0d335d3952057507b38ded5c7011be2b56725565ea106cb32a0ca43b7c81250b29e SHA512 4f61d4abbf338e915dfae212560d39792674bc757f05f500afa80c6170abc214ffb99cab2cf5bbd1c2338d11a6909e5fc3ff7112a2246fca69f7b39ac283da40
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="A library for changing configuration files"
|
||||||
|
HOMEPAGE="http://augeas.net/"
|
||||||
|
SRC_URI="http://download.augeas.net/${P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="static-libs test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libxml2
|
||||||
|
sys-libs/readline:="
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
>=app-doc/NaturalDocs-1.40
|
||||||
|
test? ( dev-lang/ruby )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# selinux needs to implemented
|
||||||
|
econf \
|
||||||
|
--without-selinux \
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
addpredict /usr/share/NaturalDocs/Config/Languages.txt
|
||||||
|
addpredict /usr/share/NaturalDocs/Config/Topics.txt
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
use static-libs || find "${D}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST entr-4.0.tar.gz 24758 BLAKE2B 6d57cb93d55bb362b8e771745c9333a5a5eaa156f36a7c9e7318d94f0056fc98b2071bcea7fd33b68ac1dc1d5332fc849e0ea89bc2582196acd51e1490fce96e SHA512 d803c27441448374a866636e0e592a8395488e162e2e8c031aafec3457d10041dc52e10d06cc1e209cd86f69ca021171ef105056206b9afe603a89958eef2707
|
DIST entr-4.2.tar.gz 25599 BLAKE2B e1bf4e54df7077219d213d994a26ea10517dc88db92194d68acaa3a01e80ea3e81334b0b24bb39654da1d220b7175ab4088f583c46f9007e93e5da7fc7fe1c04 SHA512 67fc4eea415a5deffb59b493f17aa577746217c2cda6b5645d22541be6cc10ed949bb6e37bd46bc6e5cfd951f7ff611eb927be6f5d43db381437d3d1eb6f7968
|
||||||
DIST entr-4.1.tar.gz 25265 BLAKE2B e90a50e7ac0917441db872fcc3b228bd2d16a77a7178810d004cb23510644843dbee1b9b47aedbe7b6b696501f994201f4eab404c6de950013c0b81b042382b0 SHA512 0a80aa9caa97f2603e43957b716bf5b5746cea8bfb2f2cc884aab8c97a34341d6223035fbb5d4bf86234ea1c9314c077cec9d59ba442a2730fcbd7151425a459
|
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit toolchain-funcs vcs-snapshot
|
|
||||||
|
|
||||||
DESCRIPTION="Run arbitrary commands when files change"
|
|
||||||
HOMEPAGE="http://entrproject.org"
|
|
||||||
SRC_URI="http://entrproject.org/code/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="ISC"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
sh configure || die
|
|
||||||
sed -i -e 's#\(^PREFIX \).*#\1\?= /usr#' Makefile.bsd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export CC=$(tc-getCC)
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
export CC=$(tc-getCC)
|
|
||||||
default
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
@ -1 +0,0 @@
|
|||||||
DIST fleet-1.0.0.tar.gz 4865693 BLAKE2B 33991c25ff2f7bf4307a9a3d2a6274b08a358d8041f641eb33b68946a2e682caae8b20643ac2735f447398cd305b9e3a77370ad6fc2ebe26b12c2f290a03e1e6 SHA512 77f38b605e37499e31effd82c3c4f0efd6adda73e9ded86db68efcd19a34bdc44b9f6f88b7fc94f7ea4f55b2027a1270d3c87897bf12b121614384a91bd9a3cf
|
|
@ -1,14 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=fleet daemon
|
|
||||||
Wants=etcd.service
|
|
||||||
|
|
||||||
Wants=fleet.socket
|
|
||||||
After=fleet.socket
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/fleetd
|
|
||||||
Restart=always
|
|
||||||
RestartSec=10s
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,2 +0,0 @@
|
|||||||
[Socket]
|
|
||||||
ListenStream=/var/run/fleet.sock
|
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
EGO_PN="github.com/coreos/fleet"
|
|
||||||
|
|
||||||
inherit systemd vcs-snapshot
|
|
||||||
|
|
||||||
DESCRIPTION="A Distributed init System"
|
|
||||||
HOMEPAGE="https://github.com/coreos/fleet"
|
|
||||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="doc examples test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-lang/go-1.5:=
|
|
||||||
test? ( dev-go/go-tools )
|
|
||||||
"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
./build || die 'Build failed'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
./test || die 'Tests failed'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin "${S}"/bin/fleetd
|
|
||||||
dobin "${S}"/bin/fleetctl
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/fleet.service
|
|
||||||
systemd_dounit "${FILESDIR}"/fleet.socket
|
|
||||||
|
|
||||||
dodoc README.md
|
|
||||||
use doc && dodoc -r Documentation
|
|
||||||
use examples && dodoc -r examples
|
|
||||||
|
|
||||||
insinto /etc/${PN}
|
|
||||||
newins "${PN}".conf.sample "${PN}".conf
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit git-r3 systemd
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/coreos/fleet.git"
|
|
||||||
|
|
||||||
DESCRIPTION="A Distributed init System"
|
|
||||||
HOMEPAGE="https://github.com/coreos/fleet"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="doc examples test"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.3:=
|
|
||||||
test? ( dev-go/go-tools )"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
./build || die 'Build failed'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
./test || die 'Tests failed'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin "${S}"/bin/fleetd
|
|
||||||
dobin "${S}"/bin/fleetctl
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/fleet.service
|
|
||||||
systemd_dounit "${FILESDIR}"/fleet.socket
|
|
||||||
|
|
||||||
dodoc README.md
|
|
||||||
use doc && dodoc -r Documentation
|
|
||||||
use examples && dodoc -r examples
|
|
||||||
|
|
||||||
insinto /etc/${PN}
|
|
||||||
newins "${PN}".conf.sample "${PN}".conf
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">coreos/fleet</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,5 +1,6 @@
|
|||||||
DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5
|
DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5
|
||||||
DIST mongo-tools-3.6.10.tar.gz 4731097 BLAKE2B dffd18bbcb5a1d869cd3a00b40be7c83d12c2146944044c8d873eba409b9fcb0ce0595c01cd61a6b0405dfce685b8dde7c285380150906d4d38d3de9b42962bf SHA512 3e9808c6b275566215f8c2ce033a6259d373e8b63db5e981cc28235d757404b3209a64dd9aa8a98d9290c5c1da137a1bf9bc48629b278cb27ca28be681e86efc
|
|
||||||
DIST mongo-tools-3.6.11.tar.gz 4731680 BLAKE2B 88558a26d2552848121d984e4b963acafe9e56b37a3d393bacdcd8c0f71a29e2082845ad6d648c3c4800bd47514d339d1f1e984e339a48572ecb5f6f31d9166d SHA512 2291cb963965a59a89bac35a760ce49b4b835d1447065d558c4b254aae5fe38f7ebe4c9d7a67aa475e06be95c45f8529922c6fb0b78d41bc07d1a83f3a564192
|
DIST mongo-tools-3.6.11.tar.gz 4731680 BLAKE2B 88558a26d2552848121d984e4b963acafe9e56b37a3d393bacdcd8c0f71a29e2082845ad6d648c3c4800bd47514d339d1f1e984e339a48572ecb5f6f31d9166d SHA512 2291cb963965a59a89bac35a760ce49b4b835d1447065d558c4b254aae5fe38f7ebe4c9d7a67aa475e06be95c45f8529922c6fb0b78d41bc07d1a83f3a564192
|
||||||
|
DIST mongo-tools-3.6.12.tar.gz 4990846 BLAKE2B a2b649df03ba17175d95b0fb7be94e446a0cda8dd45111a41f6f74ee5498b853d9fd361f683d4db558197a1951fc79056b516cff6fcd32cc32877744456b67e3 SHA512 948e49719c958e8b7cd1c27b9d413df6d032189801180540ee86b927d5dd53ab4b8906e5cc7880163ecc6abf11daebfc2fb96fcf8fcfd3e0b1f8c8fedaf54558
|
||||||
DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
|
DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
|
||||||
DIST mongo-tools-4.0.6.tar.gz 10879606 BLAKE2B 9a7656ba1486df4b36ceb527735ad46864d7a04f2d0451fb4e04bbbdc09c3bb0ec922aa5daa584b93e123e1c3764c0ebef96a3566dd0d6b646a627d769645619 SHA512 d6185d7442a593d29db78889c55aba53e070bedd522d78d8c0bf52bb27f26c5fee6d010457f65774ea36a2e6d5280f38c95433ff76ed53ed9d74b1c811198cb7
|
DIST mongo-tools-4.0.6.tar.gz 10879606 BLAKE2B 9a7656ba1486df4b36ceb527735ad46864d7a04f2d0451fb4e04bbbdc09c3bb0ec922aa5daa584b93e123e1c3764c0ebef96a3566dd0d6b646a627d769645619 SHA512 d6185d7442a593d29db78889c55aba53e070bedd522d78d8c0bf52bb27f26c5fee6d010457f65774ea36a2e6d5280f38c95433ff76ed53ed9d74b1c811198cb7
|
||||||
|
DIST mongo-tools-4.0.8.tar.gz 11134459 BLAKE2B 4f47fcb0037ab0317a3e774ce8411c8add07218ea076d0b54f5aed3d76ca72e739b61c76bee505df52f1c916c1d77a683bd890a409d1d814e9b2389e37f1ee9b SHA512 9e6886038b8c28d50cbec9f76869aceb79eb3214868bca367a6f7a74c346ff5da8d0ee4567bb6c17436860679ca97add3e24e6ba69a6a8d5764c0e1bc5b04813
|
||||||
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
MY_P=${PN}-r${MY_PV}
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="sasl ssl"
|
||||||
|
|
||||||
|
DEPEND="dev-lang/go:=
|
||||||
|
net-libs/libpcap
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
ssl? ( dev-libs/openssl:0= )"
|
||||||
|
|
||||||
|
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||||
|
QA_FLAGS_IGNORED='.*'
|
||||||
|
|
||||||
|
EGO_PN="github.com/mongodb/mongo-tools"
|
||||||
|
S="${WORKDIR}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir -p "${S%/*}" || die
|
||||||
|
default
|
||||||
|
mv ${MY_P} "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# allow building with go 1.12 #678924
|
||||||
|
sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
if use sasl; then
|
||||||
|
myconf+=(sasl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
myconf+=(ssl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build pie to avoid text relocations wrt #582854
|
||||||
|
local buildmode="pie"
|
||||||
|
|
||||||
|
# skip on ppc64 wrt #610984
|
||||||
|
if use ppc64; then
|
||||||
|
buildmode="default"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p bin || die
|
||||||
|
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
|
||||||
|
echo "Building $i"
|
||||||
|
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||||
|
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
DIST pwman3-0.10.0.tar.gz 75726 BLAKE2B ba7331bd3d36ac23d9151a5ebd4a343e2d8c523ba8b324850139a9ba4af8404ddf23380b3eaef523251e8f4137c5c56b6ab509c3927690fc612962ff872ea820 SHA512 a6dc24b2e1405a91f35a9a9155dde5409e35ce733bacee8858930d82443c09b8017e2701bc8c45688483b6c40554e4d6266f6cd21dc6f205b13f96e7de4f57c2
|
||||||
DIST pwman3-0.9.11.tar.gz 74364 BLAKE2B 9544b692e8853b7fb8e1b4d51093e72e04f8d82888a9278c94aaa27716026b348bb16f0fa9c52af2144395a4ffb242c8a48fc34252890e68477d2e3a70ea4a88 SHA512 2aa5a7b4d810d1bbc6aea34b728f89190570cbfbedc33f45cc1aa4d737ebbb9e993d2d372b44f956d5cdbc07f911f289fd77d7df167100e820455650f5b3e46a
|
DIST pwman3-0.9.11.tar.gz 74364 BLAKE2B 9544b692e8853b7fb8e1b4d51093e72e04f8d82888a9278c94aaa27716026b348bb16f0fa9c52af2144395a4ffb242c8a48fc34252890e68477d2e3a70ea4a88 SHA512 2aa5a7b4d810d1bbc6aea34b728f89190570cbfbedc33f45cc1aa4d737ebbb9e993d2d372b44f956d5cdbc07f911f289fd77d7df167100e820455650f5b3e46a
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_5 python3_6 )
|
||||||
|
PYTHON_REQ_USE="sqlite?"
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A lightweight password-manager with multiple database backends"
|
||||||
|
HOMEPAGE="https://pwman3.github.io"
|
||||||
|
SRC_URI="https://github.com/pwman3/pwman3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="mongodb mysql postgres +sqlite test"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
>=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/colorama-0.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||||
|
mysql? ( dev-python/pymysql[${PYTHON_USEDEP}] )
|
||||||
|
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
esetup.py test
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST terraform-0.11.12.tar.gz 10907800 BLAKE2B d6d3c0a25b994be9b61e250a35adae55ed6cea0cc2166ea62774940292d9e881f16b66b88b19d5fd2c64d19bdefb82b58c79c54d8c641e1ad2970ef9a463c4c8 SHA512 2163cbc13a2bd37b7dace0a4ee2b3da4ee212038f9d6e11b83e509a794cf8d854040c366a099c9560a149157c6951b1f9d1698b4c47bd11a4fa96c4521e93414
|
DIST terraform-0.11.12.tar.gz 10907800 BLAKE2B d6d3c0a25b994be9b61e250a35adae55ed6cea0cc2166ea62774940292d9e881f16b66b88b19d5fd2c64d19bdefb82b58c79c54d8c641e1ad2970ef9a463c4c8 SHA512 2163cbc13a2bd37b7dace0a4ee2b3da4ee212038f9d6e11b83e509a794cf8d854040c366a099c9560a149157c6951b1f9d1698b4c47bd11a4fa96c4521e93414
|
||||||
|
DIST terraform-0.11.13.tar.gz 10906645 BLAKE2B dafdc1acddd4ea97b41cc5899a541701731fce7b13b914c0859fe148b10b5c8ac877d71b665e8d80a65f376bb09fb8ae6fd0e0263ff711a156ca48119522f89d SHA512 1c16f20d1a65c763f1091ff2d20e0752e62903e07a12d41dd722e5c4c989f477da7d64901336d7536ed1693d5c82f4548ae5a643edae85b4e83325fc8c81b245
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit golang-vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||||
|
HOMEPAGE="https://www.terraform.io/"
|
||||||
|
|
||||||
|
EGO_PN="github.com/hashicorp/${PN}"
|
||||||
|
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
DEPEND=">=dev-lang/go-1.11.0"
|
||||||
|
|
||||||
|
DOCS=( README.md CHANGELOG.md )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "src/${EGO_PN}" || die
|
||||||
|
GOPATH="${S}" GOCACHE="${T}/go-cache" go build \
|
||||||
|
-v -work -o "${S}/${PN}" ./ || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin terraform
|
||||||
|
|
||||||
|
pushd "src/${EGO_PN}" >/dev/null || die
|
||||||
|
einstalldocs
|
||||||
|
popd >/dev/null || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If you would like to install shell completions please run:"
|
||||||
|
elog " terraform -install-autocomplete"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="SFV checksum utility (simple file verification)"
|
||||||
|
HOMEPAGE="http://zakalwe.fi/~shd/foss/cksfv/"
|
||||||
|
SRC_URI="http://zakalwe.fi/~shd/foss/cksfv/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~amd64-linux ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~x86-linux"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# note: not an autoconf configure script
|
||||||
|
./configure \
|
||||||
|
--compiler="$(tc-getCC)" \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
--package-prefix="${D}" \
|
||||||
|
--bindir="${EPREFIX}"/usr/bin \
|
||||||
|
--mandir="${EPREFIX}"/usr/share/man || die
|
||||||
|
}
|
@ -1 +0,0 @@
|
|||||||
DIST createrepo-0.10.4.tar.gz 71186 BLAKE2B ddd15305c6861e9872bf55683035c311a22aea062d27ba4e06bbe4e09598c85fbbaf4b874cbbd1e4c521610a7faa4097a7062ac52752ab2916c14ffca70a817d SHA512 28858d7d886e1132d001bb1bd847657502eb132133e39a4d19a4c8a080728c6b6f344283bc6ee21ce8def5b7980cbca7ed78299adeb71ce1012751268f6740ec
|
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE='xml'
|
|
||||||
|
|
||||||
inherit python-single-r1 bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Creates a common rpm-metadata repository"
|
|
||||||
HOMEPAGE="http://createrepo.baseurl.org/"
|
|
||||||
SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/urlgrabber-2.9.0[${PYTHON_USEDEP}]
|
|
||||||
>=app-arch/rpm-4.1.1[python,${PYTHON_USEDEP}]
|
|
||||||
dev-libs/libxml2[python,${PYTHON_USEDEP}]
|
|
||||||
>=app-arch/deltarpm-3.6_pre20110223[python,${PYTHON_USEDEP}]
|
|
||||||
dev-python/backports-lzma[${PYTHON_USEDEP}]
|
|
||||||
>=sys-apps/yum-3.4.3
|
|
||||||
${PYTHON_DEPS}"
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
|
|
||||||
"${FILESDIR}/${P}-lzma.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
python_export PYTHON_SITEDIR
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install \
|
|
||||||
DESTDIR="${ED}" \
|
|
||||||
PYTHON=true \
|
|
||||||
compdir="$(get_bashcompdir)" \
|
|
||||||
PKGDIR="${PYTHON_SITEDIR}/${PN}"
|
|
||||||
einstalldocs
|
|
||||||
python_fix_shebang "${ED}"
|
|
||||||
python_optimize
|
|
||||||
python_optimize "${ED}/usr/share/createrepo"
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/createrepo/__init__.py 2011-01-26 12:14:30.000000000 -0500
|
|
||||||
+++ b/createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
|
|
||||||
@@ -96,7 +96,7 @@
|
|
||||||
self.mdtimestamp = 0
|
|
||||||
self.directory = None
|
|
||||||
self.directories = []
|
|
||||||
- self.changelog_limit = None # needs to be an int or None
|
|
||||||
+ self.changelog_limit = 10 # needs to be an int or None
|
|
||||||
self.unique_md_filenames = True
|
|
||||||
self.additional_metadata = {} # dict of 'type':'filename'
|
|
||||||
self.revision = str(int(time.time()))
|
|
@ -1,14 +0,0 @@
|
|||||||
diff --git a/createrepo/utils.py b/createrepo/utils.py
|
|
||||||
index b0d92ec..1220c7c 100644
|
|
||||||
--- a/createrepo/utils.py
|
|
||||||
+++ b/createrepo/utils.py
|
|
||||||
@@ -25,7 +25,8 @@ from gzip import write32u, FNAME
|
|
||||||
from yum import misc
|
|
||||||
_available_compression = ['gz', 'bz2']
|
|
||||||
try:
|
|
||||||
- import lzma
|
|
||||||
+ import backports.lzma
|
|
||||||
+ lzma = backports.lzma
|
|
||||||
_available_compression.append('xz')
|
|
||||||
except ImportError:
|
|
||||||
lzma = None
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>alonbl@gentoo.org</email>
|
|
||||||
<name>Alon Bar-Lev</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
|
@ -1,2 +1 @@
|
|||||||
DIST engrampa-1.18.3.tar.xz 1427036 BLAKE2B 816155b7e2a0583263959d77bb5079a3d69ade087cac39e8e9c2c77901d0bfcbdb63a87ec9ed7cf92d2e580ae810d3e46641d690d87c1af7db6f6dca6627dfbc SHA512 6a3872ed9ec1e9d2779842d30c352c5068608913f9261a875b707951a45ff3122df2f4a4ed4da10c4f8a4617cc1d7aae4635b3f1234052793c4a6baa765d80f8
|
|
||||||
DIST engrampa-1.22.0.tar.xz 1358552 BLAKE2B 542bb963d232dd75eba6102926e2cf31b52cab16eb890039609cf6ec44e86a7d6bf49ee04da316bb46e49d9c012c1f100e4acb20541cb8f46e245946f83cbac8 SHA512 7b4c3b85184c1530ec72eba174ee571cc14490c88f5fef1232acd4197f1020107f5172d6d4271753f9f6fcfadcf049273095b3dfbcef6fdd25a51ad8d2e17382
|
DIST engrampa-1.22.0.tar.xz 1358552 BLAKE2B 542bb963d232dd75eba6102926e2cf31b52cab16eb890039609cf6ec44e86a7d6bf49ee04da316bb46e49d9c012c1f100e4acb20541cb8f46e245946f83cbac8 SHA512 7b4c3b85184c1530ec72eba174ee571cc14490c88f5fef1232acd4197f1020107f5172d6d4271753f9f6fcfadcf049273095b3dfbcef6fdd25a51ad8d2e17382
|
||||||
|
@ -1,70 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
inherit mate
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Engrampa archive manager for MATE"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="caja magic packagekit"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=dev-libs/glib-2.32.0:2
|
|
||||||
>=dev-libs/json-glib-0.14:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/pango:0
|
|
||||||
virtual/libintl:0
|
|
||||||
caja? ( >=mate-base/caja-1.17.1 )
|
|
||||||
>=x11-libs/gtk+-3.14:3[X]
|
|
||||||
magic? ( sys-apps/file )
|
|
||||||
packagekit? ( app-admin/packagekit-base )
|
|
||||||
!!app-arch/mate-file-archiver"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/yelp-tools
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
sys-devel/gettext:*
|
|
||||||
virtual/pkgconfig:*"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
mate_src_configure \
|
|
||||||
--disable-run-in-place \
|
|
||||||
$(use_enable caja caja-actions) \
|
|
||||||
$(use_enable magic) \
|
|
||||||
$(use_enable packagekit)
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
mate_pkg_postinst
|
|
||||||
|
|
||||||
elog ""
|
|
||||||
elog "${PN} is a frontend for several archiving utilities. If you want a"
|
|
||||||
elog "particular achive format supported install the relevant package."
|
|
||||||
elog
|
|
||||||
elog "For example:"
|
|
||||||
elog " 7-zip : emerge app-arch/p7zip"
|
|
||||||
elog " ace : emerge app-arch/unace"
|
|
||||||
elog " arj : emerge app-arch/arj"
|
|
||||||
elog " cpio : emerge app-arch/cpio"
|
|
||||||
elog " deb : emerge app-arch/dpkg"
|
|
||||||
elog " iso : emerge app-cdr/cdrtools"
|
|
||||||
elog " jar,zip : emerge app-arch/zip or emerge app-arch/unzip"
|
|
||||||
elog " lha : emerge app-arch/lha"
|
|
||||||
elog " lzma : emerge app-arch/xz-utils"
|
|
||||||
elog " lzop : emerge app-arch/lzop"
|
|
||||||
elog " rar : emerge app-arch/unrar"
|
|
||||||
elog " rpm : emerge app-arch/rpm"
|
|
||||||
elog " unstuff : emerge app-arch/stuffit"
|
|
||||||
elog " zoo : emerge app-arch/zoo"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052
|
DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052
|
||||||
|
DIST acme.sh-2.8.0.tar.gz 127638 BLAKE2B b5ef10c40da4b77c7f1f3175b7cac0cc19bff135959416a97b3e8443cf13bb92d9e0b86837fd3834351412a19f25e92a4ffa146815c146f2e91cd94bcbc655a8 SHA512 99f86866f7bd1426e9a8b31dd09206685ad4aa01a3d723d366681aae4ea2087f9437496e0b3da947766931493c9d94305da1906eadc7005373327342ca94ce23
|
||||||
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PN="${PN/-/.}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="An ACME Shell script"
|
||||||
|
HOMEPAGE="https://github.com/Neilpang/acme.sh"
|
||||||
|
SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="net-misc/curl
|
||||||
|
|| ( dev-libs/libressl dev-libs/openssl:0 )
|
||||||
|
|| ( net-analyzer/netcat net-analyzer/openbsd-netcat )
|
||||||
|
|| ( net-misc/socat www-servers/apache:2 www-servers/nginx )
|
||||||
|
virtual/cron"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einstalldocs
|
||||||
|
newdoc dnsapi/README.md README-dnsapi.md
|
||||||
|
newdoc deploy/README.md README-deploy.md
|
||||||
|
|
||||||
|
keepdir /etc/acme-sh
|
||||||
|
doenvd "${FILESDIR}"/99acme-sh
|
||||||
|
insinto /etc/bash/bashrc.d
|
||||||
|
doins "${FILESDIR}"/acme.sh
|
||||||
|
|
||||||
|
exeinto /usr/share/acme.sh
|
||||||
|
doexe acme.sh
|
||||||
|
insinto /usr/share/acme.sh/dnsapi
|
||||||
|
doins -r dnsapi/*.sh
|
||||||
|
insinto /usr/share/acme.sh/deploy
|
||||||
|
doins -r deploy/*.sh
|
||||||
|
|
||||||
|
dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST pluma-1.18.3.tar.xz 3355188 BLAKE2B d53f381aa9c74cad0df82ccc73aaab9f87347cb8e3886471a2531bdd4d49a84ee97a50f2333b2e375f9bc2a634c25dc69b36659dcb589ace716e523a9d0b4544 SHA512 62ad57a8d7626e34c15610e121869ee9b06a2498acb40ec0a60839ca0273d146bd59682d352c3e98d892460c444c5442d32673c2f63897bb8c3e9e595e771dc1
|
|
||||||
DIST pluma-1.22.0.tar.xz 3235612 BLAKE2B a0cda23a6ee73e562cb32c3f1430590042248b6a6e7cbf021103db507450b2a594506f3d8283eeed08e2ba5006ff51376eb6db5e94ea5ac9d5707b29e0efc2c4 SHA512 7c74c2ce0a89ec3813c936449d3114957e7b319433875ef567ecc508a28a1d3ddc3d0da418b2eb1278b6dc9dbaa3c75a279524f5a061b5aecb52955edcf28f51
|
DIST pluma-1.22.0.tar.xz 3235612 BLAKE2B a0cda23a6ee73e562cb32c3f1430590042248b6a6e7cbf021103db507450b2a594506f3d8283eeed08e2ba5006ff51376eb6db5e94ea5ac9d5707b29e0efc2c4 SHA512 7c74c2ce0a89ec3813c936449d3114957e7b319433875ef567ecc508a28a1d3ddc3d0da418b2eb1278b6dc9dbaa3c75a279524f5a061b5aecb52955edcf28f51
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit mate multilib python-single-r1 virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Pluma text editor for the MATE desktop"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="+introspection spell"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
|
|
||||||
# https://github.com/mate-desktop/mate-text-editor/issues/33
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
COMMON_DEPEND="dev-libs/atk:0
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/libpeas-1.2.0[gtk]
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
x11-libs/cairo:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
>=x11-libs/gtk+-3.14.0:3[introspection?]
|
|
||||||
>=x11-libs/gtksourceview-3.0.0:3.0
|
|
||||||
x11-libs/libICE:0
|
|
||||||
x11-libs/libX11:0
|
|
||||||
>=x11-libs/libSM-1.0
|
|
||||||
x11-libs/pango:0
|
|
||||||
virtual/libintl:0
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
|
|
||||||
spell? (
|
|
||||||
>=app-text/enchant-1.2:0
|
|
||||||
>=app-text/iso-codes-0.35:0
|
|
||||||
)
|
|
||||||
!!app-editors/mate-text-editor"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
>=mate-base/mate-desktop-1.9[introspection?]"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
~app-text/docbook-xml-dtd-4.1.2
|
|
||||||
app-text/rarian:0
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
app-text/yelp-tools:0
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
>=sys-devel/libtool-2.2.6:2
|
|
||||||
>=sys-devel/gettext-0.17:*
|
|
||||||
virtual/pkgconfig:*"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
mate_src_configure \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable spell)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# FIXME: This should be handled at eclass level.
|
|
||||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
|
||||||
|
|
||||||
unset DBUS_SESSION_BUS_ADDRESS
|
|
||||||
|
|
||||||
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST portage-utils-0.62.tar.xz 527216 BLAKE2B ac8331b74998ddb86db55a937992447bccf60611cc259ceb5fe79918c1a43b6dc4633e4ad64462e2df5c39e8d8aa193bd57ab24dcd714e088357eb3cb177e972 SHA512 71b2888cef1bf7549c3829cc7d4bbe2e99a711434bae4fb78c55b9c37815b61623518f19ab87db30f533d771398933c085640dc7c8ffcedf87a70ac702a52fa1
|
DIST portage-utils-0.62.tar.xz 527216 BLAKE2B ac8331b74998ddb86db55a937992447bccf60611cc259ceb5fe79918c1a43b6dc4633e4ad64462e2df5c39e8d8aa193bd57ab24dcd714e088357eb3cb177e972 SHA512 71b2888cef1bf7549c3829cc7d4bbe2e99a711434bae4fb78c55b9c37815b61623518f19ab87db30f533d771398933c085640dc7c8ffcedf87a70ac702a52fa1
|
||||||
DIST portage-utils-0.64.tar.xz 533124 BLAKE2B c3e0ecdc2d82af197dabb8434677d4c3bfbbee01c482c496d89d2f7be988ef894e0b3c7cb64337216144644a48ee3213fc1683ae6d75091e471189a4550b8c71 SHA512 e384b88454607aa9123ac3a71d55fb16de475ba59f4ba6efd236594f42140e75650696430138cdb6e1c4e1792db091bbc1db42b1c1102fd579af6514ecefffb7
|
|
||||||
DIST portage-utils-0.73.tar.xz 1585564 BLAKE2B b743f459770ebceaa86cc47b0a9d0172ee495bbe2930cd57c2909d3ac2d7c1672447e84240245e1b98922004f4f34418d75b39c7e1550a34a07b964b7ecbcc8d SHA512 d35af62e3b6551c5224a3afb89ebf2e08cf42de266389c3423782c19fcfe8934433a4554ea5ed629de495a66371f0220c479fa84f24d68655211b8538e18d105
|
DIST portage-utils-0.73.tar.xz 1585564 BLAKE2B b743f459770ebceaa86cc47b0a9d0172ee495bbe2930cd57c2909d3ac2d7c1672447e84240245e1b98922004f4f34418d75b39c7e1550a34a07b964b7ecbcc8d SHA512 d35af62e3b6551c5224a3afb89ebf2e08cf42de266389c3423782c19fcfe8934433a4554ea5ed629de495a66371f0220c479fa84f24d68655211b8538e18d105
|
||||||
DIST portage-utils-0.74.tar.xz 1587792 BLAKE2B 7c4588e3d44266a5260df42cc685aa03c584248e9970956033e4191a7a842a4b2162110ac99c2bb18645aaafc6ae6ee960e9b26ba0a8863497911eef1e943f64 SHA512 cd3f44c135b3d44e15a95eed41281fce62f225a9d05d5d5bb1be230b2d59cdb87755f011b313a9ec32e4cafdf3b3979c4ef423365edd7dcc472ca2e38c09c83e
|
DIST portage-utils-0.74.tar.xz 1587792 BLAKE2B 7c4588e3d44266a5260df42cc685aa03c584248e9970956033e4191a7a842a4b2162110ac99c2bb18645aaafc6ae6ee960e9b26ba0a8863497911eef1e943f64 SHA512 cd3f44c135b3d44e15a95eed41281fce62f225a9d05d5d5bb1be230b2d59cdb87755f011b313a9ec32e4cafdf3b3979c4ef423365edd7dcc472ca2e38c09c83e
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="small and fast portage helper tools written in C"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
|
||||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="nls static"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/iniparser:0"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
static? ( dev-libs/iniparser:0[static-libs] )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# bug #638970, caused by gemato writing Manifest.gz files in
|
|
||||||
# metadata/md5-cache dir, unlike hashgen
|
|
||||||
sed -i -e '/find [.] -mindepth/s/-type f/-type f ! -name "Manifest.*"/' \
|
|
||||||
tests/atom_explode/dotest || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
|
||||||
if use prefix || ! use kernel_linux || \
|
|
||||||
has_version '<sys-libs/glibc-2.10'
|
|
||||||
then
|
|
||||||
econf --with-eprefix="${EPREFIX}"
|
|
||||||
else
|
|
||||||
tc-export CC
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake NLS=$(usex nls) STATIC=$(usex static)
|
|
||||||
}
|
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Small and fast Portage helper tools written in C"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="nls static"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3 autotools
|
||||||
|
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.xz
|
||||||
|
https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/iniparser:0"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
static? ( dev-libs/iniparser:0[static-libs] )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
[[ ${PV} == *9999 ]] && eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --with-eprefix="${EPREFIX}"
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST atril-1.18.3.tar.xz 1695960 BLAKE2B 2479ddd46104153631d34070054e9ba72956468c7b720aa5dc3c4a458a00cc00484cdfefb01981f2e8beeb7a13f1fc3db940dcc9a728863a1378b5b896e71e57 SHA512 d57cf4386651cb871455b003482e896a2735fb023e0b11f192ed1d169e364306f9ba55ef163df02ffd236b5f86d6afe2c1068d00d3fbc309807ded729ce2355a
|
|
||||||
DIST atril-1.22.0.tar.xz 1819580 BLAKE2B 6d5ae9e42407c5c7ae716c0650eda2085bc2206f442dbbb04dbf549263cdabe6d28761deb14bb9557534f26828882cf5b9373698b5e2c29f4b70445ebfabaa5b SHA512 bf940178647c348fd78e828bcb3a55c4ff6195d4020bf198ae5ba4a96e2fe582f7e30fb9d4cde4143e82ae783358373d3a9fd68413295586da9fe1b374e2f034
|
DIST atril-1.22.0.tar.xz 1819580 BLAKE2B 6d5ae9e42407c5c7ae716c0650eda2085bc2206f442dbbb04dbf549263cdabe6d28761deb14bb9557534f26828882cf5b9373698b5e2c29f4b70445ebfabaa5b SHA512 bf940178647c348fd78e828bcb3a55c4ff6195d4020bf198ae5ba4a96e2fe582f7e30fb9d4cde4143e82ae783358373d3a9fd68413295586da9fe1b374e2f034
|
||||||
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
inherit mate
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Atril document viewer for MATE"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring +postscript t1lib tiff xps"
|
|
||||||
|
|
||||||
REQUIRED_USE="t1lib? ( dvi )"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-text/poppler-0.22[cairo]
|
|
||||||
dev-libs/atk:0
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
sys-libs/zlib:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
>=x11-libs/gtk+-3.14:3[introspection?]
|
|
||||||
x11-libs/libICE:0
|
|
||||||
>=x11-libs/libSM-1:0
|
|
||||||
x11-libs/libX11:0
|
|
||||||
>=x11-libs/cairo-1.9.10:0
|
|
||||||
x11-libs/pango:0
|
|
||||||
caja? ( >=mate-base/caja-1.17.1[introspection?] )
|
|
||||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base:0
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
|
||||||
)
|
|
||||||
epub? (
|
|
||||||
dev-libs/mathjax
|
|
||||||
>=net-libs/webkit-gtk-2.4.3:4
|
|
||||||
)
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5:0 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:0 )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.1:0 )
|
|
||||||
!!app-text/mate-document-viewer"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
app-text/rarian:0
|
|
||||||
app-text/yelp-tools:0
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
virtual/pkgconfig:*
|
|
||||||
sys-devel/gettext:*"
|
|
||||||
|
|
||||||
# Tests use dogtail which is not available on Gentoo.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
|
||||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
|
||||||
mate_src_configure \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-pixbuf \
|
|
||||||
--enable-previewer \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable caja) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable epub) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps)
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
DIST blogc-0.15.1.tar.xz 335708 BLAKE2B b8249c619a2d594895e02855cdae24e715393d4ff60d6eda4ed53c629c567e545ea78fca545a99e4bfa0f54545d8694f1ed40c001b7d1701963cf7a692351b21 SHA512 d22c67db483176d4cf873f0a4d2fd10a1413cee976e12fd49b3e35aa5edf80888dd7470e3523a08c45cf7fe700f578d9a0acc65863fd56776f91b30a13919573
|
DIST blogc-0.16.0.tar.xz 336748 BLAKE2B 74de0bf35842abb84349a4026f25504df8da244ca9b8e5a5ccbf461dee95b06d0fe628245e8f5fc31a95ea988e8a144e757c910a75961b56f3d56bc0e0ac6b17 SHA512 e3338387dfa31bbffd46ab40097d2eae958e9afd161b60bf5e8476574637d4bedca58ca3c522c6e3498c8a2176187eb0487a88acba8f5188f16805b14453ff8e
|
||||||
|
@ -1 +0,0 @@
|
|||||||
DIST rfc-3.2.3.tar.gz 10469 BLAKE2B 8158a707c216a88b0ed41b60146f1ef53bdd060ed88cef18e38c9fe69c638fec38df1c83d4bce281d85446f11e2035086c7d2f19b8bd60c8fa4349f0e9f35bfa SHA512 b16ff2ee0c7a1213369dd4d5d1033c6daf95f283b170ffc46c02b65cd125d4bf2b5dd8b25e8b6a9153330f8fc624454589ecb6d77f2d47e9e34ae18ccbdaf095
|
|
@ -1,17 +0,0 @@
|
|||||||
--- a/rfc-3.2.3/rfc-3.2.3
|
|
||||||
+++ b/rfc-3.2.3/rfc-3.2.3
|
|
||||||
@@ -103,11 +103,12 @@
|
|
||||||
."It may be desirable to change the\n\$indexpath to a location you can write to.";
|
|
||||||
close (INDEXPATH);
|
|
||||||
$indexlength=numlines($indexpath);
|
|
||||||
- print "Modem users one moment, it's about 400k \(doesn't need to be updated often\)\n";
|
|
||||||
+ print "Modem users one moment, it's about 1024k \(doesn't need to be updated often\)\n";
|
|
||||||
print "original lines \t= $indexlength\t$indexpath\n";
|
|
||||||
#system ("$viewer -dump http://www.faqs.org/rfc/rfc-index.txt > $indexpath");
|
|
||||||
#system ("$viewer -dump http://www.dewn.com/rfc/rfc-index.txt > $indexpath");
|
|
||||||
- system ("$viewer -dump http://ftp.isi.edu/in-notes/rfc-index.txt > $indexpath");
|
|
||||||
+ #system ("$viewer -dump http://ftp.isi.edu/in-notes/rfc-index.txt > $indexpath");
|
|
||||||
+ system ("$viewer -dump http://www.ietf.org/rfc/rfc-index.txt > $indexpath");
|
|
||||||
$indexlength=numlines($indexpath); print "new lines \t= $indexlength\t$indexpath\n";
|
|
||||||
exit }
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
--- a/rfc-3.2.3/rfc-3.2.3
|
|
||||||
+++ b/rfc-3.2.3/rfc-3.2.3
|
|
||||||
@@ -36,8 +36,8 @@
|
|
||||||
|
|
||||||
# These make it avail for all users if you can't
|
|
||||||
# run it as root. (full path, not ~/ )
|
|
||||||
-$indexpath="/usr/local/etc/rfc-index";
|
|
||||||
-$servpath="/usr/local/etc/nmap-services";
|
|
||||||
+$indexpath="@GENTOO_PORTAGE_EPREFIX@/var/cache/rfc/rfc-index";
|
|
||||||
+$servpath="@GENTOO_PORTAGE_EPREFIX@/etc/nmap-services";
|
|
||||||
|
|
||||||
####################################
|
|
||||||
## add as many urls as you please ##
|
|
||||||
@@ -46,7 +46,7 @@
|
|
||||||
!http://www.faqs.org/rfcs/
|
|
||||||
http://www.isi.edu/in-notes/
|
|
||||||
http://www.cis.ohio-state.edu/htbin/rfc/
|
|
||||||
- /local/path/to/rfcs/); #MAKE SURE you have the trailing slashes
|
|
||||||
+ @GENTOO_PORTAGE_EPREFIX@/var/cache/rfc/rfcs/); #MAKE SURE you have the trailing slashes
|
|
||||||
# URLs beginning with an ! are treated as HTML and not text
|
|
||||||
|
|
||||||
#######################
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
</pkgmetadata>
|
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit eutils prefix
|
|
||||||
|
|
||||||
MY_PN="rfc"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
DESCRIPTION="return all related RFCs based upon a number or a search string"
|
|
||||||
HOMEPAGE="http://www.dewn.com/rfc/"
|
|
||||||
SRC_URI="http://www.dewn.com/rfc/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="freedist"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-lang/perl
|
|
||||||
|| ( www-client/lynx virtual/w3m )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${MY_P}-paths.patch \
|
|
||||||
"${FILESDIR}"/${MY_P}-index.patch
|
|
||||||
eprefixify ${MY_P}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
newbin ${MY_P} ${MY_PN}
|
|
||||||
doman ${MY_PN}.1
|
|
||||||
dodoc CHANGELOG KNOWN_BUGS README
|
|
||||||
keepdir /var/cache/rfc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Gaarde suggests you make a cron.monthly to run the following:"
|
|
||||||
elog " ${EPREFIX}/usr/bin/rfc -i"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
rm -f "${EROOT}"/var/cache/rfc/*
|
|
||||||
}
|
|
Binary file not shown.
@ -1,5 +1,6 @@
|
|||||||
DIST mongodb-src-r3.4.16.tar.gz 40093657 BLAKE2B 7123444dbdd0b2ad3adfb3391e0177d33c1b6c6a4ea83027821c564faad047a736e52926bc15c58bef59c18282436e913fd3bc9963705e030da01356f83ea367 SHA512 e22eb1fe2a832fed8305200614988c5ecfd619cee44fe2263bffa151732c0e26584084e64065dbc65152be6e5c1767a538193770359bea92f3703c72239075db
|
DIST mongodb-src-r3.4.16.tar.gz 40093657 BLAKE2B 7123444dbdd0b2ad3adfb3391e0177d33c1b6c6a4ea83027821c564faad047a736e52926bc15c58bef59c18282436e913fd3bc9963705e030da01356f83ea367 SHA512 e22eb1fe2a832fed8305200614988c5ecfd619cee44fe2263bffa151732c0e26584084e64065dbc65152be6e5c1767a538193770359bea92f3703c72239075db
|
||||||
DIST mongodb-src-r3.6.10.tar.gz 40562421 BLAKE2B c4fbb9e9586350503df84b344e5c0e05176e681f50a0e96551f157c81c85b71e45c235f0788c1886aa5b6b79fa452afa1a6e8de4acfbfe4c4a0ae62379599f86 SHA512 e0833885a2b1fc14d99749304bd83931a9016039fa32826f9961653601975474f37003eb40fbe8cc5b09644ea447cdc59ccf63110b527d51d4c772cfff88804f
|
|
||||||
DIST mongodb-src-r3.6.11.tar.gz 40581959 BLAKE2B 86244472ce8cff5180d8833a3415dd8a43fb5c76545034822989d5be90f45ed0ef1d43cb726be1e53241255491a7a516e6f90b1c1218ad10cf4ead4557311088 SHA512 e74af9f2f40ab0e2c20b135db3f0ce17825cfe5da912ff8edb2902226abb662a6cf87038ea57df73b06b4961ba71aa78fffd542153eb30c4ea2729d642b1091d
|
DIST mongodb-src-r3.6.11.tar.gz 40581959 BLAKE2B 86244472ce8cff5180d8833a3415dd8a43fb5c76545034822989d5be90f45ed0ef1d43cb726be1e53241255491a7a516e6f90b1c1218ad10cf4ead4557311088 SHA512 e74af9f2f40ab0e2c20b135db3f0ce17825cfe5da912ff8edb2902226abb662a6cf87038ea57df73b06b4961ba71aa78fffd542153eb30c4ea2729d642b1091d
|
||||||
|
DIST mongodb-src-r3.6.12.tar.gz 40847074 BLAKE2B 45cc0ec4858fa4c17fb86449e6feaf11df32fd55f8a642031ce9be967127d608842cdc64e0a335af67ab3942a233d905b0778782e54dfe4c5d2ad58b828745ca SHA512 173112a05234e06ef4b6c26a092b285b4d12618b3f131fc2b73bd152c11ec42db11cb003566efefce0c98df87a520d0515a3bb1982ffdb27827cd032b1bb3f68
|
||||||
DIST mongodb-src-r3.6.8.tar.gz 40428295 BLAKE2B cc02f73cfb49fb38ccabaad5a02610ce73fc41895ce944e48669e254bcbc70c8872a1bd7f8e04371fae4fcd9af2466fd8550367dd1d1da5cee50b86fc5023bf2 SHA512 c981f3269be3bafb59aa89d36c39a801fd7007b60db6c09b4616a559aaf8e50b34cabbdac2b59f23552c0a5112913fba468f7e2ed9a5f4daa3702dcffdf34999
|
DIST mongodb-src-r3.6.8.tar.gz 40428295 BLAKE2B cc02f73cfb49fb38ccabaad5a02610ce73fc41895ce944e48669e254bcbc70c8872a1bd7f8e04371fae4fcd9af2466fd8550367dd1d1da5cee50b86fc5023bf2 SHA512 c981f3269be3bafb59aa89d36c39a801fd7007b60db6c09b4616a559aaf8e50b34cabbdac2b59f23552c0a5112913fba468f7e2ed9a5f4daa3702dcffdf34999
|
||||||
DIST mongodb-src-r4.0.6.tar.gz 49511958 BLAKE2B c372bb858528cb825db4edf11db636ad71c63148b84838f64cefe886b37631482c1e22eb99dfc557c3f51706d1d2f61b893bfd301cdeb8772a2d85ad75f8f48c SHA512 72e04154cf221833522bb0c2cc99acc2a86d20e2dcbf1f8c6ff0a870edf7b2529a55b6821c664805c00c12a311ae374a276ef1e3ccea1ed84fb125bb8726906a
|
DIST mongodb-src-r4.0.6.tar.gz 49511958 BLAKE2B c372bb858528cb825db4edf11db636ad71c63148b84838f64cefe886b37631482c1e22eb99dfc557c3f51706d1d2f61b893bfd301cdeb8772a2d85ad75f8f48c SHA512 72e04154cf221833522bb0c2cc99acc2a86d20e2dcbf1f8c6ff0a870edf7b2529a55b6821c664805c00c12a311ae374a276ef1e3ccea1ed84fb125bb8726906a
|
||||||
|
DIST mongodb-src-r4.0.8.tar.gz 49841488 BLAKE2B ed7c21e92f549337335acee41bdbabcfbfd47667dcec8744b13afde72b515df81952eaadb7bce70a663116f53ec554b927e188c000dd4ab126aabd2aaa503e76 SHA512 c109fb89e17ff4b6dbc045205f72379d647abc3b5abc9cf09db139629e9a3d67dfa8611ab87d37dbe1b8ddc90cd40613b5f762dfe13104dc50fd039ac0444b4b
|
||||||
|
@ -0,0 +1,164 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
SCONS_MIN_VERSION="2.5.0"
|
||||||
|
CHECKREQS_DISK_BUILD="2400M"
|
||||||
|
CHECKREQS_DISK_USR="512M"
|
||||||
|
CHECKREQS_MEMORY="1024M"
|
||||||
|
|
||||||
|
inherit check-reqs flag-o-matic multiprocessing pax-utils python-single-r1 scons-utils systemd toolchain-funcs user
|
||||||
|
|
||||||
|
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 SSPL-1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
|
||||||
|
|
||||||
|
RDEPEND=">=app-arch/snappy-1.1.3
|
||||||
|
>=dev-cpp/yaml-cpp-0.5.3:=
|
||||||
|
>=dev-libs/boost-1.60:=[threads(+)]
|
||||||
|
>=dev-libs/libpcre-8.41[cxx]
|
||||||
|
dev-libs/snowball-stemmer
|
||||||
|
net-libs/libpcap
|
||||||
|
>=sys-libs/zlib-1.2.11:=
|
||||||
|
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||||
|
mms-agent? ( app-admin/mms-agent )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-python/cheetah[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
virtual/python-typing[${PYTHON_USEDEP}]
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
sys-libs/readline:0=
|
||||||
|
debug? ( dev-util/valgrind )
|
||||||
|
test? (
|
||||||
|
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
|
||||||
|
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||||
|
if ver_test "$REPLACING_VERSIONS" -lt 3.6; then
|
||||||
|
ewarn "To upgrade from a version earlier than the 3.6-series, you must"
|
||||||
|
ewarn "successively upgrade major releases until you have upgraded"
|
||||||
|
ewarn "to 3.6-series. Then upgrade to 4.0 series."
|
||||||
|
else
|
||||||
|
ewarn "Be sure to set featureCompatibilityVersion to 3.6 before upgrading."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup mongodb
|
||||||
|
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||||
|
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# remove bundled libs
|
||||||
|
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die
|
||||||
|
|
||||||
|
# remove compass
|
||||||
|
rm -r src/mongo/installer/compass || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||||
|
# --use-system-icu fails tests
|
||||||
|
# --use-system-tcmalloc is strongly NOT recommended:
|
||||||
|
scons_opts=(
|
||||||
|
CC="$(tc-getCC)"
|
||||||
|
CXX="$(tc-getCXX)"
|
||||||
|
|
||||||
|
--disable-warnings-as-errors
|
||||||
|
--use-system-boost
|
||||||
|
--use-system-pcre
|
||||||
|
--use-system-snappy
|
||||||
|
--use-system-stemmer
|
||||||
|
--use-system-yaml
|
||||||
|
--use-system-zlib
|
||||||
|
)
|
||||||
|
|
||||||
|
use debug && scons_opts+=( --dbg=on )
|
||||||
|
use kerberos && scons_opts+=( --use-sasl-client )
|
||||||
|
use lto && scons_opts+=( --lto=on )
|
||||||
|
use ssl && scons_opts+=( --ssl )
|
||||||
|
|
||||||
|
# respect mongoDB upstream's basic recommendations
|
||||||
|
# see bug #536688 and #526114
|
||||||
|
if ! use debug; then
|
||||||
|
filter-flags '-m*'
|
||||||
|
filter-flags '-O?'
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
escons "${scons_opts[@]}" core tools
|
||||||
|
}
|
||||||
|
|
||||||
|
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||||
|
src_test() {
|
||||||
|
"${EPYTHON}" ./buildscripts/resmoke.py --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||||
|
|
||||||
|
doman debian/mongo*.1
|
||||||
|
dodoc README docs/building.md
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||||
|
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||||
|
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||||
|
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||||
|
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
# see bug #526114
|
||||||
|
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||||
|
|
||||||
|
local x
|
||||||
|
for x in /var/{lib,log}/${PN}; do
|
||||||
|
diropts -m0750 -o mongodb -g mongodb
|
||||||
|
keepdir "${x}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||||
|
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||||
|
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||||
|
}
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST NextApp_Echo2-2.1.1.tgz 5372814 BLAKE2B 3c16154bee1f32ee06d6fa0dca4c6108a3b7cd5be9d689aaff8102815e8f63d7efc2e3a12d9e4637f5fafe98ad6df36be1d9006e0f31db9d05a11b1470b7dfce SHA512 bad6d9a6411c6a6fe24edbd88960a5e1179f65e95a26e51610eb0b601e3941dcc82b052a385c6fd429291c524bb722a081f39bf3704b7b403ad98582c8273f26
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
MY_PN="NextApp_Echo2"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Echo2 is the next-generation of the Echo Web Framework"
|
|
||||||
HOMEPAGE="http://www.nextapp.com/platform/echo2/echo/"
|
|
||||||
SRC_URI="http://download.nextapp.com/downloads/echo2/${PV}/${MY_PN}.tgz -> ${MY_P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
|
||||||
SLOT="2.1"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
COMMON_DEP="java-virtuals/servlet-api:2.4"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jdk-1.4
|
|
||||||
${COMMON_DEP}"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jre-1.4
|
|
||||||
${COMMON_DEP}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_PN}/
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
rm -rfv BinaryLibraries || die
|
|
||||||
echo "servlet.lib.jar=$(java-pkg_getjars servlet-api-2.4)" >> SourceCode/ant.properties || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd SourceCode || die
|
|
||||||
eant dist $(use_doc doc.public)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar SourceCode/dist/lib/*.jar
|
|
||||||
use doc && {
|
|
||||||
cp Documentation/api/public/*.html SourceCode/javadoc/public
|
|
||||||
java-pkg_dojavadoc SourceCode/javadoc/public
|
|
||||||
}
|
|
||||||
use source && java-pkg_dosrc SourceCode/src
|
|
||||||
dodoc ReadMe.txt || die "dodoc failed"
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>java@gentoo.org</email>
|
|
||||||
<name>Java</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc examples source"
|
|
||||||
|
|
||||||
inherit eutils versionator java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DIST_PN="Xerces-J"
|
|
||||||
SRC_PV="$(replace_all_version_separators _ )"
|
|
||||||
DESCRIPTION="The next generation of high performance, fully compliant XML parsers"
|
|
||||||
HOMEPAGE="http://xml.apache.org/xerces2-j/index.html"
|
|
||||||
SRC_URI="mirror://apache/${PN}/j/${DIST_PN}-src.${PV}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="2"
|
|
||||||
KEYWORDS="amd64 ~arm ppc64 x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# they are missing from the upstream tarball"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
COMMON_DEP="
|
|
||||||
dev-java/xml-commons-external:1.4
|
|
||||||
>=dev-java/xml-commons-resolver-1.2:0"
|
|
||||||
RDEPEND="${COMMON_DEP}
|
|
||||||
>=virtual/jre-1.4"
|
|
||||||
DEPEND="${COMMON_DEP}
|
|
||||||
>=virtual/jdk-1.4
|
|
||||||
>=dev-java/xjavac-20110814:1"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${SRC_PV}"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
|
||||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
|
||||||
|
|
||||||
EANT_ANT_TASKS="xjavac-1"
|
|
||||||
EANT_GENTOO_CLASSPATH="xml-commons-resolver,xml-commons-external-1.4"
|
|
||||||
EANT_DOC_TARGET="javadocs"
|
|
||||||
# known small bug - javadocs use custom taglets, which come as bundled jar in
|
|
||||||
# xerces-J-tools.${PV}.tar.gz. Should find the taglets source instead.
|
|
||||||
EANT_EXTRA_ARGS="-Dadditional.param="
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar build/xercesImpl.jar
|
|
||||||
|
|
||||||
dodoc README NOTICE
|
|
||||||
dohtml Readme.html
|
|
||||||
|
|
||||||
use doc && java-pkg_dojavadoc build/docs/javadocs/xerces2
|
|
||||||
use examples && java-pkg_doexamples samples
|
|
||||||
use source && java-pkg_dosrc src/org
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<project name="xjavac" default="jar">
|
|
||||||
<!-- some properties -->
|
|
||||||
<property name="src.dir" value="." />
|
|
||||||
<property name="build.dir" value="build" />
|
|
||||||
<property name="docs.dir" value="docs" />
|
|
||||||
<property name="dist.dir" value="dist" />
|
|
||||||
<property name="lib.dir" value="lib" />
|
|
||||||
<property name="jarfile" value="${dist.dir}/xjavac.jar" />
|
|
||||||
<property name="target.jdk" value="1.4" />
|
|
||||||
|
|
||||||
<!-- init -->
|
|
||||||
<target name="init">
|
|
||||||
<mkdir dir="${dist.dir}" />
|
|
||||||
<mkdir dir="${build.dir}" />
|
|
||||||
<mkdir dir="${docs.dir}" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- compile everything -->
|
|
||||||
<target name="compile" depends="init">
|
|
||||||
<mkdir dir="${build.dir}" />
|
|
||||||
<javac srcdir="${src.dir}"
|
|
||||||
destdir="${build.dir}"
|
|
||||||
classpath="${classpath}"
|
|
||||||
source="${target.jdk}"
|
|
||||||
target="${target.jdk}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- build the jar file -->
|
|
||||||
<target name="jar" depends="compile">
|
|
||||||
<jar jarfile="${jarfile}" basedir="${build.dir}" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- clean up -->
|
|
||||||
<target name="clean">
|
|
||||||
<delete dir="${build.dir}" />
|
|
||||||
<delete dir="${docs.dir}" />
|
|
||||||
<delete dir="${dist.dir}" />
|
|
||||||
</target>
|
|
||||||
</project>
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="The implementation of the javac compiler for IBM JDK 1.4 (needed for xerces-2)"
|
|
||||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
|
||||||
#Note that the tarball has xjavac-ibm-1_5.patch already applied (not in upstream)
|
|
||||||
IUSE=""
|
|
||||||
HOMEPAGE="http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tools/src/XJavac.java"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="1"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
DEPEND=">=virtual/jdk-1.4"
|
|
||||||
RDEPEND=">=virtual/jdk-1.4
|
|
||||||
>=dev-java/ant-core-1.7"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
cp "${FILESDIR}/${PN}-20041208-build.xml" ./build.xml || die "failed to cp build.xml"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
eant jar -Dclasspath=$(java-pkg_getjars ant-core)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar dist/${PN}.jar
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST zemberek-2.1.1-nolibs-src.zip 1196289 BLAKE2B c8ddc242e8f6bb63ecaff586b2a1f051ca928ab31033881dc2d76e1c9a0c2e0ac1648bbd77fa6eae6d84054b64d78495446369acd72ed97ce67cb87f4d7e305b SHA512 e97342271294504a0e9df7bbc60f68beed137311254f5cc6d7558befa106737b75b0dcb7a86033f506eda3783d98ba2788cf5da69497f18861dd8cd79bb27955
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Nur zemberek-2.1.1-nolibs-src/build.xml zemberek-2.1.1-nolibs-src_patched/build.xml
|
|
||||||
--- zemberek-2.1.1-nolibs-src/build.xml 2008-09-01 23:07:28.000000000 +0300
|
|
||||||
+++ zemberek-2.1.1-nolibs-src_patched/build.xml 2009-04-23 23:03:01.000000000 +0300
|
|
||||||
@@ -42,7 +42,7 @@
|
|
||||||
<path id="classpath.build">
|
|
||||||
<fileset dir="lib/dagitim"/>
|
|
||||||
<fileset dir="lib/gelistirme"/>
|
|
||||||
- <fileset dir="${build.cekirdek}"/>
|
|
||||||
+ <pathelement path="${build.cekirdek}"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<!-- dagitim kutuphaneleri (eger varsa) -->
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>java@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="google-code">zemberek</remote-id>
|
|
||||||
<remote-id type="github">ahmetaa/zemberek-nlp</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
JAVA_PKG_IUSE="source doc test"
|
|
||||||
|
|
||||||
inherit eutils java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Zemberek NLP library"
|
|
||||||
HOMEPAGE="https://github.com/ahmetaa/zemberek-nlp"
|
|
||||||
SRC_URI="https://${PN}.googlecode.com/files/${P}-nolibs-src.zip"
|
|
||||||
|
|
||||||
LICENSE="MPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86"
|
|
||||||
LANGS="tr tk"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${P}-nolibs-src
|
|
||||||
|
|
||||||
IUSE="l10n_tk +l10n_tr"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jre-1.5"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jdk-1.5
|
|
||||||
test?
|
|
||||||
(
|
|
||||||
dev-java/junit:4
|
|
||||||
dev-java/ant-junit4
|
|
||||||
dev-java/hamcrest-core
|
|
||||||
)
|
|
||||||
app-arch/unzip"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
use test && java-pkg_jarfrom --build-only --into lib/gelistirme junit-4 junit.jar
|
|
||||||
# Added hamcrest-core as a workaround
|
|
||||||
# Issue spotted by Markus Meier <maekke@gentoo.org>
|
|
||||||
# See https://bugs.gentoo.org/show_bug.cgi?id=253753#c3
|
|
||||||
use test && java-pkg_jarfrom --build-only --into lib/gelistirme hamcrest-core
|
|
||||||
epatch "${FILESDIR}"/${P}-classpathfix.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local anttargs langs="" jar
|
|
||||||
for jar in ${LANGS}; do
|
|
||||||
use l10n_${jar} && langs+=" ${jar}"
|
|
||||||
done
|
|
||||||
for jar in cekirdek demo ${langs}; do
|
|
||||||
anttargs="${anttargs} jar-${jar}"
|
|
||||||
done
|
|
||||||
eant ${anttargs} $(use_doc javadocs)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local sourcetrees="" langs="" jar
|
|
||||||
for jar in ${LANGS}; do
|
|
||||||
use l10n_${jar} && langs+=" ${jar}"
|
|
||||||
done
|
|
||||||
for jar in cekirdek demo ${langs}; do
|
|
||||||
java-pkg_newjar dagitim/jar/zemberek-${jar}-${PV}.jar zemberek2-${jar}.jar
|
|
||||||
sourcetrees="${sourcetrees} src/${jar}/net"
|
|
||||||
done
|
|
||||||
use source && java-pkg_dosrc ${sourcetrees}
|
|
||||||
use doc && java-pkg_dojavadoc build/java-docs/api
|
|
||||||
java-pkg_dolauncher zemberek-demo --main net.zemberek.demo.DemoMain
|
|
||||||
dodoc dokuman/lisanslar/* || die
|
|
||||||
dodoc surumler.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
ANT_TASKS="ant-junit4" eant unit-test
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,442 @@
|
|||||||
|
From 9efc93c96dd6746460cef916d307b72ba21a7fd0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mark Rousskov <mark.simulacrum@gmail.com>
|
||||||
|
Date: Sun, 3 Mar 2019 09:29:59 -0700
|
||||||
|
Subject: [PATCH 1/2] Tools built by the bootstrap compiler must be built by it
|
||||||
|
|
||||||
|
This avoids building compilers that we don't need -- most tools will work
|
||||||
|
just fine with the downloaded compiler.
|
||||||
|
---
|
||||||
|
src/bootstrap/doc.rs | 6 ++-
|
||||||
|
src/bootstrap/test.rs | 10 ++--
|
||||||
|
src/bootstrap/tool.rs | 104 +++++++++++++++++++++++++++---------------
|
||||||
|
3 files changed, 78 insertions(+), 42 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
|
||||||
|
index e0ad0422a6ce..621e3a95473e 100644
|
||||||
|
--- a/src/bootstrap/doc.rs
|
||||||
|
+++ b/src/bootstrap/doc.rs
|
||||||
|
@@ -883,7 +883,11 @@ impl Step for ErrorIndex {
|
||||||
|
builder.info(&format!("Documenting error index ({})", target));
|
||||||
|
let out = builder.doc_out(target);
|
||||||
|
t!(fs::create_dir_all(&out));
|
||||||
|
- let mut index = builder.tool_cmd(Tool::ErrorIndex);
|
||||||
|
+ let compiler = builder.compiler(2, builder.config.build);
|
||||||
|
+ let mut index = tool::ErrorIndex::command(
|
||||||
|
+ builder,
|
||||||
|
+ compiler,
|
||||||
|
+ );
|
||||||
|
index.arg("html");
|
||||||
|
index.arg(out.join("error-index.html"));
|
||||||
|
|
||||||
|
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
|
||||||
|
index 51412f79c3d0..5abf9d699784 100644
|
||||||
|
--- a/src/bootstrap/test.rs
|
||||||
|
+++ b/src/bootstrap/test.rs
|
||||||
|
@@ -414,7 +414,6 @@ impl Step for Miri {
|
||||||
|
|
||||||
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||||
|
pub struct CompiletestTest {
|
||||||
|
- stage: u32,
|
||||||
|
host: Interned<String>,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -427,16 +426,14 @@ impl Step for CompiletestTest {
|
||||||
|
|
||||||
|
fn make_run(run: RunConfig<'_>) {
|
||||||
|
run.builder.ensure(CompiletestTest {
|
||||||
|
- stage: run.builder.top_stage,
|
||||||
|
host: run.target,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Runs `cargo test` for compiletest.
|
||||||
|
fn run(self, builder: &Builder<'_>) {
|
||||||
|
- let stage = self.stage;
|
||||||
|
let host = self.host;
|
||||||
|
- let compiler = builder.compiler(stage, host);
|
||||||
|
+ let compiler = builder.compiler(0, host);
|
||||||
|
|
||||||
|
let mut cargo = tool::prepare_tool_cargo(builder,
|
||||||
|
compiler,
|
||||||
|
@@ -1426,7 +1423,10 @@ impl Step for ErrorIndex {
|
||||||
|
t!(fs::create_dir_all(&dir));
|
||||||
|
let output = dir.join("error-index.md");
|
||||||
|
|
||||||
|
- let mut tool = builder.tool_cmd(Tool::ErrorIndex);
|
||||||
|
+ let mut tool = tool::ErrorIndex::command(
|
||||||
|
+ builder,
|
||||||
|
+ builder.compiler(compiler.stage, builder.config.build),
|
||||||
|
+ );
|
||||||
|
tool.arg("markdown")
|
||||||
|
.arg(&output)
|
||||||
|
.env("CFG_BUILD", &builder.config.build)
|
||||||
|
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
|
||||||
|
index fc1a17d54667..4f2aa0b795dc 100644
|
||||||
|
--- a/src/bootstrap/tool.rs
|
||||||
|
+++ b/src/bootstrap/tool.rs
|
||||||
|
@@ -250,9 +250,9 @@ pub fn prepare_tool_cargo(
|
||||||
|
cargo
|
||||||
|
}
|
||||||
|
|
||||||
|
-macro_rules! tool {
|
||||||
|
+macro_rules! bootstrap_tool {
|
||||||
|
($(
|
||||||
|
- $name:ident, $path:expr, $tool_name:expr, $mode:expr
|
||||||
|
+ $name:ident, $path:expr, $tool_name:expr
|
||||||
|
$(,llvm_tools = $llvm:expr)*
|
||||||
|
$(,is_external_tool = $external:expr)*
|
||||||
|
;
|
||||||
|
@@ -266,10 +266,7 @@ macro_rules! tool {
|
||||||
|
|
||||||
|
impl Tool {
|
||||||
|
pub fn get_mode(&self) -> Mode {
|
||||||
|
- let mode = match self {
|
||||||
|
- $(Tool::$name => $mode,)+
|
||||||
|
- };
|
||||||
|
- mode
|
||||||
|
+ Mode::ToolBootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Whether this tool requires LLVM to run
|
||||||
|
@@ -282,27 +279,15 @@ macro_rules! tool {
|
||||||
|
|
||||||
|
impl<'a> Builder<'a> {
|
||||||
|
pub fn tool_exe(&self, tool: Tool) -> PathBuf {
|
||||||
|
- let stage = self.tool_default_stage(tool);
|
||||||
|
match tool {
|
||||||
|
$(Tool::$name =>
|
||||||
|
self.ensure($name {
|
||||||
|
- compiler: self.compiler(stage, self.config.build),
|
||||||
|
+ compiler: self.compiler(0, self.config.build),
|
||||||
|
target: self.config.build,
|
||||||
|
}),
|
||||||
|
)+
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-
|
||||||
|
- pub fn tool_default_stage(&self, tool: Tool) -> u32 {
|
||||||
|
- // Compile the error-index in the same stage as rustdoc to avoid
|
||||||
|
- // recompiling rustdoc twice if we can. Otherwise compile
|
||||||
|
- // everything else in stage0 as there's no need to rebootstrap
|
||||||
|
- // everything.
|
||||||
|
- match tool {
|
||||||
|
- Tool::ErrorIndex if self.top_stage >= 2 => self.top_stage,
|
||||||
|
- _ => 0,
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
}
|
||||||
|
|
||||||
|
$(
|
||||||
|
@@ -321,7 +306,8 @@ macro_rules! tool {
|
||||||
|
|
||||||
|
fn make_run(run: RunConfig<'_>) {
|
||||||
|
run.builder.ensure($name {
|
||||||
|
- compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
|
||||||
|
+ // snapshot compiler
|
||||||
|
+ compiler: run.builder.compiler(0, run.builder.config.build),
|
||||||
|
target: run.target,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
@@ -331,7 +317,7 @@ macro_rules! tool {
|
||||||
|
compiler: self.compiler,
|
||||||
|
target: self.target,
|
||||||
|
tool: $tool_name,
|
||||||
|
- mode: $mode,
|
||||||
|
+ mode: Mode::ToolBootstrap,
|
||||||
|
path: $path,
|
||||||
|
is_optional_tool: false,
|
||||||
|
source_type: if false $(|| $external)* {
|
||||||
|
@@ -347,21 +333,67 @@ macro_rules! tool {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-tool!(
|
||||||
|
- Rustbook, "src/tools/rustbook", "rustbook", Mode::ToolBootstrap;
|
||||||
|
- ErrorIndex, "src/tools/error_index_generator", "error_index_generator", Mode::ToolRustc;
|
||||||
|
- UnstableBookGen, "src/tools/unstable-book-gen", "unstable-book-gen", Mode::ToolBootstrap;
|
||||||
|
- Tidy, "src/tools/tidy", "tidy", Mode::ToolBootstrap;
|
||||||
|
- Linkchecker, "src/tools/linkchecker", "linkchecker", Mode::ToolBootstrap;
|
||||||
|
- CargoTest, "src/tools/cargotest", "cargotest", Mode::ToolBootstrap;
|
||||||
|
- Compiletest, "src/tools/compiletest", "compiletest", Mode::ToolBootstrap, llvm_tools = true;
|
||||||
|
- BuildManifest, "src/tools/build-manifest", "build-manifest", Mode::ToolBootstrap;
|
||||||
|
- RemoteTestClient, "src/tools/remote-test-client", "remote-test-client", Mode::ToolBootstrap;
|
||||||
|
- RustInstaller, "src/tools/rust-installer", "fabricate", Mode::ToolBootstrap,
|
||||||
|
- is_external_tool = true;
|
||||||
|
- RustdocTheme, "src/tools/rustdoc-themes", "rustdoc-themes", Mode::ToolBootstrap;
|
||||||
|
+bootstrap_tool!(
|
||||||
|
+ Rustbook, "src/tools/rustbook", "rustbook";
|
||||||
|
+ UnstableBookGen, "src/tools/unstable-book-gen", "unstable-book-gen";
|
||||||
|
+ Tidy, "src/tools/tidy", "tidy";
|
||||||
|
+ Linkchecker, "src/tools/linkchecker", "linkchecker";
|
||||||
|
+ CargoTest, "src/tools/cargotest", "cargotest";
|
||||||
|
+ Compiletest, "src/tools/compiletest", "compiletest", llvm_tools = true;
|
||||||
|
+ BuildManifest, "src/tools/build-manifest", "build-manifest";
|
||||||
|
+ RemoteTestClient, "src/tools/remote-test-client", "remote-test-client";
|
||||||
|
+ RustInstaller, "src/tools/rust-installer", "fabricate", is_external_tool = true;
|
||||||
|
+ RustdocTheme, "src/tools/rustdoc-themes", "rustdoc-themes";
|
||||||
|
);
|
||||||
|
|
||||||
|
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
||||||
|
+pub struct ErrorIndex {
|
||||||
|
+ pub compiler: Compiler,
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+impl ErrorIndex {
|
||||||
|
+ pub fn command(builder: &Builder<'_>, compiler: Compiler) -> Command {
|
||||||
|
+ let mut cmd = Command::new(builder.ensure(ErrorIndex {
|
||||||
|
+ compiler
|
||||||
|
+ }));
|
||||||
|
+ add_lib_path(
|
||||||
|
+ vec![PathBuf::from(&builder.sysroot_libdir(compiler, compiler.host))],
|
||||||
|
+ &mut cmd,
|
||||||
|
+ );
|
||||||
|
+ cmd
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+impl Step for ErrorIndex {
|
||||||
|
+ type Output = PathBuf;
|
||||||
|
+
|
||||||
|
+ fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
||||||
|
+ run.path("src/tools/error_index_generator")
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ fn make_run(run: RunConfig<'_>) {
|
||||||
|
+ // Compile the error-index in the same stage as rustdoc to avoid
|
||||||
|
+ // recompiling rustdoc twice if we can.
|
||||||
|
+ let stage = if run.builder.top_stage >= 2 { run.builder.top_stage } else { 0 };
|
||||||
|
+ run.builder.ensure(ErrorIndex {
|
||||||
|
+ compiler: run.builder.compiler(stage, run.builder.config.build),
|
||||||
|
+ });
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ fn run(self, builder: &Builder<'_>) -> PathBuf {
|
||||||
|
+ builder.ensure(ToolBuild {
|
||||||
|
+ compiler: self.compiler,
|
||||||
|
+ target: self.compiler.host,
|
||||||
|
+ tool: "error_index_generator",
|
||||||
|
+ mode: Mode::ToolRustc,
|
||||||
|
+ path: "src/tools/error_index_generator",
|
||||||
|
+ is_optional_tool: false,
|
||||||
|
+ source_type: SourceType::InTree,
|
||||||
|
+ extra_features: Vec::new(),
|
||||||
|
+ }).expect("expected to build -- essential tool")
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
||||||
|
pub struct RemoteTestServer {
|
||||||
|
pub compiler: Compiler,
|
||||||
|
@@ -625,7 +657,7 @@ impl<'a> Builder<'a> {
|
||||||
|
/// `host`.
|
||||||
|
pub fn tool_cmd(&self, tool: Tool) -> Command {
|
||||||
|
let mut cmd = Command::new(self.tool_exe(tool));
|
||||||
|
- let compiler = self.compiler(self.tool_default_stage(tool), self.config.build);
|
||||||
|
+ let compiler = self.compiler(0, self.config.build);
|
||||||
|
self.prepare_tool_cmd(compiler, tool, &mut cmd);
|
||||||
|
cmd
|
||||||
|
}
|
||||||
|
@@ -637,7 +669,7 @@ impl<'a> Builder<'a> {
|
||||||
|
fn prepare_tool_cmd(&self, compiler: Compiler, tool: Tool, cmd: &mut Command) {
|
||||||
|
let host = &compiler.host;
|
||||||
|
let mut lib_paths: Vec<PathBuf> = vec![
|
||||||
|
- if compiler.stage == 0 && tool != Tool::ErrorIndex {
|
||||||
|
+ if compiler.stage == 0 {
|
||||||
|
self.build.rustc_snapshot_libdir()
|
||||||
|
} else {
|
||||||
|
PathBuf::from(&self.sysroot_libdir(compiler, compiler.host))
|
||||||
|
|
||||||
|
From 03718ed67a7b8fd57fc27316ec57ac3bc0f13d06 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mark Rousskov <mark.simulacrum@gmail.com>
|
||||||
|
Date: Sun, 3 Mar 2019 09:50:56 -0700
|
||||||
|
Subject: [PATCH 2/2] Permit getting stage 0 rustdoc
|
||||||
|
|
||||||
|
This allows us to e.g. test compiletest, including doctests, in stage 0
|
||||||
|
without building a fresh compiler and rustdoc.
|
||||||
|
---
|
||||||
|
src/bootstrap/builder.rs | 15 +++++++--------
|
||||||
|
src/bootstrap/dist.rs | 2 +-
|
||||||
|
src/bootstrap/doc.rs | 8 ++++----
|
||||||
|
src/bootstrap/test.rs | 8 ++++----
|
||||||
|
src/bootstrap/tool.rs | 8 +++++---
|
||||||
|
5 files changed, 21 insertions(+), 20 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
|
||||||
|
index 7e6c0a9f52aa..f8b7f25a7543 100644
|
||||||
|
--- a/src/bootstrap/builder.rs
|
||||||
|
+++ b/src/bootstrap/builder.rs
|
||||||
|
@@ -668,20 +668,19 @@ impl<'a> Builder<'a> {
|
||||||
|
.map(|entry| entry.path())
|
||||||
|
}
|
||||||
|
|
||||||
|
- pub fn rustdoc(&self, host: Interned<String>) -> PathBuf {
|
||||||
|
- self.ensure(tool::Rustdoc { host })
|
||||||
|
+ pub fn rustdoc(&self, compiler: Compiler) -> PathBuf {
|
||||||
|
+ self.ensure(tool::Rustdoc { compiler })
|
||||||
|
}
|
||||||
|
|
||||||
|
- pub fn rustdoc_cmd(&self, host: Interned<String>) -> Command {
|
||||||
|
+ pub fn rustdoc_cmd(&self, compiler: Compiler) -> Command {
|
||||||
|
let mut cmd = Command::new(&self.out.join("bootstrap/debug/rustdoc"));
|
||||||
|
- let compiler = self.compiler(self.top_stage, host);
|
||||||
|
cmd.env("RUSTC_STAGE", compiler.stage.to_string())
|
||||||
|
.env("RUSTC_SYSROOT", self.sysroot(compiler))
|
||||||
|
// Note that this is *not* the sysroot_libdir because rustdoc must be linked
|
||||||
|
// equivalently to rustc.
|
||||||
|
.env("RUSTDOC_LIBDIR", self.rustc_libdir(compiler))
|
||||||
|
.env("CFG_RELEASE_CHANNEL", &self.config.channel)
|
||||||
|
- .env("RUSTDOC_REAL", self.rustdoc(host))
|
||||||
|
+ .env("RUSTDOC_REAL", self.rustdoc(compiler))
|
||||||
|
.env("RUSTDOC_CRATE_VERSION", self.rust_version())
|
||||||
|
.env("RUSTC_BOOTSTRAP", "1");
|
||||||
|
|
||||||
|
@@ -689,7 +688,7 @@ impl<'a> Builder<'a> {
|
||||||
|
cmd.env_remove("MAKEFLAGS");
|
||||||
|
cmd.env_remove("MFLAGS");
|
||||||
|
|
||||||
|
- if let Some(linker) = self.linker(host) {
|
||||||
|
+ if let Some(linker) = self.linker(compiler.host) {
|
||||||
|
cmd.env("RUSTC_TARGET_LINKER", linker);
|
||||||
|
}
|
||||||
|
cmd
|
||||||
|
@@ -751,7 +750,7 @@ impl<'a> Builder<'a> {
|
||||||
|
// This is the intended out directory for compiler documentation.
|
||||||
|
my_out = self.compiler_doc_out(target);
|
||||||
|
}
|
||||||
|
- let rustdoc = self.rustdoc(compiler.host);
|
||||||
|
+ let rustdoc = self.rustdoc(compiler);
|
||||||
|
self.clear_if_dirty(&my_out, &rustdoc);
|
||||||
|
} else if cmd != "test" {
|
||||||
|
match mode {
|
||||||
|
@@ -897,7 +896,7 @@ impl<'a> Builder<'a> {
|
||||||
|
.env(
|
||||||
|
"RUSTDOC_REAL",
|
||||||
|
if cmd == "doc" || cmd == "rustdoc" || (cmd == "test" && want_rustdoc) {
|
||||||
|
- self.rustdoc(compiler.host)
|
||||||
|
+ self.rustdoc(compiler)
|
||||||
|
} else {
|
||||||
|
PathBuf::from("/path/to/nowhere/rustdoc/not/required")
|
||||||
|
},
|
||||||
|
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
|
||||||
|
index 2dae3f9135d8..3045cda125ee 100644
|
||||||
|
--- a/src/bootstrap/dist.rs
|
||||||
|
+++ b/src/bootstrap/dist.rs
|
||||||
|
@@ -479,7 +479,7 @@ impl Step for Rustc {
|
||||||
|
t!(fs::create_dir_all(image.join("bin")));
|
||||||
|
builder.cp_r(&src.join("bin"), &image.join("bin"));
|
||||||
|
|
||||||
|
- builder.install(&builder.rustdoc(compiler.host), &image.join("bin"), 0o755);
|
||||||
|
+ builder.install(&builder.rustdoc(compiler), &image.join("bin"), 0o755);
|
||||||
|
|
||||||
|
// Copy runtime DLLs needed by the compiler
|
||||||
|
if libdir != "bin" {
|
||||||
|
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
|
||||||
|
index 621e3a95473e..ae329286486d 100644
|
||||||
|
--- a/src/bootstrap/doc.rs
|
||||||
|
+++ b/src/bootstrap/doc.rs
|
||||||
|
@@ -335,7 +335,7 @@ fn invoke_rustdoc(
|
||||||
|
let footer = builder.src.join("src/doc/footer.inc");
|
||||||
|
let version_info = out.join("version_info.html");
|
||||||
|
|
||||||
|
- let mut cmd = builder.rustdoc_cmd(compiler.host);
|
||||||
|
+ let mut cmd = builder.rustdoc_cmd(compiler);
|
||||||
|
|
||||||
|
let out = out.join("book");
|
||||||
|
|
||||||
|
@@ -415,7 +415,7 @@ impl Step for Standalone {
|
||||||
|
}
|
||||||
|
|
||||||
|
let html = out.join(filename).with_extension("html");
|
||||||
|
- let rustdoc = builder.rustdoc(compiler.host);
|
||||||
|
+ let rustdoc = builder.rustdoc(compiler);
|
||||||
|
if up_to_date(&path, &html) &&
|
||||||
|
up_to_date(&footer, &html) &&
|
||||||
|
up_to_date(&favicon, &html) &&
|
||||||
|
@@ -425,7 +425,7 @@ impl Step for Standalone {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
- let mut cmd = builder.rustdoc_cmd(compiler.host);
|
||||||
|
+ let mut cmd = builder.rustdoc_cmd(compiler);
|
||||||
|
cmd.arg("--html-after-content").arg(&footer)
|
||||||
|
.arg("--html-before-content").arg(&version_info)
|
||||||
|
.arg("--html-in-header").arg(&favicon)
|
||||||
|
@@ -824,7 +824,7 @@ impl Step for Rustdoc {
|
||||||
|
builder.ensure(Rustc { stage, target });
|
||||||
|
|
||||||
|
// Build rustdoc.
|
||||||
|
- builder.ensure(tool::Rustdoc { host: compiler.host });
|
||||||
|
+ builder.ensure(tool::Rustdoc { compiler: compiler });
|
||||||
|
|
||||||
|
// Symlink compiler docs to the output directory of rustdoc documentation.
|
||||||
|
let out_dir = builder.stage_out(compiler, Mode::ToolRustc)
|
||||||
|
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
|
||||||
|
index 5abf9d699784..6b9960c355c5 100644
|
||||||
|
--- a/src/bootstrap/test.rs
|
||||||
|
+++ b/src/bootstrap/test.rs
|
||||||
|
@@ -177,7 +177,7 @@ impl Step for Cargotest {
|
||||||
|
cmd.arg(&builder.initial_cargo)
|
||||||
|
.arg(&out_dir)
|
||||||
|
.env("RUSTC", builder.rustc(compiler))
|
||||||
|
- .env("RUSTDOC", builder.rustdoc(compiler.host)),
|
||||||
|
+ .env("RUSTDOC", builder.rustdoc(compiler)),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -560,7 +560,7 @@ impl Step for RustdocTheme {
|
||||||
|
builder.sysroot_libdir(self.compiler, self.compiler.host),
|
||||||
|
)
|
||||||
|
.env("CFG_RELEASE_CHANNEL", &builder.config.channel)
|
||||||
|
- .env("RUSTDOC_REAL", builder.rustdoc(self.compiler.host))
|
||||||
|
+ .env("RUSTDOC_REAL", builder.rustdoc(self.compiler))
|
||||||
|
.env("RUSTDOC_CRATE_VERSION", builder.rust_version())
|
||||||
|
.env("RUSTC_BOOTSTRAP", "1");
|
||||||
|
if let Some(linker) = builder.linker(self.compiler.host) {
|
||||||
|
@@ -995,7 +995,7 @@ impl Step for Compiletest {
|
||||||
|
|| (mode == "ui" && is_rustdoc_ui)
|
||||||
|
{
|
||||||
|
cmd.arg("--rustdoc-path")
|
||||||
|
- .arg(builder.rustdoc(compiler.host));
|
||||||
|
+ .arg(builder.rustdoc(compiler));
|
||||||
|
}
|
||||||
|
|
||||||
|
cmd.arg("--src-base")
|
||||||
|
@@ -1451,7 +1451,7 @@ fn markdown_test(builder: &Builder<'_>, compiler: Compiler, markdown: &Path) ->
|
||||||
|
}
|
||||||
|
|
||||||
|
builder.info(&format!("doc tests for: {}", markdown.display()));
|
||||||
|
- let mut cmd = builder.rustdoc_cmd(compiler.host);
|
||||||
|
+ let mut cmd = builder.rustdoc_cmd(compiler);
|
||||||
|
builder.add_rust_test_threads(&mut cmd);
|
||||||
|
cmd.arg("--test");
|
||||||
|
cmd.arg(markdown);
|
||||||
|
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
|
||||||
|
index 4f2aa0b795dc..5fb83caac06c 100644
|
||||||
|
--- a/src/bootstrap/tool.rs
|
||||||
|
+++ b/src/bootstrap/tool.rs
|
||||||
|
@@ -430,7 +430,9 @@ impl Step for RemoteTestServer {
|
||||||
|
|
||||||
|
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
||||||
|
pub struct Rustdoc {
|
||||||
|
- pub host: Interned<String>,
|
||||||
|
+ /// This should only ever be 0 or 2.
|
||||||
|
+ /// We sometimes want to reference the "bootstrap" rustdoc, which is why this option is here.
|
||||||
|
+ pub compiler: Compiler,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Step for Rustdoc {
|
||||||
|
@@ -444,12 +446,12 @@ impl Step for Rustdoc {
|
||||||
|
|
||||||
|
fn make_run(run: RunConfig<'_>) {
|
||||||
|
run.builder.ensure(Rustdoc {
|
||||||
|
- host: run.host,
|
||||||
|
+ compiler: run.builder.compiler(run.builder.top_stage, run.host),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
fn run(self, builder: &Builder<'_>) -> PathBuf {
|
||||||
|
- let target_compiler = builder.compiler(builder.top_stage, self.host);
|
||||||
|
+ let target_compiler = self.compiler;
|
||||||
|
if target_compiler.stage == 0 {
|
||||||
|
if !target_compiler.is_snapshot(builder) {
|
||||||
|
panic!("rustdoc in stage 0 must be snapshot rustdoc");
|
Binary file not shown.
@ -0,0 +1,330 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
|
||||||
|
|
||||||
|
inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
|
||||||
|
|
||||||
|
MY_P="${PN}_$(ver_rs 1- _)"
|
||||||
|
MAJOR_V="$(ver_cut 1-2)"
|
||||||
|
|
||||||
|
DESCRIPTION="Boost Libraries for C++"
|
||||||
|
HOMEPAGE="https://www.boost.org/"
|
||||||
|
SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="Boost-1.0"
|
||||||
|
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt"
|
||||||
|
IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python static-libs +threads tools zlib zstd"
|
||||||
|
REQUIRED_USE="
|
||||||
|
mpi? ( threads )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
# the tests will never fail because these are not intended as sanity
|
||||||
|
# tests at all. They are more a way for upstream to check their own code
|
||||||
|
# on new compilers. Since they would either be completely unreliable
|
||||||
|
# (failing for no good reason) or completely useless (never failing)
|
||||||
|
# there is no point in having them in the ebuild to begin with.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!app-admin/eselect-boost
|
||||||
|
bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
|
||||||
|
icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
|
||||||
|
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||||
|
lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
|
||||||
|
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
numpy? ( >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] )
|
||||||
|
)
|
||||||
|
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
|
||||||
|
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
=dev-util/boost-build-${MAJOR_V}*"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.48.0-disable_icu_rpath.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.69.0-context-x32.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.56.0-build-auto_index-tool.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
python_bindings_needed() {
|
||||||
|
multilib_is_native_abi && use python
|
||||||
|
}
|
||||||
|
|
||||||
|
tools_needed() {
|
||||||
|
multilib_is_native_abi && use tools
|
||||||
|
}
|
||||||
|
|
||||||
|
create_user-config.jam() {
|
||||||
|
local user_config_jam="${BUILD_DIR}"/user-config.jam
|
||||||
|
if [[ -s ${user_config_jam} ]]; then
|
||||||
|
einfo "${user_config_jam} already exists, skipping configuration"
|
||||||
|
return
|
||||||
|
else
|
||||||
|
einfo "Creating configuration in ${user_config_jam}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local compiler compiler_version compiler_executable="$(tc-getCXX)"
|
||||||
|
if [[ ${CHOST} == *-darwin* ]]; then
|
||||||
|
compiler="darwin"
|
||||||
|
compiler_version="$(gcc-fullversion)"
|
||||||
|
else
|
||||||
|
compiler="gcc"
|
||||||
|
compiler_version="$(gcc-version)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use mpi; then
|
||||||
|
local mpi_configuration="using mpi ;"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat > "${user_config_jam}" <<- __EOF__ || die
|
||||||
|
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||||
|
${mpi_configuration}
|
||||||
|
__EOF__
|
||||||
|
|
||||||
|
if python_bindings_needed; then
|
||||||
|
append_to_user_config() {
|
||||||
|
local py_config
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
py_config="using python : ${EPYTHON#python} : : ${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
|
||||||
|
else
|
||||||
|
py_config="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) ;"
|
||||||
|
fi
|
||||||
|
echo "${py_config}" >> "${user_config_jam}" || die
|
||||||
|
}
|
||||||
|
python_foreach_impl append_to_user_config
|
||||||
|
fi
|
||||||
|
|
||||||
|
if python_bindings_needed && use numpy; then
|
||||||
|
einfo "Enabling support for NumPy extensions in Boost.Python"
|
||||||
|
else
|
||||||
|
einfo "Disabling support for NumPy extensions in Boost.Python"
|
||||||
|
|
||||||
|
# Boost.Build does not allow for disabling of numpy
|
||||||
|
# extensions, thereby leading to automagic numpy
|
||||||
|
# https://github.com/boostorg/python/issues/111#issuecomment-280447482
|
||||||
|
sed \
|
||||||
|
-e 's/\[ unless \[ python\.numpy \] : <build>no \]/<build>no/g' \
|
||||||
|
-i "${BUILD_DIR}"/libs/python/build/Jamfile || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Bail out on unsupported build configuration, bug #456792
|
||||||
|
if [[ -f "${EROOT}/etc/site-config.jam" ]]; then
|
||||||
|
if ! grep -q 'gentoo\(debug\|release\)' "${EROOT}/etc/site-config.jam"; then
|
||||||
|
eerror "You are using custom ${EROOT}/etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||||
|
eerror "Boost can not be built in such configuration."
|
||||||
|
eerror "Please, either remove this file or add targets from ${EROOT}/usr/share/boost-build/site-config.jam to it."
|
||||||
|
die "Unsupported target in ${EROOT}/etc/site-config.jam"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Do not try to build missing 'wave' tool, bug #522682
|
||||||
|
# Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507
|
||||||
|
sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
ejam() {
|
||||||
|
create_user-config.jam
|
||||||
|
|
||||||
|
local b2_opts=( "--user-config=${BUILD_DIR}/user-config.jam" )
|
||||||
|
if python_bindings_needed; then
|
||||||
|
append_to_b2_opts() {
|
||||||
|
b2_opts+=( python="${EPYTHON#python}" )
|
||||||
|
}
|
||||||
|
python_foreach_impl append_to_b2_opts
|
||||||
|
else
|
||||||
|
b2_opts+=( --without-python )
|
||||||
|
fi
|
||||||
|
b2_opts+=( "$@" )
|
||||||
|
|
||||||
|
echo b2 "${b2_opts[@]}" >&2
|
||||||
|
b2 "${b2_opts[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Workaround for too many parallel processes requested, bug #506064
|
||||||
|
[[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||||
|
|
||||||
|
OPTIONS=(
|
||||||
|
$(usex debug gentoodebug gentoorelease)
|
||||||
|
"-j$(makeopts_jobs)"
|
||||||
|
-q
|
||||||
|
-d+2
|
||||||
|
pch=off
|
||||||
|
$(usex icu "-sICU_PATH=${EPREFIX}/usr" '--disable-icu boost.locale.icu=off')
|
||||||
|
$(usex mpi '' '--without-mpi')
|
||||||
|
$(usex nls '' '--without-locale')
|
||||||
|
$(usex context '' '--without-context --without-coroutine --without-fiber')
|
||||||
|
$(usex threads '' '--without-thread')
|
||||||
|
--boost-build="${EPREFIX}"/usr/share/boost-build
|
||||||
|
--prefix="${ED}/usr"
|
||||||
|
--layout=system
|
||||||
|
# CMake has issues working with multiple python impls,
|
||||||
|
# disable cmake config generation for the time being
|
||||||
|
# https://github.com/boostorg/python/issues/262#issuecomment-483069294
|
||||||
|
--no-cmake-config
|
||||||
|
# building with threading=single is currently not possible
|
||||||
|
# https://svn.boost.org/trac/boost/ticket/7105
|
||||||
|
threading=multi
|
||||||
|
link=$(usex static-libs shared,static shared)
|
||||||
|
# this seems to be the only way to disable compression algorithms
|
||||||
|
# https://www.boost.org/doc/libs/1_70_0/libs/iostreams/doc/installation.html#boost-build
|
||||||
|
-sNO_BZIP2=$(usex bzip2 0 1)
|
||||||
|
-sNO_LZMA=$(usex lzma 0 1)
|
||||||
|
-sNO_ZLIB=$(usex zlib 0 1)
|
||||||
|
-sNO_ZSTD=$(usex zstd 0 1)
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* ]]; then
|
||||||
|
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||||
|
# for the largest possible space allocation.
|
||||||
|
append-ldflags -Wl,-headerpad_max_install_names
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug 298489
|
||||||
|
if use ppc || use ppc64; then
|
||||||
|
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use C++14 globally as of 1.62
|
||||||
|
append-cxxflags -std=c++14
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
ejam "${OPTIONS[@]}" || die
|
||||||
|
|
||||||
|
if tools_needed; then
|
||||||
|
pushd tools >/dev/null || die
|
||||||
|
ejam \
|
||||||
|
"${OPTIONS[@]}" \
|
||||||
|
|| die "Building of Boost tools failed"
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
if ! use numpy; then
|
||||||
|
rm -r "${ED}"/usr/include/boost/python/numpy* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use python; then
|
||||||
|
rm -r "${ED}"/usr/include/boost/{python*,mpi/python*,parameter/aux_/python,parameter/python*} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use nls; then
|
||||||
|
rm -r "${ED}"/usr/include/boost/locale || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use context; then
|
||||||
|
rm -r "${ED}"/usr/include/boost/context || die
|
||||||
|
rm -r "${ED}"/usr/include/boost/coroutine{,2} || die
|
||||||
|
rm "${ED}"/usr/include/boost/asio/spawn.hpp || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
# find extraneous files that shouldn't be installed
|
||||||
|
# as part of the documentation and remove them.
|
||||||
|
find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die
|
||||||
|
find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die
|
||||||
|
find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die
|
||||||
|
|
||||||
|
docinto html
|
||||||
|
dodoc *.{htm,html,png,css}
|
||||||
|
dodoc -r doc libs more tools
|
||||||
|
|
||||||
|
# To avoid broken links
|
||||||
|
dodoc LICENSE_1_0.txt
|
||||||
|
|
||||||
|
dosym ../../../../include/boost /usr/share/doc/${PF}/html/boost
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
ejam \
|
||||||
|
"${OPTIONS[@]}" \
|
||||||
|
--includedir="${ED}/usr/include" \
|
||||||
|
--libdir="${ED}/usr/$(get_libdir)" \
|
||||||
|
install || die "Installation of Boost libraries failed"
|
||||||
|
|
||||||
|
pushd "${ED}/usr/$(get_libdir)" >/dev/null || die
|
||||||
|
|
||||||
|
local ext=$(get_libname)
|
||||||
|
if use threads; then
|
||||||
|
local f
|
||||||
|
for f in *${ext}; do
|
||||||
|
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd >/dev/null || die
|
||||||
|
|
||||||
|
if tools_needed; then
|
||||||
|
dobin dist/bin/*
|
||||||
|
|
||||||
|
insinto /usr/share
|
||||||
|
doins -r dist/share/boostbook
|
||||||
|
fi
|
||||||
|
|
||||||
|
# boost's build system truely sucks for not having a destdir. Because for
|
||||||
|
# this reason we are forced to build with a prefix that includes the
|
||||||
|
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||||
|
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||||
|
# but to do it the dirty way of manually setting the right install_names.
|
||||||
|
if [[ ${CHOST} == *-darwin* ]]; then
|
||||||
|
einfo "Working around completely broken build-system(tm)"
|
||||||
|
local d
|
||||||
|
for d in "${ED}"/usr/lib/*.dylib; do
|
||||||
|
if [[ -f ${d} ]]; then
|
||||||
|
# fix the "soname"
|
||||||
|
ebegin " correcting install_name of ${d#${ED}}"
|
||||||
|
install_name_tool -id "/${d#${D}}" "${d}"
|
||||||
|
eend $?
|
||||||
|
# fix references to other libs
|
||||||
|
refs=$(otool -XL "${d}" | \
|
||||||
|
sed -e '1d' -e 's/^\t//' | \
|
||||||
|
grep "^libboost_" | \
|
||||||
|
cut -f1 -d' ')
|
||||||
|
local r
|
||||||
|
for r in ${refs}; do
|
||||||
|
ebegin " correcting reference to ${r}"
|
||||||
|
install_name_tool -change \
|
||||||
|
"${r}" \
|
||||||
|
"${EPREFIX}/usr/lib/${r}" \
|
||||||
|
"${d}"
|
||||||
|
eend $?
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# Yai for having symlinks that are nigh-impossible to remove without
|
||||||
|
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||||
|
# from the slotted versions.
|
||||||
|
local symlink
|
||||||
|
for symlink in "${EROOT}/usr/include/boost" "${EROOT}/usr/share/boostbook"; do
|
||||||
|
if [[ -L ${symlink} ]]; then
|
||||||
|
rm -f "${symlink}" || die
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# some ancient installs still have boost cruft lying around
|
||||||
|
# for unknown reasons, causing havoc for reverse dependencies
|
||||||
|
# Bug: 607734
|
||||||
|
rm -rf "${EROOT}"/usr/include/boost-1_[3-5]? || die
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
--- a/libs/context/src/asm/jump_i386_sysv_elf_gas.S
|
||||||
|
+++ b/libs/context/src/asm/jump_i386_sysv_elf_gas.S
|
||||||
|
@@ -24,6 +24,10 @@
|
||||||
|
* *
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
+#ifdef __x86_64__
|
||||||
|
+#include "jump_x86_64_sysv_elf_gas.S"
|
||||||
|
+#else
|
||||||
|
+
|
||||||
|
.file "jump_i386_sysv_elf_gas.S"
|
||||||
|
.text
|
||||||
|
.globl jump_fcontext
|
||||||
|
@@ -81,3 +85,5 @@
|
||||||
|
|
||||||
|
/* Mark that we don't need executable stack. */
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
+
|
||||||
|
+#endif
|
||||||
|
--- a/libs/context/src/asm/make_i386_sysv_elf_gas.S
|
||||||
|
+++ b/libs/context/src/asm/make_i386_sysv_elf_gas.S
|
||||||
|
@@ -24,6 +24,10 @@
|
||||||
|
* *
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
+#ifdef __x86_64__
|
||||||
|
+#include "make_x86_64_sysv_elf_gas.S"
|
||||||
|
+#else
|
||||||
|
+
|
||||||
|
.file "make_i386_sysv_elf_gas.S"
|
||||||
|
.text
|
||||||
|
.globl make_fcontext
|
||||||
|
@@ -105,3 +109,5 @@
|
||||||
|
|
||||||
|
/* Mark that we don't need executable stack. */
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
+
|
||||||
|
+#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue