parent
1e12c39499
commit
46fd888118
Binary file not shown.
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
DIST github.com-fatih-color-5df930a27be2502f99b292b7cc09ebad4d0891f4.tar.gz 588446 BLAKE2B 0e3acbea72d4e6d14964c53a13eac4ddb4299f86045bc4751498c1e80ee997f3392b3236f1f7fa872ceef73edf0c4e87154d5cc1605d5637ae090979596f1906 SHA512 9c7a1f5d67e0c8da788624a24ec42a9a1504f497840590e50b8fe9204dde5511be00a94645c2e9326dba23a8514adffdc242192abb270021c37e231636bafc71
|
||||
DIST github.com-fsnotify-fsnotify-4da3e2cfbabc9f751898f250b49f2439785783a1.tar.gz 30624 BLAKE2B ced6ca6f115eedc954f6b583b28e470ec5dcfe0c279d55a63c00ee942acde095e9eef8fb4c3fa289f34871f43a7562fb71142d070a54398bc5d91122e64b4ad0 SHA512 cff467ffbed22edf4cde7a52e0f0d7a5b4a06446a6140ad7fa018dfcce3b400342223d888a0389042d2e6fd7abe261d0e515adc6e4c03a74e3cf074e88af17ab
|
||||
DIST github.com-go-yaml-yaml-287cf08546ab5e7e37d55a84f7ed3fd1db036de5.tar.gz 64826 BLAKE2B 47e9182124037317bdfc31137a2715db979146688e637a586f5a7c4a12250d0fcffdbbaa8793e189421d189b1071f48d8588cfda9ac1f3e297bfc244f30bcae7 SHA512 429256bb847defb53dee5c960edc726455397045e7dc2e4833e0e9088f9ec11452e2198961080dc00b8eff9d165df5e0377f4039932df0e46cd960827b8f800d
|
||||
DIST github.com-golang-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz 19688 BLAKE2B f9ff73060c3b10603472c3ea4f50b4afa6abb5a4e9e7ac43d2a6c2e62541d43ef9f0ef7a8759d9b3281d72e5f90c516ee174c91de9a640a5bdf6877700450d44 SHA512 e9e70cf2a2d74ca813d0cadc23d213a1112ca4d1167abb63d8e0929585fca90c3a5bab1f49db20095c48bf1fe03b4424353c33728d09a201334eb65770888dc5
|
||||
DIST github.com-golang-sys-b8f5ef32195cae6470b728e8ca677f0dbed1a004.tar.gz 787670 BLAKE2B 87927d110e2aceec2b1745aa8b8d28bf2b38cc6fc679a72b7336e7f59bc07dba90e008228096e3e56798e76056804782893b1902bb508b21149a21346f150263 SHA512 ffbeab6ba7a9ce8ac192c3b1b560e7886ff3248d056e92334bdf180a506cdf8fde52b6446622a3076eded808cd2564774d430f82c62664509da90b7a3d5f9983
|
||||
DIST github.com-golang-text-3b24cac7bc3a458991ab409aa2a339ac9e0d60d6.tar.gz 5693588 BLAKE2B fe989eaa037c382168f4c580317858fb842a3f12b66868cf2983314146b546088a850dceb9b22a52239468c41988f637196bc0e4d117e8f21a4d0cdd2fecaef1 SHA512 17ac801e5a35b0fd5c8c650846778803da1e25cc970136c943d251a89cfacf611fbcdce0527ca2730c6291891738333b29ec9b5339ecb4a18069ea3c6e44b106
|
||||
DIST github.com-hashicorp-hcl-23c074d0eceb2b8a5bfdbb271ab780cde70f05a8.tar.gz 69787 BLAKE2B e1d034d5863ae8bca85736e971e613e6821665861e35954a067e5d659029a8680b6902387848a318aee374cd4f6b810ae160046979b5bc86e64df0e1ff5d08f6 SHA512 751ea2fcea04ab2a9b61a45443a71cdee9cd09c2576af048108ccb56027b34f46b00e14aa664b966165b7d8cbb994e49f128bf54e3469c627d73f7ee2809ebf8
|
||||
DIST github.com-jinzhu-gorm-0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e.tar.gz 80567 BLAKE2B 3ab0a7fa8acde2dac0901cca66ef600f0187febb0a4950695f35b5d9db1675acde303b9d4bc0b89d0dd3ac6032b9e8e39953e4fbcbfc328cdba9f40767595cd2 SHA512 8d86fccddd59ea227fc571e46cd64ac02d80cc261832c4d64dafbee3eed861220be34e14ff73707118f272814469bae047da2a67b435f839a579b84554e720b3
|
||||
DIST github.com-jinzhu-inflection-1c35d901db3da928c72a72d8458480cc9ade058f.tar.gz 4506 BLAKE2B bf66be135369acdef3c356310de015f9b0f3eeaaf9273e315d52ef21fad3d93d27a90535252a846e5f0c7d2680dccd1080c7f4c56d3d48ba38ef0cffba18129d SHA512 bf30d10b9e101c9fde9079b12b519e8bdeb5f40bc964109940b58a2bccdb2f9775c6bf25dfe47ae7b8bc7e34a0b9109a0d9f1f5b4e70cc4093264758bdce749d
|
||||
DIST github.com-lib-pq-83612a56d3dd153a94a629cd64925371c9adad78.tar.gz 90080 BLAKE2B e411640c603f1bffc0966c748393ef33172e326b452b5736288b720a14b6d6311f8265aaae958ef9a56c0c81cce53882f4ee88aa51b975ba8c57a9477bfa372e SHA512 f275a8d2b8705ad6e2e57a81072c16e4ce058fe658a57b6e4846c306363ffd5c675b3e6aaf9104a4fa5b7112e1f18e84474a7a494ffbee58d4d51e7e3dbef12b
|
||||
DIST github.com-magiconair-properties-49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934.tar.gz 27761 BLAKE2B 0f39a63d3d19ad5d3ac367739d568dd3abe74a8a6aa0e60cf19ca8203412270fc45dd1fea07627290a85c42db6ead0229f72bfd845b9e4f645976db1585838e7 SHA512 493a7493e415b45abe2109c79e02ed7903de6a559911cff0323f9577fcf41134ab8f4ac26d776fdf9a891654f063bd2452c7e557c643d73de5f558b13533f62c
|
||||
DIST github.com-mitchellh-mapstructure-06020f85339e21b2478f756a78e295255ffa4d6a.tar.gz 15601 BLAKE2B c2212f4c34ae15eefa1a681b2beaa8cbf3f63fb2317a8fd95f21df54eb6a05b2d312d96848deb1afdd47aefdeecadd20920ae25a0d865f31c16b6a5da4ac6dbd SHA512 30b6f8f902ab7d4dad899c19687b6ec0e8c51655a04163c37ed1fa36cb420695631534097d4de0f342dbe649b412d38d0254b40bbb2970c3a70adc0244a6e800
|
||||
DIST github.com-pelletier-go-toml-4e9e0ee19b60b13eb79915933f44d8ed5f268bdd.tar.gz 55245 BLAKE2B 11d696edf77495d1d78968daab59b7fce4b79d4360aa237d27d849d701392e96ebd63f2628d8b05cf05c6866ac30707e9901d474aac67ab37918988de4998b5b SHA512 0cd167d35e7f5c596088211e4b7d33f46338a2bc547086d99945bb52084fb9a20c4ff8f3713cea747efb3bc5a25094c70462efb4b2175be8799e42be25f3e82c
|
||||
DIST github.com-spf13-afero-8d919cbe7e2627e417f3e45c3c0e489a5b7e2536.tar.gz 43475 BLAKE2B 024f8754e4ef6af0a2fd8ce274e82ab46c12ac4b81ebbfd5c93c1c44327ead58bf71242714eebaaca5f2adafed63ebf112ad5b2eae125895514bffe8e21b117c SHA512 900ce0ed04dab86bc7f33a0ec94f2b49a7d91dd1bbca65a6be50bd4575ff1ad5fcbb4f02bb0fb0b7b2d1b2473b3e6512fe5f8c877947c11819a4aa5d763a6d2c
|
||||
DIST github.com-spf13-cast-acbeb36b902d72a7a4c18e8f3241075e7ab763e4.tar.gz 9594 BLAKE2B 4979fd23b48a6bcd2538357d33b7670326b9129b5de309548492d9597eace1320875e1b242b594c98777192c1e0c6abb0bda4ba946a43530cc68ec762d1949c6 SHA512 2b97f56aa83dd1302e02603a8fcbc8f2642ceff8bdc19cf8a26120801023c4a8a3fed689de0ac392f6a4144450ac85d32b00fbde200b22e972c31cbabd996cad
|
||||
DIST github.com-spf13-cobra-ccaecb155a2177302cb56cae929251a256d0f646.tar.gz 99213 BLAKE2B 0abb03f6409ae50832b41e5c3d16a35df315a99a562c7a95795e0524ef00f5db3537ce1aebf2c6bc9c7ec2a48bc3c5ee7daa522719f30cf99ee18e7b5d8cf1b9 SHA512 94c70d46a11a156406ee17a1607cade576bc27b6cbbaa0e0a061e16a488b166dbe719075e3cb78d24c53140f85472b33e08dfd8000636163884c71306ae85a80
|
||||
DIST github.com-spf13-jwalterweatherman-12bd96e66386c1960ab0f74ced1362f66f552f7b.tar.gz 6347 BLAKE2B a1e62d37f3f736086ba5b198ca33e243f4650571d42448c593ba7c0970883aea401e8ddfc90975686bb5c992e5133294662a05b245620ca52c254b2a7e866d29 SHA512 04522be3439a2c3a06f38f764e275d8d093b935d610386bb99364f105d7d805a6a7e7a928796682955549a88d43b21f385404c1401ee66374d324f954bd4769c
|
||||
DIST github.com-spf13-pflag-4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz 40078 BLAKE2B 4a15afdf122a58dd006d57da88176fd2804d98706ac3d8c496dc14b084851288dd28bad95f7871d738f0487db46aa7969dffbdf005c14fc6f46bcd0ad7e0f673 SHA512 4f4d606bfe94ea51a6cde535f16078602f1d63bd2896aed52bb53b3d219510ab38ad4bdc692da2eb355c9361041d7322db6424f63783bcc367343a1666cdf297
|
||||
DIST github.com-spf13-viper-1a0c4a370c3e8286b835467d2dfcdaf636c3538b.tar.gz 32229 BLAKE2B 95b1ed58026f177674a452e531ad445582a8cdafc1e86293918e3b8a8e81f71644b66873c621621655eb87c0cfb67f8e2b089b02bb74bdb30a714b92fdae0cc3 SHA512 004f7cb37ce692cb86b3f793afe5ade9dd478ffdceb23ac8da667c626539503e199f424d6b3183c8907257186eb1a16552ba36979bcdaf363482a6f19cc98d89
|
||||
DIST kube-bench-0.0.6.tar.gz 172957 BLAKE2B e6ce4ab094ac38790d802e0df0c9c8c19a2b85d00bbdd6a968d7e680a3b2bc465bcc7f24ff8b68d85043fa82b15cba835e72c6e4da4f43c4d6786a0ad994ed98 SHA512 f1aacd90090c39cf521b73bbdaf4fed4440b2d011b8e1cf40837522e1f696575ef7c03cab9592ad68766e3bed5b4ae890692a4aa25c42e296704ce1a9260ac5a
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/aquasecurity/kube-bench"
|
||||
|
||||
EGO_VENDOR=( "github.com/fatih/color 5df930a27be2502f99b292b7cc09ebad4d0891f4"
|
||||
"github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
|
||||
"github.com/jinzhu/gorm 0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e"
|
||||
"github.com/jinzhu/inflection 1c35d901db3da928c72a72d8458480cc9ade058f"
|
||||
"github.com/lib/pq 83612a56d3dd153a94a629cd64925371c9adad78"
|
||||
"github.com/spf13/cobra ccaecb155a2177302cb56cae929251a256d0f646"
|
||||
"github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
|
||||
"github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
|
||||
"github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
|
||||
"github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
|
||||
"github.com/mitchellh/mapstructure 06020f85339e21b2478f756a78e295255ffa4d6a"
|
||||
"github.com/pelletier/go-toml 4e9e0ee19b60b13eb79915933f44d8ed5f268bdd"
|
||||
"github.com/spf13/afero 8d919cbe7e2627e417f3e45c3c0e489a5b7e2536"
|
||||
"github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
|
||||
"github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
|
||||
"github.com/spf13/viper 1a0c4a370c3e8286b835467d2dfcdaf636c3538b"
|
||||
"golang.org/x/sys b8f5ef32195cae6470b728e8ca677f0dbed1a004 github.com/golang/sys"
|
||||
"golang.org/x/text 3b24cac7bc3a458991ab409aa2a339ac9e0d60d6 github.com/golang/text"
|
||||
"gopkg.in/yaml.v2 287cf08546ab5e7e37d55a84f7ed3fd1db036de5 github.com/go-yaml/yaml" )
|
||||
|
||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
ARCHIVE_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
|
||||
HOMEPAGE="https://github.com/aquasecurity/kube-bench"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${S}" go build -o ${PN} . || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${EGO_PN}/${PN}
|
||||
insinto /etc/kube-bench
|
||||
doins -r src/${EGO_PN}/cfg
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">aquasecurity/kube-bench</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
--- a/liblrzip.c
|
||||
+++ b/liblrzip.c
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "lrzip_core.h"
|
||||
#include "rzip.h"
|
||||
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) || defined(sun)
|
||||
# define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes))
|
||||
static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode)
|
||||
{
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST docker-compose-1.17.1.tar.gz 219947 BLAKE2B a5438e66f156b98ffc9ecf63a57443610f76713532369d519689b697dbc91bd196e24b831882a4c39a43c5b17640242d98f47a2c337832395dc48019d58e3e90 SHA512 711c0a73546f0b396a920d3310b92fc15e3c13f93439eeda363124c9bd971aa942395b2405ad7441df8982384be367c20a767fe5b9e3e150690b63deda58f553
|
||||
DIST docker-compose-1.18.0_rc1.tar.gz 230199 BLAKE2B ccec8431c75be2beaf988e1f10a7e4587f9708f4a4b55280e335783250665b7ff660f1a781aa42b59ee7529fc26abf00e438904c9f9ca4ac0210f1f55490c36a SHA512 9d3e437f9a0889dc09c1c5ad141c0ebcee05d8ac9ec0e842d1544b58ec651270f397e4d41f08d2eab98c4e43cd0cfa950f287d6bcf8095f7972ab46e5a9c1c33
|
||||
DIST docker-compose-1.18.0_rc2.tar.gz 229767 BLAKE2B 6f7b886cd3a52759868c3c23f86b402fffb197afb0eb4052e9aa363a5556e36aa129bbe0b7ea3bb1a29c3ab34053c12e93af02b558699b1391f6064ab060d91e SHA512 0c3e37d6116ca32c19399965b26311bd6fe115dd60058df7cffe176b47bb88b523e80a4f4fa5150d95ff7f90649638745da4c78c6a7264a84ac30ad92eb7bb44
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/cached-property-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||
<dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-2.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/docker-py-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/docopt-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
|
||||
<dev-python/PySocks-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.11.0[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-2.19[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/six-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/texttable-0.9[${PYTHON_USEDEP}]
|
||||
<dev-python/texttable-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
||||
<dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
$(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
$(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
$(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
|
||||
SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir.
|
||||
RDEPEND="app-admin/eselect
|
||||
apache2? ( www-servers/apache[apache2_modules_dir] )
|
||||
fpm? ( sys-apps/gentoo-functions )"
|
||||
|
||||
src_configure(){
|
||||
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
|
||||
# that's what PHP upstream expects. See for example the FPM
|
||||
# configuration where they put logs in @localstatedir@/log.
|
||||
#
|
||||
# The libdir is passed explicitly in case the /usr/lib symlink
|
||||
# is not present (bug 624528).
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--with-piddir="${EPREFIX}/run" \
|
||||
$(use_enable apache2) \
|
||||
$(use_enable fpm)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# This can be removed after a while...
|
||||
if use apache2 ; then
|
||||
insinto /etc/apache2/modules.d
|
||||
newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
newexe "${FILESDIR}/php-fpm-launcher-r2" php-fpm-launcher
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "If you are upgrading, be warned that our mod_php configuration"
|
||||
elog "file has changed! You should now define -DPHP for the apache2"
|
||||
elog "daemon, and inspect the new 70_mod_php.conf which has been"
|
||||
elog "installed. Module loading involves eselect as of this version."
|
||||
elog
|
||||
elog "You must run eselect at least once to choose your apache2 target"
|
||||
elog "before the new configuration will work. Afterwards, and after you"
|
||||
elog "have reviewed your new configuration, you are advised to remove"
|
||||
elog "the obsolete 70_mod_php5.conf file."
|
||||
elog
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,12 +1,24 @@
|
||||
DIST amd64-debug-libreoffice-5.4.2.2-r1.tar.xz 1156508068 BLAKE2B c7b399d7e70ff5e757bb5c80fef2c044a6ffb807c816ee489c9d9b39b82290ae4d0bb774079ec5b0d1bc13b0f891a295b7f6ab99798c2c064702580a34dd2168 SHA512 4125fcd01be4dc4587095f4c7da641dd0dd2195399a3965928d7447fa6ec7743bb355c6fab767b652c04da2d682dc285d8722e0ad4b16860b02390370f1697eb
|
||||
DIST amd64-debug-libreoffice-5.4.2.2.tar.xz 1138708128 BLAKE2B b2daf5b0afad8be984dba09955ccd5ec5ee28762bc4295a921ff39d152ae9b3e73f5f15fb832cf5cec5f915cc705862f4cac2d3ca4ae239e457c991fcbaec06a SHA512 60d1d6560e44471572cf024db1ca5b00c6b3ece2a0c02c09dc523bca101351c24bcd57db25d8a5616496b2d74656c4b8f5e9c8d7d084be53143c5b050e8315d7
|
||||
DIST amd64-debug-libreoffice-gnome-5.4.2.2-r1.xd3 331470039 BLAKE2B 540b21340e8bc95ac1fda1d886566860bd8f69eadf8922354b5e298a1612f4385ee761d16ebd1d2f369a6b286cec40e3cd09ae5f0c5f95137c0a330d3daa95fc SHA512 33048353072959c22d22108aeaf7a9be42139187a89493152f3a3b987f6caed6fc61647d090ccf1241da2afcacb80f2e6dbba3f503960a0f22886a49f4a0d46a
|
||||
DIST amd64-debug-libreoffice-gnome-5.4.2.2.xd3 320539580 BLAKE2B 985493066127f8a2c3bac5ac4fad083dd6de16b0504eab928fe61e2fcbf8e913d8cf40488ed70fb40585ec4cf14b068392a2f5a7af1bb62a2288ad926fc9e2e0 SHA512 bdae4832e9ea5c0191ebd1d3e46cef75543088ba0591f25ad70ab5b32b86846b72857b61ea44ad52453b42f2a9c9277a967b6fdd8abd3c33517ca1ef422b5af8
|
||||
DIST amd64-debug-libreoffice-gnome-java-5.4.2.2-r1.xd3 560720309 BLAKE2B 2e9a40728b82427aad554c8f2d718adb76039ea42b317eac811a70dbe1e5295d932da9cd7652244254bce724fcb07ba0f34e39a05fec6c894bf3a6c3ab85bd9e SHA512 f72e0b405720091d039b7cc9268408a1e4894fed8a686caf59074700ac177638d62b38790890df5b73e58d53e287ad268c2054ef9777def417edfb5c68cd7c79
|
||||
DIST amd64-debug-libreoffice-gnome-java-5.4.2.2.xd3 550445993 BLAKE2B 29923d61be3412e51a12aff824f0f46836dda99864b4cf152d58e30153e7cc7261eea041b064a0010b664b19e174dcd586b09489d630f7dfef04ef864afb652c SHA512 85e95fd1fa0519ba60a39185245c15ca1cd6ffce084df65016585645a5b98c1d13ebc6df96ef8583697b6388d086e20a48845c879a83cadc5124c8b5b145e041
|
||||
DIST amd64-debug-libreoffice-java-5.4.2.2-r1.xd3 552785398 BLAKE2B 417ced59083618c0f2b8ef92c5d70677c43f94a2fd5637400d2d89318ab4cda033f8b852e421c70061ad76527346651021dae68097020cedd157aa2b762dbd67 SHA512 84701111da26928577ef5c03c54016c2c239e219681bdf95160a462889a15be54aed4d2075dd96700b70bb86008cd3c09f31bddf406fe93918e986b6fc09dd6f
|
||||
DIST amd64-debug-libreoffice-java-5.4.2.2.xd3 543230548 BLAKE2B 32e16d1e8d1847dff3152fea0723dfe95b429340a4155491c6ac8a805a0ac403a75db97afa86add13050f00a30c80122f6fcd9117667a8fd532fa51f227fc85e SHA512 a0a6f92102c7e9a81b4653fbb260e012d27eae821b9b1148f4022d752bc55aa740c12d27309889b171407bc16311b0982ae3320ad81766616735491e3b850cdc
|
||||
DIST amd64-debug-libreoffice-kde-5.4.2.2-r1.xd3 338146804 BLAKE2B 5e5636792fdff2c4f42b5004937a88f7adfc3832f11243a6534eab2e679f7ecbd43619825dbde25dcef6338554c1c46575a4a5aa1bbfb9bbc838c53adf047995 SHA512 cc16b11664e2e86f7f2915ef767f4116a98445b9aedbc7ad440c4ef7b88d42f8dcec957f0f92c24ab8c0d78c73301b244f9aa4ba06b595186d90e4e084ed06f3
|
||||
DIST amd64-debug-libreoffice-kde-5.4.2.2.xd3 327453528 BLAKE2B 78ee5cbf9d411b5c355f8e86322a156624f0541994d966790ef81c4ed4ee9a3bf0f1ca937daa1eb076e3e30784b5fa329f95bd8c4d90a39377dd75e0a619149d SHA512 fd25a18f0200b37081d4cf40cfe5127f60e090776ae42d2b7a62f79ec66aaa79cf8ea26cd1b7fdb14b082cd242e34b415a4dd6d2b535e8fd5615b65ac9093129
|
||||
DIST amd64-debug-libreoffice-kde-java-5.4.2.2-r1.xd3 554592932 BLAKE2B d095455bc430cdc7ebc79af7569a2160005bac5c86aaadb65f1898f02721155306ac33597abb3816fc3a2f70fbc952d330503b5d3bff8ca8e84634ee70d341b9 SHA512 2698392c7644ca06033767b1eb01e4cf74ffd16b093369bb7b3e19d75f0b58e21629db7f626fb675bad6ba3cff61d1f6cd2f5df21f19d3b9a540cd3f0c928411
|
||||
DIST amd64-debug-libreoffice-kde-java-5.4.2.2.xd3 544806690 BLAKE2B 493462e6cd2e50343a08563cf726a55e8a64216da1aade02875d597a92266471e3d41f9b80408903d4047a88f27fc897a31b9ffdfb101b62a3db9258820f7354 SHA512 dd3867e585ff6f91d5aa8edc878fd6f9f6f3d4e780faa836c9986ef8fb359cf7fdf2cc24ff6124277d7af4e1ed73ad86fbee3b3ce6c1d8114b48be4219db8a02
|
||||
DIST x86-debug-libreoffice-5.4.2.2-r1.tar.xz 1128856012 BLAKE2B 75b72abadb56bf02456cf60b39d89c811dbcd275547cfa53e961d42bc8eb124fadaea666b7dce9b9ebc5c4758a83e81532f164c59317d98d2cda3a39416af233 SHA512 feccb169682c979820f402c0ecb0d5be1455c01a56f350e7cc0e335ebe809215c6f4a7201ef12270b882e2dbec206da8bdf85dceeb589de7748a790844354c97
|
||||
DIST x86-debug-libreoffice-5.4.2.2.tar.xz 1107530632 BLAKE2B 3bd31738d031755c05fc1c2c8edb33d845d3a64b578c812f2fc473e6a6981851bf30b450a0cfe8a63e24f35cc1a3853b4fcd9d045cc3f6ac4403f6f61807ebee SHA512 78aad2e4bd7ff3e6b561008c65f538aa2d7941eb0290b374e82cb96e7d327ee8d7f80a298805bd38fd94884b66e14295a93b4319bb45a7e0fc860d1287f7c241
|
||||
DIST x86-debug-libreoffice-gnome-5.4.2.2-r1.xd3 321601178 BLAKE2B dc9fc8b94f1c7cb856c2af96560ef6c4da5f6f12a65c55c1dfb001ca14306a8a654d53841671d6be07b742f0c69b68138275bae48fa0eaf2398f6fadd50c9b4e SHA512 81f0173a4eac6fe73b3d9a1f773e7f4d463898b4f347e6465df66449094cd7cd5b9e3d0e119e67a18dbe0d56c6428cda50b2bd08d633de8c9097acae79eee8bf
|
||||
DIST x86-debug-libreoffice-gnome-5.4.2.2.xd3 309369878 BLAKE2B a190f404a835fa80f95ca637c3e60bdb3d4dc4e53f5cc1ff4d0a58b142cd71780e397270f011128d034c258ee5d007104cef73cd30cab0ba4541dfd04ab59b11 SHA512 1f97dce9172034cdaf6e86e3d5b485119e577cba79a0013fe9efb0f326e21598bb0856b656619ee3c273b4252db0327d86e38e4c717d215fb29936c08eb3ef0a
|
||||
DIST x86-debug-libreoffice-gnome-java-5.4.2.2-r1.xd3 538276484 BLAKE2B 607bd39450aea3720086abca0fc32b60f09b2a704296887bcede01f4c5b633fba5ef72826b7af1b138539849d35b9c581e79b2597e55524034794f904eb8ec96 SHA512 4007d50c3c8644edd8e5ef061c5691d6c0a5d5595331b75fc9e29deb4b557e52c645a6722085e6187527d2c9269df0a23880a6a79175bb2b03a8c8370acd5b08
|
||||
DIST x86-debug-libreoffice-gnome-java-5.4.2.2.xd3 523725289 BLAKE2B 3101a58d45e94f2b890fb07060aaead80d57a0fb3b3a2e7919b40fd15bcef731cf2d5067b65ffd9f567a8ff68f73bd091beb61988c8b7d7583ca188714732a83 SHA512 f9f1fe8b602c0b4dd59a1bfd110b24ff50f1ec33e1b41f5af2f28bc2da610c05e3ba5f4571420047261e206e5e7f89cac747e9a795957238e975ee8d77f313b3
|
||||
DIST x86-debug-libreoffice-java-5.4.2.2-r1.xd3 530463158 BLAKE2B db2c2ac52d6071626c453cfa5cd35bcb45567e21598d7d6dd1bdd0c556f29927e591ee43d0b1364271aaf9071099f45af3b59d69b4f9627870afdb538383ba75 SHA512 45cec98e3d4d04edc8daf1c711b6e28a661ab2899a4a931867d42cd0b4704a2b22b59beb98d1bba1d501a10c5de0158ca3b8e952de88ae71871246be60bcfddd
|
||||
DIST x86-debug-libreoffice-java-5.4.2.2.xd3 516739219 BLAKE2B eea40866178941f96d66a5f5d1061b47a1fb187093afcce4bfbc372a36f629722f45a3e60117c9c7a8601c6526fd67b300611363d96431b48bd47d037faf22ca SHA512 f49bd0fc9609015e892d9da046083b121165aad445b336ab99e8991a5c9077b603c6c8c052238358487839dbdf5379f13074e1a25bca6d8ade0927055e92da7a
|
||||
DIST x86-debug-libreoffice-kde-5.4.2.2-r1.xd3 328224707 BLAKE2B be0e44514784a79d36bfe445ec20a90629c1b715f5705a83fb3604aa53d0137180e008f484c27bf004bcac91b3763d692658045d620236656fdb9563bf7d4d83 SHA512 e7909d4557e8999aa62126da7bed480e255a1486882e7e4524fc997e358cc81c35a3a30fa87d7f185a2c17aea0e5536fe464bfe3cf5870fe65c20611d4202f40
|
||||
DIST x86-debug-libreoffice-kde-5.4.2.2.xd3 314850500 BLAKE2B b7b6e3b03e99f7fc44452b57d8eebf254bcc0b2d9cb40e248dd07399684dd54f821fd8b9356c0e12d650a0f9ac49c96acbcc319456764642f556770716a1c620 SHA512 218c51994cf8c27e3a20d1c88443b7cdb4501263342f01b4bcb555bad1b36cf05ec9b0def4b14e5262654819d17ce77dbbc642d4e646b46a3b2b72271b4e9dbc
|
||||
DIST x86-debug-libreoffice-kde-java-5.4.2.2-r1.xd3 532241334 BLAKE2B 50a0a344a6458d6773ee9590122ee3e0ba5debdbd1e67e73ec08e4a68969962ba9e5a42c223ed6ed3d58d4d067c80925a2e551f1accb78cb468c2e5b158a6944 SHA512 19df982e8642f068c8147bdf82b37ffc5b2b95b9070a87dd97ffab8ae054ae2c842f83961620571d0485a6455c576920af62eeec197539f6855d1b6d1613f52a
|
||||
DIST x86-debug-libreoffice-kde-java-5.4.2.2.xd3 518297724 BLAKE2B 580d482859c27ae57fcde8605561b0e1315f942853b9e3dd3b341c03099e8824be879ebd7af90432126050beb8c00d655dcec8e200a433c9064bc2f4dd3e3197 SHA512 e89c17e1cb65c28d4fe2961de12e22321b19456e3562466fdf601a20a0ff22704bf385311fda971892ea25a6d4bc74444ec93e39bc59ce7d95682b08603cd1df
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
BASE_PACKAGENAME="debug"
|
||||
BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [ -n "${patchname}" ]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
||||
}
|
@ -1,12 +1,24 @@
|
||||
DIST amd64-bin-libreoffice-5.4.2.2-r1.tar.xz 75362012 BLAKE2B d217824ed319df6b3e9b7b772f9f131141674e0cfb6c2e0d860ab2b62e30438f7b7a1a5f987affd5fed9cdd5009fcdf7638ecc268775d9ca0f48dff73a7061df SHA512 a28f64b8e1c5e2b7ddc204227bf7e49b929199b818fa8ee830f0b95d23b5fe2d088ad820696b23a45202e600f7be9c3edda901f475c106df4634f8cd47a159d1
|
||||
DIST amd64-bin-libreoffice-5.4.2.2.tar.xz 76103708 BLAKE2B 289b0fa454effdf4ad9a8bbeec633d2592f547f6907eb9c814e32c1ec25a45aff72ade4b84294d8c0960b3385a945e030ebd15306f6c261c414a8eb42a50d83f SHA512 ac577138f065ad8699b26743b905c7b94b4875eb45fa3c9a580410d2e587519df01de7669c0f6c1baff879b879f41140be4fe844174037dd89bdfa10eb0c4812
|
||||
DIST amd64-bin-libreoffice-gnome-5.4.2.2-r1.xd3 16337443 BLAKE2B a784e90e24987c09122ea44e59aa44f9d3730c4aae6498da934518ddc0ad708fb3fbe7c64c32041616b4d04dd45281e7c618769cbbaf1ae7385f5a7055a5d464 SHA512 8a35544616ea145b2862e9b9fefc54f55a9f2aedeb98cab691f37d3a308dff0b7a92a46068956c7e3b26ce455bdc7744720d24db990615bb19c1a0377015dd04
|
||||
DIST amd64-bin-libreoffice-gnome-5.4.2.2.xd3 17096769 BLAKE2B 7d91c62ef0f10b10758de63a463ac52350ea8cf2f426c6d52b4c7fc9edca4ca615be7d9ce8481d78031b3a40f38653ca3e5bb9267097d921055c2a18e78f2eff SHA512 079141e1ac63a228682b3b3f204fca288285fa2064841d66a0eab4cbf36e743a402e7d85129ab5b4f3b60f023ca1f04217529ca78ac6f40ebeb08933f59d75aa
|
||||
DIST amd64-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 26558117 BLAKE2B 2ee08980b53314b0570a96f4bb76f8d61dd7c752348a0ab626ce5fb732f1c44319c64af9a595183ed13df832958266b4c958995d9253a1ac172b6e90f42d626c SHA512 dd8004642025a958a213dc767e4f73a282710fcc2ed3c2b8e0622ce8aa7833d466962d45016e81fff71896a7148ec8cb1447b3df77c4e6547279c109e1f4241e
|
||||
DIST amd64-bin-libreoffice-gnome-java-5.4.2.2.xd3 27455524 BLAKE2B a2271382f4c8e533467f4cc8158a2fcb4996c387012f016f1ffe1a82d5b1e7fd9b81a3ce078cb470de1a38094b8e64a0f8fda6b1ca349bbb3c97d14fe16043f4 SHA512 06a03f256ab45087706bf51999dab4e4185ee55c9d28bbf60c438ae71789b84fdded9614713afdd3b83c7bbbc72cc80747a7d41a633bd606a00715079c85f97c
|
||||
DIST amd64-bin-libreoffice-java-5.4.2.2-r1.xd3 25596784 BLAKE2B 493066f074077baeeb991935362291599db567e4ec4114ba78a733e89fdadc810cee607f77529f2543cba767000cc26c03ea9238ba892f4dea50374b6af98a04 SHA512 f25ddc420a63a8cb3fa89104dc875898b73c3be48936b0c59c34a4bec4ce574ab36e0ea5f4c06fe824b50dd15bd9c301ac181ead095d6bebb676e1255880254e
|
||||
DIST amd64-bin-libreoffice-java-5.4.2.2.xd3 26415061 BLAKE2B d7583a90bbec71436f9a66f6effe09131c9f89193eb1d1618cc890646f436b956e0e5952da9f6be6629dea02a35ff08caf7563318d14a3331e35c47f3edb5928 SHA512 e73c8710035337a5aaa07c3751deec9cd842dda61c5fefb9f3f63cb5b79b47f643f87e2559605855f5970daedf78ea2f5788d82351e623b86c909d90576cbb50
|
||||
DIST amd64-bin-libreoffice-kde-5.4.2.2-r1.xd3 10234903 BLAKE2B 633e27bf7992ea7735680e33f22a2a1f6af84fd538999cf4cd98362ebfeac214c897862d5eab5f3644cb3e23ab640d6ace23a5d63f1c4db1452113808a66724c SHA512 07010c1e1370a6d3a375fafbdcd44496f34abb06c8bfa949eddbafbd85dc0d548ce43668b1c73e4cad2735564607454bdbfb893f48e76619b33f61f24439aa25
|
||||
DIST amd64-bin-libreoffice-kde-5.4.2.2.xd3 9501055 BLAKE2B 3f98ee516ecdd506fb6a03506ce2dca9e9b93438f4287aec84bf29c729aba76294b6721f84fcc38f0ddad373a2a0780697fb3ee000362a4ce8aed9e7ad150a1e SHA512 f9f144971f7b1619b7124f68f0c5591ff440d891233662985c659dcf98c8ba93738f28a9c70c11f83e216f3488503e9b49b359eee44989e85c754b061147c575
|
||||
DIST amd64-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 25826013 BLAKE2B ad18ba2ae78f6973d98816680804da8d838cf22567759fcf9536d42ec526e252e5ae47423f37ee5a68eebbd3471263417865f51b0b0c0dcff70e3e0abf7fe5fa SHA512 c80fd243aa8150ac69d8f9ce1ec76f32a7873aeb3d93e73841d34ea7c87c3afff07a414029806419b5fd99345a94769de40d4cf0d89b56960f14fe6d247c5c6a
|
||||
DIST amd64-bin-libreoffice-kde-java-5.4.2.2.xd3 26621192 BLAKE2B 5d9d6ceac4bb7772bc236ee44f0d602cc555626bab8cd89f4bc9221d16beb3d44469ac47e9a4a20dcb670ad87cf4bae895bcbae19f0c9161736045f9d05ff381 SHA512 883a897357cffef3f37961dae7be10d1d47093762a842cbd775c6a14b202fe5c9a2cf8878ed2d9587c511c1d427ce20da71ec3b21da6f7bf4f22fd5169ebbff2
|
||||
DIST x86-bin-libreoffice-5.4.2.2-r1.tar.xz 77497504 BLAKE2B f4258171c91144f7a96fc4c3f885337ca2f8614d2f1619c56db9f18bfb3e0d9f932c151bbf508b34755a390e5f61c62f5b564e441d4d328b1a2699fe1d60d717 SHA512 f670737962b667782542aafe5956dccec5bcc82e0a080311dade7565b8c702ae020c4ceaa917ac22135d5c57bc021681521e6d5863abf1adbc9789d25c36a186
|
||||
DIST x86-bin-libreoffice-5.4.2.2.tar.xz 76197244 BLAKE2B d14cd52d70649a7d96348734ddf34796ae4e1612eb8965c1c294fa6c5dabd6b39d3d3c34345d4d8300f71917cb74ea5f079ed258c09f6f7198453488e3539967 SHA512 3e6a04ed0febacbdf78d0514df1d863196463cf777a646a5f33afb6ab3cdfb9f27245d4e362974f2112b484c29c810c2d563d5b57894feb603d9a4ac8ea19b5d
|
||||
DIST x86-bin-libreoffice-gnome-5.4.2.2-r1.xd3 14217445 BLAKE2B e952d53d749bbc78c67c1f987ea6ad48e1c0d345d36d092106798dded817f3625b60bcdc23998eea01bacdfc812a9175c18d4980ae47fde907cee595702e91b8 SHA512 568a176241b4d52d3872a3ed6e5004ebac5fbbc0561d1768b7990cf98c0172126e41e0f66febf6860262d9ab060952d62d40ad3d6b72e23b848e0d68d76ac907
|
||||
DIST x86-bin-libreoffice-gnome-5.4.2.2.xd3 14720380 BLAKE2B 4790acfe2bc37c41597300e7283b1157e2047e5fb4c6e865f23e5494b9e7f35dc337d806702f8fbfc5a5c20ae63834e0c12ba2992a6471d3c105ee32417a593c SHA512 b73e6da0979a78049f1563a0fe61764d7b97197d27a307579b76639d881952a4dd656a49249351c172ef45a488291ce3a4f60879f9bff473df6db22ae598abd5
|
||||
DIST x86-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 23765116 BLAKE2B d01b9c2f9eb2631a60d57c28de5911140a410bb96088bceb0a1c23d79ffa1565f87ba17f000c0111594551d3fb65c32dbdf5909f85c2edb661ac362664612da0 SHA512 c11f03628b9886d40ca8e4564c2d758ad71a7fcc5058cfdb794c3280b0f86d247e59adac0d8865678553f58b216cf6d12cd13de778d8b9e564f25d057a0e07d1
|
||||
DIST x86-bin-libreoffice-gnome-java-5.4.2.2.xd3 25943139 BLAKE2B c1a76a8b1c10d8fdef90599c55fc566708877e245007959d5baec5b408bfbd74652acb61528bc13d795c8fc7ac1cb47c7ee99a8b0d127fc575e3d49fcf26cb2a SHA512 38de8628272f7633c9e1c32dc08161ecb40ca824bac433122f45d696b1d89376fb6a5843c125295f66e00f61c354da223b2cebb2683f0a03d38b6017b002f7a8
|
||||
DIST x86-bin-libreoffice-java-5.4.2.2-r1.xd3 22549416 BLAKE2B f1f1dfd68af16cfc3be1727bf223c8bcf3945045519cac1515a22dcff7d8304831917d610be4f269195238ca903d9150abe04df7e71b9f5149cb0dd78dc47b53 SHA512 2d8e4324bc588d6d9950daaa1d85f02580ced2c743326c656a1ef04aace957b2999828d607126bb4195fbce1f6dcd2dcd70da48bf6c5e6f889b641905e9faedf
|
||||
DIST x86-bin-libreoffice-java-5.4.2.2.xd3 24836939 BLAKE2B ccc413ba0900e7cc6605b0a17102cfcbc0410158580ecce759a149bde3614838d9d4f7fbed279b09331b388357467ba97e75892897e7095b26820f97cdbba69a SHA512 1b9a4ecb1f2304b60a19079d19405bd3d88da4123d80b14915a7494e0f8bb78b11fb9cbbba026691072cceeb74c4f7736a18167bfa67eb74b7a25dfafb69fa4d
|
||||
DIST x86-bin-libreoffice-kde-5.4.2.2-r1.xd3 6268866 BLAKE2B 0870aaafe5d5d205d1abcf45504030190066fa7a2d0dcb27ef6486baf2f70b2277a6dbf931ef19a10e354e9bd285e0bb55cdd3dcbac19c416240c2d6456128ef SHA512 581916d02c36df1b27057acd21ff98b74ec574ef78441992598cb4aa9fa4795cb5c8767040d08711c2b3f3b471a1fbb6fc4b6139e4eda1b7b6de21fb76d0ed35
|
||||
DIST x86-bin-libreoffice-kde-5.4.2.2.xd3 7039660 BLAKE2B 9c6bc3cac15ab322c206292c7e9cf560ef675737ad82bddf58d411069e5c657542bc7d8bbea365caf6f16960b70a4e092400783dfa1d7b50ac1b301a39b654ea SHA512 6e289355170bb7fdb9273902647332a8dff4f4b02e420416eabfcf40b1aca6986adcb7f682ad9d8a89907d90a1090ad8eff3c283f025ae688a1547b653149cdc
|
||||
DIST x86-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 22630525 BLAKE2B 744267ac7c1fcc12c818a2a77bae7c2dc07009518712627103952a9e74355cbbb7c99b925340d211ae74e50df267fe8b135cfc88c66e41cbe9ca366acc09d5fe SHA512 580a19d8ac55dcd179daf3a04692d1eed397912202fd11de5003d6a9b445b8e3e2a8a93ed9406b40ef287f8b98b685b0418f72ce5c9874d3a7fba0befa34b807
|
||||
DIST x86-bin-libreoffice-kde-java-5.4.2.2.xd3 24919539 BLAKE2B 7da2fcad2eee3d35ad876d988bce486f11721cbe4506069bb782e760ef7b02372f529f4329eb290c603f0c7146a04c711f3facc431028b42b2c8ec655e25de8d SHA512 5c982b7bdd2071c57556e821e46ab58d2ceb3c34a8e45a4e9abc3719917991c5c69d3bb242639fc51654163849f3dc0668620939d082228e048d1236d6ce96fd
|
||||
|
@ -0,0 +1,249 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
BASE_PACKAGENAME="bin"
|
||||
BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
PYTHON_COMPAT=( python3_5 )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator
|
||||
|
||||
DESCRIPTION="A full office productivity suite. Binary package"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
BIN_COMMON_DEPEND="
|
||||
app-text/hunspell:0/1.6
|
||||
=app-text/libexttextcat-3.4*
|
||||
=app-text/libmwaw-0.3*
|
||||
dev-libs/boost:0/1.63.0
|
||||
dev-libs/icu:0/58.2
|
||||
>=media-gfx/graphite2-1.3.10
|
||||
media-libs/harfbuzz:0/0.9.18[icu]
|
||||
media-libs/libpng:0/16
|
||||
>=sys-devel/gcc-6.4.0
|
||||
>=sys-libs/glibc-2.25
|
||||
virtual/jpeg:62
|
||||
kde? ( >=kde-frameworks/kdelibs-4.14.37:4 >=dev-qt/qtcore-4.8.7-r3:4 >=dev-qt/qtgui-4.8.7:4 )
|
||||
"
|
||||
|
||||
# PLEASE place any restrictions that are specific to the binary builds
|
||||
# into the BIN_COMMON_DEPEND block above.
|
||||
# All dependencies below this point should remain identical to those in
|
||||
# the source ebuilds.
|
||||
|
||||
COMMON_DEPEND="
|
||||
${BIN_COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.5*
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
=dev-libs/liborcus-0.12*
|
||||
dev-libs/librevenge
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/openssl-1.0.0d:0
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.24[nss]
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
net-libs/neon
|
||||
net-misc/curl
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
virtual/glu
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
net-print/cups
|
||||
dev-libs/dbus-glib
|
||||
gnome? (
|
||||
dev-libs/glib:2
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
gnome? ( gnome-base/dconf )
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
x11-libs/gdk-pixbuf
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
gnome? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
x11-libs/gtk+:3
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice
|
||||
!app-office/openoffice
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/libertine
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-${PV}*
|
||||
"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
# only one flavor at a time
|
||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
|
||||
&& die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [ -n "${patchname}" ]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
||||
eprefixify "${T}"/50-${PN}
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST jdbc2_0-stdext-src.zip 21642 SHA256 70470d9f3a2e1f4e29b909bf9c89005a9d2523825eb50cf70b2fa2957ff8b2aa SHA512 5157a5835983c094b13d947a39311d08ea57cd8e60197176681289d41a209f3f8b464e1e0dd97ed714534ba5afb749807e02efb3edba4e2c91e273e71f6f1ce3 WHIRLPOOL a57f77ae2b268b21e7733b7cf4edf1cd8751c8c5c25f1b7a6ae78677c14d5f499a9a05c36cd88a3c9ec9c4fc361476cc7433fa81cb94ed51b09ac4a2bca341a5
|
||||
DIST jdbc2_0-stdext-src.zip 21642 BLAKE2B 475892fc77247a93eaaf400e48c585832df843cedcd1ff2f8de364f6895fc9661d1d2241969b126fbb056b23be78085317fbb14c69c349612d39b700913a5b72 SHA512 5157a5835983c094b13d947a39311d08ea57cd8e60197176681289d41a209f3f8b464e1e0dd97ed714534ba5afb749807e02efb3edba4e2c91e273e71f6f1ce3
|
||||
|
@ -1 +1 @@
|
||||
DIST jta-1_1-classes.zip 13236 SHA256 6202127f8e3fe63ebbaa8c3ddf455bae862d5563b4c210ea29484df52ce505da SHA512 fb8b76223ccdec0ef97b00d7248d74b6316dd67c570667f3a644d03b05cd28af061a191cf71b6624fd4a4195f7bc107281eb847fc4c0ee4606c85c414da79a14 WHIRLPOOL c6b97d35eb09cd027596594ce009c251cc61014ceacd7d49748eb157ddbec6700eb29d07a4f9fd0d6273652cd83e067fc7f2a4d99e584ad13c7f13c2f8a07271
|
||||
DIST jta-1_1-classes.zip 13236 BLAKE2B f2e1ffd531fce804d562c4cdcbe9b260d08eb2bcd79a879f94fbd3e23801849cbf311d8f7410a9776f9a8866027dcedcac479a64444321e8c6b2b23bd9a69054 SHA512 fb8b76223ccdec0ef97b00d7248d74b6316dd67c570667f3a644d03b05cd28af061a191cf71b6624fd4a4195f7bc107281eb847fc4c0ee4606c85c414da79a14
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST j3d-1_5_2-linux-amd64.zip 1956319 SHA256 906e84747d4993df08b765576b8ac0fd580a1062fe1bcca173ff0d060967b175 SHA512 6105b460d09f68c7a1ab289e23717016329900d1e113b516965ee3015fe47836d2165bb450c43f7fa5f7a42ff819c70581193990d153226cb41dcecb1b9c71bf WHIRLPOOL 1f40fcf75dcc5c70485e5ede6d64da43241da326d0085ae456f81662aa89ca1bb820bcb53cdf053331e82e70c18ca80b2dc7bb1f51d1886e789616274fccbfd3
|
||||
DIST j3d-1_5_2-linux-i586.zip 1956020 SHA256 264af1e73738d33ed52c56527122d7e17c3d64b19d7ed765ac235c5c4d0f9522 SHA512 1504d2dbcdc9a49be84f1a6327669764febc83f4e5c4365894b8a4bc15b14857262bc0d548b678820ad3aee8f349f2515cfa9a06dfdc0e8bb9afd50de0c4ca56 WHIRLPOOL 05dd7c6dada0bb201829017472064599d73a402d486dd5283a91a6228d6bcd6a21ecaae8d3958622674e6374e3714c5d7ac0cc37cec6286782d0004b8664e367
|
||||
DIST java3d-1_3_2-linux-amd64.zip 1241855 SHA256 e248fc43792db5a351540e7c1a7c4c594fee30d5a8e622dbd8290075becca8a8 SHA512 6781be7d5c510b9ed4fb533e58eed792ceade0245b7ace00947f6cbac711b589d787500322d3ad4e6478c61e017cf2be9c7542a59a6a0af780d9e0a06b5a5f78 WHIRLPOOL 00dac2f26e8c71df5dcbf6fda2c25434994a40d7aab8b7901c2b2805d354218563b634b82b2d957e6f642624726e3e2f8923576618f09dac1699d27d9cc88028
|
||||
DIST java3d-1_3_2-linux-i586.zip 1235329 SHA256 1fc3a02714bcfd938b5449561cee49c3ffe5f8c320591374caab4a0c2bb9f415 SHA512 5fb459ead7cfdae468017bc40cb6f8831a8fadbd27fd3c62404b9cf5ebdacef092e8a4153058731c2a004672bc69f4061b664412ed937a7b49a15ca580762839 WHIRLPOOL a9287b5b6d6f4346c736c7b707e34715b6515c0df0368848212ef82a4686d8d8374db756fcaf67b18617c42aaf6c7ab34832126650dacabd74b96c74e452dc5b
|
||||
DIST java3d-1_4_0-build5-linux-amd64.zip 1281828 SHA256 1ec9d7dc176eff6bf2c3568f452fc5b13d471d4f963090570996a635b8f8a301 SHA512 ec1074e5ad40964a80e2ec3332f67d1b7067db6aa5d99379f9e488e2c6a342b0c3d0c78aadd995bd647047efdeb0f040c8e8c7e4557a5161b6a8919fe93cff81 WHIRLPOOL 835257f8099a71cff3533a651d08af2f487ca79699e3e0165999d8b3dede75bed373a7b7f9dbf42070adce5aab87563a2338195a9b96fbf4130db16456434686
|
||||
DIST java3d-1_4_0-build5-linux-i586.zip 1274577 SHA256 e03d87159b4d2cecd48f90d1373dfc496049e41888e8a545cf5bfe94a89aa4ff SHA512 1b6b87d660b98029c8a5a2cfc9435538c89032b4318243ee5dc01629c72f8f4ea189ee383150821b291a6bbe2b3284ef7c6da6404851a8d6adfe6fea0af3ac59 WHIRLPOOL d9e73a16ccc54ac16dc5275ad67aa2fae98da8475f7c7ca54db2e68fdea751048f578a4f12ef43e06f11c50e0e2eb53cef8804623e86865b0bce0acd7ae476a6
|
||||
DIST j3d-1_5_2-linux-amd64.zip 1956319 BLAKE2B 05e229dedddde18c261e652adfe6dd87e9bad90ea8129fd351f9122210049a587dcbf1a6e982d06f75f8936762d37b7b2710b374462c6a0e356acfb7bb8dffb9 SHA512 6105b460d09f68c7a1ab289e23717016329900d1e113b516965ee3015fe47836d2165bb450c43f7fa5f7a42ff819c70581193990d153226cb41dcecb1b9c71bf
|
||||
DIST j3d-1_5_2-linux-i586.zip 1956020 BLAKE2B fe2dc4275b021a302a3914ae2243f75142f40370dcf01e256d4557c5dd10fdeb060b4a8cbf5e274c8ae38dc984ad6dc488a8d15aff621b0fdd5e2185c1523cea SHA512 1504d2dbcdc9a49be84f1a6327669764febc83f4e5c4365894b8a4bc15b14857262bc0d548b678820ad3aee8f349f2515cfa9a06dfdc0e8bb9afd50de0c4ca56
|
||||
DIST java3d-1_3_2-linux-amd64.zip 1241855 BLAKE2B 342b09f8643060115e642ba9da302772b1514322f1157059fdb8e9d83e8c307fa970a90d1d2dccc88fd54e26c31c8b6beef2ae61855463e6ca25613fb78716af SHA512 6781be7d5c510b9ed4fb533e58eed792ceade0245b7ace00947f6cbac711b589d787500322d3ad4e6478c61e017cf2be9c7542a59a6a0af780d9e0a06b5a5f78
|
||||
DIST java3d-1_3_2-linux-i586.zip 1235329 BLAKE2B f380465fa6442e129bcc4c2c7b0f1c2d00775735ccb1755eff0cbfa063bdceb23209fe157c1127a36dc24e5fa7988194e2b5e830a3ff43891dd8e0b00cc2d855 SHA512 5fb459ead7cfdae468017bc40cb6f8831a8fadbd27fd3c62404b9cf5ebdacef092e8a4153058731c2a004672bc69f4061b664412ed937a7b49a15ca580762839
|
||||
DIST java3d-1_4_0-build5-linux-amd64.zip 1281828 BLAKE2B 90f1faa775d1c0f29cb32dc36801dbb697721f9509a45b9cbf9e26750e928359dad5e7458d98412ed3c473ed108e4ec937d6ef1fd8bad75d5feb3a5e152a8967 SHA512 ec1074e5ad40964a80e2ec3332f67d1b7067db6aa5d99379f9e488e2c6a342b0c3d0c78aadd995bd647047efdeb0f040c8e8c7e4557a5161b6a8919fe93cff81
|
||||
DIST java3d-1_4_0-build5-linux-i586.zip 1274577 BLAKE2B 38bab843a406b563f21dbffd51aff26937035c48488c4c50fdc8268fa8fcd73455219b927018958c2a87b35085aa51c8abe565564690047a2da6628e914c5722 SHA512 1b6b87d660b98029c8a5a2cfc9435538c89032b4318243ee5dc01629c72f8f4ea189ee383150821b291a6bbe2b3284ef7c6da6404851a8d6adfe6fea0af3ac59
|
||||
|
@ -1 +1 @@
|
||||
DIST jimi1_0.zip 3880977 SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4 SHA512 28ae3b3044910fca80dbdf23fee5f0d050df64ef48a09c41a836f3ff78365258c747f69a958579abda68d6d6f1c6b6a3ea5e960d36f2199afdb06258a25173d5 WHIRLPOOL c9ff66c4a15eb39c30e70c47bd7c8694024e34ebba09a7a440b927f5e3da0498f4ae2b8c6ddd96e3fe18933b93cacbb9c01f63b672caef45b601e4cf0bcec4fa
|
||||
DIST jimi1_0.zip 3880977 BLAKE2B b286cdc725cad2037d19bb188145ca0cd0799993011a8f22aa671e8807afd96dd3a9f3035a82dff9823ccba503e711db6b2ef377fc039c7050fc105655114ce6 SHA512 28ae3b3044910fca80dbdf23fee5f0d050df64ef48a09c41a836f3ff78365258c747f69a958579abda68d6d6f1c6b6a3ea5e960d36f2199afdb06258a25173d5
|
||||
|
@ -1 +1 @@
|
||||
DIST jms-1_1-fr-apidocs.zip 361922 SHA256 7091506ff106f29828bc7ef68559f054cb000f1d3b1bcda57b59666efb1ccd8f SHA512 ac2c7925b7f5bd3918f0c69a7b18dfa2a15f58243aef7cb429c0571ea218860fc146fd355c905e17310072263f64385b9010eafb1050158f42f498d7f21dfe1d WHIRLPOOL 976d869f53bd3b76b751b48ac664f0caad6b29117a9c29ce5c1469cf00c1864cfcc2da7373cc536c63ae795d616ac567f7fd0df4fe69631ab75b0252def76654
|
||||
DIST jms-1_1-fr-apidocs.zip 361922 BLAKE2B 75342eaeb56ba329948a226f48304e0a520e83f7284d5d8b46b981531b7f8c78283e38b2a488177349aaabb70276fd4ca09bc86993800906aea1469a6549f318 SHA512 ac2c7925b7f5bd3918f0c69a7b18dfa2a15f58243aef7cb429c0571ea218860fc146fd355c905e17310072263f64385b9010eafb1050158f42f498d7f21dfe1d
|
||||
|
@ -1 +1 @@
|
||||
DIST jmx-1_2_1-ri.zip 1624569 SHA256 cd61a03be89e169c8efc994e45517a91ed42c4b3fb35c728cb04c10a2b687819 SHA512 39c933ec39f3fcc631d6d8f3aa88724bb0aa11ff62dfbac61762d07c718dff4ba1e16b1b565c7aa1ede7d616516e68d0dbe8c227db34a6d30bd8f29880c7a5d1 WHIRLPOOL 01ec4824ba27143ec0f25953ef4dcabe75036cb6208343206bb156471c334ef3fd32c137ea93e7af986b53b6d2e383f26303a18d2deafb46b21438e818e54956
|
||||
DIST jmx-1_2_1-ri.zip 1624569 BLAKE2B 7262ee10ab49d7371da988f6f636c22e7ad8cc06bd61db5490659899424465f2ed85000d176e6dc5cb7631942079fde19cde35837cda677fa463cdf53c94780c SHA512 39c933ec39f3fcc631d6d8f3aa88724bb0aa11ff62dfbac61762d07c718dff4ba1e16b1b565c7aa1ede7d616516e68d0dbe8c227db34a6d30bd8f29880c7a5d1
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST crystal-0.23.0-1-linux-i686.tar.gz 18498501 BLAKE2B 7a8e4e5a2b1425b6effe0a634b74b28c340c4d23c4bfccc0abac4e5d47473e10421d025e68e1fb1fa5b0ba8296108e36cd17d393fb143b8012168d595e5852f9 SHA512 8745114c4824d2859c569ed1bd1057d6d649d57b10d41d22c17627f623704eb98ec2e3ab2bf06622de624906f53e053975a6b9d852aeaafeae4f43585609de28
|
||||
DIST crystal-0.23.0-1-linux-x86_64.tar.gz 18729061 BLAKE2B bfca07702b2f7c7d6b11aac864475316cabe86bdba90b1819ecd5cb45769b2b7fd9fb4c9f80e46301785209cc5b35fe39bf689163b9376a32b24f8a685a6281b SHA512 6a4e427b4ab3c3be6efcfaee5c1a19eff04eaf00db949d1e1ba8f29c3277affe96a7aba4273d93fd05251453d5b5b937aa792bc448ff2f6d6aa7f2b17d175f75
|
||||
DIST crystal-0.23.1-patchset.tar.bz2 7268 BLAKE2B 135990ac9f1a225f169dbc5bb6034d2194d9fc917954764564d68afec09af703382743965a801c9ce54a5866af60847b4c4fc0b9daf2cf5ea99052fbeb771b2a SHA512 68896fc5d1772eeb3dd263f1615fc8031a63d0f3eebca1feb35165adf14a610157302541c84cbc9031a3070fd5566ffe88ad03a8c523f55980520e5614b00b89
|
||||
DIST crystal-0.23.1.tar.gz 1646650 BLAKE2B 3105a683e61835d1e514d5d403b00d3dfae01100a9862d6346c45201c5fb6cba879255469652463719998e976afc495ee9fd4f14f829a709f832cd323cfc2b3b SHA512 06ee0d45cc79cc343d04c346e9cd47b6e4ebc79bf21833662f268f9604f7d2080f7696824e1959de341539f801ae8f898fe1d7b18e4c75378d4eb191878668d5
|
||||
|
@ -1,20 +0,0 @@
|
||||
Workaround tty corruption in crystal.
|
||||
|
||||
Patch restores blocking mode of file desriptors
|
||||
in exchange of potential runtime deadlocks
|
||||
when dealing with stdio.
|
||||
|
||||
Reported-by: Renich Bon Ciric
|
||||
Bug: https://github.com/crystal-lang/crystal/issues/2065
|
||||
Bug: https://bugs.gentoo.org/616256
|
||||
diff --git a/src/compiler/crystal/stdio.cr b/src/compiler/crystal/stdio.cr
|
||||
new file mode 100644
|
||||
index 000000000..e65f65089
|
||||
--- /dev/null
|
||||
+++ b/src/compiler/crystal/stdio.cr
|
||||
@@ -0,0 +1,5 @@
|
||||
+module Crystal
|
||||
+ STDIN.blocking = true
|
||||
+ STDOUT.blocking=true
|
||||
+ STDERR.blocking = true
|
||||
+end
|
@ -1,9 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index eff69e5..5c0c024 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -28,3 +28,3 @@ SOURCES := $(shell find src -name '*.cr')
|
||||
SPEC_SOURCES := $(shell find spec -name '*.cr')
|
||||
-FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )
|
||||
+FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(verbose),--verbose )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
|
||||
SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )
|
@ -1,837 +0,0 @@
|
||||
https://bugs.gentoo.org/630634
|
||||
diff --git a/.gitignore b/.gitignore
|
||||
index 9a883edfd..5f852d930 100644
|
||||
--- a/.gitignore
|
||||
+++ b/.gitignore
|
||||
@@ -12,5 +12,6 @@ all_spec
|
||||
/tmp
|
||||
/doc/
|
||||
/src/llvm/ext/llvm_ext.o
|
||||
+/src/llvm/ext/llvm_ext.dwo
|
||||
/src/ext/*.o
|
||||
/src/ext/libcrystal.a
|
||||
diff --git a/Makefile b/Makefile
|
||||
index a5dc0d7e3..14a21bb86 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -37,8 +37,6 @@ LLVM_CONFIG_FINDER := \
|
||||
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.9*) command -v llvm-config;; *) false;; esac)) || \
|
||||
command -v llvm-config-3.8 || command -v llvm-config38 || \
|
||||
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.8*) command -v llvm-config;; *) false;; esac)) || \
|
||||
- command -v llvm-config-3.6 || command -v llvm-config36 || \
|
||||
- command -v llvm-config-3.5 || command -v llvm-config35 || \
|
||||
command -v llvm-config
|
||||
LLVM_CONFIG := $(shell $(LLVM_CONFIG_FINDER))
|
||||
LLVM_EXT_DIR = src/llvm/ext
|
||||
diff --git a/src/compiler/crystal/compiler.cr b/src/compiler/crystal/compiler.cr
|
||||
index a2bed9a95..afc7976e3 100644
|
||||
--- a/src/compiler/crystal/compiler.cr
|
||||
+++ b/src/compiler/crystal/compiler.cr
|
||||
@@ -447,9 +447,6 @@ module Crystal
|
||||
|
||||
protected def optimize(llvm_mod)
|
||||
fun_pass_manager = llvm_mod.new_function_pass_manager
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- fun_pass_manager.add_target_data target_machine.data_layout
|
||||
- {% end %}
|
||||
pass_manager_builder.populate fun_pass_manager
|
||||
fun_pass_manager.run llvm_mod
|
||||
module_pass_manager.run llvm_mod
|
||||
@@ -460,9 +457,6 @@ module Crystal
|
||||
private def module_pass_manager
|
||||
@module_pass_manager ||= begin
|
||||
mod_pass_manager = LLVM::ModulePassManager.new
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- mod_pass_manager.add_target_data target_machine.data_layout
|
||||
- {% end %}
|
||||
pass_manager_builder.populate mod_pass_manager
|
||||
mod_pass_manager
|
||||
end
|
||||
@@ -554,54 +548,29 @@ module Crystal
|
||||
can_reuse_previous_compilation =
|
||||
!compiler.emit && !@bc_flags_changed && File.exists?(bc_name) && File.exists?(object_name)
|
||||
|
||||
- {% if LibLLVM::IS_35 %}
|
||||
- # In LLVM 3.5 we can't write a bitcode to memory,
|
||||
- # so instead we write it to another file
|
||||
- bc_name_new = self.bc_name_new
|
||||
- llvm_mod.write_bitcode_to_file(bc_name_new)
|
||||
-
|
||||
- if can_reuse_previous_compilation
|
||||
- if FileUtils.cmp(bc_name, bc_name_new)
|
||||
- # If the user cancelled a previous compilation it might be that
|
||||
- # the .o file is empty
|
||||
- if File.size(object_name) > 0
|
||||
- File.delete bc_name_new
|
||||
- must_compile = false
|
||||
- end
|
||||
- end
|
||||
- end
|
||||
+ memory_buffer = llvm_mod.write_bitcode_to_memory_buffer
|
||||
|
||||
- if must_compile
|
||||
- # Create/overwrite the .bc file (for next compilations)
|
||||
- File.rename(bc_name_new, bc_name)
|
||||
- compiler.optimize llvm_mod if compiler.release?
|
||||
- compiler.target_machine.emit_obj_to_file llvm_mod, object_name
|
||||
- end
|
||||
- {% else %}
|
||||
- memory_buffer = llvm_mod.write_bitcode_to_memory_buffer
|
||||
-
|
||||
- if can_reuse_previous_compilation
|
||||
- memory_io = IO::Memory.new(memory_buffer.to_slice)
|
||||
- changed = File.open(bc_name) { |bc_file| !FileUtils.cmp(bc_file, memory_io) }
|
||||
-
|
||||
- # If the user cancelled a previous compilation
|
||||
- # it might be that the .o file is empty
|
||||
- if !changed && File.size(object_name) > 0
|
||||
- must_compile = false
|
||||
- memory_buffer.dispose
|
||||
- memory_buffer = nil
|
||||
- else
|
||||
- # We need to compile, so we'll write the memory buffer to file
|
||||
- end
|
||||
- end
|
||||
+ if can_reuse_previous_compilation
|
||||
+ memory_io = IO::Memory.new(memory_buffer.to_slice)
|
||||
+ changed = File.open(bc_name) { |bc_file| !FileUtils.cmp(bc_file, memory_io) }
|
||||
|
||||
- # If there's a memory buffer, it means we must create a .o from it
|
||||
- if memory_buffer
|
||||
- # Create the .bc file (for next compilations)
|
||||
- File.write(bc_name, memory_buffer.to_slice)
|
||||
+ # If the user cancelled a previous compilation
|
||||
+ # it might be that the .o file is empty
|
||||
+ if !changed && File.size(object_name) > 0
|
||||
+ must_compile = false
|
||||
memory_buffer.dispose
|
||||
+ memory_buffer = nil
|
||||
+ else
|
||||
+ # We need to compile, so we'll write the memory buffer to file
|
||||
end
|
||||
- {% end %}
|
||||
+ end
|
||||
+
|
||||
+ # If there's a memory buffer, it means we must create a .o from it
|
||||
+ if memory_buffer
|
||||
+ # Create the .bc file (for next compilations)
|
||||
+ File.write(bc_name, memory_buffer.to_slice)
|
||||
+ memory_buffer.dispose
|
||||
+ end
|
||||
|
||||
if must_compile
|
||||
compiler.optimize llvm_mod if compiler.release?
|
||||
diff --git a/src/llvm.cr b/src/llvm.cr
|
||||
index 44a03c272..f9b31cf4b 100644
|
||||
--- a/src/llvm.cr
|
||||
+++ b/src/llvm.cr
|
||||
@@ -94,11 +94,5 @@ module LLVM
|
||||
string
|
||||
end
|
||||
|
||||
- {% if LibLLVM::IS_35 %}
|
||||
- DEBUG_METADATA_VERSION = 1
|
||||
- {% elsif LibLLVM::IS_36 %}
|
||||
- DEBUG_METADATA_VERSION = 2
|
||||
- {% else %}
|
||||
- DEBUG_METADATA_VERSION = 3
|
||||
- {% end %}
|
||||
+ DEBUG_METADATA_VERSION = 3
|
||||
end
|
||||
diff --git a/src/llvm/context.cr b/src/llvm/context.cr
|
||||
index 8485eedf1..7d66a4365 100644
|
||||
--- a/src/llvm/context.cr
|
||||
+++ b/src/llvm/context.cr
|
||||
@@ -9,9 +9,9 @@ class LLVM::Context
|
||||
end
|
||||
|
||||
def new_module(name : String) : Module
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
Module.new(LibLLVM.module_create_with_name_in_context(name, self), name, self)
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
Module.new(LibLLVM.module_create_with_name_in_context(name, self), self)
|
||||
{% end %}
|
||||
end
|
||||
@@ -104,9 +104,9 @@ class LLVM::Context
|
||||
if ret != 0 && msg
|
||||
raise LLVM.string_and_dispose(msg)
|
||||
end
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
Module.new(mod, "unknown", self)
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
Module.new(mod, self)
|
||||
{% end %}
|
||||
end
|
||||
diff --git a/src/llvm/di_builder.cr b/src/llvm/di_builder.cr
|
||||
index b8c0fd628..79571d2c0 100644
|
||||
--- a/src/llvm/di_builder.cr
|
||||
+++ b/src/llvm/di_builder.cr
|
||||
@@ -31,16 +31,8 @@ struct LLVM::DIBuilder
|
||||
|
||||
def create_function(scope, name, linkage_name, file, line, composite_type, is_local_to_unit, is_definition,
|
||||
scope_line, flags, is_optimized, func)
|
||||
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
- LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
|
||||
- is_local_to_unit ? 1 : 0,
|
||||
- is_definition ? 1 : 0,
|
||||
- scope_line, flags,
|
||||
- is_optimized ? 1 : 0, func)
|
||||
- {% else %}
|
||||
- LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
|
||||
- is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
|
||||
- {% end %}
|
||||
+ LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
|
||||
+ is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
|
||||
end
|
||||
|
||||
def create_auto_variable(scope, name, file, line, type, align_in_bits)
|
||||
@@ -87,19 +79,11 @@ struct LLVM::DIBuilder
|
||||
end
|
||||
|
||||
def create_replaceable_composite_type(scope, name, file, line, context : Context)
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- LibLLVMExt.temporary_md_node(context, nil, 0).as(LibLLVMExt::Metadata)
|
||||
- {% else %}
|
||||
- LibLLVMExt.di_builder_create_replaceable_composite_type(self, scope, name, file, line)
|
||||
- {% end %}
|
||||
+ LibLLVMExt.di_builder_create_replaceable_composite_type(self, scope, name, file, line)
|
||||
end
|
||||
|
||||
def replace_temporary(from, to)
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- LibLLVMExt.metadata_replace_all_uses_with(from, to)
|
||||
- {% else %}
|
||||
- LibLLVMExt.di_builder_replace_temporary(self, from, to)
|
||||
- {% end %}
|
||||
+ LibLLVMExt.di_builder_replace_temporary(self, from, to)
|
||||
end
|
||||
|
||||
def end
|
||||
diff --git a/src/llvm/ext/llvm_ext.cc b/src/llvm/ext/llvm_ext.cc
|
||||
index d13446160..3dbdd4220 100644
|
||||
--- a/src/llvm/ext/llvm_ext.cc
|
||||
+++ b/src/llvm/ext/llvm_ext.cc
|
||||
@@ -18,35 +18,22 @@ using namespace llvm;
|
||||
#define LLVM_VERSION_LE(major, minor) \
|
||||
(LLVM_VERSION_MAJOR < (major) || LLVM_VERSION_MAJOR == (major) && LLVM_VERSION_MINOR <= (minor))
|
||||
|
||||
+#if LLVM_VERSION_LE(4, 0)
|
||||
typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
|
||||
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(DIBuilder, LLVMDIBuilderRef)
|
||||
|
||||
-#if LLVM_VERSION_EQ(3, 5)
|
||||
-typedef LLVMValueRef LLVMMetadataRef;
|
||||
-typedef Value Metadata;
|
||||
-#define DIBuilderRef LLVMDIBuilderRef
|
||||
-
|
||||
-#else /* LLVM != 3.5 */
|
||||
typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
|
||||
DEFINE_ISA_CONVERSION_FUNCTIONS(Metadata, LLVMMetadataRef)
|
||||
inline Metadata **unwrap(LLVMMetadataRef *Vals) {
|
||||
return reinterpret_cast<Metadata **>(Vals);
|
||||
}
|
||||
-#endif /* LLVM == 3.5 */
|
||||
-
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
-template <typename T> T unwrapDIptr(LLVMMetadataRef v) {
|
||||
- return v ? T(unwrap<MDNode>(v)) : T();
|
||||
-}
|
||||
-#define DIBuilderRef LLVMDIBuilderRef
|
||||
+#endif
|
||||
|
||||
-#else /* LLVM > 3.6 */
|
||||
typedef DIBuilder *DIBuilderRef;
|
||||
#define DIArray DINodeArray
|
||||
template <typename T> T *unwrapDIptr(LLVMMetadataRef v) {
|
||||
return (T *)(v ? unwrap<MDNode>(v) : NULL);
|
||||
}
|
||||
-#endif /* LLVM <= 3.6 */
|
||||
|
||||
#if LLVM_VERSION_LE(3, 6)
|
||||
#define OperandBundleDef void
|
||||
@@ -66,13 +53,7 @@ void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) { unwrap(dref)->finalize(); }
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateFile(DIBuilderRef Dref, const char *File,
|
||||
const char *Dir) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIFile F = D->createFile(File, Dir);
|
||||
- return wrap(F);
|
||||
-#else
|
||||
return wrap(Dref->createFile(File, Dir));
|
||||
-#endif
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(DIBuilderRef Dref, unsigned Lang,
|
||||
@@ -82,20 +63,13 @@ LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(DIBuilderRef Dref, unsigned Lang,
|
||||
int Optimized,
|
||||
const char *Flags,
|
||||
unsigned RuntimeVersion) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DICompileUnit CU = D->createCompileUnit(Lang, File, Dir, Producer, Optimized,
|
||||
- Flags, RuntimeVersion);
|
||||
- return wrap(CU);
|
||||
-#else
|
||||
-# if LLVM_VERSION_LE(3, 9)
|
||||
+#if LLVM_VERSION_LE(3, 9)
|
||||
return wrap(Dref->createCompileUnit(Lang, File, Dir, Producer, Optimized,
|
||||
Flags, RuntimeVersion));
|
||||
-# else
|
||||
+#else
|
||||
DIFile *F = Dref->createFile(File, Dir);
|
||||
return wrap(Dref->createCompileUnit(Lang, F, Producer, Optimized,
|
||||
Flags, RuntimeVersion));
|
||||
-# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -111,19 +85,11 @@ LLVMMetadataRef LLVMDIBuilderCreateFunction(
|
||||
#endif
|
||||
bool IsOptimized,
|
||||
LLVMValueRef Func) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DISubprogram Sub = D->createFunction(
|
||||
- unwrapDI<DIDescriptor>(Scope), Name, LinkageName, unwrapDI<DIFile>(File),
|
||||
- Line, unwrapDI<DICompositeType>(CompositeType), IsLocalToUnit,
|
||||
- IsDefinition, ScopeLine, Flags, IsOptimized, unwrap<Function>(Func));
|
||||
-#else
|
||||
DISubprogram *Sub = Dref->createFunction(
|
||||
unwrapDI<DIScope>(Scope), Name, LinkageName, unwrapDI<DIFile>(File), Line,
|
||||
unwrapDI<DISubroutineType>(CompositeType), IsLocalToUnit, IsDefinition,
|
||||
ScopeLine, Flags, IsOptimized);
|
||||
unwrap<Function>(Func)->setSubprogram(Sub);
|
||||
-#endif
|
||||
return wrap(Sub);
|
||||
}
|
||||
|
||||
@@ -132,18 +98,8 @@ LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(DIBuilderRef Dref,
|
||||
LLVMMetadataRef File,
|
||||
unsigned Line,
|
||||
unsigned Column) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
-# if LLVM_VERSION_EQ(3, 5)
|
||||
- DILexicalBlock LB = D->createLexicalBlock(unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column, 0);
|
||||
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
|
||||
- DILexicalBlock LB = D->createLexicalBlock(unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column);
|
||||
-# endif
|
||||
- return wrap(LB);
|
||||
-#else /* LLVM > 3.6 */
|
||||
return wrap(Dref->createLexicalBlock(unwrapDI<DIDescriptor>(Scope),
|
||||
unwrapDI<DIFile>(File), Line, Column));
|
||||
-#endif /* LLVM <= 3.6 */
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref,
|
||||
@@ -151,71 +107,34 @@ LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref,
|
||||
uint64_t SizeInBits,
|
||||
uint64_t AlignInBits,
|
||||
unsigned Encoding) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIBasicType T = D->createBasicType(Name, SizeInBits, AlignInBits, Encoding);
|
||||
- return wrap(T);
|
||||
-#else
|
||||
-# if LLVM_VERSION_LE(3, 9)
|
||||
+#if LLVM_VERSION_LE(3, 9)
|
||||
return wrap(Dref->createBasicType(Name, SizeInBits, AlignInBits, Encoding));
|
||||
-# else
|
||||
+#else
|
||||
return wrap(Dref->createBasicType(Name, SizeInBits, Encoding));
|
||||
-# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(DIBuilderRef Dref,
|
||||
LLVMMetadataRef *Data,
|
||||
unsigned Length) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
-# if LLVM_VERSION_EQ(3, 5)
|
||||
- Value **DataValue = unwrap(Data);
|
||||
- ArrayRef<Value *> Elements(DataValue, Length);
|
||||
- DIArray A = D->getOrCreateArray(Elements);
|
||||
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
|
||||
- Metadata **DataValue = unwrap(Data);
|
||||
- ArrayRef<Metadata *> Elements(DataValue, Length);
|
||||
- DITypeArray A = D->getOrCreateTypeArray(Elements);
|
||||
-# endif
|
||||
- return wrap(A);
|
||||
-#else /* LLVM > 3.6 */
|
||||
Metadata **DataValue = unwrap(Data);
|
||||
return wrap(
|
||||
Dref->getOrCreateTypeArray(ArrayRef<Metadata *>(DataValue, Length))
|
||||
.get());
|
||||
-#endif /* LLVM <= 3.6 */
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(DIBuilderRef Dref,
|
||||
LLVMMetadataRef *Data,
|
||||
unsigned Length) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- ArrayRef<Metadata *> elements(unwrap(Data), Length);
|
||||
- DIArray a = D->getOrCreateArray(elements);
|
||||
-
|
||||
- return wrap(a);
|
||||
-#else
|
||||
Metadata **DataValue = unwrap(Data);
|
||||
return wrap(
|
||||
Dref->getOrCreateArray(ArrayRef<Metadata *>(DataValue, Length)).get());
|
||||
-#endif
|
||||
}
|
||||
|
||||
LLVMMetadataRef
|
||||
LLVMDIBuilderCreateSubroutineType(DIBuilderRef Dref, LLVMMetadataRef File,
|
||||
LLVMMetadataRef ParameterTypes) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
-# if LLVM_VERSION_EQ(3, 5)
|
||||
- DICompositeType CT = D->createSubroutineType(unwrapDI<DIFile>(File), unwrapDI<DIArray>(ParameterTypes));
|
||||
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
|
||||
- DICompositeType CT = D->createSubroutineType(unwrapDI<DIFile>(File), unwrapDI<DITypeArray>(ParameterTypes));
|
||||
-# endif
|
||||
-#else /* LLVM > 3.6 */
|
||||
DISubroutineType *CT = Dref->createSubroutineType(DITypeRefArray(unwrap<MDTuple>(ParameterTypes)));
|
||||
-#endif /* LLVM <= 3.6 */
|
||||
return wrap(CT);
|
||||
}
|
||||
|
||||
@@ -229,21 +148,14 @@ LLVMMetadataRef LLVMDIBuilderCreateAutoVariable(
|
||||
DINode::DIFlags Flags,
|
||||
#endif
|
||||
uint32_t AlignInBits) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIVariable V = D->createLocalVariable(
|
||||
- llvm::dwarf::DW_TAG_auto_variable, unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
- unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, 0);
|
||||
-#else
|
||||
-# if LLVM_VERSION_LE(3, 9)
|
||||
+#if LLVM_VERSION_LE(3, 9)
|
||||
DILocalVariable *V = Dref->createAutoVariable(
|
||||
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags);
|
||||
-# else
|
||||
+#else
|
||||
DILocalVariable *V = Dref->createAutoVariable(
|
||||
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, AlignInBits);
|
||||
-# endif
|
||||
#endif
|
||||
return wrap(V);
|
||||
}
|
||||
@@ -258,18 +170,10 @@ LLVMMetadataRef LLVMDIBuilderCreateParameterVariable(
|
||||
DINode::DIFlags Flags
|
||||
#endif
|
||||
) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIVariable V = D->createLocalVariable(
|
||||
- llvm::dwarf::DW_TAG_arg_variable, unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
- unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, ArgNo);
|
||||
- return wrap(V);
|
||||
-#else
|
||||
DILocalVariable *V = Dref->createParameterVariable
|
||||
(unwrapDI<DIDescriptor>(Scope), Name, ArgNo, unwrapDI<DIFile>(File), Line,
|
||||
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags);
|
||||
return wrap(V);
|
||||
-#endif
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(DIBuilderRef Dref,
|
||||
@@ -278,46 +182,17 @@ LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(DIBuilderRef Dref,
|
||||
LLVMMetadataRef Expr,
|
||||
LLVMValueRef DL,
|
||||
LLVMBasicBlockRef Block) {
|
||||
-#if LLVM_VERSION_EQ(3, 5)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- Instruction *Instr =
|
||||
- D->insertDeclare(unwrap(Storage), unwrapDI<DIVariable>(VarInfo),
|
||||
- unwrap(Block));
|
||||
- Instr->setDebugLoc(DebugLoc::getFromDILocation(cast<MDNode>(DL)));
|
||||
-#endif
|
||||
-
|
||||
-#if LLVM_VERSION_EQ(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- Instruction *Instr =
|
||||
- D->insertDeclare(unwrap(Storage), unwrapDI<DIVariable>(VarInfo),
|
||||
- unwrapDI<DIExpression>(Expr), unwrap(Block));
|
||||
- Instr->setDebugLoc(DebugLoc::getFromDILocation(cast<MDNode>(unwrap<MetadataAsValue>(DL)->getMetadata())));
|
||||
-#endif
|
||||
-
|
||||
-#if LLVM_VERSION_GE(3, 7)
|
||||
Instruction *Instr =
|
||||
Dref->insertDeclare(unwrap(Storage), unwrap<DILocalVariable>(VarInfo),
|
||||
unwrapDI<DIExpression>(Expr),
|
||||
DebugLoc(cast<MDNode>(unwrap<MetadataAsValue>(DL)->getMetadata())),
|
||||
unwrap(Block));
|
||||
-#endif
|
||||
-
|
||||
return wrap(Instr);
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateExpression(DIBuilderRef Dref, int64_t *Addr,
|
||||
size_t Length) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
-# if LLVM_VERSION_EQ(3, 5)
|
||||
- return nullptr;
|
||||
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIExpression Expr = D->createExpression(ArrayRef<int64_t>(Addr, Length));
|
||||
- return wrap(Expr);
|
||||
-# endif
|
||||
-#else /* LLVM > 3.6 */
|
||||
return wrap(Dref->createExpression(ArrayRef<int64_t>(Addr, Length)));
|
||||
-#endif
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(
|
||||
@@ -325,30 +200,16 @@ LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(
|
||||
LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits,
|
||||
uint64_t AlignInBits, LLVMMetadataRef Elements,
|
||||
LLVMMetadataRef UnderlyingType) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DICompositeType enumType = D->createEnumerationType(
|
||||
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), LineNumber,
|
||||
- SizeInBits, AlignInBits, unwrapDI<DIArray>(Elements),
|
||||
- unwrapDI<DIType>(UnderlyingType));
|
||||
-#else
|
||||
DICompositeType *enumType = Dref->createEnumerationType(
|
||||
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), LineNumber,
|
||||
SizeInBits, AlignInBits, DINodeArray(unwrapDI<MDTuple>(Elements)),
|
||||
unwrapDI<DIType>(UnderlyingType));
|
||||
-#endif
|
||||
return wrap(enumType);
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateEnumerator(DIBuilderRef Dref,
|
||||
const char *Name, int64_t Value) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIEnumerator e = D->createEnumerator(Name, Value);
|
||||
- return wrap(e);
|
||||
-#else
|
||||
DIEnumerator *e = Dref->createEnumerator(Name, Value);
|
||||
-#endif
|
||||
return wrap(e);
|
||||
}
|
||||
|
||||
@@ -367,22 +228,13 @@ LLVMDIBuilderCreateStructType(DIBuilderRef Dref,
|
||||
#endif
|
||||
LLVMMetadataRef DerivedFrom,
|
||||
LLVMMetadataRef Elements) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DICompositeType CT = D->createStructType(
|
||||
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
- SizeInBits, AlignInBits, Flags, unwrapDI<DIType>(DerivedFrom),
|
||||
- unwrapDI<DIArray>(Elements));
|
||||
-#else
|
||||
DICompositeType *CT = Dref->createStructType(
|
||||
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
SizeInBits, AlignInBits, Flags, unwrapDI<DIType>(DerivedFrom),
|
||||
DINodeArray(unwrapDI<MDTuple>(Elements)));
|
||||
-#endif
|
||||
return wrap(CT);
|
||||
}
|
||||
|
||||
-#if LLVM_VERSION_GE(3, 8)
|
||||
LLVMMetadataRef
|
||||
LLVMDIBuilderCreateReplaceableCompositeType(DIBuilderRef Dref,
|
||||
LLVMMetadataRef Scope,
|
||||
@@ -409,7 +261,6 @@ LLVMDIBuilderReplaceTemporary(DIBuilderRef Dref,
|
||||
llvm::TempMDNode fwd_decl(Node);
|
||||
Dref->replaceTemporary(std::move(fwd_decl), Type);
|
||||
}
|
||||
-#endif
|
||||
|
||||
LLVMMetadataRef
|
||||
LLVMDIBuilderCreateMemberType(DIBuilderRef Dref, LLVMMetadataRef Scope,
|
||||
@@ -422,16 +273,9 @@ LLVMDIBuilderCreateMemberType(DIBuilderRef Dref, LLVMMetadataRef Scope,
|
||||
DINode::DIFlags Flags,
|
||||
#endif
|
||||
LLVMMetadataRef Ty) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIDerivedType DT = D->createMemberType(
|
||||
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
- SizeInBits, AlignInBits, OffsetInBits, Flags, unwrapDI<DIType>(Ty));
|
||||
-#else
|
||||
DIDerivedType *DT = Dref->createMemberType(
|
||||
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
|
||||
SizeInBits, AlignInBits, OffsetInBits, Flags, unwrapDI<DIType>(Ty));
|
||||
-#endif
|
||||
return wrap(DT);
|
||||
}
|
||||
|
||||
@@ -440,39 +284,24 @@ LLVMMetadataRef LLVMDIBuilderCreatePointerType(DIBuilderRef Dref,
|
||||
uint64_t SizeInBits,
|
||||
uint64_t AlignInBits,
|
||||
const char *Name) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- DIBuilder *D = unwrap(Dref);
|
||||
- DIDerivedType T = D->createPointerType(unwrapDI<DIType>(PointeeType),
|
||||
- SizeInBits, AlignInBits, Name);
|
||||
-#else
|
||||
DIDerivedType *T = Dref->createPointerType(unwrapDI<DIType>(PointeeType),
|
||||
- SizeInBits, AlignInBits, Name);
|
||||
+ SizeInBits, AlignInBits,
|
||||
+#if LLVM_VERSION_GE(5, 0)
|
||||
+ None,
|
||||
#endif
|
||||
+ Name);
|
||||
return wrap(T);
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs,
|
||||
unsigned Count) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
- return wrap(MDNode::getTemporary(*unwrap(C),
|
||||
- ArrayRef<Metadata *>(unwrap(MDs), Count)));
|
||||
-#else
|
||||
return wrap(MDTuple::getTemporary(*unwrap(C),
|
||||
ArrayRef<Metadata *>(unwrap(MDs), Count))
|
||||
.release());
|
||||
-#endif
|
||||
}
|
||||
|
||||
void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef MD, LLVMMetadataRef New) {
|
||||
-#if LLVM_VERSION_LE(3, 6)
|
||||
-# if LLVM_VERSION_EQ(3, 5)
|
||||
auto *Node = unwrap<MDNode>(MD);
|
||||
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
|
||||
- auto *Node = unwrap<MDNodeFwdDecl>(MD);
|
||||
-# endif
|
||||
-#else /* LLVM > 3.6 */
|
||||
- auto *Node = unwrap<MDNode>(MD);
|
||||
-#endif
|
||||
Node->replaceAllUsesWith(unwrap<MDNode>(New));
|
||||
MDNode::deleteTemporary(Node);
|
||||
}
|
||||
diff --git a/src/llvm/function_pass_manager.cr b/src/llvm/function_pass_manager.cr
|
||||
index 979cb9c97..834d72a20 100644
|
||||
--- a/src/llvm/function_pass_manager.cr
|
||||
+++ b/src/llvm/function_pass_manager.cr
|
||||
@@ -2,12 +2,6 @@ class LLVM::FunctionPassManager
|
||||
def initialize(@unwrap : LibLLVM::PassManagerRef)
|
||||
end
|
||||
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- def add_target_data(target_data)
|
||||
- LibLLVM.add_target_data target_data, self
|
||||
- end
|
||||
- {% end %}
|
||||
-
|
||||
def run(mod : Module)
|
||||
changed = false
|
||||
run do |runner|
|
||||
diff --git a/src/llvm/lib_llvm.cr b/src/llvm/lib_llvm.cr
|
||||
index e2c7a9445..5a0b67cdd 100644
|
||||
--- a/src/llvm/lib_llvm.cr
|
||||
+++ b/src/llvm/lib_llvm.cr
|
||||
@@ -6,8 +6,6 @@ lib LibLLVM
|
||||
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.9*) command -v llvm-config;; *) false;; esac)) || \
|
||||
command -v llvm-config-3.8 || command -v llvm-config38 || \
|
||||
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.8*) command -v llvm-config;; *) false;; esac)) || \
|
||||
- command -v llvm-config-3.6 || command -v llvm-config36 || \
|
||||
- command -v llvm-config-3.5 || command -v llvm-config35 || \
|
||||
command -v llvm-config
|
||||
`.chomp.stringify
|
||||
}}
|
||||
@@ -32,8 +30,6 @@ end
|
||||
IS_40 = {{LibLLVM::VERSION.starts_with?("4.0")}}
|
||||
IS_39 = {{LibLLVM::VERSION.starts_with?("3.9")}}
|
||||
IS_38 = {{LibLLVM::VERSION.starts_with?("3.8")}}
|
||||
- IS_36 = {{LibLLVM::VERSION.starts_with?("3.6")}}
|
||||
- IS_35 = {{LibLLVM::VERSION.starts_with?("3.5")}}
|
||||
end
|
||||
{% end %}
|
||||
|
||||
@@ -283,9 +279,7 @@ lib LibLLVM
|
||||
fun set_alignment = LLVMSetAlignment(value : ValueRef, bytes : UInt32)
|
||||
fun get_return_type = LLVMGetReturnType(TypeRef) : TypeRef
|
||||
|
||||
- {% unless LibLLVM::IS_35 %}
|
||||
- fun write_bitcode_to_memory_buffer = LLVMWriteBitcodeToMemoryBuffer(mod : ModuleRef) : MemoryBufferRef
|
||||
- {% end %}
|
||||
+ fun write_bitcode_to_memory_buffer = LLVMWriteBitcodeToMemoryBuffer(mod : ModuleRef) : MemoryBufferRef
|
||||
|
||||
fun dispose_memory_buffer = LLVMDisposeMemoryBuffer(buf : MemoryBufferRef) : Void
|
||||
fun get_buffer_start = LLVMGetBufferStart(buf : MemoryBufferRef) : UInt8*
|
||||
@@ -293,26 +287,22 @@ lib LibLLVM
|
||||
|
||||
fun write_bitcode_to_fd = LLVMWriteBitcodeToFD(mod : ModuleRef, fd : LibC::Int, should_close : LibC::Int, unbuffered : LibC::Int) : LibC::Int
|
||||
|
||||
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
- fun add_target_data = LLVMAddTargetData(td : TargetDataRef, pm : PassManagerRef)
|
||||
- {% end %}
|
||||
-
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
fun copy_string_rep_of_target_data = LLVMCopyStringRepOfTargetData(data : TargetDataRef) : UInt8*
|
||||
fun get_target_machine_data = LLVMGetTargetMachineData(t : TargetMachineRef) : TargetDataRef
|
||||
fun set_data_layout = LLVMSetDataLayout(mod : ModuleRef, data : UInt8*)
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
fun create_target_data_layout = LLVMCreateTargetDataLayout(t : TargetMachineRef) : TargetDataRef
|
||||
fun set_module_data_layout = LLVMSetModuleDataLayout(mod : ModuleRef, data : TargetDataRef)
|
||||
{% end %}
|
||||
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
fun add_attribute = LLVMAddAttribute(arg : ValueRef, attr : LLVM::Attribute)
|
||||
fun add_instr_attribute = LLVMAddInstrAttribute(instr : ValueRef, index : UInt32, attr : LLVM::Attribute)
|
||||
fun add_function_attr = LLVMAddFunctionAttr(fn : ValueRef, pa : LLVM::Attribute)
|
||||
fun get_function_attr = LLVMGetFunctionAttr(fn : ValueRef) : LLVM::Attribute
|
||||
fun get_attribute = LLVMGetAttribute(arg : ValueRef) : LLVM::Attribute
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
type AttributeRef = Void*
|
||||
alias AttributeIndex = UInt
|
||||
|
||||
diff --git a/src/llvm/lib_llvm_ext.cr b/src/llvm/lib_llvm_ext.cr
|
||||
index 84c65cccb..953567eb8 100644
|
||||
--- a/src/llvm/lib_llvm_ext.cr
|
||||
+++ b/src/llvm/lib_llvm_ext.cr
|
||||
@@ -13,19 +13,11 @@ lib LibLLVMExt
|
||||
fun create_di_builder = LLVMNewDIBuilder(LibLLVM::ModuleRef) : DIBuilder
|
||||
fun di_builder_finalize = LLVMDIBuilderFinalize(DIBuilder)
|
||||
|
||||
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
- fun di_builder_create_function = LLVMDIBuilderCreateFunction(
|
||||
- builder : DIBuilder, scope : Metadata, name : Char*,
|
||||
- linkage_name : Char*, file : Metadata, line : UInt,
|
||||
- composite_type : Metadata, is_local_to_unit : Int, is_definition : Int,
|
||||
- scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Int, func : LibLLVM::ValueRef) : Metadata
|
||||
- {% else %}
|
||||
- fun di_builder_create_function = LLVMDIBuilderCreateFunction(
|
||||
- builder : DIBuilder, scope : Metadata, name : Char*,
|
||||
- linkage_name : Char*, file : Metadata, line : UInt,
|
||||
- composite_type : Metadata, is_local_to_unit : Bool, is_definition : Bool,
|
||||
- scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Bool, func : LibLLVM::ValueRef) : Metadata
|
||||
- {% end %}
|
||||
+ fun di_builder_create_function = LLVMDIBuilderCreateFunction(
|
||||
+ builder : DIBuilder, scope : Metadata, name : Char*,
|
||||
+ linkage_name : Char*, file : Metadata, line : UInt,
|
||||
+ composite_type : Metadata, is_local_to_unit : Bool, is_definition : Bool,
|
||||
+ scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Bool, func : LibLLVM::ValueRef) : Metadata
|
||||
|
||||
fun di_builder_create_file = LLVMDIBuilderCreateFile(builder : DIBuilder, file : Char*, dir : Char*) : Metadata
|
||||
fun di_builder_create_compile_unit = LLVMDIBuilderCreateCompileUnit(builder : DIBuilder,
|
||||
@@ -94,17 +86,12 @@ lib LibLLVMExt
|
||||
align_in_bits : UInt64,
|
||||
name : Char*) : Metadata
|
||||
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- fun temporary_md_node = LLVMTemporaryMDNode(context : LibLLVM::ContextRef, mds : Metadata*, count : UInt) : Metadata
|
||||
- fun metadata_replace_all_uses_with = LLVMMetadataReplaceAllUsesWith(Metadata, Metadata)
|
||||
- {% else %}
|
||||
- fun di_builder_create_replaceable_composite_type = LLVMDIBuilderCreateReplaceableCompositeType(builder : DIBuilder,
|
||||
- scope : Metadata,
|
||||
- name : Char*,
|
||||
- file : Metadata,
|
||||
- line : UInt) : Metadata
|
||||
- fun di_builder_replace_temporary = LLVMDIBuilderReplaceTemporary(builder : DIBuilder, from : Metadata, to : Metadata)
|
||||
- {% end %}
|
||||
+ fun di_builder_create_replaceable_composite_type = LLVMDIBuilderCreateReplaceableCompositeType(builder : DIBuilder,
|
||||
+ scope : Metadata,
|
||||
+ name : Char*,
|
||||
+ file : Metadata,
|
||||
+ line : UInt) : Metadata
|
||||
+ fun di_builder_replace_temporary = LLVMDIBuilderReplaceTemporary(builder : DIBuilder, from : Metadata, to : Metadata)
|
||||
|
||||
fun set_current_debug_location = LLVMSetCurrentDebugLocation2(LibLLVM::BuilderRef, Int, Int, Metadata, Metadata)
|
||||
|
||||
diff --git a/src/llvm/module.cr b/src/llvm/module.cr
|
||||
index cb71e3b21..c15a56e77 100644
|
||||
--- a/src/llvm/module.cr
|
||||
+++ b/src/llvm/module.cr
|
||||
@@ -6,7 +6,7 @@ class LLVM::Module
|
||||
|
||||
getter context : Context
|
||||
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
def initialize(@unwrap : LibLLVM::ModuleRef, @name : String, @context : Context)
|
||||
@owned = false
|
||||
end
|
||||
@@ -14,7 +14,7 @@ class LLVM::Module
|
||||
def name : String
|
||||
@name
|
||||
end
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
def initialize(@unwrap : LibLLVM::ModuleRef, @context : Context)
|
||||
@owned = false
|
||||
end
|
||||
@@ -34,9 +34,9 @@ class LLVM::Module
|
||||
end
|
||||
|
||||
def data_layout=(data : TargetData)
|
||||
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ {% if LibLLVM::IS_38 %}
|
||||
LibLLVM.set_data_layout(self, data.to_data_layout_string)
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
LibLLVM.set_module_data_layout(self, data)
|
||||
{% end %}
|
||||
end
|
||||
@@ -57,11 +57,9 @@ class LLVM::Module
|
||||
LibLLVM.write_bitcode_to_file self, filename
|
||||
end
|
||||
|
||||
- {% unless LibLLVM::IS_35 %}
|
||||
- def write_bitcode_to_memory_buffer
|
||||
- MemoryBuffer.new(LibLLVM.write_bitcode_to_memory_buffer self)
|
||||
- end
|
||||
- {% end %}
|
||||
+ def write_bitcode_to_memory_buffer
|
||||
+ MemoryBuffer.new(LibLLVM.write_bitcode_to_memory_buffer self)
|
||||
+ end
|
||||
|
||||
def write_bitcode_to_fd(fd : Int, should_close = false, buffered = false)
|
||||
LibLLVM.write_bitcode_to_fd(self, fd, should_close ? 1 : 0, buffered ? 1 : 0)
|
||||
diff --git a/src/llvm/module_pass_manager.cr b/src/llvm/module_pass_manager.cr
|
||||
index 10bfa60bd..519227809 100644
|
||||
--- a/src/llvm/module_pass_manager.cr
|
||||
+++ b/src/llvm/module_pass_manager.cr
|
||||
@@ -3,12 +3,6 @@ class LLVM::ModulePassManager
|
||||
@unwrap = LibLLVM.pass_manager_create
|
||||
end
|
||||
|
||||
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
|
||||
- def add_target_data(target_data)
|
||||
- LibLLVM.add_target_data target_data, self
|
||||
- end
|
||||
- {% end %}
|
||||
-
|
||||
def run(mod)
|
||||
LibLLVM.run_pass_manager(self, mod) != 0
|
||||
end
|
||||
diff --git a/src/llvm/target_machine.cr b/src/llvm/target_machine.cr
|
||||
index e4bb081e9..42e44abe2 100644
|
||||
--- a/src/llvm/target_machine.cr
|
||||
+++ b/src/llvm/target_machine.cr
|
||||
@@ -9,9 +9,9 @@ class LLVM::TargetMachine
|
||||
|
||||
def data_layout
|
||||
@layout ||= begin
|
||||
- layout = {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
|
||||
+ layout = {% if LibLLVM::IS_38 %}
|
||||
LibLLVM.get_target_machine_data(self)
|
||||
- {% else %}
|
||||
+ {% else %} # LLVM >= 3.9
|
||||
LibLLVM.create_target_data_layout(self)
|
||||
{% end %}
|
||||
layout ? TargetData.new(layout) : raise "Missing layout for #{self}"
|
||||
--
|
||||
2.14.1
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST nettle-3.3.tar.gz 1887927 BLAKE2B 4bcf3c4bfb9f9dae97ea6780d146f3313e8b51182d9942e69581428d9f602d16467d37f993700a4e94e2e0dee17bdf354694c94d0383164c3de6e57e7e24de4e SHA512 271981d89766f151af3cdc4e5fc43c438222f0f6f44475bad114f4209955b5235fced6526c7abca001cca223e8cfcd2a6bf389b160b305a499e7acf52425ec70
|
||||
DIST nettle-3.4.tar.gz 1935069 BLAKE2B b73c88236c8233360607a6ed65cd4f6d19bfbbf683b46149326ce3440bf0a42b8add69de5c64145720163b1095fdab3cb8bf410c2ef727d0ea4fb58391ff0f14 SHA512 3bea3aabd2c99cc42d084a94fd6b0b5dbdb24cd6c7020271a6ee87a81a904b21b21756f590cb1afdf2e85fd1cb59e5c3651c5c4032e30204e7ea6f8801d1ea3b
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools multilib-build multilib-minimal multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Low-level cryptographic library"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
|
||||
SRC_URI="https://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
||||
SLOT="0/6.2" # subslot = libnettle soname version, .2 as broke ABI bug#601512 then fixed
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes"
|
||||
|
||||
DEPEND="gmp? ( >=dev-libs/gmp-5.0:0=[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r17
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/nettle/nettle-stdint.h
|
||||
/usr/include/nettle/version.h
|
||||
)
|
||||
|
||||
DOCS=()
|
||||
HTML_DOCS=()
|
||||
|
||||
S="${WORKDIR}/${PN}-3.4"
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DOCS+=(
|
||||
nettle.pdf
|
||||
)
|
||||
use doc && HTML_DOCS+=(
|
||||
nettle.html
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '/CFLAGS=/s: -ggdb3::' \
|
||||
-e 's/solaris\*)/sunldsolaris*)/' \
|
||||
-i configure.ac || die
|
||||
|
||||
# conditionally build tests and examples required by tests
|
||||
use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# --disable-openssl bug #427526
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--disable-openssl \
|
||||
--disable-fat \
|
||||
$(use_enable gmp public-key) \
|
||||
$(use_enable static-libs static) \
|
||||
$(tc-is-static-only && echo --disable-shared) \
|
||||
$(use_enable doc documentation) \
|
||||
$(use_enable neon arm-neon) \
|
||||
$(use_enable cpu_flags_x86_aes x86-aesni)
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST clisp-2.48.tar.bz2 7885098 BLAKE2B 42ebfe4721015f522184bce710bf95d79aa7f2a239410af249a8e85d80f140344ec80daaa34f7cdbfd2ae86407984657163ce3f6e4201eb132f7c71e21523cba SHA512 3288b6a2973c924006b14bbed1e8e3e688276a187ac2a6c7851dc7ae699e7832d30e5e7eecdabc76c08c7e8e8ce1b562eb97a44570d3035e558ea2310de2b719
|
||||
DIST clisp-2.49.60.tar.bz2 8745713 BLAKE2B 5dffd594c6d00c2057a98e3f93c888cd5cdc60009cd8fc987e39ff5182e71e575e148839d9c973fbfd0842b82ddf1b5918e86d128d9c79f6d0d4b6afcdc5853f SHA512 656cd59a23ba9be5304a6e0d64d79ac518072c431820b8cf95759fa8f3a66e2efe4d07939315b93e5e06b6e5348d8b32739b129a9e8ac0dc362dd5d1f1eb8aa8
|
||||
DIST clisp-2.49.tar.bz2 8091011 BLAKE2B e034c581b8100837b34d0adf1ef45bd667272d062945875175958178b4ef5b11e899dfb76505eb8cb51fca6101c11a9f21fb2cc9a78a3c0f82b06166211434f7 SHA512 eef66fc85199a2c283b616db61bf67ff103eeb0f19fa907da48994dc790b6f5f8d0c74fb3bd723c6b827c0ff3cfd89fa6ba67934fc669ed5d5249044b5140d81
|
||||
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
|
||||
HOMEPAGE="http://clisp.sourceforge.net/"
|
||||
SRC_URI="https://haible.de/bruno/gnu/clisp-2.49.60.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2/7"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="hyperspec X berkdb dbus fastcgi gdbm gtk pari +pcre postgres +readline svm -threads +unicode +zlib"
|
||||
# "jit" disabled ATM
|
||||
|
||||
RDEPEND=">=dev-lisp/asdf-2.33-r3
|
||||
virtual/libiconv
|
||||
>=dev-libs/libsigsegv-2.10
|
||||
>=dev-libs/ffcall-1.10
|
||||
dbus? ( sys-apps/dbus )
|
||||
fastcgi? ( dev-libs/fcgi )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
gtk? ( >=x11-libs/gtk+-2.10:2 >=gnome-base/libglade-2.6 )
|
||||
pari? ( <sci-mathematics/pari-2.5.0 )
|
||||
postgres? ( >=dev-db/postgresql-8.0:* )
|
||||
readline? ( >=sys-libs/readline-7.0:0= )
|
||||
pcre? ( dev-libs/libpcre:3 )
|
||||
svm? ( sci-libs/libsvm )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? ( x11-libs/libXpm )
|
||||
hyperspec? ( dev-lisp/hyperspec )
|
||||
berkdb? ( sys-libs/db:4.8 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake x11-proto/xextproto )"
|
||||
|
||||
enable_modules() {
|
||||
[[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
|
||||
for m in "$@" ; do
|
||||
einfo "enabling module $m"
|
||||
myconf+=" --with-module=${m}"
|
||||
done
|
||||
}
|
||||
|
||||
BUILDDIR="builddir"
|
||||
|
||||
# modules not enabled:
|
||||
# * berkdb: must figure out a way to make the configure script pick up the
|
||||
# currect version of the library and headers
|
||||
# * dirkey: fails to compile, requiring windows.h, possibly wrong #ifdefs
|
||||
# * matlab, netica: not in portage
|
||||
# * oracle: can't install oracle-instantclient
|
||||
|
||||
src_prepare() {
|
||||
# More than -O1 breaks alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
sed -i -e 's/-O2//g' src/makemake.in || die
|
||||
fi
|
||||
eapply "${FILESDIR}"/"${P}"-after_glibc_cfree_bdb.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We need this to build on alpha/ia64
|
||||
if use alpha || use ia64; then
|
||||
replace-flags -O? -O1
|
||||
append-flags '-D NO_MULTIMAP_SHM -D NO_MULTIMAP_FILE -D NO_SINGLEMAP -D NO_TRIVIALMAP'
|
||||
fi
|
||||
|
||||
if use x86; then
|
||||
append-flags -falign-functions=4
|
||||
fi
|
||||
|
||||
# QA issue with lisp.run
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
# built-in features
|
||||
local myconf="--with-ffcall --without-dynamic-modules"
|
||||
# There's a problem with jit_allocai function
|
||||
# if use jit; then
|
||||
# myconf+=" --with-jitc=lightning"
|
||||
# fi
|
||||
if use threads; then
|
||||
myconf+=" --with-threads=POSIX_THREADS"
|
||||
fi
|
||||
|
||||
# default modules
|
||||
enable_modules rawsock
|
||||
# optional modules
|
||||
use elibc_glibc && enable_modules bindings/glibc
|
||||
use X && enable_modules clx/new-clx
|
||||
if use postgres; then
|
||||
enable_modules postgresql
|
||||
append-cppflags -I$(pg_config --includedir)
|
||||
fi
|
||||
if use berkdb; then
|
||||
enable_modules berkeley-db
|
||||
append-cppflags -I/usr/include/db4.8
|
||||
fi
|
||||
use dbus && enable_modules dbus
|
||||
use fastcgi && enable_modules fastcgi
|
||||
use gdbm && enable_modules gdbm
|
||||
use gtk && enable_modules gtk2
|
||||
use pari && enable_modules pari
|
||||
use pcre && enable_modules pcre
|
||||
use svm && enable_modules libsvm
|
||||
use zlib && enable_modules zlib
|
||||
|
||||
if use hyperspec; then
|
||||
CLHSROOT="file:///usr/share/doc/hyperspec/HyperSpec/"
|
||||
else
|
||||
CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
|
||||
fi
|
||||
|
||||
# configure chokes on --sysconfdir option
|
||||
local configure="./configure --prefix=/usr --enable-portability \
|
||||
--libdir=/usr/$(get_libdir) $(use_with readline) $(use_with unicode) \
|
||||
${myconf} --hyperspec=${CLHSROOT} ${BUILDDIR}"
|
||||
einfo "${configure}"
|
||||
${configure} || die "./configure failed"
|
||||
|
||||
IMPNOTES="file://${ROOT%/}/usr/share/doc/${PN}-${PVR}/html/impnotes.html"
|
||||
sed -i "s,http://clisp.cons.org/impnotes/,${IMPNOTES},g" \
|
||||
"${BUILDDIR}"/config.lisp || die "Cannot fix link to implementation notes"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
cd "${BUILDDIR}" || die
|
||||
# parallel build fails
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILDDIR}"
|
||||
make DESTDIR="${D}" prefix=/usr install-bin || die "Installation failed"
|
||||
doman clisp.1
|
||||
dodoc ../SUMMARY README* ../src/NEWS ../unix/MAGIC.add ../ANNOUNCE
|
||||
# stripping them removes common symbols (defined but uninitialised variables)
|
||||
# which are then needed to build modules...
|
||||
export STRIP_MASK="*/usr/$(get_libdir)/clisp-${PV}/*/*"
|
||||
popd
|
||||
dohtml doc/impnotes.{css,html} doc/regexp.html doc/clisp.png
|
||||
dodoc doc/{CLOS-guide,LISP-tutorial}.txt
|
||||
}
|
@ -0,0 +1,207 @@
|
||||
diff --git a/modules/berkeley-db/bdb.c b/modules/berkeley-db/bdb.c
|
||||
index a266d41..942652a 100644
|
||||
--- a/modules/berkeley-db/bdb.c
|
||||
+++ b/modules/berkeley-db/bdb.c
|
||||
@@ -2216,7 +2216,13 @@ DEFUN(BDB:DB-COMPACT, db &key TRANSACTION :START STOP FREE FILL TIMEOUT \
|
||||
c_data.compact_timeout = timeout;
|
||||
c_data.compact_pages = pages;
|
||||
SYSCALL(db->compact,(db,txn,pstart,pstop,&c_data,flags,&end));
|
||||
- pushSTACK(uint32_to_I(c_data.compact_empty_buckets));
|
||||
+ /* ====
|
||||
+ * compact_empty_buckets is in bdb-5.3 as part of output stats
|
||||
+ * however this version use bdb-4.8 which does not have it
|
||||
+ * ====
|
||||
+ *
|
||||
+ * pushSTACK(uint32_to_I(c_data.compact_empty_buckets));
|
||||
+ * */
|
||||
pushSTACK(uint32_to_I(c_data.compact_pages_free));
|
||||
pushSTACK(uint32_to_I(c_data.compact_pages_examine));
|
||||
pushSTACK(uint32_to_I(c_data.compact_levels));
|
||||
diff --git a/modules/bindings/glibc/linux.lisp b/modules/bindings/glibc/linux.lisp
|
||||
index c960753..2993990 100644
|
||||
--- a/modules/bindings/glibc/linux.lisp
|
||||
+++ b/modules/bindings/glibc/linux.lisp
|
||||
@@ -1,7 +1,7 @@
|
||||
;; Foreign functions provided by the Linux C library version 6,
|
||||
;; i.e. the GNU C library version 2.0.7.
|
||||
;; Bruno Haible 10.4.1998, 19.4.1998
|
||||
-;; Sam Steingold 2002-2008, 2011
|
||||
+;; Sam Steingold 2002-2008, 2011, 2013, 2016-2017
|
||||
|
||||
;; NB: quite a few functions here have more portable counterparts in POSIX
|
||||
|
||||
@@ -649,7 +649,6 @@
|
||||
(def-call-out calloc (:arguments (nmemb size_t) (size size_t))
|
||||
(:return-type c-pointer))
|
||||
(def-call-out free (:arguments (ptr c-pointer)) (:return-type nil))
|
||||
-(def-call-out cfree (:arguments (ptr c-pointer)) (:return-type nil))
|
||||
(def-call-out valloc (:arguments (size size_t)) (:return-type c-pointer))
|
||||
|
||||
(def-call-out abort (:arguments) (:return-type nil))
|
||||
@@ -687,9 +686,8 @@
|
||||
(def-call-out system? (:arguments (null c-string))
|
||||
(:return-type boolean) (:name "system"))
|
||||
|
||||
-; You can uncomment this if your compiler sets __USE_GNU
|
||||
-; (def-call-out canonicalize_file_name (:arguments (name c-string))
|
||||
-; (:return-type c-string :malloc-free))
|
||||
+(def-call-out canonicalize_file_name (:arguments (name c-string))
|
||||
+ (:return-type c-string :malloc-free) (:guard "defined(__USE_GNU)"))
|
||||
|
||||
(def-call-out realpath
|
||||
(:arguments (name c-string)
|
||||
@@ -1041,9 +1039,8 @@
|
||||
(def-call-out access (:arguments (name c-string) (type int))
|
||||
(:return-type int))
|
||||
|
||||
-; You can uncomment this if your compiler sets __USE_GNU
|
||||
-; (def-call-out euidaccess (:arguments (name c-string) (type int))
|
||||
-; (:return-type int))
|
||||
+(def-call-out euidaccess (:arguments (name c-string) (type int))
|
||||
+ (:return-type int) (:guard "defined(__USE_GNU)"))
|
||||
|
||||
(defconstant SEEK_SET 0)
|
||||
(defconstant SEEK_CUR 1)
|
||||
@@ -1094,9 +1091,8 @@
|
||||
;(def-call-out getcwd (:arguments (buf c-string :out) (size size_t)) ; ??
|
||||
; (:return-type c-string))
|
||||
|
||||
-; You can uncomment this if your compiler sets __USE_GNU
|
||||
-; (def-call-out get_current_dir_name (:arguments)
|
||||
-; (:return-type c-string :malloc-free))
|
||||
+(def-call-out get_current_dir_name (:arguments)
|
||||
+ (:return-type c-string :malloc-free) (:guard "defined(__USE_GNU)"))
|
||||
|
||||
;(def-call-out getwd (:arguments (buf c-string :out)) ; ??
|
||||
; (:return-type c-string))
|
||||
@@ -1324,8 +1320,8 @@
|
||||
; (:arguments (size int) (list (c-ptr (c-array gid_t ??)) :out)) ; ??
|
||||
; (:return-type int))
|
||||
|
||||
-; You can uncomment this if your compiler sets __USE_GNU
|
||||
-; (def-call-out group_member (:arguments (gid gid_t)) (:return-type boolean))
|
||||
+(def-call-out group_member (:arguments (gid gid_t)) (:return-type boolean)
|
||||
+ (:guard "defined(__USE_GNU)"))
|
||||
(def-call-out setuid (:arguments (uid uid_t)) (:return-type int))
|
||||
(def-call-out setreuid (:arguments (ruid uid_t) (euid uid_t))
|
||||
(:return-type int))
|
||||
@@ -1822,8 +1818,8 @@
|
||||
(:return-type c-string :malloc-free))
|
||||
(def-call-out ungetc (:arguments (c int) (fp FILE))
|
||||
(:return-type int))
|
||||
-; You can uncomment this if your compiler sets __USE_GNU
|
||||
-; (def-call-out fcloseall (:arguments) (:return-type int))
|
||||
+(def-call-out fcloseall (:arguments) (:return-type int)
|
||||
+ (:guard "defined(__USE_GNU)"))
|
||||
(def-call-out fdopen (:arguments (fildes int) (mode c-string))
|
||||
(:return-type c-pointer))
|
||||
(def-call-out fileno (:arguments (fp FILE)) (:return-type int))
|
||||
@@ -1901,11 +1897,11 @@ typedef __off64_t clisp_dirent_off_t;
|
||||
(:return-type (c-ptr-null dirent)))
|
||||
(def-call-out readdir64 (:arguments (dirp c-pointer))
|
||||
(:return-type (c-ptr-null dirent64)))
|
||||
-(def-call-out readdir_r
|
||||
+(def-call-out readdir_r ; deprecated
|
||||
(:arguments (dirp c-pointer) (entry (c-ptr dirent) :out :alloca)
|
||||
(result (c-ptr (c-ptr dirent)) :out :alloca)) ; ??
|
||||
(:return-type int))
|
||||
-(def-call-out readdir64_r
|
||||
+(def-call-out readdir64_r ; deprecated
|
||||
(:arguments (dirp c-pointer) (entry (c-ptr dirent64) :out :alloca)
|
||||
(result (c-ptr (c-ptr dirent64)) :out :alloca)) ; ??
|
||||
(:return-type int))
|
||||
diff --git a/modules/bindings/glibc/test.tst b/modules/bindings/glibc/test.tst
|
||||
index f807389..b2c1222 100644
|
||||
--- a/modules/bindings/glibc/test.tst
|
||||
+++ b/modules/bindings/glibc/test.tst
|
||||
@@ -5,6 +5,16 @@
|
||||
(progn (require "linux") T) T
|
||||
(listp (show (multiple-value-list (ext:module-info "linux" t)) :pretty t)) T
|
||||
|
||||
+(stringp (show (linux:get-domain-name))) T
|
||||
+(stringp (show (linux:get-host-name))) T
|
||||
+
|
||||
+;; usually __USE_GNU is defined, so this should work:
|
||||
+(let* ((d (linux:get_current_dir_name))
|
||||
+ (c (linux:canonicalize_file_name (concatenate 'string d "/."))))
|
||||
+ (or (string= d c)
|
||||
+ (list :cur-dir d :canonical c)))
|
||||
+T
|
||||
+
|
||||
(defparameter *d* (show (linux:opendir "."))) *D*
|
||||
(linux:dirent64-d_name (show (linux:readdir64 *d*))) "."
|
||||
(linux:dirent64-d_name (show (linux:readdir64 *d*))) ".."
|
||||
diff --git a/src/foreign1.lisp b/src/foreign1.lisp
|
||||
index 26a3ba5..0e43de7 100644
|
||||
--- a/src/foreign1.lisp
|
||||
+++ b/src/foreign1.lisp
|
||||
@@ -1,6 +1,6 @@
|
||||
;;; Foreign function interface for CLISP
|
||||
;;; Bruno Haible 19.2.1995
|
||||
-;;; Sam Steingold 1998-2010
|
||||
+;;; Sam Steingold 1998-2010, 2017
|
||||
|
||||
#+UNICODE
|
||||
(progn
|
||||
@@ -805,14 +805,17 @@
|
||||
c-name (to-c-string c-name) (third variable) (first variable))
|
||||
(when *foreign-guard* (format *coutput-stream* "# endif~%"))))
|
||||
(dolist (function *function-list*)
|
||||
- (let ((c-name (first function)))
|
||||
- (when *foreign-guard*
|
||||
- (format *coutput-stream* "# if defined(HAVE_~A)~%"
|
||||
- (string-upcase c-name)))
|
||||
+ (let ((c-name (first function))
|
||||
+ (guard (fourth function)))
|
||||
+ (when guard
|
||||
+ (format *coutput-stream* "# if ~A~%"
|
||||
+ (if (eq guard t)
|
||||
+ (format nil "defined(HAVE_~A)" (string-upcase c-name))
|
||||
+ guard)))
|
||||
(format *coutput-stream*
|
||||
" register_foreign_function((void*)&~A,~A,~D);~%"
|
||||
c-name (to-c-string c-name) (svref (second function) 3))
|
||||
- (when *foreign-guard* (format *coutput-stream* "# endif~%"))))
|
||||
+ (when guard (format *coutput-stream* "# endif~%"))))
|
||||
(maphash (lambda (type fun-vec)
|
||||
(declare (ignore type))
|
||||
(let ((c-name (to-c-name (car fun-vec))))
|
||||
@@ -1083,7 +1086,7 @@
|
||||
(defmacro DEF-CALL-OUT (&whole whole-form name &rest options)
|
||||
(setq name (check-symbol name (first whole-form)))
|
||||
(let* ((alist
|
||||
- (parse-options options '(:name :arguments :return-type :language
|
||||
+ (parse-options options '(:name :arguments :return-type :language :guard
|
||||
:built-in :library :version :documentation)
|
||||
whole-form))
|
||||
(def (gensym "DEF-CALL-OUT-"))
|
||||
@@ -1095,6 +1098,7 @@
|
||||
(version (second (assoc :version alist)))
|
||||
(c-name (foreign-name name (assoc :name alist)))
|
||||
(built-in (second (assoc :built-in alist)))
|
||||
+ (guard (get-assoc :guard alist '*foreign-guard*))
|
||||
;; Maximize sharing in .fas file, reuse options
|
||||
;; parse-c-function ignores unknown options, e.g. :name
|
||||
(ctype `(PARSE-C-FUNCTION ',options ',whole-form)))
|
||||
@@ -1102,7 +1106,7 @@
|
||||
',c-name ,ctype ',properties ,library ,version NIL)))
|
||||
(EXT:COMPILER-LET ((,def ,ctype))
|
||||
(EVAL-WHEN (COMPILE)
|
||||
- (UNLESS ,LIBRARY (NOTE-C-FUN ',c-name ,def ',built-in)))
|
||||
+ (UNLESS ,LIBRARY (NOTE-C-FUN ',c-name ,def ',built-in ,guard)))
|
||||
(SYSTEM::EVAL-WHEN-COMPILE
|
||||
(SYSTEM::C-DEFUN ',name (C-TYPE-TO-SIGNATURE ,ctype))))
|
||||
(WHEN ,def ; found library function
|
||||
@@ -1110,10 +1114,10 @@
|
||||
(SYSTEM::%PUTD ',name ,def))
|
||||
',name)))
|
||||
|
||||
-(defun note-c-fun (c-name ctype built-in) ; not ABI, compile-time only
|
||||
+(defun note-c-fun (c-name ctype built-in guard) ; not ABI, compile-time only
|
||||
(when (system::prepare-coutput-file)
|
||||
(prepare-module)
|
||||
- (push (list c-name ctype built-in)
|
||||
+ (push (list c-name ctype built-in guard)
|
||||
*function-list*)))
|
||||
|
||||
(defun count-inarguments (arg-vector)
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST Net-Pcap-0.17.tar.gz 92853 BLAKE2B 147f0a11be36e7b5022f138611ad4226ea36d61902e966ab3400463aed4aecfd0022852df2589f363a6590270750b427cac9532f22a42e18d0f959a23e990ff1 SHA512 14747661b220b119b4182f13dbc1509cae5665e77588dbc8576f7d959f33ef6ee3785f2d9022093c1f1b808c37d04ee313f5ac39cc6eaa917962c9215c5a4de6
|
||||
DIST Net-Pcap-0.18.tar.gz 94207 BLAKE2B 257e2b7c5bf6ad05936b64171db3ee530249f40d695ca2aba21d4bfe4796989e3a4aa955472b9c39e33aab5d67d2eebb26b43e173dbd359d01201926fa3a6b6e SHA512 63cc216345eb65b1e76efa657623c9d444d20f4b54ab0c75e787483baaa4f1de7e3a9294967aa7eccbdca04c60b089194dd7e0d19838f899b332c5881a8c7f6d
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SAPER
|
||||
DIST_VERSION=0.18
|
||||
DIST_EXAMPLES=( "eg/*" )
|
||||
inherit perl-module eutils
|
||||
|
||||
DESCRIPTION="Interface to the pcap(3) LBL packet capture library"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-libs/libpcap
|
||||
dev-perl/IO-Interface"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-${DIST_VERSION}-test-error.patch"
|
||||
)
|
||||
|
||||
src_test() {
|
||||
if [[ $EUID != 0 ]]; then
|
||||
elog "Comprehensive testing of this module requires root permissions."
|
||||
elog "For details, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
|
||||
fi
|
||||
perl_rm_files t/pod{,cover,spell}.t t/distchk.t t/portfs.t
|
||||
perl-module_src_test
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
From 7c831efcb06d6254e54423cdcd95bebbb7725270 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Fri, 8 Dec 2017 17:52:13 +1300
|
||||
Subject: Allow error message to be a suffix
|
||||
|
||||
Previously, the error message emitted by the native calls was of the
|
||||
form:
|
||||
|
||||
'syntax error'
|
||||
|
||||
However, more recently the error message takes the form:
|
||||
|
||||
'syntax error in filter expression: syntax error'
|
||||
|
||||
This patch pretends the part before the ":" is functionally equivalent
|
||||
to a line start, for the purposes of testing.
|
||||
|
||||
Bug: https://github.com/maddingue/Net-Pcap/issues/8
|
||||
Bug: https://github.com/maddingue/Net-Pcap/pull/9
|
||||
---
|
||||
t/09-error.t | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/t/09-error.t b/t/09-error.t
|
||||
index 90337b8..eee679d 100644
|
||||
--- a/t/09-error.t
|
||||
+++ b/t/09-error.t
|
||||
@@ -22,7 +22,7 @@ is( $@, '', "compile() with an invalid filter string" );
|
||||
is( $res, -1, " - result must not be null: $res" );
|
||||
eval { $err = Net::Pcap::geterr($pcap) };
|
||||
is( $@, '', "geterr()" );
|
||||
-like( $err, '/^(?:parse|syntax) error$/', " - \$err must not be null: $err" );
|
||||
+like( $err, '/(^|: )(?:parse|syntax) error$/', " - \$err must not be null: $err" );
|
||||
|
||||
# Testing compile() with a valid filter
|
||||
eval { $res = Net::Pcap::compile($pcap, \$filter, "tcp", 0, $mask) };
|
||||
--
|
||||
2.14.3
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Net-SMTP-SSL-1.03.tar.gz 2271 BLAKE2B 8f131527139a96155bb33c4b1c0530ba88955f08d4a7d1a2b8afec6119300b102c5ba0f4ac3757c216491b5aea9a3311a0b501a5a4dbb2d453ddf3abf3a18719 SHA512 71e766274745893cb6eddc91a4b24d7b538051974a2cd93d4abd8447daec72907b482edb25e628cfa480c99af935568c4765e85ddfc951e0ec9b2de25c366bc8
|
||||
DIST Net-SMTP-SSL-1.04.tar.gz 2457 BLAKE2B a55dea686b5dd6b0ecdf025a40a71f8a87fc8fdb8cab49b6e310c1bca8a513945ca33914d762174a907ec5f146765f7aea0f70f59be4e9fee88051d2bf9c8ba5 SHA512 dfbf59e5d895add19f5684c999c941ab56a58be39492a02e5a9bdac47039bf388279eda734c6b0422d228ac14efed899b3572561e6a34cfd9582423252efb509
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=RJBS
|
||||
DIST_VERSION=1.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="(Deprecated) SSL support for Net::SMTP"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-libnet
|
||||
dev-perl/IO-Socket-SSL
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( >=virtual/perl-Test-Simple-0.470.0 )
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This package is deprecated by upstream as equivalent support for SSL and"
|
||||
elog "STARTTLS is available with Net::SMTP 2.35, found in:"
|
||||
elog " >=virtual/perl-libnet-1.28 ( >=dev-lang/perl-5.20.0 )"
|
||||
elog "Subsequently, this package is only available for compatibility reasons, and"
|
||||
elog "should be avoided in new code."
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST Net-SMTPS-0.04.tar.gz 4712 BLAKE2B 7cb6175e8aad3db5efb0f1e4413e08dd0d88666643ddb6c1c0122aff1b6ed99ecd7e5b71d59d372df956968224b507f0ab07daf96eaa94f2f6fa120d315b568e SHA512 69fcfb221a139a9d92f56d3917081a21de786095314efaa840e41dcd27bebd29d66f0f9c63cc2eb8adbaa1b701877b4ab9b9fe2790c335a13b256b742319054b
|
||||
DIST Net-SMTPS-0.05.tar.gz 4601 BLAKE2B 708b7918de43468dd457b1cf6836071bc13aa2af14470b87ca61f90ee17a7a524e9759878bb37606c2d24175cd514ffbe56d0df2e2315c0bf801034adc82163f SHA512 8c5a49820997eec65566d86a6eb69ba36800772ab1a400a4a005ce771895264de7b38d037c5e5ebcfb18b39e91f71d78aa251f721882a448a565da5038e49273
|
||||
DIST Net-SMTPS-0.06.tar.gz 4701 BLAKE2B 9500e403b79dec920d1d10f30a3a935982f528babc6b882c06f5328d69a49a72257474751c42b24b8fda3789c542cf14f64d38ca0f0139bdc8b8d67bc1332793 SHA512 c27a60860c8d4ffaf7ba1382664255fd24417efbffec79ad4c219d9caf7ca5c36e2697185e9b4c513466657bf7f70476f0f565c4a9570845b14c37f87c11394b
|
||||
DIST Net-SMTPS-0.09.tar.gz 5263 BLAKE2B a2091fd29de5a3c8b8bee1612bb6b7813222f0cce45070aebfced77362b029795ca51c4de818b203b454c1be14d6c6835e57fe34bf95866d4b06f916ca96401a SHA512 856d7068fe3c41c48048dae564db5d526521753f58ac4ec9b973360991853c3a7b7ea3d3e25b17692601765be522fc5bf1456a0b645325e724a482ec559d5e5f
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=TOMO
|
||||
DIST_VERSION=0.09
|
||||
DIST_SECTION=src
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="SSL/STARTTLS support for Net::SMTP"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Authen-SASL-2.150.0
|
||||
>=dev-perl/IO-Socket-SSL-1
|
||||
>=virtual/perl-libnet-2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker"
|
@ -1 +1,2 @@
|
||||
DIST Net-SSH-Any-0.04.tar.gz 14688 BLAKE2B 325fb89e7c6f15c65f71f30864a2322261d1fff181cb3728676422648998eb1646e9c8e53767d7b6dcc5daeb297a5ec589240915aca7ff886b346c21d107409b SHA512 40d7ffc9efcd252dcdf8b3af86146c2f56c0c316d9935e231c0d1ef8a64e8fe9a3153a7106bfca0b1cbdadaa10c8918b525455593fb2d07301247180d4226c49
|
||||
DIST Net-SSH-Any-0.10.tar.gz 105899 BLAKE2B c83f21e5bddfac9ab7356c575ff164ac4fc4d3ea5ed260569db2b7d813e04a5397d8eeb94df8f367ec48c4ef86d503dd8e3ce9fefe0813b39493faa3a45b419b SHA512 b34e29e8e126b2296ecf67b01bf7420f511adbf6ef72369c2fcac51cd4dbfdf747c9cca9859bb48489675233dd9ce4b0d939c587244cd36c8791fa55b434fd96
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SALVA
|
||||
DIST_VERSION=0.10
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Use any SSH module"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-1.302.26
|
||||
)
|
||||
"
|
||||
mydoc="docs/*"
|
@ -1 +1,2 @@
|
||||
DIST Net-SSH-AuthorizedKeysFile-0.17.tar.gz 16040 BLAKE2B b21886051b529d44d30b04079b6ab01454b85218f1505ecceb57ab15bedaa39b558fef5b2b1be0331580edec2241977bb6d9193c66c4138270f303bc197771d9 SHA512 2d6f59bd93a2e0ef25ea5f438dcb9be7ae670d9a012596da07f23b37ed781ebed6559a474665e66adea4a5f3550f1898b26cf6026705d851099e26f1934c5259
|
||||
DIST Net-SSH-AuthorizedKeysFile-0.18.tar.gz 16413 BLAKE2B ee22c2b456a5b8ad98fb9648d86e106f04266ef132d079d512fe980c08cceecc06c3946ac4fa43ad8dddb47d266debf986db47e6a3b7d72d1d1bc999284a4989 SHA512 1ebb5f2faa9ab414e49b9c8e85c27c81f858bd18669ff5508fe4dd70e8980977348121034d69fb094fd75c3d8d2c686694092bf0c0db2bcecb7ba05d85fa8a4c
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=MSCHILLI
|
||||
DIST_VERSION=0.18
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and modify ssh's authorized_keys files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-File-Spec
|
||||
>=dev-perl/Log-Log4perl-1.0.0
|
||||
virtual/perl-Text-ParseWords
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST Net-SSH-Perl-1.36.tar.gz 117219 BLAKE2B ed23b89d5d4f8a32f875a12433cc7c6258273120fde596f496a2342d8f99786dd31ce6caa6c0b7418ffed7f0be400adf34232e16c131e8a50f5ee2ec856627f8 SHA512 4157d10a8dc107af17ab711102dea79b4b0b598d6c15d6f350f3a2eaf9be917c4410885d38de0dab4bbf1277875f03d5b10ca7350ba1300fdffc385c430c588f
|
||||
DIST Net-SSH-Perl-1.42.tar.gz 120783 BLAKE2B c8423aa71b679e67636f53c74b8158e4898bccfa5036eaeaf0150237548a249125fa203f3c986cd6e55a5ac1e7953f757e6914baf14286b36a9b51b808d7e604 SHA512 67275e99890948376c7f6feb5be1979f45b5fda2afe440108b3819db192fd41b43e9ee94e7e643671384b37972842f40ce3519cbeef98b6ee796a68e4bfe20dd
|
||||
DIST Net-SSH-Perl-2.09.01.tar.gz 255286 BLAKE2B fa299b63f1c82e5adc936513dc2fbda495abe087d32d80ffbf03bd9b9467114b710e7f74186514157b19c13259bde576c5f251aa038948a3114800b9ee675158 SHA512 e7d7194e175490ba0849357ebbb504932d97b358722f2045e0acbaba9c14dc945629bd5653b36934317632e0d3894525e4f34ea48b494f2cc815959106138b44
|
||||
DIST Net-SSH-Perl-2.14.tar.gz 256963 BLAKE2B 700e9a852ab65ce881db043bf7ce775bbb60022299bf27936b90bb78c085136df1c6119b67f48bfd540b6b7cc2cb6406c252c4a6b9a7b73fc11760c28e527f58 SHA512 49fee3e7969260a97453adfdac7ed3852130a7404ca5016f6d16549e478b8f2808f47c5801f2dbf991cfb33b5f2653d55360ba938d9b36016620a46e1ffea879
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SCHWIGON
|
||||
DIST_VERSION=2.14
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl client Interface to SSH"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Crypt-Curve25519-0.50.0
|
||||
dev-perl/Crypt-IDEA
|
||||
>=dev-perl/CryptX-0.32.0
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/File-HomeDir
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-IO
|
||||
>=dev-perl/Math-GMP-1.40.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-perl/String-CRC32-1.200.0
|
||||
!minimal? (
|
||||
dev-perl/Digest-BubbleBabble
|
||||
dev-perl/Crypt-RSA
|
||||
dev-perl/TermReadKey
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( >=virtual/perl-Test-Simple-0.610.0 )
|
||||
"
|
||||
|
||||
PERL_RM_FILES=(
|
||||
# Gentoo integrity checks are used instead
|
||||
'SIGNATURE'
|
||||
't/00-signature.t'
|
||||
# Annoying author tests
|
||||
't/99-perlcritic.t'
|
||||
't/99-pod.t'
|
||||
't/99-spellcheck.t'
|
||||
't/99-yaml.t'
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.14-no-signatures.patch"
|
||||
)
|
@ -0,0 +1,27 @@
|
||||
From ad32ac31952120cf20f8830233148188b6c26139 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Fri, 24 Mar 2017 05:10:15 +1300
|
||||
Subject: Remove use of Module::Signature
|
||||
|
||||
Gentoo has its own integrity protocols anyway, and even minor
|
||||
patching upsets signatures.
|
||||
|
||||
Its not worth the added dependency complexity.
|
||||
---
|
||||
Makefile.PL | 1 -
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 0ff11dc..fa62a64 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -64,7 +64,6 @@ MSG
|
||||
}
|
||||
|
||||
WriteMakefile(
|
||||
- (MM->can('signature_target') ? (SIGN => 1) : ()),
|
||||
NAME => 'Net::SSH::Perl',
|
||||
DISTNAME => 'Net-SSH-Perl',
|
||||
VERSION_FROM => 'lib/Net/SSH/Perl.pm',
|
||||
--
|
||||
2.14.3
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Net-SSH2-0.58.tar.gz 124853 BLAKE2B be4732906154977f08d66689d75f9edf565706047be693354548bf8402223ea06522cc477f8d815f33ee1ba638def40fcc3222362796f8183076928403c29fec SHA512 753e5037d08405f9c401631cd77f1df57e7ee14db44033df8ce0b82f02377bdf7fdecd32bb6f9e1cd80f3fed88adb37e3abdb0b1dbfa50d115ee9e31fd735380
|
||||
DIST Net-SSH2-0.67.tar.gz 140610 BLAKE2B dfc43e31f3ededcbdd51e87e91e223614212b3247925a16fcc708695b9b1957950e7609c8463d02db229ff3e3ac3fdfe99da6154f7216b2618a9298073babe20 SHA512 3d6dde36e9e763da024b6d03184d6e41675576914cb8ceffe7e98e64ad83a1418c499ac6afebbde8f871aebab7a78e2aa355905efcaec766d5146ef9e6fd7f5f
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SALVA
|
||||
DIST_VERSION=0.67
|
||||
DIST_EXAMPLES=( "example/*" )
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Support for the SSH 2 protocol via libssh2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gcrypt libressl"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
net-libs/libssh2
|
||||
!gcrypt? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
gcrypt? (
|
||||
dev-libs/libgcrypt:0
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-Constant
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.50
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.67-perl-5.26.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
use gcrypt && myconf=gcrypt
|
||||
perl-module_src_configure
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
From 11b70a6e74a8705d40ffb7b277c96c5e2d896cf9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
|
||||
Date: Thu, 6 Jul 2017 04:58:22 +1200
|
||||
Subject: Add build fix for Perl 5.26, bug 623008
|
||||
|
||||
Bug: https://bugs.gentoo.org/623008
|
||||
Bug: https://github.com/rkitover/net-ssh2/pull/42
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 6b9d6d5..7bd8094 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,3 +1,4 @@
|
||||
+use lib q[.];
|
||||
use inc::Module::Install 0.91;
|
||||
use Cwd;
|
||||
use Config;
|
||||
--
|
||||
2.14.3
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST jenkins-bin-2.73.2.war 73280014 BLAKE2B 0a8fd83913486315d0abecb0c3fa34cade3ecab4e205dcd32a7a519698d30be82142a6cc14f2c8c89d70ce45a81b00c687441c353002b1c940be1b93ea05121d SHA512 36fe7d2581f9a2f13b07c43ac9d5915d057bfede3522a17abc9376f19656166586c207c7516f46df7b2cef46ec67444ec44a97df0fc9af50ff41e9938465cebf
|
||||
DIST jenkins-bin-2.73.3.war 73286753 BLAKE2B b9421b62ac1859d31b3954c551d04ca6f799e6fc630b81d8292bdf676a7d8b247ec9fe2a5f132bdb4f7d8a36c383ec5dadd30d9b2ed521c04710e8792758027d SHA512 55e25bb9ea058b4a64517faec23ec649f77c3342f074a41d1da00901b759895d0e98fe2de9ab1babf0a0bfb165a6f438b8e5204b1edf1c280dffe2f5442285ad
|
||||
DIST jenkins-bin-2.84.war 73749405 BLAKE2B 89f2e54e51a9f5086d4bf017a99c50cee680b18ebe16bd7076fb0db7c98640355c8b7da4da18312295d331c88d229c8e1fe3e166d9f9b435ae3c8747c18e4163 SHA512 0074b2299f72f45040b4afd087caae0e08362708d3370d17f3bda047d11240881a3fd779753a49c298961e87c509d0b278ac2712934febed23c13c7e36d6c51c
|
||||
DIST jenkins-bin-2.86.war 73796979 BLAKE2B 7357659340e9314a691c25892d8f89332df2d29adbc2f0f53ee73c0e2ff825eba9ec26c13cbcb3b973fd7ef66d821f897556335c217f11f0f6690e8d1fc4b5be SHA512 a94abb3230c90319f6a632e56afbbc0d19591a6a67ab6ac35856c2bb99ead33d4b23ab3d19a15c1f9501dbf932b3101f569af0f557fb884cd07dadd8a1c968bf
|
||||
DIST jenkins-bin-2.87.war 74271222 BLAKE2B 54aa5215146407682e3d0f69e67bd1b911c5525cf15222c03df0648e6c4526467be15320554421a2995d9314a72945251f6e329673da64cc26935be15c443efc SHA512 210c2e23d71c3081d4cd6f28af6bac0db7b43f3f93785ee0b53622b7ff05c25aa6dab0a847bf9ee59a2b4952263a67fbc2cb88fd47557809153e191fd95d4da9
|
||||
DIST jenkins-bin-2.89.1.war 74286103 BLAKE2B 019cf6318ad0a92a22efc2f0e5feea5386ae60aaa4f48e368c81de62522dd1bf6b0e0ddd3b495fc87f7782f45c40203aa7273c23667342f1ac9da08ae4612d09 SHA512 906d4ab8d6d6aaf56c1d9b9ee731449845fc2cda25008a4b83e87cb2f32569946414361e10275f25dcdfd846368d267a2df4cc7900383f5f63ff5768fd09a9b8
|
||||
DIST jenkins-bin-2.90.war 74292811 BLAKE2B 0539a55c0d9e63fc6df2cb57f7acf794829f5dba47b82903e1dce0d41067a9bc1ca20fdffa65bc73b0931b47b928076047254c50aaa0fba7f63788a7b640930e SHA512 ee5b201716c02896191ca4a531abe9fe43774e79b7eb2dacf5aa64d481e3ee16b56ce3cc8f1f97c61397846d77bf7886ac6cecc560fe2dc998936c8883b5eb76
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mesonbuild/meson"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Open source build system"
|
||||
HOMEPAGE="http://mesonbuild.com/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} run_tests.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins data/shell-completions/zsh/_meson
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST gish-demo-1.6.tar.gz 12712912 SHA256 335e28ae5b9f91ebb9487e341d9bb9cf679083a0a3ed5a49daaa27f2b3e3908d SHA512 2d6f37b8a7971ada524c75bafcbe7e92fd3dbb96677774b0295aad2553e6094027f9b43da8318f20071679412f95dd66ab9738178ffec4f853cf1845d536a0a6 WHIRLPOOL d3fb001f01f52df78f39d23994cd6d57558c76c0a94944a3202285860cea5cf0d1eb4ad3f48465d5b3b85e47453a558f66d647ce153cd332d7be429ef0d0ec3e
|
||||
DIST gish-demo-1.6.tar.gz 12712912 BLAKE2B bb482ba341e688056a45077d6a6832e13e1a9785cbefbb7e76b7875e9df22f33f324a515ca3465bb3f4c4a34d1577b5eddf5ff7793d35556958b3f11d81f9f7f SHA512 2d6f37b8a7971ada524c75bafcbe7e92fd3dbb96677774b0295aad2553e6094027f9b43da8318f20071679412f95dd66ab9738178ffec4f853cf1845d536a0a6
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST LastManStandingCoop4Multiplatform.zip 309768743 SHA256 3e88196efc60a9046b9518a249c99021aca1c6341c654129a772b1f28f04c37e SHA512 f3d6fb1beab25dafc51a59153edb4cbb173ea4cdfd924b8f9610873bc1326efc2d85d62a23c6523b4a61319718a35ed44fecdf59bc8346fb1abb159ac93e6b15 WHIRLPOOL f9a2f06ac687df06782b0bb8ec54f2042ed5fc5051a2fa4fa893b57ba221c05b5f95f99eaad9bdcc0efca71b6ec38ba7c8d9919fd0cd3c207be55f29e85d7625
|
||||
DIST LastManStandingCoop4Multiplatform.zip 309768743 BLAKE2B 3ae67e85eb267e62d1158832f215c2c6b3e9dcf2593824ad45318c151e847eb8f057e2b6336c4e5c148194d0006496164cfccd7b93d1590e7fa2ac50b97c5b1c SHA512 f3d6fb1beab25dafc51a59153edb4cbb173ea4cdfd924b8f9610873bc1326efc2d85d62a23c6523b4a61319718a35ed44fecdf59bc8346fb1abb159ac93e6b15
|
||||
|
@ -1 +1 @@
|
||||
DIST MakeItToMorning1-6.zip 184131772 SHA256 d9757e51f6d474fe992b19008d2723253f27496baea6729576e460c3c31b0e64 SHA512 5c8b58b51fb4308366db74705c6f1c5ed7a99f41992000c0ceb3b57fe1d61cb617cc03725ab213d6d7cfbad76104efebe647e50d5ad78e5b0ec480ed840118ea WHIRLPOOL 24317336168b2bc3d05582ed745858597f4248fc3261f102de8ca539641574221cd39850ef83f0ee422038ed43422801cf87c80330c1d85d35432bf23e2ebdf1
|
||||
DIST MakeItToMorning1-6.zip 184131772 BLAKE2B 03de634789cdd62293b39617e807d9137e9fef84849555cb6b87ade9bcd1f3ad2f9973cb2510716a5fe38a5bbb1b2ebfa4a38357a65ae9355af7d53785edd048 SHA512 5c8b58b51fb4308366db74705c6f1c5ed7a99f41992000c0ceb3b57fe1d61cb617cc03725ab213d6d7cfbad76104efebe647e50d5ad78e5b0ec480ed840118ea
|
||||
|
@ -1 +1 @@
|
||||
DIST HamsterBashFinal.zip 98608028 SHA256 104a2c09dd5c698877301f3f899dbb6a1b092e31b1c8112ad119824468ca8d9b SHA512 641a642ce08d5188045f9d015a92f0846ac22c65b7b047bb0096f216d7cb9d0a8074e5e11b01fc187b56fbdf2d5cbc0e5cd56c2eb3f40f744fbeadf291e08573 WHIRLPOOL a3d4e08875cd8e9d1b8a9b4301bf1ae980851414cfdfa61b1f965ca41feba170e4b7ace326c7542f38e22981bb365fd1c3c932c176c77b691509b01edcd2e797
|
||||
DIST HamsterBashFinal.zip 98608028 BLAKE2B f80aabf16768adfa511efd72d762e50fdf45e98286306dab861d1989405d32712d03631d53b3f959c033e4e9c491b3ff16825fb00f33f75bfbe697d1f22be65b SHA512 641a642ce08d5188045f9d015a92f0846ac22c65b7b047bb0096f216d7cb9d0a8074e5e11b01fc187b56fbdf2d5cbc0e5cd56c2eb3f40f744fbeadf291e08573
|
||||
|
@ -1 +1 @@
|
||||
DIST troopersversion60zip.zip 447383148 SHA256 350156938b62c311873087fcf438b4e0ac9bc50171ba657f0f9193037d5e45d4 SHA512 2eec66a55b0733f2f5ee65e8a4deb329a50bcd47aa6fdcb7252a88c01e4e8db563b568d3176233a51711240e7b4dfebe0d8a8712d624915a872e8bfeb321cda4 WHIRLPOOL 94d306026a47f6e9170664b901af29d5be64bea3df69ce8c54c0e125828bb7eacf64f706d3d159c4a27f6b861be3cea1b2dd975b8ff52466e33ad8950bd93bd0
|
||||
DIST troopersversion60zip.zip 447383148 BLAKE2B 4eed868b0a8631529f0e09227d45db4f0a89ff7088cec2c03c263323aa9385f204561b278a9e6c408db6d972e773e2c3d3cbc7dff64ba0cd04fc603ce541d297 SHA512 2eec66a55b0733f2f5ee65e8a4deb329a50bcd47aa6fdcb7252a88c01e4e8db563b568d3176233a51711240e7b4dfebe0d8a8712d624915a872e8bfeb321cda4
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST arx_demo_english.zip 160545354 SHA256 9e85d4bfa081a4ccc40a1f3722b32c23cd9fa95e91f47d32be76aa62c9fd7187 SHA512 0cbf0d6da1a373ed29edc49c65ed431117c868ec7bcab04166abd59f5d799460faec506baf191c83fa7c61372888009abb260d8a50e28507a5ec8ab7913a9ad7 WHIRLPOOL 2ef662feac747fc7da44c224d46bd2bc9ab48c01c572912df3464dbef04cd47c4c3768e09f26dde27104e62e3c7c9f4ffe828ec2dac53a80467b31533bcc6731
|
||||
DIST arx_demo_english.zip 160545354 BLAKE2B 2693bdd2546c8788eb8c9fc303065f880c3995cfa1d75ca613b8ebb32238a3852dd7eeb20731f7c685521b669c47df45bcf22842772227be5cc3483ec3869c77 SHA512 0cbf0d6da1a373ed29edc49c65ed431117c868ec7bcab04166abd59f5d799460faec506baf191c83fa7c61372888009abb260d8a50e28507a5ec8ab7913a9ad7
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST ETQW-server-1.5-full.x86.run 452679053 SHA256 7dc4cf69b3355063b4f8767e23b19d8224ff9b4f556ad906056063ddfe581ac0 SHA512 8daa5f192330be09b476d9633af79085f8b45d64e99fb50f6dc2ded085171f3d310218308b813bc7fc9a56b5fb34d52d72248a1e926a0e499ce096690407b0cd WHIRLPOOL d4306d1309e51d53cc2296d5ff1c6b995bca33b1eb5b225837f52bbdef17887e55cc056bf1c16ccd4a44af2e45e55e604c3ebc34cae2b55e1af714747c9df6fa
|
||||
DIST ETQW-server-1.5-full.x86.run 452679053 BLAKE2B 01721b7a288671873a87164e438cb4bf3483f86fe282fc0a306043bb44e18bf126736e57f6ee5ec0880057b7f53119e1b2f6c9ddd625f9083a01f3e12c613bef SHA512 8daa5f192330be09b476d9633af79085f8b45d64e99fb50f6dc2ded085171f3d310218308b813bc7fc9a56b5fb34d52d72248a1e926a0e499ce096690407b0cd
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST GraphicsMagick-1.3.25.tar.xz 5387880 BLAKE2B dbde32a869bde374cd453569fbc4b7b2bf54fdb8dc07fa40e83b92b788771797f7b4a529fc8b7ae439482e4e456ac9f947c8f47ac83000bdaf4d4079f4ea5e83 SHA512 d62d6aee96d7b8444f1aa206b0c5cbbed9511612cb71d667af072ea52b68dcd11088699debc58faacbb014ad83fb8c2b3e474220f506069f7b5d22f0340f8ef8
|
||||
DIST GraphicsMagick-1.3.26.tar.xz 5400564 BLAKE2B bd7c5286f4ff0abe8fafee680f9bea5e96c23d1787b5dc5b1a33580b5b8fd2dc8c5932606e0c8f2d783c377104232e8efb6be83ea10e0105c83e9d1925314e0b SHA512 b33ca0f1c858428693aee27a9089acff9e63d1110f85fa036894cfefe6274e7b2422758ea39852f94fdb4823c9c3f3c44b0d8906627503301f5928096f739f22
|
||||
DIST GraphicsMagick-1.3.27.tar.xz 5412544 BLAKE2B 130ce964f3745f4a9f3b54180529fb45afb4ecc63ecb88f626fa4dd2c6fb54675ff9b5b79527dc89d375cad5c4f1136063e612d91cc9d69b0c330c32c786fd96 SHA512 27c2fccebe1ae079040986979405f9840ad39f773e2e0399712695146ec1b0f92a53533e6052df124f5db38aacc95bbd4b2e8692e81c92dade4e169ddfcc9b8c
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/version.sh
|
||||
+++ b/version.sh
|
||||
@@ -27,7 +27,7 @@ PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION"
|
||||
#
|
||||
# Formal Package release date
|
||||
# Set to string "unreleased" if package is not a formal release.
|
||||
-PACKAGE_RELEASE_DATE="2017-12-09
|
||||
+PACKAGE_RELEASE_DATE="2017-12-09"
|
||||
#PACKAGE_RELEASE_DATE="unreleased"
|
||||
|
||||
#
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
MY_P=${P/graphicsm/GraphicsM}
|
||||
|
||||
DESCRIPTION="Collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="http://www.graphicsmagick.org/"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV%.*}"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="http://hg.code.sf.net/p/${PN}/code"
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
|
||||
IUSE="bzip2 cxx debug fpx imagemagick jbig jpeg jpeg2k lcms lzma modules openmp
|
||||
perl png postscript q16 q32 static-libs svg test threads tiff truetype
|
||||
webp wmf X zlib"
|
||||
|
||||
RDEPEND="dev-libs/libltdl:0
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
fpx? ( media-libs/libfpx )
|
||||
imagemagick? ( !media-gfx/imagemagick )
|
||||
jbig? ( media-libs/jbigkit )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper:= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
perl? ( dev-lang/perl )
|
||||
png? ( media-libs/libpng:0 )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
svg? ( dev-libs/libxml2 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
# corefonts are required because needed arial font (bug #588398).
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( media-fonts/corefonts )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.19-flags.patch
|
||||
"${FILESDIR}"/${PN}-1.3.19-perl.patch
|
||||
"${FILESDIR}"/${PN}-1.3.27-version.sh-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=8
|
||||
use q16 && depth=16
|
||||
use q32 && depth=32
|
||||
|
||||
local openmp=disable
|
||||
if use openmp && tc-has-openmp; then
|
||||
openmp=enable
|
||||
fi
|
||||
|
||||
econf \
|
||||
--${openmp}-openmp \
|
||||
--enable-largefile \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug prof) \
|
||||
$(use_enable debug gcov) \
|
||||
$(use_enable imagemagick magick-compat) \
|
||||
$(use_with threads) \
|
||||
$(use_with modules) \
|
||||
--with-quantum-depth=${depth} \
|
||||
--without-frozenpaths \
|
||||
$(use_with cxx magick-plus-plus) \
|
||||
$(use_with perl) \
|
||||
--with-perl-options=INSTALLDIRS=vendor \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with postscript dps) \
|
||||
$(use_with fpx) \
|
||||
--without-gslib \
|
||||
$(use_with jbig) \
|
||||
$(use_with webp) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with jpeg2k jp2) \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with lzma) \
|
||||
$(use_with png) \
|
||||
$(use_with tiff) \
|
||||
$(use_with truetype ttf) \
|
||||
$(use_with wmf) \
|
||||
--with-fontpath="${EPREFIX}"/usr/share/fonts \
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \
|
||||
--with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts \
|
||||
$(use_with svg xml) \
|
||||
$(use_with zlib) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use perl && emake perl-build
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DISPLAY # some perl tests fail when DISPLAY is set
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
emake -C PerlMagick DESTDIR="${D}" install
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} + || die
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + || die
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Mon, 11 Dec 2017 12:08:31 +0000
|
||||
Mon, 11 Dec 2017 20:08:34 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 11 Dec 2017 12:08:31 +0000
|
||||
Mon, 11 Dec 2017 20:08:34 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install test unpack
|
||||
DEPEND=>=dev-lang/go-1.8
|
||||
DESCRIPTION=Kubernetes Bench for Security runs the CIS Kubernetes Benchmark
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/aquasecurity/kube-bench
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/aquasecurity/kube-bench/archive/v0.0.6.tar.gz -> kube-bench-0.0.6.tar.gz https://github.com/fatih/color/archive/5df930a27be2502f99b292b7cc09ebad4d0891f4.tar.gz -> github.com-fatih-color-5df930a27be2502f99b292b7cc09ebad4d0891f4.tar.gz https://github.com/golang/glog/archive/23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz -> github.com-golang-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz https://github.com/jinzhu/gorm/archive/0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e.tar.gz -> github.com-jinzhu-gorm-0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e.tar.gz https://github.com/jinzhu/inflection/archive/1c35d901db3da928c72a72d8458480cc9ade058f.tar.gz -> github.com-jinzhu-inflection-1c35d901db3da928c72a72d8458480cc9ade058f.tar.gz https://github.com/lib/pq/archive/83612a56d3dd153a94a629cd64925371c9adad78.tar.gz -> github.com-lib-pq-83612a56d3dd153a94a629cd64925371c9adad78.tar.gz https://github.com/spf13/cobra/archive/ccaecb155a2177302cb56cae929251a256d0f646.tar.gz -> github.com-spf13-cobra-ccaecb155a2177302cb56cae929251a256d0f646.tar.gz https://github.com/spf13/pflag/archive/4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz -> github.com-spf13-pflag-4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz https://github.com/fsnotify/fsnotify/archive/4da3e2cfbabc9f751898f250b49f2439785783a1.tar.gz -> github.com-fsnotify-fsnotify-4da3e2cfbabc9f751898f250b49f2439785783a1.tar.gz https://github.com/hashicorp/hcl/archive/23c074d0eceb2b8a5bfdbb271ab780cde70f05a8.tar.gz -> github.com-hashicorp-hcl-23c074d0eceb2b8a5bfdbb271ab780cde70f05a8.tar.gz https://github.com/magiconair/properties/archive/49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934.tar.gz -> github.com-magiconair-properties-49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934.tar.gz https://github.com/mitchellh/mapstructure/archive/06020f85339e21b2478f756a78e295255ffa4d6a.tar.gz -> github.com-mitchellh-mapstructure-06020f85339e21b2478f756a78e295255ffa4d6a.tar.gz https://github.com/pelletier/go-toml/archive/4e9e0ee19b60b13eb79915933f44d8ed5f268bdd.tar.gz -> github.com-pelletier-go-toml-4e9e0ee19b60b13eb79915933f44d8ed5f268bdd.tar.gz https://github.com/spf13/afero/archive/8d919cbe7e2627e417f3e45c3c0e489a5b7e2536.tar.gz -> github.com-spf13-afero-8d919cbe7e2627e417f3e45c3c0e489a5b7e2536.tar.gz https://github.com/spf13/cast/archive/acbeb36b902d72a7a4c18e8f3241075e7ab763e4.tar.gz -> github.com-spf13-cast-acbeb36b902d72a7a4c18e8f3241075e7ab763e4.tar.gz https://github.com/spf13/jwalterweatherman/archive/12bd96e66386c1960ab0f74ced1362f66f552f7b.tar.gz -> github.com-spf13-jwalterweatherman-12bd96e66386c1960ab0f74ced1362f66f552f7b.tar.gz https://github.com/spf13/viper/archive/1a0c4a370c3e8286b835467d2dfcdaf636c3538b.tar.gz -> github.com-spf13-viper-1a0c4a370c3e8286b835467d2dfcdaf636c3538b.tar.gz https://github.com/golang/sys/archive/b8f5ef32195cae6470b728e8ca677f0dbed1a004.tar.gz -> github.com-golang-sys-b8f5ef32195cae6470b728e8ca677f0dbed1a004.tar.gz https://github.com/golang/text/archive/3b24cac7bc3a458991ab409aa2a339ac9e0d60d6.tar.gz -> github.com-golang-text-3b24cac7bc3a458991ab409aa2a339ac9e0d60d6.tar.gz https://github.com/go-yaml/yaml/archive/287cf08546ab5e7e37d55a84f7ed3fd1db036de5.tar.gz -> github.com-go-yaml-yaml-287cf08546ab5e7e37d55a84f7ed3fd1db036de5.tar.gz
|
||||
_eclasses_=bash-completion-r1 8e447753aaf658afa609fbf961d80ab7 golang-base 51a1f13e065f1cff4507685d9cc268c7 golang-build b66349c110e4ddd6203bbe8bf4ae05c1 golang-vcs-snapshot 913580335becddd3ebecefe852e47536 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=90a1384960efe0f8b7eb503a244e8ca0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst
|
||||
DEPEND=virtual/pkgconfig
|
||||
DESCRIPTION=PHP eselect module
|
||||
EAPI=6
|
||||
HOMEPAGE=https://gitweb.gentoo.org/proj/eselect-php.git/
|
||||
IUSE=fpm apache2
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=app-admin/eselect apache2? ( www-servers/apache[apache2_modules_dir] ) fpm? ( sys-apps/gentoo-functions )
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~mjo/distfiles/eselect-php-0.9.4.tar.xz
|
||||
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e systemd 8f5286f89e265842f5b5189666eae88b toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=15e0d439147e990574ebd595952b7274
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue