Browse Source

Sync with portage [Fri Sep 2 13:59:05 MSK 2016].

mhiretskiy 517
root 6 years ago
parent
commit
1540181264
  1. 1
      app-admin/fleet/Manifest
  2. 47
      app-admin/fleet/fleet-0.11.8.ebuild
  3. 1
      app-admin/lastpass-cli/Manifest
  4. 44
      app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild
  5. 1
      app-admin/logstash-bin/Manifest
  6. 64
      app-admin/logstash-bin/logstash-bin-2.4.0.ebuild
  7. 33
      app-admin/logstash-bin/metadata.xml
  8. 2
      app-admin/setools/Manifest
  9. 160
      app-admin/setools/setools-3.3.8-r5.ebuild
  10. 2
      app-arch/gzip/gzip-1.8.ebuild
  11. 2
      app-backup/kfoldersync/kfoldersync-3.3.0.ebuild
  12. 2
      app-crypt/gnupg/gnupg-1.4.21.ebuild
  13. 1
      app-crypt/hashcat/Manifest
  14. 48
      app-crypt/hashcat/hashcat-3.10-r1.ebuild
  15. 10
      app-crypt/hashcat/metadata.xml
  16. 1
      app-misc/elasticsearch/Manifest
  17. 82
      app-misc/elasticsearch/elasticsearch-2.4.0.ebuild
  18. 13
      app-misc/elasticsearch/metadata.xml
  19. 1
      app-misc/mosquitto/Manifest
  20. 97
      app-misc/mosquitto/mosquitto-1.4.10.ebuild
  21. 1
      app-text/krop/Manifest
  22. 26
      app-text/krop/krop-0.4.11.ebuild
  23. 21
      app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild
  24. 2
      app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild
  25. 32
      app-vim/enhancedcommentify/enhancedcommentify-2.3-r1.ebuild
  26. 2
      app-vim/pushpop/pushpop-4.0-r1.ebuild
  27. 18
      app-vim/pushpop/pushpop-4.0.ebuild
  28. 1
      dev-db/rethinkdb/Manifest
  29. 12
      dev-db/rethinkdb/files/rethinkdb.confd
  30. 50
      dev-db/rethinkdb/files/rethinkdb.initd
  31. 13
      dev-db/rethinkdb/files/rethinkdb.service
  32. 1
      dev-db/rethinkdb/files/rethinkdb.tmpfilesd
  33. 19
      dev-db/rethinkdb/metadata.xml
  34. 133
      dev-db/rethinkdb/rethinkdb-2.3.4.ebuild
  35. 2
      dev-java/leiningen-bin/Manifest
  36. 1
      dev-java/leiningen-bin/files/leinrc
  37. 63
      dev-java/leiningen-bin/leiningen-bin-2.7.0.ebuild
  38. 11
      dev-java/leiningen-bin/metadata.xml
  39. 144
      dev-lang/spidermonkey/files/spidermonkey-1.8.5-gcc6.patch
  40. 149
      dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild
  41. 1
      dev-libs/beignet/Manifest
  42. 96
      dev-libs/beignet/beignet-1.1.2.ebuild
  43. 11
      dev-libs/beignet/files/llvm-empty-system-libs.patch
  44. 20
      dev-libs/beignet/files/llvm-terminfo.patch
  45. 39
      dev-libs/beignet/files/no-debian-multiarch.patch
  46. 13
      dev-libs/beignet/files/no-hardcoded-cflags.patch
  47. 8
      dev-libs/beignet/metadata.xml
  48. 2
      dev-libs/libgcrypt/libgcrypt-1.7.3.ebuild
  49. 2
      dev-php/PEAR-Net_URL2/Manifest
  50. 13
      dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.0.0.ebuild
  51. 38
      dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
  52. 3
      dev-python/aplpy/aplpy-1.0.ebuild
  53. 3
      dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
  54. 3
      dev-python/astroquery/astroquery-0.3.2.ebuild
  55. 1
      dev-python/ccdproc/Manifest
  56. 53
      dev-python/ccdproc/ccdproc-1.1.0.ebuild
  57. 13
      dev-python/elasticsearch-curator/metadata.xml
  58. 26
      dev-python/elasticsearch-py/metadata.xml
  59. 3
      dev-python/gammapy/gammapy-0.4.ebuild
  60. 1
      dev-python/glueviz/Manifest
  61. 60
      dev-python/glueviz/glueviz-0.8.2.ebuild
  62. 1
      dev-python/imageio/Manifest
  63. 27
      dev-python/imageio/imageio-1.5.ebuild
  64. 21
      dev-python/imageio/metadata.xml
  65. 1
      dev-python/lxml/Manifest
  66. 70
      dev-python/lxml/lxml-3.6.4.ebuild
  67. 3
      dev-python/naima/naima-0.7.1.ebuild
  68. 1
      dev-python/photutils/Manifest
  69. 54
      dev-python/photutils/photutils-0.2.2.ebuild
  70. 1
      dev-python/pyregion/Manifest
  71. 63
      dev-python/pyregion/pyregion-1.2.ebuild
  72. 1
      dev-python/python-rethinkdb/Manifest
  73. 15
      dev-python/python-rethinkdb/metadata.xml
  74. 25
      dev-python/python-rethinkdb/python-rethinkdb-2.3.0.ebuild
  75. 1
      dev-python/reproject/Manifest
  76. 44
      dev-python/reproject/reproject-0.3.1.ebuild
  77. 1
      dev-python/rospkg/Manifest
  78. 56
      dev-python/rospkg/rospkg-1.0.40.ebuild
  79. 3
      dev-python/sepolgen/Manifest
  80. 16
      dev-python/sepolgen/files/0040-have-test-run-with-PYTHON-variable-python-bug-467264.patch
  81. 74
      dev-python/sepolgen/sepolgen-1.2.1-r1.ebuild
  82. 73
      dev-python/sepolgen/sepolgen-1.2.2.ebuild
  83. 2
      dev-python/sepolgen/sepolgen-9999.ebuild
  84. 1
      dev-python/specutils/Manifest
  85. 52
      dev-python/specutils/specutils-0.2.2.ebuild
  86. 1
      dev-python/tqdm/Manifest
  87. 19
      dev-python/tqdm/metadata.xml
  88. 23
      dev-python/tqdm/tqdm-0_pre20140115.ebuild
  89. 22
      dev-python/tqdm/tqdm-9999.ebuild
  90. 1
      dev-python/wcsaxes/Manifest
  91. 58
      dev-python/wcsaxes/wcsaxes-0.9.ebuild
  92. 6
      dev-ros/audio_capture/Manifest
  93. 29
      dev-ros/audio_capture/audio_capture-0.2.11.ebuild
  94. 29
      dev-ros/audio_capture/audio_capture-0.2.7.ebuild
  95. 29
      dev-ros/audio_capture/audio_capture-0.2.8.ebuild
  96. 29
      dev-ros/audio_capture/audio_capture-0.2.9.ebuild
  97. 10
      dev-ros/audio_capture/audio_capture-0.3.1.ebuild
  98. 10
      dev-ros/audio_capture/audio_capture-9999.ebuild
  99. 1
      dev-ros/audio_common_msgs/Manifest
  100. 20
      dev-ros/audio_common_msgs/audio_common_msgs-0.3.1.ebuild

1
app-admin/fleet/Manifest

@ -1,3 +1,4 @@
DIST fleet-0.11.0.tar.gz 452750 SHA256 475d92eccfa383d5ed7f48ecca69666c597eb67ed53c41ac443e5f7816110ad7 SHA512 050ef3fba52661caa87e04695dc0120b48d9916b2dc466750f3e735738b2de5e39cc343a8526cbdb8cf2966da89696efdc0a98709732e9c2cb6f7ea6875ef2fc WHIRLPOOL 294d46acba60ef8bae28c3e253ca410281918f4f15b5abb692d7a085e7d3846e28c5c890e677bc77487ed14cf4429dbf38beeb5ef7cc6a2746e583f7f825bd9c
DIST fleet-0.11.1.tar.gz 453034 SHA256 65965730f70021988ed869e23d9599a2305f24287f3ac67c2b995b05ef28cbe8 SHA512 28e1fc15f634bb5445a5d011dfccae488a873714d868e8632d928a72728380ee7339619e7c057354a154daff71d7260f04c4911e1b371b05c96099ef1d0d9f8d WHIRLPOOL 476ebe9c72b343ecd7dc3f589eed010b5c98651683ee7aee034427702c2779cc16f7f012fa5e2df6d24af9c98731f8e176c3da7acec4ef6753d088ffbf1b14e5
DIST fleet-0.11.5.tar.gz 456152 SHA256 a6a785099df71645b5fe8755a36baa6c11138749bc02ae4990fd3f52663c0394 SHA512 1d97e386430db948d8730ec26b7d55a1dad00343600400bf21f9a1cb855e068063244ffe55774e72920c210181ff80bd9706ec99fd9eeb2ac28be14bba1dfbf9 WHIRLPOOL 0a9274cc6077eec1790c3fa9ca1ada71723e392cf50f47d17019edc78fe202893053908ba4565beca7f5f6a0bae97d676304df4cd952ff8e06cb0797f41cea89
DIST fleet-0.11.8.tar.gz 443257 SHA256 22f2f40c1c2938504b31e9dbb54eb6eb54569458a4dffe5e0020e917a5e1f66f SHA512 637332716928efba0f49af1234cfccd1d3979982ad974eb86980263230db5f2bce4eed5dcd80546e371653678e3d3ec448edb50d04b8f336d7402525dfb4ef2f WHIRLPOOL e516a7c0d21455b3a3be2a116473acc255af72c8f03b2eda9fe201b61e259689c536ef7d7f7f1385b42b7e99cce88183a151b33cf85d1f2c42a97e3ddd0e153d

47
app-admin/fleet/fleet-0.11.8.ebuild

@ -0,0 +1,47 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EGO_PN="github.com/coreos/fleet"
inherit systemd vcs-snapshot
DESCRIPTION="A Distributed init System"
HOMEPAGE="https://github.com/coreos/fleet"
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples test"
DEPEND="
>=dev-lang/go-1.4:=
test? ( dev-go/go-tools )
"
RDEPEND=""
src_compile() {
./build || die 'Build failed'
}
src_test() {
./test || die 'Tests failed'
}
src_install() {
dobin "${S}"/bin/fleetd
dobin "${S}"/bin/fleetctl
systemd_dounit "${FILESDIR}"/fleet.service
systemd_dounit "${FILESDIR}"/fleet.socket
dodoc README.md
use doc && dodoc -r Documentation
use examples && dodoc -r examples
insinto /etc/${PN}
newins "${PN}".conf.sample "${PN}".conf
}

1
app-admin/lastpass-cli/Manifest

@ -1,2 +1,3 @@
DIST lastpass-cli-0.8.1.tar.gz 79981 SHA256 ba845a827501f3c49514e977c8de25e5950d3ea482d7a3c31090148310a83056 SHA512 bc58500165e26dc87b592a7d975fa5b6e6698ca7b68fdd8205d21cfd13f72860cbbf5cd36b162fe928c12eb6c8ab86b42e369b8abc719bd36df5a8d8ea5f1689 WHIRLPOOL 3a332725106a43dc5738ad4b066a5b4c2fd3764e3543257931ba267068d202cb4bafbbdb4b72a336032e66161fba98f3d0c1d9b0f8a194a413fed0bc28a6f692
DIST lastpass-cli-0.9.0.tar.gz 84433 SHA256 e7314f0dfeec86add7c19c053ee34bb7a176e462e71727d2b345481d2d136800 SHA512 1e377cfeb9b62c5a69b461312582b6893f88fa12079ad8e52a1e7a3be806225009f0f84eff7d806191ff7f3482e34cd16e10d0b623fa0b0357703d585a015878 WHIRLPOOL 12e6c8ce6ab03ae9586a949f1a9316bf18d80c2ed54b7b883f3888e76932999bb74b8d36bac0361a11da126df20b5b5c39f2dc62cbd76b7d3deacfb57a789406
DIST lastpass-cli-1.0.0.tar.gz 92311 SHA256 42096c0bd3972b0e9cc9cef32fbf141e47b04b9e2387fb3abe8b105e135fb41e SHA512 4709b3e4d6064c8c5cb593344e6417355d7df570240dce8eb77a19f3377ea38585280a9602cf8ab926c55c6afd84b297f261b0c8a40d355734d5cc542d46f610 WHIRLPOOL 394bfb597f5262dd1e47c7a3c48ef093b398f90c6dcacac6b172bb008891c76faf448ecf6be0ebfa277d18d335b166b7efadc063acc57ce88274004d1734bf21

44
app-admin/lastpass-cli/lastpass-cli-1.0.0.ebuild

@ -0,0 +1,44 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit bash-completion-r1 toolchain-funcs
DESCRIPTION="Interfaces with LastPass.com from the command line."
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86"
IUSE="libressl X +pinentry"
RDEPEND="
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
net-misc/curl
dev-libs/libxml2
pinentry? ( app-crypt/pinentry )
"
DEPEND="${RDEPEND}
app-text/asciidoc
virtual/pkgconfig
"
src_prepare() {
# Do not include headers from /usr/local/include
sed -i -e 's:-I/usr/local/include::' Makefile || die
default
tc-export CC
}
src_compile() {
emake PREFIX="${EPREFIX}/usr" COMPDIR="$(get_bashcompdir)" all doc-man
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install install-doc
}

1
app-admin/logstash-bin/Manifest

@ -1,4 +1,5 @@
DIST logstash-2.3.2.tar.gz 74898843 SHA256 b3c9d943fa273c8087386736ef6809df9c5959bab870a6ab4723f58d48dd38c1 SHA512 87b97ae0548328fe56ab4f2104b4c63db6a424bb5937e7be043f5835d08bcd02fbcb403d5cc9312b72d5314abfce2b4b00016b9b380fb88abed690d8d80e8c55 WHIRLPOOL afa2a53230b3e5390c4c4d2a84a168ed2d6c56babf927fe4b8c3cb2dab49def8457e8df45d33ca020b11d49b52397f5abb6604fb1d8fecd3c9b033f426130bd9
DIST logstash-2.3.3.tar.gz 78887475 SHA256 51a20fbfe2aa0c5ea49ceda8278a4667289fd1871cf7be4ba1c32bd6cbc71d74 SHA512 b1b6ab8e323a01a905c923c24916efe7a1b1165c82d692dbd856b8cdb30ab2e3378c5dfec2e6424c8d44813a1bd8a787075a6f9d82ecbd0d6973d8cdfb1b8193 WHIRLPOOL d280c413bdcf50d5cc7151fe9a5385d974405b69f51df5f12fbb1eb8facc90682cc884d8d79d84968d0a7ae8c63eb688e50832208c647e7e2b05d4f21b8f189a
DIST logstash-2.3.4.tar.gz 79779303 SHA256 7f62a03ddc3972e33c343e982ada1796b18284f43ed9c0089a2efee78b239583 SHA512 cc5d6c04e414daf63c836141df87204e0cbc63f71ee02abb69496e29587d5b0803dd738949de559a597979c9f6c6bf9d11d55f4b084ce875f24fb362f2c9bd3b WHIRLPOOL 71b6d915153d80d9bc81d10454ffd14af4643c61557964d7fd8edf50bf1a5d1c53ce0b09c2aec9b079918df596bbb5b07420b8661572bf7ea659e9703694f07c
DIST logstash-2.4.0.tar.gz 83882952 SHA256 622c435c5c0f40e205fd4d9411eb409cc52992cf62dde4c7cd46e480cd8247cc SHA512 27f7e22fcfbeabe58bef1220399a80b32b56b5e2af17c0279e3f583ed5170be649b961b92c3eef33120ce238f126a3cb32e614bd8109bd8c266b538888c5324d WHIRLPOOL 2d1db78ff21d86e22f709600b086dfc253120e6a659d46c1e6ebc6d62dfffd48f0a440c33fa9a1cd7014108f5ae88afa4ccd25211ce57b1a4856f756a855c71e
DIST logstash-all-plugins-2.3.3.tar.gz 134888154 SHA256 b60a6f59616a54f07f47155b6962cd4d7eb8af8c0ceebfe5fc7d471670c02612 SHA512 41df6c94aa27c86b394580fc426d0c0c0db6ce91157fa250a67a8a72db681770ba3cdd257788cfaf9947704bba1a61308a9bc843204b80dcd739b5082972cf6d WHIRLPOOL 0644f49a6ea76add4a3522b5fd8ec519ea49cc554cfd00f96f0b223840d886dfb8781f59a7fc3d0bef2484266aea168c0a9700b63f8aede9d649106d19b494a9

64
app-admin/logstash-bin/logstash-bin-2.4.0.ebuild

@ -0,0 +1,64 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit user
MY_PN="${PN/-bin}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Tool for managing events and logs"
HOMEPAGE="https://www.elastic.co/products/logstash"
SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip"
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
DEPEND=""
RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
enewgroup ${MY_PN}
enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -m
}
src_install() {
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
keepdir "/var/log/${MY_PN}"
insinto "/usr/share/${MY_PN}"
doins "${FILESDIR}/agent.conf.sample"
insinto "/opt/${MY_PN}"
doins -r .
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby"
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}"
}
pkg_postinst() {
ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for"
ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in"
ewarn "/etc/conf.d/${MY_PN}"
einfo
einfo "Getting started with logstash:"
einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html"
einfo ""
einfo "Packages that might be interesting:"
einfo " app-misc/elasticsearch"
einfo " dev-python/elasticsearch-curator"
einfo " www-apps/kibana-bin"
}

33
app-admin/logstash-bin/metadata.xml

@ -1,19 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>hydrapolic@gmail.com</email>
<name>Tomas Mozes</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="all-plugins">contains the standard distribution package plus all plugins</flag>
</use>
<upstream>
<remote-id type="github">elastic/logstash</remote-id>
</upstream>
<maintainer type="person">
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
<maintainer type="person">
<email>hydrapolic@gmail.com</email>
<name>Tomáš Mózes</name>
</maintainer>
<maintainer type="person">
<email>erkiferenc@gmail.com</email>
<name>Ferenc Erki</name>
</maintainer>
<use>
<flag name="all-plugins">contains the standard distribution package plus all plugins</flag>
</use>
<upstream>
<remote-id type="github">elastic/logstash</remote-id>
</upstream>
</pkgmetadata>

2
app-admin/setools/Manifest

@ -1,5 +1,3 @@
DIST setools-3.3.8-01-fedora-patches.tar.gz 1128 SHA256 420b852d4209d07b73cec84586e000e7a6a719135ea677711abf97d420840bb6 SHA512 1aa2cc50c307929b522e029a552bfd545aef07656d1983289b0ea9be67aa94c07272a59c17630fc09fd79b06845ada318cdfa48d6cc243a24026e015c23b9634 WHIRLPOOL 25ae2b15fb15060fd0d34c55f4cc098b70a3a616f5334b092657a9c5df037b7fcf00fd185f33ba142e47d46c36b2fb7e9434021d6e987832fe833367a50d7449
DIST setools-3.3.8-03-gentoo-patches.tar.gz 6584 SHA256 8eac460b7dc2ee5e2f23148cdbf187316edd78ce0ec7ebbb6b0f68d6ad33d86a SHA512 5458dab5775b558e287f946c299753be5cb5eb6c1c2b9df0e32c7cfa758bb5316d142aa6338d3019f5f1eeb72876e4d5ed4939b0dbfe7b7e01c08a19a086bacc WHIRLPOOL e1afa6bb28f3aee2f3acdc66efd8ca02548c4f8e5707052ea455f1db558126f069d63278251630ee68bf4987157279161006975cb14d44055492228fa476cd72
DIST setools-3.3.8-04-gentoo-patches.tar.bz2 94986 SHA256 9a8a43ac97606fde9b2610ceed65f640638929853f871ce530982bedfd919b64 SHA512 39bf00b6aaf31821c6e2e2fb4c460dd1914fba4bf8385acebedf88f1533da990f1fb925dd49d75827aebef3f394a50a1edea46a07204193b58c65a066a064e6a WHIRLPOOL 4a92e4cf6930584de931c5d0805815aacd1c1af4434ca8e73414eda33588a55ef8d7bdfe4195be642889eee480128cbe12d1c5612e07ea304021b230e0b74816
DIST setools-3.3.8.tar.bz2 951428 SHA256 44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999 SHA512 2c42ee9904174ed6c6fc129e374ec3591925094ab0ef65001b0104e365c5634bf4a79f28369608c80199d8f59fafaa5f274107c04c129c380eeef7adb0c32667 WHIRLPOOL 11c4065809909764f4364b78df1a8030d189315601b882919ccacb5fb147c1b3a061c5bbf9ced3c243d4615ab7727e9db0c89e931a884ae8b317ae3a879e5371
DIST setools-4.0.1.tar.gz 399888 SHA256 4c2049877f2f68e4485b72bc280fe20127b49a019169a2cf1d8295c908bdcdfe SHA512 d0a36cfddc6a6f47ecaa8402141271558e97467b6c449d18b98bf6fe894189f29a32fb672e3ff573efdb44964bd361283c68c2906d02f8a9c1269b6b71903bc2 WHIRLPOOL 017e709c113b28175787249af8aa1dcc99a5034eadcc76e97a394f9f89afcc1e7fe3eeb8ec105c541a6260d8a2eb4b1aa8155ba2297ecdf6d640ba112857a442

160
app-admin/setools/setools-3.3.8-r5.ebuild

@ -1,160 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit autotools java-pkg-opt-2 python-r1 eutils toolchain-funcs
DESCRIPTION="SELinux policy tools"
HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2
https://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz
https://dev.gentoo.org/~swift/patches/setools/${P}-03-gentoo-patches.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X debug java python"
DEPEND=">=sys-libs/libsepol-2.1.4
>=sys-libs/libselinux-2.3
sys-devel/bison
sys-devel/flex
>=dev-db/sqlite-3.2:3
dev-libs/libxml2:2
virtual/pkgconfig
java? (
dev-lang/swig:1
>=virtual/jdk-1.4
)
python? (
${PYTHON_DEPS}
dev-lang/swig:1
)
X? (
>=dev-lang/tk-8.4.9
>=gnome-base/libglade-2.0
>=x11-libs/gtk+-2.8:2
)"
RDEPEND=">=sys-libs/libsepol-2.1.4
>=sys-libs/libselinux-2.3
>=dev-db/sqlite-3.2:3
dev-libs/libxml2:2
java? ( >=virtual/jre-1.4 )
X? (
>=dev-lang/tk-8.4.9:0=
>=dev-tcltk/bwidget-1.8
>=gnome-base/libglade-2.0
>=x11-libs/gtk+-2.8:2
)"
RESTRICT="test"
# setools dirs that contain python code to build
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python"
pkg_setup() {
if use java; then
java-pkg-opt-2_pkg_setup
fi
}
src_prepare() {
EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \
EPATCH_SUFFIX="patch" \
EPATCH_SOURCE="${WORKDIR}" \
EPATCH_FORCE="yes" \
epatch
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \
EPATCH_SUFFIX="patch" \
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
EPATCH_FORCE="yes" \
epatch
# Disable broken check for SWIG version.
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
# Use swig1.3
sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3"
# Fix build failure due to double __init__.py installation
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
local dir
for dir in ${PYTHON_DIRS}; do
# Python bindings are built/installed manually.
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
# Make PYTHON_LDFLAGS replaceable during running `make`.
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
done
# temporary work around bug #424581 until automake-1.12 is stable (then
# depend on it). Need to use MKDIR_P in the mean time for 1.12+.
has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; }
eautoreconf
# Disable byte-compilation of Python modules.
echo '#!/bin/sh' > py-compile
epatch_user
}
src_configure() {
tc-ld-disable-gold #467136
econf \
--with-java-prefix=${JAVA_HOME} \
--disable-selinux-check \
--disable-bwidget-check \
$(use_enable python swig-python) \
$(use_enable java swig-java) \
$(use_enable X swig-tcl) \
$(use_enable X gui) \
$(use_enable debug)
# work around swig c99 issues. it does not require
# c99 anyway.
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
}
src_compile() {
emake
if use python; then
building() {
python_export PYTHON_INCLUDEDIR
python_export PYTHON_SITEDIR
python_export PYTHON_LIBS
emake \
SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \
PYTHON_LDFLAGS="${PYTHON_LIBS}" \
pyexecdir="${PYTHON_SITEDIR}" \
pythondir="${PYTHON_SITEDIR}" \
-C "$1"
}
local dir
for dir in ${PYTHON_DIRS}; do
python_foreach_impl building ${dir}
done
fi
}
src_install() {
emake DESTDIR="${D}" install
if use python; then
installation() {
python_export PYTHON_SITEDIR
emake DESTDIR="${D}" \
pyexecdir="${PYTHON_SITEDIR}" \
pythondir="${PYTHON_SITEDIR}" \
-C "$1" install
}
local dir
for dir in ${PYTHON_DIRS}; do
python_foreach_impl installation "${dir}"
done
fi
}

2
app-arch/gzip/gzip-1.8.ebuild

@ -14,7 +14,7 @@ SRC_URI="mirror://gnu/gzip/${P}.tar.xz
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="pic static"
PATCHES=(

2
app-backup/kfoldersync/kfoldersync-3.3.0.ebuild

@ -11,7 +11,7 @@ DESCRIPTION="Folder synchronization and backup tool for KDE"
HOMEPAGE="https://www.linux-apps.com/p/1127677/"
SRC_URI="https://dl.opendesktop.org/api/files/download/id/1472295821/${P}.tar.xz"
LICENSE="GPL-3+"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

2
app-crypt/gnupg/gnupg-1.4.21.ebuild

@ -17,7 +17,7 @@ SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib"
COMMON_DEPEND="

1
app-crypt/hashcat/Manifest

@ -0,0 +1 @@
DIST hashcat-3.10.tar.gz 4077692 SHA256 3b555e5f7b35ab6a4558bc460f28d80b32f5a211bf9e08d6a1ba1bad5203e3e9 SHA512 2adf16513118b91085fe587c53b15f142abb7673f659b2721dcba8aacdac6f024b65e7b50b916f86c161c21e98eb4758f187d25ad1ca4c66cdb67a259b07ae04 WHIRLPOOL 64ea5b3491094b2578264675025d6438e9981d69b77376bffb2b02cdf4c1e2899a2f6585295d288197e84710a3802c105d17e392795aaa5a00a09c2eeaa4a50d

48
app-crypt/hashcat/hashcat-3.10-r1.ebuild

@ -0,0 +1,48 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils pax-utils
DESCRIPTION="An advanced CPU-based password recovery utility"
HOMEPAGE="https://github.com/hashcat/hashcat"
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="video_cards_nvidia video_cards_fglrx"
DEPEND="virtual/opencl"
RDEPEND="${DEPEND}"
src_prepare() {
#do not strip
sed -i "/CFLAGS_NATIVE += -s/d" src/Makefile || die
#do not add random CFLAGS
sed -i "s/-O2//" src/Makefile || die
export PREFIX=/usr
}
src_compile() {
default
pax-mark -mr hashcat
}
src_test() {
if use video_cards_nvidia; then
addwrite /dev/nvidia0
addwrite /dev/nvidiactl
addwrite /dev/nvidia-uvm
if [ ! -w /dev/nvidia0 ]; then
einfo "To run these tests, portage likely must be in the video group."
einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
fi
elif use vidia_cards_fglrx; then
addwrite /dev/ati
fi
#this always exits with 255 despite success
#./hashcat -b -m 2500 || die "Test failed"
./hashcat -a 3 -m 1500 nQCk49SiErOgk
}

10
app-crypt/hashcat/metadata.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

1
app-misc/elasticsearch/Manifest

@ -10,3 +10,4 @@ DIST elasticsearch-2.3.2.tar.gz 27543334 SHA256 04c4d3913d496d217e038da88df93910
DIST elasticsearch-2.3.3.tar.gz 27542289 SHA256 5fe0a6887432bb8a8d3de2e79c9b81c83cfa241e6440f0f0379a686657789165 SHA512 d3899d2f45128d218693ed2a0f9210ec6ce5fe4101d543b46edaaadceeb6768fe3cf04bf161ad09b38629bada74368133727dd735ef11132fffe81aabe0ef88b WHIRLPOOL 5f51b0c1a913a60073c212c9ee06b024b0ca50bbf7857f2ce1883ab51bbb8295c51c1c2d4e7fd98b5dc9db65cd753fd282a0eccf7568fad6608b3529f5e9ea36
DIST elasticsearch-2.3.4.tar.gz 27547169 SHA256 371e0c5f4ded0a8548f1cce55faff3efebcfd5f895c2c816f220146521f6f06e SHA512 d6b61069b499d2fab1f4102240a5dfd9c0a0806d0cd7047935ef49da669e61066ca37284bd367df96aec79c47417b499988094737bf2e5a6e4c69f682e311bc0 WHIRLPOOL 46311e0a24d64d3b464ba1640b80294ab5ce2ab34a215a48f72a98492c2f07fd878ec99edd36a206b3445c4eebffac7be30e5af140e475ced312a6de2a8d3c06
DIST elasticsearch-2.3.5.tar.gz 27547995 SHA256 1119a8c18620b98c4b85261318663a1f26dea92a26f34dfeb7f813fb7cbb468a SHA512 9c0cc8a9ae0fa2b52db583a5c006b05a84c1f84e1b8dbbafa88bec111190d056a23bd384d4241ce00dc8b56a6840857b296e4c0d2bf911f352ef67f128a87ca7 WHIRLPOOL de2aee3773d14c9b4abc0f20c3c8df1fe374a91ea54493f2c1df59fb8c02c97d684fd94b6bfaf140eebcfea4913197b10469b5aef34f62db89d825ae508a5095
DIST elasticsearch-2.4.0.tar.gz 27364449 SHA256 3ae01140ae7bcbb91436feef381fbed774e36ef6d1e8e6a3153640db82acf4c9 SHA512 931f4d42cba43131718ec7480439b5fda0b9222a51cf9639d99ab4c00bdbedbe7e8da7a6016d88b848772cd416bc49fe7af09202160cecf839e39d803b45e869 WHIRLPOOL e03a2f7a6ea5913ce112b82e8578183c401f2d5901070a77c509ddbe7333fe62622fb2bb3e0f786a914bb15c56793e8b13220ae4588271baa3bbbcdf86223f47

82
app-misc/elasticsearch/elasticsearch-2.4.0.ebuild

@ -0,0 +1,82 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils systemd user
MY_PN="${PN%-bin}"
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
HOMEPAGE="https://www.elastic.co/products/elasticsearch"
SRC_URI="https://download.elasticsearch.org/${MY_PN}/release/org/${MY_PN}/distribution/tar/${MY_PN}/${PV}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )"
pkg_preinst() {
if has_version '<app-misc/elasticsearch-2.3.2'; then
export UPDATE_NOTES=1
fi
}
pkg_setup() {
enewgroup ${MY_PN}
enewuser ${MY_PN} -1 /bin/bash /usr/share/${MY_PN} ${MY_PN}
esethome ${MY_PN} /usr/share/${MY_PN}
}
src_prepare() {
rm -rf bin/*.{bat,exe}
rm LICENSE.txt
}
src_install() {
dodir /etc/${MY_PN}
dodir /etc/${MY_PN}/scripts
insinto /etc/${MY_PN}
doins config/*
rm -rf config
insinto /usr/share/${MY_PN}
doins -r ./*
insinto /usr/share/${MY_PN}/bin
doins "${FILESDIR}/elasticsearch-systemd-pre-exec"
chmod +x "${D}"/usr/share/${MY_PN}/bin/*
keepdir /var/{lib,log}/${MY_PN}
keepdir /usr/share/${MY_PN}/plugins
insinto /usr/lib/tmpfiles.d
newins "${FILESDIR}/${MY_PN}.tmpfiles.d" "${MY_PN}.conf"
insinto /etc/sysctl.d
newins "${FILESDIR}/${MY_PN}.sysctl.d" "${MY_PN}.conf"
newinitd "${FILESDIR}/elasticsearch.init6" "${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf2" "${MY_PN}"
systemd_newunit "${FILESDIR}"/${PN}.service5 "${PN}.service"
}
pkg_postinst() {
elog
elog "You may create multiple instances of ${MY_PN} by"
elog "symlinking the init script:"
elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance"
elog
elog "Please make sure you put elasticsearch.yml and logging.yml"
elog "into the configuration directory of the instance:"
elog "/etc/${MY_PN}/instance"
elog
if ! [ -z ${UPDATE_NOTES} ]; then
elog "This update changes some configuration variables. Please review"
elog "/etc/conf.d/elasticsearch before restarting your services."
fi
}

13
app-misc/elasticsearch/metadata.xml

@ -1,13 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
<maintainer type="person">
<email>hydrapolic@gmail.com</email>
<name>Tomáš Mózes</name>
</maintainer>
<maintainer type="person">
<email>erkiferenc@gmail.com</email>
<name>Ferenc Erki</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

1
app-misc/mosquitto/Manifest

@ -1,2 +1,3 @@
DIST mosquitto-1.4.10.tar.gz 359569 SHA256 437648d68a4a781dd8d913814cd5451f59ab4a5fcf84cccaf7c36e6a07459770 SHA512 fe5d6d7196a137a496ba6881c77d852396baefb4f0b83ccd9a22175fc05b09e48a09ea249e30ec7db966e11de134ebcc4e2e9b1fd40b31dc59fb0fa2f60b75a1 WHIRLPOOL 9510060701259e78c39bf88989ce8142d11e0b53348a20c1a71ffc69b98d7c1725c9315026d392d8d86d131bc55c86492a91ddde94eca0d353f1d3ab6ef6900f
DIST mosquitto-1.4.8.tar.gz 326120 SHA256 d96eb5610e57cc3e273f4527d3f54358ab7711459941a9e64bc4d0a85c2acfda SHA512 4bad8683e98ec858468c53f85f53b42a4166667cebf665d11d3dabe604711f5031da007c8f6d6cb49b8bc91b87eb452bc1f8bfa6adf2d439d2223180b316f9bc WHIRLPOOL b2931c55f3e70316cb57ae180f361c1dedf67e86fec9f235aa3b817884e6af13b8b9b8dc83e375a877d85b1d423ea586ee0698b08af88873a1131d58b4ed402a
DIST mosquitto-1.4.9.tar.gz 325712 SHA256 1df3ae07de40b80a74cd37a7b026895c544cdd3b42c9e0719ae91623aa98c58b SHA512 5994159d9a8da248a877f3032f36ca9a865d9b4efaafac329620864049992a77d414e02252cbbfef89ea2c37dc761b1885a89e19fc8e82b2a42d38f31e761d4d WHIRLPOOL c03a2c8254dce35bb56c243b17ab255e6d4f8210e73d6855d3abff5d3dcf976ca303082d902616ca4b6bf4ea9b2fcc69e52d3ccde7feac41d3ccf5809b157fed

97
app-misc/mosquitto/mosquitto-1.4.10.ebuild

@ -0,0 +1,97 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils systemd user python-any-r1
DESCRIPTION="An Open Source MQTT v3 Broker"
HOMEPAGE="http://mosquitto.org/"
SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bridge examples +persistence +srv ssl tcpd"
RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
ssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
srv? ( net-dns/c-ares )"
LIBDIR=$(get_libdir)
QA_PRESTRIPPED="/usr/sbin/mosquitto
/usr/bin/mosquitto_passwd
/usr/bin/mosquitto_sub
/usr/bin/mosquitto_pub
/usr/${LIBDIR}/libmosquittopp.so.1
/usr/${LIBDIR}/libmosquitto.so.1"
pkg_setup() {
enewgroup mosquitto
enewuser mosquitto -1 -1 -1 mosquitto
}
src_prepare() {
epatch "${FILESDIR}/${PN}-1.4.9-conditional-tests.patch"
if use persistence; then
sed -i -e "s:^#autosave_interval:autosave_interval:" \
-e "s:^#persistence false$:persistence true:" \
-e "s:^#persistence_file:persistence_file:" \
-e "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" \
mosquitto.conf || die
fi
python_setup
python_fix_shebang test
}
src_configure() {
makeopts=(
"LIB_SUFFIX=${LIBDIR:3}"
"WITH_BRIDGE=$(usex bridge)"
"WITH_PERSISTENCE=$(usex persistence)"
"WITH_SRV=$(usex srv)"
"WITH_TLS=$(usex ssl)"
"WITH_WRAP=$(usex tcpd)"
)
einfo "${makeopts[@]}"
}
src_compile() {
emake "${makeopts[@]}"
}
src_test() {
emake "${makeopts[@]}" test
}
src_install() {
emake "${makeopts[@]}" DESTDIR="${D}" prefix=/usr install
keepdir /var/lib/mosquitto
fowners mosquitto:mosquitto /var/lib/mosquitto
dodoc readme.md CONTRIBUTING.md ChangeLog.txt
doinitd "${FILESDIR}"/mosquitto
insinto /etc/mosquitto
doins mosquitto.conf
systemd_dounit "${FILESDIR}/mosquitto.service"
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/*
fi
}
pkg_postinst() {
elog ""
elog "The Python module has been moved out of mosquitto."
elog "See http://mosquitto.org/documentation/python/"
elog ""
elog "To start the mosquitto daemon at boot, add it to the default runlevel with:"
elog ""
elog " rc-update add mosquitto default"
elog " or"
elog " systemctl enable mosquitto"
}

1
app-text/krop/Manifest

@ -1,3 +1,4 @@
DIST krop-0.4.11.tar.gz 35450 SHA256 5dc069afdad722e030037f7cc54bfd8b4ff3990c5600947722303053d2519d0f SHA512 785ac432f7e906ebee167791751b164a0ec30087caef0916bcd95494d7db310949aa4e44569ddaa181daca9c5834b743d3fdc64183093a41e23bb58cbe0d6cae WHIRLPOOL 5c09ddfb50055dc5a5a27e3f21bff1d1a8d7759e60cd488c54538438f83d43cb8254bf4fe0c633a9d7852a27906f3049e5a15c1d6e6ca025d161ac6de7fee778
DIST krop-0.4.7.tar.gz 34559 SHA256 fd44f83437ef6a1cb2933ab94e78385f9d7dd7b271d24549eadea700d93b84af SHA512 b38973b2084d1ac05d71e842137793d3569a1d46668e506e8a58eac4f7bd366db177d9f8af8243ed13cfe6f73885e0998ad91a1ded4c02f6d0d0102809476d10 WHIRLPOOL ecdf833981b922de9acee9ddc1467cfc056b91766ef8f4dcfc4b98b5b63fb55924f9df3d6aa3ac99a82ef86f2f8ef608ce7b2d62c52930d059a53b0121932d52
DIST krop-0.4.8.tar.gz 34948 SHA256 71668fe54820ad11dc47f8caddc56e0d2553975e768bd724f26fa5f5389b0aab SHA512 440a3dff6c13eb83dc9ccbbcf672a297d66d66fbf9508e3c6ceda3b043868102afb1df3401fcf06adbea1baea92444ad0dfa2fd8e74b2d993c9fe4903c9327a1 WHIRLPOOL 65aa1d73dca26d3522d1bdf75501f25340487529057bdbbaeb90472d0d518e6e54a31e2b9f1f08c6037636cd83c4ef128444c519cafae3346c8e80489d7564dd
DIST krop-0.4.9.tar.gz 35149 SHA256 725d42358cc367e6ca4ad82d50fd9bd0bb8ad1e24094ff68880d06f675d59b0f SHA512 39e1d269fb59bbbba45e820ead482a6ac049e47e7d06459a2c63826dc134ada12e49e77468bfb6870f31747084bc8dea1653109232fe6e6808726a8903124565 WHIRLPOOL d4fbada0020ef08381f300faf470e9b1d239c7386999e3a6688c22cbb747f2a721445f7469c6a12918dd3c7711fc45bc00a8792011369f656a44806b1eaa508c

26
app-text/krop/krop-0.4.11.ebuild

@ -0,0 +1,26 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit eutils distutils-r1
DESCRIPTION="A tool to crop PDF files"
HOMEPAGE="http://arminstraub.com/software/krop"
SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
dev-python/PyPDF2[${PYTHON_USEDEP}]
dev-python/PyQt4[${PYTHON_USEDEP}]"
src_install() {
distutils-r1_src_install
domenu "${WORKDIR}/${P}/${PN}.desktop"
}

21
app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild

@ -1,21 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit vim-plugin
DESCRIPTION="vim plugin: BNF file syntax highlighting"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=250"
LICENSE="vim.org"
KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
IUSE=""
VIM_PLUGIN_HELPTEXT=\
"This plugin provides syntax highlighting for BNF files."
src_unpack() {
unpack ${A}
cd "${S}"
# fix hi link to use def, bug #101790.
sed -i -e 's,hi link,hi def link,g' syntax/bnf.vim || die "sed failed"
}

2
app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild

@ -9,7 +9,7 @@ inherit vim-plugin
DESCRIPTION="vim plugin: BNF file syntax highlighting"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=250"
LICENSE="vim.org"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 ia64 mips ppc ppc64 sparc x86"
IUSE=""
VIM_PLUGIN_HELPTEXT=\

32
app-vim/enhancedcommentify/enhancedcommentify-2.3-r1.ebuild

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit vim-plugin eutils
DESCRIPTION="vim plugin: enhanced comment creation"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=23"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
IUSE=""
VIM_PLUGIN_HELPFILES="EnhancedCommentify"
DEPEND="
>=sys-apps/sed-4"
# See bug #74897.
RDEPEND="
${DEPEND}
!app-vim/ctx"
src_prepare() {
default
# See bug #79185.
epatch "${FILESDIR}"/${PN}-2.1-gentooisms.patch
epatch "${FILESDIR}"/${PN}-2.1-extra-ft-support.patch
}

2
app-vim/pushpop/pushpop-4.0-r1.ebuild

@ -9,7 +9,7 @@ inherit vim-plugin
DESCRIPTION="vim plugin: pushd / popd from the vim commandline"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=129"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
KEYWORDS="alpha amd64 ia64 mips ppc sparc x86"
IUSE=""
RDEPEND="

18
app-vim/pushpop/pushpop-4.0.ebuild

@ -1,18 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit vim-plugin
DESCRIPTION="vim plugin: pushd / popd from the vim commandline"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=129"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
IUSE=""
RDEPEND=">=app-vim/genutils-1.1
>=app-vim/cmdalias-1.0"
VIM_PLUGIN_HELPTEXT=\
"This plugin provides :Pushd and :Popd commands which emulate bash's pushd
and popd functions."

1
dev-db/rethinkdb/Manifest

@ -0,0 +1 @@
DIST rethinkdb-2.3.4.tgz 76811758 SHA256 93a7927d1ed785d084be3b8bac3f9af2d89c86de16e003848acbe21a32a9e1a7 SHA512 47e62ef57de112129b7409027017882bc31bb2403287845253a0fe0f61d0977f2e37ba487506853ed3421ac57b2558cabde4f8aee4b9723e4c61300b447e1e19 WHIRLPOOL ce956ad5b7f5f6a38500e501b104571d819e0292cfd1a922ef4f6395ad4e48242456759dad399f5ed2048dee6680df645f54b8ef18e2eebc7f904abe5a2be91c

12
dev-db/rethinkdb/files/rethinkdb.confd

@ -0,0 +1,12 @@
# !! IMPORTANT !!
#
# This file is ONLY used to override some of the init script configuration.
#
# You should NOT use this file to configure your rethinkdb instance,
# see the /etc/rethinkdb/default.conf.sample file instead.
#
# Available init script modifiers :
# - config_file : the configuration file to use (default : /etc/rethinkdb/instance.d/<instance-name>.conf)
# - user : the user used to run your rethinkdb instance (default : rethinkdb)
# - group : the group used to run your rethinkdb instance (default : rethinkdb)
# - run_dir : the run directory for your PID files (default : /run/rethinkdb)

50
dev-db/rethinkdb/files/rethinkdb.initd

@ -0,0 +1,50 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
instance_name=${SVCNAME/*.}
config_file=${config_file:-/etc/rethinkdb/instances.d/${instance_name}.conf}
run_dir=${run_dir:-/run/rethinkdb}
command="/usr/bin/rethinkdb"
command_args="--config-file ${config_file}"
command_background="true"
pidfile=${run_dir}/${instance_name}.pid
user=${user:-rethinkdb}
group=${group:-rethinkdb}
start_stop_daemon_args="--user ${user} --group ${group} --wait 2000"
depend() {
use net
}
start_pre() {
checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}"
if [ "${instance_name}" == "rethinkdb" ]; then
eerror "You should not run this default init script directly"
eerror "Create a symlink to an instance name"
eerror "and create a configuration file in /etc/rethinkdb/instances.d/"
eerror "then run this instance init script instead."
return 1
fi
if [ ! -f ${config_file} ]; then
eerror "Missing configuration file ${config_file}"
return 1
else
# respect configured directory or set a default
directory=$(egrep -e '^directory=' "${config_file}" | cut -d'=' -f2)
if [ -z "${directory}" ]; then
directory=/var/lib/rethinkdb/instances.d/"${instance_name}"
fi
checkpath -d -m 0750 -o "${user}":"${group}" "${directory}"
command_args="${command_args} --directory ${directory}"
# respect configured log-file or set a default
log_file=$(egrep -e '^log_file=' "${config_file}" | cut -d'=' -f2)
if [ -z "${log_file}" ]; then
log_file=/var/log/rethinkdb/"${instance_name}".log
fi
command_args="${command_args} --log-file ${log_file}"
fi
}

13
dev-db/rethinkdb/files/rethinkdb.service

@ -0,0 +1,13 @@
[Unit]
Description=RethinkDB database server for instance '%i'
[Service]
User=rethinkdb
Group=rethinkdb
ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf
KillMode=process
PrivateTmp=true
[Install]
WantedBy=multi-user.target

1
dev-db/rethinkdb/files/rethinkdb.tmpfilesd

@ -0,0 +1 @@
d /run/rethinkdb 0755 rethinkdb rethinkdb -

19
dev-db/rethinkdb/metadata.xml

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ultrabug@gentoo.org</email>
<name>Ultrabug</name>
</maintainer>
<use>
<flag name="jemalloc">
Use <pkg>dev-libs/jemalloc</pkg> for allocations (default).
</flag>
<flag name="tcmalloc">
Use tcmalloc from <pkg>dev-util/google-perftools</pkg> for allocations.
</flag>
</use>
<upstream>
<bugs-to>https://github.com/rethinkdb/rethinkdb/issues</bugs-to>
</upstream>
</pkgmetadata>

133
dev-db/rethinkdb/rethinkdb-2.3.4.ebuild

@ -0,0 +1,133 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit systemd user
DESCRIPTION="The open-source database for the realtime web."
HOMEPAGE="http://www.rethinkdb.com"
LICENSE="AGPL-3"
SLOT="0"
SRC_URI="http://download.rethinkdb.com/dist/${P}.tgz"
KEYWORDS="~amd64 ~x86"
IUSE="doc +jemalloc tcmalloc"
# TODO: rly need some webui libs ?
DEPEND="dev-cpp/gtest
dev-libs/boost
dev-libs/protobuf-c
>=dev-libs/re2-0.2016.05.01
sys-libs/libunwind
sys-libs/ncurses:=
jemalloc? ( >=dev-libs/jemalloc-3.2 )
tcmalloc? ( dev-util/google-perftools )"
RDEPEND="${DEPEND}"
REQUIRED_USE="?? ( tcmalloc jemalloc )"
pkg_setup() {
enewgroup rethinkdb
enewuser rethinkdb -1 -1 /var/lib/${PN} rethinkdb
}
src_prepare() {
eapply_user
# don't use predefined configuration
rm configure.default
# fix doc and init script auto installation
sed -e 's/ install-docs / /g' -e 's/ install-init / /g' -i mk/install.mk || die
# default config for Gentoo
# fix default pid-file path
# fix default directory path
# fix default log-file path
sed -e 's@/var/run/@/run/@g' \
-e 's@/var/lib/rethinkdb/@/var/lib/rethinkdb/instances.d/@g' \
-e 's@/var/log/rethinkdb@/var/log/rethinkdb/default.log@g' \
-i packaging/assets/config/default.conf.sample || die
# proper CXX declaration
sed -e "s/CXX=\$(.*/CXX=$(tc-getCXX)/g" -i configure || die
# respect user CXXFLAGS optimizations
sed -e 's/-O3//g' -i src/build.mk || die
}
src_configure() {
local conf_opts=(
--prefix="/usr"
--sysconfdir="/etc"
--localstatedir="/var"
--static=none
--dynamic=gtest
--dynamic=re2
)
if use jemalloc; then
conf_opts+=(--with-jemalloc)
elif use tcmalloc; then
conf_opts+=(--with-tcmalloc)
else
conf_opts+=(--with-system-malloc)
fi
./configure "${conf_opts[@]}"
}
src_compile() {
emake VERBOSE=1
}
src_install() {
emake DESTDIR="${D}" VERBOSE=1 install
for x in /var/{lib,log}/${PN}; do
keepdir "${x}"
fowners rethinkdb:rethinkdb "${x}"
done
newconfd "${FILESDIR}/rethinkdb.confd" rethinkdb
newinitd "${FILESDIR}/rethinkdb.initd" rethinkdb
systemd_newunit "${FILESDIR}/"${PN}.service "rethinkdb@.service"
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd "rethinkdb.conf"
use doc && dodoc COPYRIGHT NOTES.md README.md
}
pkg_config() {
einfo "This will prepare a new RethinkDB instance. Press Control-C to abort."
einfo "Enter the name for the new instance: "
read instance_name
[[ -z "${instance_name}" ]] && die "Invalid instance name"
local instance_data="/var/lib/rethinkdb/instances.d/${instance_name}"
local instance_config="/etc/rethinkdb/instances.d/${instance_name}.conf"
if [[ -e "${instance_data}" || -e "${instance_config}" ]]; then
eerror "An instance with the same name already exists:"
eerror "Check ${instance_data} or ${instance_config}."
die "Instance already exists"
fi
/usr/bin/rethinkdb create -d "${instance_data}" &>/dev/null \
|| die "Creating instance failed"
chown -R rethinkdb:rethinkdb "${instance_data}" \
|| die "Correcting permissions for instance failed"
cp /etc/rethinkdb/default.conf.sample "${instance_config}" \
|| die "Creating configuration file failed"
sed -e "s:^# \(directory=\).*$:\1${instance_data}:" \
-i "${instance_config}" \
|| die "Modifying configuration file failed"
ln -s /etc/init.d/rethinkdb "/etc/init.d/rethinkdb.${instance_name}" \
|| die "Creating init script symlink failed"
einfo "Successfully created the instance at ${instance_data}."
einfo "To change the default settings edit the configuration file:"
einfo "${instance_config}"
einfo " "
einfo "To start your instance, run:"
einfo "/etc/init.d/rethinkdb.${instance_name}"
}

2
dev-java/leiningen-bin/Manifest

@ -0,0 +1,2 @@
DIST leiningen-2.7.0-standalone.jar 15366772 SHA256 b0a53fd9fa73e9d87c04ef25ba1ca174b0c062b803108648d7157176ccde7435 SHA512 d42288c696d5b4d86c41a0ca9b8e748cdb9200c3adc23161b9b97b8c2f3da9c5bd811e2ddae265bf11d323b1449291e9914bf1e222aaf403e73ceef4084ed082 WHIRLPOOL d37e5a17680f08f7fae63051b6be7f8d12ee89d42bab1a6cafde6a4579b6d0ea4a772393031e286a57fc5b5d534674b0a270a32b39e9767a4dece70986bc94a4
DIST leiningen-2.7.0.sh 4301 SHA256 3865ce138f0a5f175819d6929203bfbd84377d8d5b7720af59c8cfde2289a2b2 SHA512 241357de3f19dfe1c729c14d1540140fccdd6a6c7bae76d6ccfe7a28cdff95b01f52a671ccd2d6712e11ff33115c720906e34a5118ff6bb6d232520d77125f5d WHIRLPOOL 52fe0420a7f8da17a8e01504a515627b85383f6c28e31c9317d4cb51c80fb1236149d30f5b8b0dd73c10157a73e8877f3d7e235da1e95b3b78709c96016d2a8d

1
dev-java/leiningen-bin/files/leinrc

@ -0,0 +1 @@
source /usr/share/@@PN@@/package.env

63
dev-java/leiningen-bin/leiningen-bin-2.7.0.ebuild

@ -0,0 +1,63 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit java-pkg-2
MY_PN="${PN%-bin}"
MY_PNV="${MY_PN}-${PV}"
DESCRIPTION="Automate Clojure projects without setting your hair on fire"
HOMEPAGE="https://leiningen.org/"
SRC_URI="
https://github.com/technomancy/${MY_PN}/releases/download/${PV}/${MY_PNV}-standalone.zip -> ${MY_PNV}-standalone.jar
https://raw.githubusercontent.com/technomancy/${MY_PN}/${PV}/bin/lein-pkg -> ${MY_PNV}.sh
"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=virtual/jdk-1.6:*"
DEPEND=">=virtual/jdk-1.6:*"
RESTRICT="test"
src_unpack() {
mkdir -p "${S}" || die "Can't mkdir ${S}"
cd "${S}" || die "Can't enter ${S}"
for file in ${A}; do
einfo "Copying ${file}"
cp "${DISTDIR}/${file}" "${S}/" || die "Can't copy ${file}"
done
}
src_prepare() {
einfo "Copying leinrc"
cp "${FILESDIR}/leinrc" "${S}/" || die "Can't copy leinrc"
einfo "Patching leinrc"
sed -i "s^@@PN@@^${PN}^" "${S}/leinrc" || die "Can't patch leinrc"
einfo "Renaming lein-pkg"
# Rename generically to help user patching
mv "${S}/${MY_PNV}.sh" "${S}/lein" || die "Can't rename to lein"
einfo "Patching lein"
java-pkg_init_paths_
sed -i "s|^LEIN_JAR=.*$|LEIN_JAR=${JAVA_PKG_JARDEST}/${PN}.jar|" "${S}/lein" \
|| die "Can't patch LEIN_JAR in lein"
default
}
src_compile() { :; }
src_install() {
dobin "${S}/lein"
java-pkg_newjar "${MY_PNV}-standalone.jar"
insinto /etc
doins "${S}/leinrc"
fperms 0644 "/etc/leinrc"
}

11
dev-java/leiningen-bin/metadata.xml

@ -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>kentnl@gentoo.org</email>
<name>Kent Fredric</name>
</maintainer>
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
</pkgmetadata>

144
dev-lang/spidermonkey/files/spidermonkey-1.8.5-gcc6.patch

@ -0,0 +1,144 @@
diff -upr a/js/src/jsapi.cpp b/js/src/jsapi.cpp
--- a/js/src/jsapi.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsapi.cpp 2016-02-29 18:10:49.302307353 -0600
@@ -3985,7 +3985,7 @@ JS_Enumerate(JSContext *cx, JSObject *ob
AutoIdVector props(cx);
JSIdArray *ida;
if (!GetPropertyNames(cx, obj, JSITER_OWNONLY, &props) || !VectorToIdArray(cx, props, &ida))
- return false;
+ return NULL;
for (size_t n = 0; n < size_t(ida->length); ++n)
JS_ASSERT(js_CheckForStringIndex(ida->vector[n]) == ida->vector[n]);
return ida;
diff -upr a/js/src/jsfun.cpp b/js/src/jsfun.cpp
--- a/js/src/jsfun.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsfun.cpp 2016-02-29 18:21:45.249674890 -0600
@@ -2051,7 +2051,7 @@ fun_toStringHelper(JSContext *cx, JSObje
JSString *str = JS_DecompileFunction(cx, fun, indent);
if (!str)
- return false;
+ return NULL;
if (!indent)
cx->compartment->toSourceCache.put(fun, str);
@@ -2657,7 +2657,7 @@ LookupInterpretedFunctionPrototype(JSCon
const Shape *shape = funobj->nativeLookup(id);
if (!shape) {
if (!ResolveInterpretedFunctionPrototype(cx, funobj))
- return false;
+ return NULL;
shape = funobj->nativeLookup(id);
}
JS_ASSERT(!shape->configurable());
diff -upr a/js/src/jsiter.cpp b/js/src/jsiter.cpp
--- a/js/src/jsiter.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsiter.cpp 2016-02-29 18:24:22.494659919 -0600
@@ -425,7 +425,7 @@ NewIteratorObject(JSContext *cx, uintN f
*/
JSObject *obj = js_NewGCObject(cx, FINALIZE_OBJECT0);
if (!obj)
- return false;
+ return NULL;
obj->init(cx, &js_IteratorClass, NULL, NULL, NULL, false);
obj->setMap(cx->compartment->emptyEnumeratorShape);
return obj;
diff -upr a/js/src/jsparse.cpp b/js/src/jsparse.cpp
--- a/js/src/jsparse.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsparse.cpp 2016-02-29 18:29:03.997437475 -0600
@@ -3352,7 +3352,7 @@ Parser::functionDef(JSAtom *funAtom, Fun
if (!outertc->inFunction() && bodyLevel && funAtom && !lambda && outertc->compiling()) {
JS_ASSERT(pn->pn_cookie.isFree());
if (!DefineGlobal(pn, outertc->asCodeGenerator(), funAtom))
- return false;
+ return NULL;
}
pn->pn_blockid = outertc->blockid();
diff -upr a/js/src/jsstr.cpp b/js/src/jsstr.cpp
--- a/js/src/jsstr.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsstr.cpp 2016-02-29 19:01:45.857779836 -0600
@@ -1734,7 +1734,7 @@ class RegExpGuard
if (flat) {
patstr = flattenPattern(cx, fm.patstr);
if (!patstr)
- return false;
+ return NULL;
} else {
patstr = fm.patstr;
}
@@ -3400,7 +3400,7 @@ js_InitStringClass(JSContext *cx, JSObje
UndefinedValue(), NULL, NULL,
JSPROP_READONLY | JSPROP_PERMANENT | JSPROP_SHARED, 0, 0,
NULL)) {
- return JS_FALSE;
+ return NULL;
}
return proto;
diff -upr a/js/src/jstypedarray.cpp b/js/src/jstypedarray.cpp
--- a/js/src/jstypedarray.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jstypedarray.cpp 2016-02-29 19:08:53.541136191 -0600
@@ -1334,7 +1334,7 @@ class TypedArrayTemplate
if (size != 0 && count >= INT32_MAX / size) {
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
JSMSG_NEED_DIET, "size and count");
- return false;
+ return NULL;
}
int32 bytelen = size * count;
@@ -1668,7 +1668,7 @@ TypedArrayConstruct(JSContext *cx, jsint
default:
JS_NOT_REACHED("shouldn't have gotten here");
- return false;
+ return NULL;
}
}
diff -upr a/js/src/jsxml.cpp b/js/src/jsxml.cpp
--- a/js/src/jsxml.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/jsxml.cpp 2016-02-29 19:17:10.363279731 -0600
@@ -282,7 +282,7 @@ NewXMLNamespace(JSContext *cx, JSLinearS
obj = NewBuiltinClassInstanceXML(cx, &js_NamespaceClass);
if (!obj)
- return JS_FALSE;
+ return NULL;
JS_ASSERT(JSVAL_IS_VOID(obj->getNamePrefixVal()));
JS_ASSERT(JSVAL_IS_VOID(obj->getNameURIVal()));
JS_ASSERT(JSVAL_IS_VOID(obj->getNamespaceDeclared()));
@@ -431,7 +431,7 @@ ConvertQNameToString(JSContext *cx, JSOb
size_t length = str->length();
jschar *chars = (jschar *) cx->malloc((length + 2) * sizeof(jschar));
if (!chars)
- return JS_FALSE;
+ return NULL;
*chars = '@';
const jschar *strChars = str->getChars(cx);
if (!strChars) {
diff -upr a/js/src/methodjit/InvokeHelpers.cpp b/js/src/methodjit/InvokeHelpers.cpp
--- a/js/src/methodjit/InvokeHelpers.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/methodjit/InvokeHelpers.cpp 2016-02-29 20:34:14.496983346 -0600
@@ -728,7 +728,7 @@ AtSafePoint(JSContext *cx)
{
JSStackFrame *fp = cx->fp();
if (fp->hasImacropc())
- return false;
+ return NULL;
JSScript *script = fp->script();
return script->maybeNativeCodeForPC(fp->isConstructing(), cx->regs->pc);
diff -upr a/js/src/nanojit/NativeX64.cpp b/js/src/nanojit/NativeX64.cpp
--- a/js/src/nanojit/NativeX64.cpp 2011-03-31 14:08:36.000000000 -0500
+++ b/js/src/nanojit/NativeX64.cpp 2016-02-29 20:19:56.487934808 -0600
@@ -1899,7 +1899,7 @@ namespace nanojit
}
}
- static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {0x8000000000000000LL,0};
+ static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {int64_t(0x8000000000000000LL),0};
void Assembler::asm_fneg(LIns *ins) {
Register rr, ra;

149
dev-lang/spidermonkey/spidermonkey-1.8.5-r6.ebuild

@ -0,0 +1,149 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
WANT_AUTOCONF="2.1"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit autotools eutils toolchain-funcs multilib python-any-r1 versionator pax-utils
MY_PN="js"
TARBALL_PV="$(replace_all_version_separators '' $(get_version_component_range 1-3))"
MY_P="${MY_PN}-${PV}"
TARBALL_P="${MY_PN}${TARBALL_PV}-1.0.0"
DESCRIPTION="Stand-alone JavaScript C library"
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${TARBALL_P}.tar.gz"
LICENSE="NPL-1.1"
SLOT="0/mozjs185"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
IUSE="debug minimal static-libs test"
S="${WORKDIR}/${MY_P}"
BUILDDIR="${S}/js/src"
RDEPEND=">=dev-libs/nspr-4.7.0
sys-libs/readline:0
x64-macos? ( dev-libs/jemalloc )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-arch/zip
virtual/pkgconfig"
pkg_setup(){
if [[ ${MERGE_TYPE} != "binary" ]]; then
export LC_ALL="C"
fi
}
src_prepare() {
# https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
epatch "${FILESDIR}/${P}-fix-install-symlinks.patch"
# https://bugzilla.mozilla.org/show_bug.cgi?id=638056#c9
epatch "${FILESDIR}/${P}-fix-ppc64.patch"
# https://bugs.gentoo.org/show_bug.cgi?id=400727
# https://bugs.gentoo.org/show_bug.cgi?id=420471
epatch "${FILESDIR}/${P}-arm_respect_cflags-3.patch"
# https://bugs.gentoo.org/show_bug.cgi?id=438746
epatch "${FILESDIR}"/${PN}-1.8.7-freebsd-pthreads.patch
# https://bugs.gentoo.org/show_bug.cgi?id=441928
epatch "${FILESDIR}"/${PN}-1.8.5-perf_event-check.patch
# https://bugs.gentoo.org/show_bug.cgi?id=439260
epatch "${FILESDIR}"/${P}-symbol-versions.patch
# https://bugs.gentoo.org/show_bug.cgi?id=441934
epatch "${FILESDIR}"/${PN}-1.8.5-ia64-fix.patch
epatch "${FILESDIR}"/${PN}-1.8.5-ia64-static-strings.patch
# https://bugs.gentoo.org/show_bug.cgi?id=431560
epatch "${FILESDIR}"/${PN}-1.8.5-isfinite.patch
# https://bugs.gentoo.org/show_bug.cgi?id=552786
epatch "${FILESDIR}"/${PN}-perl-defined-array-check.patch
# https://bugs.gentoo.org/show_bug.cgi?id=439558
epatch "${FILESDIR}"/${PN}-1.8.7-x32.patch
# https://bugs.gentoo.org/show_bug.cgi?id=582478
epatch "${FILESDIR}"/${PN}-1.8.5-gcc6.patch
epatch_user
cd "${BUILDDIR}" || die
eautoconf
}
src_configure() {
cd "${BUILDDIR}" || die
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
LD="$(tc-getLD)" \
econf \
${myopts} \
--enable-jemalloc \
--enable-readline \
--enable-threadsafe \
--with-system-nspr \
--disable-optimize \
--disable-profile-guided-optimization \
$(use_enable debug) \
$(use_enable static-libs static) \
$(use_enable test tests)
}
cross_make() {
emake \
CFLAGS="${BUILD_CFLAGS}" \
CXXFLAGS="${BUILD_CXXFLAGS}" \
AR="${BUILD_AR}" \
CC="${BUILD_CC}" \
CXX="${BUILD_CXX}" \
RANLIB="${BUILD_RANLIB}" \
"$@"
}
src_compile() {
cd "${BUILDDIR}" || die
if tc-is-cross-compiler; then
tc-export_build_env BUILD_{AR,CC,CXX,RANLIB}
cross_make jscpucfg host_jsoplengen host_jskwgen
cross_make -C config nsinstall
mv {,native-}jscpucfg || die
mv {,native-}host_jskwgen || die
mv {,native-}host_jsoplengen || die
mv config/{,native-}nsinstall || die
sed -i \
-e 's@./jscpucfg@./native-jscpucfg@' \
-e 's@./host_jskwgen@./native-host_jskwgen@' \
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
Makefile || die
sed -i -e 's@/nsinstall@/native-nsinstall@' config/config.mk || die
rm -f config/host_nsinstall.o \
config/host_pathsub.o \
host_jskwgen.o \
host_jsoplengen.o || die
fi
emake
}
src_test() {
cd "${BUILDDIR}/jsapi-tests" || die
# for bug 415791
pax-mark mr jsapi-tests
emake check
}
src_install() {
cd "${BUILDDIR}" || die
emake DESTDIR="${D}" install
# bug 437520 , exclude js shell for small systems
if ! use minimal ; then
dobin shell/js
pax-mark m "${ED}/usr/bin/js"
fi
dodoc ../../README
dohtml README.html
if ! use static-libs; then
# We can't actually disable building of static libraries
# They're used by the tests and in a few other places
find "${D}" -iname '*.a' -delete || die
fi
}

1
dev-libs/beignet/Manifest

@ -0,0 +1 @@
DIST beignet-1.1.2-source.tar.gz 948241 SHA256 6a8d875afbb5e3c4fc57da1ea80f79abadd9136bfd87ab1f83c02784659f1d96 SHA512 25b7118976c385ad3b9db01afd3c9494ff9d050d44ee4266042abb4215747d8bb5086c06697f754956f562ea2b6e5ec51d51bbd651e8cd7cd0eb14eb8c83fbd4 WHIRLPOOL c3bfb7f4fa3c97bbd202ace868a08dce48753cac547b075e4c30cfff21cffcc5520ef4ef77b4e15fa8574a798f41a920e44503a160a1888e9ee4f2a737b37e82

96
dev-libs/beignet/beignet-1.1.2.ebuild

@ -0,0 +1,96 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
CMAKE_BUILD_TYPE="Release"
inherit python-any-r1 cmake-multilib toolchain-funcs
DESCRIPTION="OpenCL implementation for Intel GPUs"
HOMEPAGE="https://01.org/beignet"
LICENSE="LGPL-2.1+"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="git://anongit.freedesktop.org/beignet"
KEYWORDS=""
else
KEYWORDS="~amd64"
SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz"
S=${WORKDIR}/Beignet-${PV}-Source
fi
COMMON="${PYTHON_DEPS}
media-libs/mesa
sys-devel/clang
>=sys-devel/llvm-3.5
x11-libs/libdrm[video_cards_intel]
x11-libs/libXext
x11-libs/libXfixes"
RDEPEND="${COMMON}
app-eselect/eselect-opencl"
DEPEND="${COMMON}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/no-debian-multiarch.patch
"${FILESDIR}"/no-hardcoded-cflags.patch
"${FILESDIR}"/llvm-terminfo.patch
"${FILESDIR}"/llvm-empty-system-libs.patch
)
DOCS=(
docs/.
)
pkg_pretend() {
if [[ ${MERGE_TYPE} != "binary" ]]; then
if tc-is-gcc; then
if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then
eerror "Compilation with gcc older than 4.6 is not supported"
die "Too old gcc found."
fi
fi
fi
}
pkg_setup() {
python_setup
}
src_prepare() {
cmake-utils_src_prepare
# We cannot run tests because they require permissions to access
# the hardware, and building them is very time-consuming.
cmake_comment_add_subdirectory utests
}
multilib_src_configure() {
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}"
)
cmake-utils_src_configure
}
multilib_src_install() {
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
cmake-utils_src_install
insinto /etc/OpenCL/vendors/
echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file"
doins "${PN}-${ABI}.icd"
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so
}

11
dev-libs/beignet/files/llvm-empty-system-libs.patch

@ -0,0 +1,11 @@
--- a/CMake/FindLLVM.cmake 2015-12-18 06:39:59.000000000 +0000
+++ b/CMake/FindLLVM.cmake 2016-08-31 15:05:11.210679204 +0000
@@ -99,7 +99,7 @@
OUTPUT_VARIABLE LLVM_SYSTEM_LIBS_ORIG
OUTPUT_STRIP_TRAILING_WHITESPACE
)
-string(REGEX REPLACE " *\n" "" LLVM_SYSTEM_LIBS ${LLVM_SYSTEM_LIBS_ORIG})
+string(REGEX REPLACE " *\n" "" LLVM_SYSTEM_LIBS "${LLVM_SYSTEM_LIBS_ORIG}")
endif (LLVM_VERSION_NODOT VERSION_GREATER 34)
macro(add_one_lib name)

20
dev-libs/beignet/files/llvm-terminfo.patch

@ -0,0 +1,20 @@
--- a/backend/src/CMakeLists.txt 2015-12-18 07:40:03.000000000 +0100
+++ b/backend/src/CMakeLists.txt 2016-08-01 13:44:31.475875150 +0200
@@ -153,7 +153,7 @@
add_library(gbeinterp SHARED gbe_bin_interpreter.cpp)
-if (LLVM_VERSION_NODOT VERSION_EQUAL 34)
+if (NOT (LLVM_VERSION_NODOT LESS 34))
find_library(TERMINFO NAMES tinfo ncurses)
if (${TERMINFO} STREQUAL TERMINFO-NOTFOUND)
message(FATAL_ERROR "no libtinfo or libncurses is found in system")
@@ -161,7 +161,7 @@
target_link_libraries(gbe ${TERMINFO})
message(STATUS "use ${TERMINFO} as terminal control library")
endif (${TERMINFO} STREQUAL TERMINFO-NOTFOUND)
-endif(LLVM_VERSION_NODOT VERSION_EQUAL 34)
+endif(NOT (LLVM_VERSION_NODOT LESS 34))
link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR})

39
dev-libs/beignet/files/no-debian-multiarch.patch

@ -0,0 +1,39 @@
--- a/CMakeLists.txt 2015-04-17 04:27:51.000000000 +0200
+++ b/CMakeLists.txt 2015-05-20 20:59:17.895041760 +0200
@@ -39,14 +39,9 @@
SET(CMAKE_VERBOSE_MAKEFILE "false")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/")
-INCLUDE (GNUInstallDirs OPTIONAL)
-# support old CMake without GNUInstallDirs
-if (NOT CMAKE_INSTALL_FULL_LIBDIR)
- set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
- set (BEIGNET_LIBRARY_ARCHITECTURE "")
-else (NOT CMAKE_INSTALL_FULL_LIBDIR)
- set (BEIGNET_LIBRARY_ARCHITECTURE "${CMAKE_LIBRARY_ARCHITECTURE}")
-endif (NOT CMAKE_INSTALL_FULL_LIBDIR)
+
+set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
+set (BEIGNET_LIBRARY_ARCHITECTURE "")
if (NOT LIB_INSTALL_DIR)
set (LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}")