parent
8df0e8233c
commit
3c9035c2da
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29325 BLAKE2B feff05650e93d67be1ede364e1f6c58eaad11c7a49cb2c88dd0f49341c2b7564c0ca7c6731f3cb272fca147f6dc205b9d19d0fed8293e08c8b4eed58e3676058 SHA512 5b0b99a7ab2a5a6cb3c1d759c2946a0abcbc6af07d79093a54c2bf284952be2804545a7ea1daf33919eb700a594fc25743fabbbb4e9680f74bd4fb4e5a25f720
|
||||
TIMESTAMP 2021-10-22T11:38:57Z
|
||||
MANIFEST Manifest.files.gz 29304 BLAKE2B ce6956b66bfd5135d4e8ad6e06a459a6f394498128321eb9acb496320eb4a61c82c886415de979fef1150fa6c082fb9db18445bff2f43a614cef4ab7815a5c99 SHA512 96234f4790c944aefdc0a2a2ba04c5c66d7a880e652f92a697a4883136fc526e11210ff14633a01734ec9ca671386861c8bbdb991ff9f4d40fb729e407b6ea3b
|
||||
TIMESTAMP 2021-10-23T18:09:02Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFyotFfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmF0T75fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCygw/+JoagyjqhZRtb8qeHrhPXDo51+7jYbxM7+Dw4KbYkWCtrj0b7wP0cfpPo
|
||||
gjXOF14nHBbHBT7GLh3+8OW7cEg73rOCpDNiymKKMwqeVWrI9fWkKOXzKOOKWChp
|
||||
YAhNZTHkzPlq3sxOy+3Kkex/GejHfpRidF3xgWkIzKV8bUxYPmoVDNrYIvmFVswn
|
||||
2RiNTw41/3+7P9tkGxwovCac1zMid49LYF+lgxvx7WaB++a9JaMtESMckLRYOSoM
|
||||
EsKY7KRknKyZO1LlRldYGS/jwdhKUMbMV6IwINrd3lErsVDGkdmhm3Gv3zOdRUKQ
|
||||
xKtxPZNL8pDvfoVQMpCLmPT1+E+I8azKQ5JLNkb0o81mGLa73OWv/P3L92GV/jFR
|
||||
eV9ITL10fbS6SQNysl63NipXttFbH/cn5V+bELvDAdNL25SJfw0NSnWkiKMwsoIm
|
||||
poM7aVdpMrlxbce3xSNDiLxZjOxIW/PjVmydQLuKlm+prCR9bQqv5QoRkcwApAZv
|
||||
RwNYoupq7/FFFP85nDKq5CSsG618ezo9IlxFEkCGcQr//kuC4Zx6AUhv0Qxol94E
|
||||
6m3rX9+qNE8gGu6OetAk8ct/9A8O8AsWljuJVFywVAGDpAcOPF9XdxAfF37s/YMI
|
||||
M6r9v4OiH0+v39rNB+DQsVjimiuexl4ButQMbciGxiqDHwa3gNA=
|
||||
=h7J/
|
||||
klAupw/9GCCk9KLsachoQ2pkFpEeghHCTbQ3LqF6Y8h+23mdX/ffVlW9ic8u9R+k
|
||||
8nE7GW5yMvkWsRVWtTRPiCy/FWGf8TR0mQVFanhdVoUDxqZkaVQ3GpAqFd37hjha
|
||||
K3aZL0pj56K+3N8t7n4Linha5jUboJsiNu/u7veOgdW+gYeRUh1C5YN/kelgHCNu
|
||||
Kt1N1rA+DwfdZ0EUv+h23ijh+YI/Y+VaEp+doZtd7o5fCrL94ftwGO9k0oWbJcZ/
|
||||
+AdDQ/4NJ02BKZcu/9bNI/yrweFa2+1ThsbBzuAnoBD25BzMOkTtZAvIxiYKAV+E
|
||||
gQ6iaesW/xqX9dCNNdFE8qbqRMIDz6+4oj5nVnzyGsxTtHquNHFdl6Qg6ye98PIT
|
||||
W183c7Xi8290ewmGO9X2Hl2NecEgxqIjkq7a3FsYxDnrr21St7ryWQ3g/i3bLbol
|
||||
9dKLt1YslS76TmK6IaYtFnaOPUBqJIiQHnRxOY9i+uv0TqQnp2U5cffskoEcB+ua
|
||||
qm4ZtislVi90gPanB13Q4O+joPUUF79KhLydSC5kq91U5xONMMCpeyX8PlXgA16A
|
||||
Z0ZDHU0KOkFcBkOqYF7v4ZxS7C1UXolQxPHxINDW33vGnFEqWzW9NKMFEQljlk0e
|
||||
BVJAY3Wmv22SVt7/qc6UoXfNjrSum8Ow4OJLT4U++MvpH8YpkcE=
|
||||
=4Ro7
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST rdumpfs-0.1.tar.gz 3054 BLAKE2B 6ac78101003dbecb8920c52bc1c4a0bd902b2f4805cfd004665edef4488bb766c57d0328a6bd23413e88e8d8202348e0e10d1012e731eab9dab150188598a2e0 SHA512 54add203d09bff1190c3bd292bd5fde3b81f4b6810f4dc8d1be18f9abfb5334bcbca1aebc00795f4bdce861f356a7b9e5d809cd80475a3c50a21752380570853
|
||||
EBUILD rdumpfs-0.1.ebuild 625 BLAKE2B f16c95a0f165f140f2f1c0f461d3c9cb43f7390de4786745a146e59cc316e4e906b8cef1d4cabd4cba01f54aa5d82fc00cd4dccde1f0a06e7fd54b81c5dd7cea SHA512 bfafd561c9bae860a49524958cbbe5281cc95cc900227c645ae687ed9fcb2a740914e27016d0967405858d8858d53e2f61de3cf61514f8a190a1d7129398c8f1
|
||||
EBUILD rdumpfs-0.1.ebuild 552 BLAKE2B e184dffa690807907dfa7600b695b23f35af4c3c5598d508c87189962b6812069c09571f22241f209564dfecb0911b31d3d3e03383d52bc7d85a7f26dcd8639c SHA512 11cf252b8dd81b6966a662612a1f8cc88ecf099cf9ac94d34c5210be08133467623bb4034ad0a879543cdb6a234e81f70ccabf1f15f789a1829b84fd8ae63c12
|
||||
MISC metadata.xml 349 BLAKE2B c491dd1e4bf38b1f5f2bc24e7b9b6ee4d48cb63b962bb58b7ce3ad4c4f9219e410c919334fc515db78e042407e14306fe1259f19b1ebd224df67b9af73dd66fb SHA512 31168fcedfe0bb5c11367621a0d869d487d0c4ee8f66b2126978d7c12171c1509ad56974ca2858f7ebe8d61d1a2ccce9838ee4b4c1c1810bde5d7e4ce85ecc70
|
||||
|
Binary file not shown.
@ -1,9 +1,5 @@
|
||||
DIST myspell-sv-2.14-hyph.oxt 44382 BLAKE2B 2f25cd604c79d51549d47110d06e8877431bd9be521a57e7eeb172817d32b2f11b07e6c1c212c4f6f9d49ce7a4d3b54ecdb18bbab41a7cd26bc3c8de9a553fc1 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40
|
||||
DIST myspell-sv-2.14-thes.oxt 306542 BLAKE2B 0a5ebf5577e6fb8c492b13529ea904d1aceded3814e97f79e8581c55122cc647e4a32ce2bba148b123f97612aef156c5b6f425e8940d1cf80b808c259eef6fd5 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103
|
||||
DIST myspell-sv-2.42-dict.oxt 1466823 BLAKE2B 8be0ab5be29dc3d4e3316732992e2a6f37f50fad1035f0913cb069e33fe7c1b453cdb814701512ba75029592dfc7d2548a341018bb7fd3319ce571bc042c4135 SHA512 9aab2a1d0def637195c676e93712c84391f78fd14fefd8a0734099a3957cf99b9b3e0d41bf9cbaf7b6cb6c6aa5de58bc92169b844f0c69343b87483b324423e0
|
||||
DIST myspell-sv-2.42-hyph.oxt 51981 BLAKE2B b2b6f1c913019795da532115b04947f143d78fcc9e0e8ee3f12a65841281900a3a8c24e158fa9122da9ce64af3f4d6ed8d0efa02143cb3aeb2db0ec0f011a292 SHA512 2dea472c191dc1992eaf28718e575f9b07526e0acdf511f8359588b118c7fc2578f8b5b53d23eeda34f1391807546ff5a0ba6de088c42588ec94daca4232cf7a
|
||||
DIST myspell-sv-2.42-thes.oxt 306542 BLAKE2B 0a5ebf5577e6fb8c492b13529ea904d1aceded3814e97f79e8581c55122cc647e4a32ce2bba148b123f97612aef156c5b6f425e8940d1cf80b808c259eef6fd5 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103
|
||||
DIST ooo_swedish_dict_2.14.oxt 1288382 BLAKE2B 54a46792386e794dc836e0178929cdad75e29007ac981aaeeeb74da996d765ff8d737796568576662431c95899824d6460f099c6814fed673844ba295967627b SHA512 77ab715ccb66c7e14ed84189dd0847c809824a3cf0881ee39d08f6d4ef89eccfeafcdbde1759bfa8224650b1907760d9a48f40e464211ae12593ed5525d6372b
|
||||
EBUILD myspell-sv-2.14.ebuild 1180 BLAKE2B 84f0298da15c88cb52715c1177bef29245ff84b1e20a219f98755fdcb02d69a3e4c52546816e3b988326a55c91f50ce60f23623d18d5600562186699c3c37230 SHA512 621b1b36c353a370125445237ea40f3e87f9696c6d03fe2e7e2d3c33a54dc6828b898a8ac2eee16c562b11e064d5a46c8eea99a32b68aeec4ecd41eabb10cccb
|
||||
EBUILD myspell-sv-2.42.ebuild 1106 BLAKE2B cd52079872ea040e4e9cd0717d12e4a8b498bec8dba788bf68209beb4285ffad8e8a18e57a57763a3335ef73a85f9bca2d1af73bc9d516f3ae19023e6ddb4669 SHA512 09f63951e8ee654bd24c7bab0ddcd8dd9132ac485ad54372fbfd8ef2548960f15f37aa4da5b4996e8b589250a744d25d3d722c5ee7bf691a6207538f7042b8d3
|
||||
MISC metadata.xml 192 BLAKE2B fef49cb9e1dda8063c379e650d4897670410d2c0641f469b8a200d5e7ec8d3f505e692277d03b583790cb1340ece9c2e8f7e7c9ff5080d42a2e0ef3fc7138a44 SHA512 bece454b8da734c7a28ce25f8080b3fca56332e57cde854c50f0b884ba3836f1af7782a1ee9f63e6aeff4830e2bca71c5c466471fc82eee75339565aab6495d5
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"sv_FI.aff"
|
||||
"sv_FI.dic"
|
||||
"sv_SE.aff"
|
||||
"sv_SE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_sv_SE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_sv_SE.dat"
|
||||
"th_sv_SE.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Swedish dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
https://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan
|
||||
https://extensions.libreoffice.org/extension-center/swedish-hyphenation
|
||||
https://extensions.libreoffice.org/extension-center/swedish-thesaurus-based-on-synlex
|
||||
"
|
||||
SRC_URI="
|
||||
https://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/${PV}/ooo_swedish_dict_${PV}.oxt
|
||||
https://extensions.libreoffice.org/extension-center/swedish-hyphenation/releases/1.10/hyph_sv_se.oxt -> ${P}-hyph.oxt
|
||||
https://extensions.libreoffice.org/extension-center/swedish-thesaurus-based-on-synlex/releases/1.3/swedishthesaurus.oxt -> ${P}-thes.oxt
|
||||
"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0 GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
|
||||
IUSE=""
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
AUX jedit-5.2.0-build-xml.patch 530 BLAKE2B c42c1a9f5350e66dc6e4160cb2b02d1e16eed53eebaad0f5dc725d00cab51fbd7423fc90d1b40de88b110b60a5263b0e1f48943975dcab291a0264c1d0abacfd SHA512 4396a20fe4d358b8ecf8938a467ed58dfdab81358a785fd56387dfed94b4aaafdbba4cb2639631c58c9c771a2fe9bdbcfc30807def5861473c9b35d7add73dbe
|
||||
AUX jedit-5.4.0-build-xml.patch 332 BLAKE2B 47bf100efa8d99ebebe9765df2c59f4bb4dfbed1922bab1dd7e5802c69c9ef3a124b065385df693159382b876a52fcfb3433c10177adf2c15653dd5fd314fb0b SHA512 6ea6e327f48a677063f0eb282baa1fff289b18b8f6e4106b7336ec2906a0652c24198f702cdaff283f48600e287a6e6525f562e5247af110a0ee60f3340e029c
|
||||
DIST jedit5.2.0source.tar.bz2 2456541 BLAKE2B 82723b5e5670324fe3acff6d6958a83331bf67ab5453eaa1109de192586e4bcce3832456fdfd493e233f30ccbbf256e48b60398f256d9cf4c0cc366816d8b23f SHA512 5af99ac864dd70701f24435840e26f73077ba02d155319965122bd24871e6825b82383054d29dfec72bbbedaac72bfb2d86097de6a0c79341f0a279dacd60126
|
||||
DIST jedit5.4.0source.tar.bz2 2535992 BLAKE2B 1560f680437e89cea789f2b0540225b0cbf92bc22f975c6d1850a7b3aa06a2b95d61a254fd0d4c0e7da916ee9de3a095ab5190ae5df3ad27e55c2f0ccef57db2 SHA512 2120370c54f8bd415f90b979c42bfca6101f76ba33f0ec6a8172adeb33173ba9c73cbd7f06b5dc8c12aa3eedf51f007752cdbf0c7423d77a1ac591beb5493112
|
||||
EBUILD jedit-5.2.0-r1.ebuild 2315 BLAKE2B 27b81852ec7288dc5d44c2fd4f2853659a739f8ae39aced1ed7b6360a647e00ea2ebfb16c417ee70bd9d53c6a1f3aa1ca93f5a74e6b968b8f91e26a273f547b5 SHA512 b9161a57831484b52085e0b7fd98d7dae0030470844e0df8fbc16370f817b7bb4fd223e14530840a1be9bd9c9b24a7d70f4f9c10b509504e182b559bd87cf867
|
||||
EBUILD jedit-5.4.0.ebuild 2427 BLAKE2B 2632a1bf8b0de4d34ca31c3fefba5bad02807d248535ae9aeba1957493be5e9c094a67aacee90b15f0cae705346803e5a7c41c7dfe7524c4af14b909d909eacb SHA512 a8433761c69040d904d2643b8b946a3c8aacb87b5e796fbba616e24742a4b8b4c198ff7057eae6327717ec4ce71575c9675b803ac8a71d3b998e97d1bc5024e3
|
||||
MISC metadata.xml 312 BLAKE2B 32456a81e027512746733dea293a638db960ecebb97e045e82bef5630ac064d59ee5b880ade0513d15619c49c52686b9b2e5b69c7e270c578a506465a40d5db3 SHA512 90c844a5041ab91cacc279bc0a404d42c188311bd71cd643d52dc8f586e4fca101d09236407e6a3701ef18816d5f01ad2194f5446d47c6670aaa1a33edada63b
|
||||
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc test"
|
||||
|
||||
inherit epatch java-pkg-2 java-ant-2 xdg-utils
|
||||
|
||||
DESCRIPTION="Programmer's editor written in Java"
|
||||
HOMEPAGE="http://www.jedit.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}source.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/bsh:0
|
||||
dev-java/jsr305:0
|
||||
dev-java/ant-contrib:0
|
||||
dev-java/ant-apache-bsf:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.7"
|
||||
|
||||
S="${WORKDIR}/jEdit"
|
||||
|
||||
JEDIT_HOME="/usr/share/${PN}"
|
||||
|
||||
java_prepare() {
|
||||
mkdir -p lib/{ant-contrib,compile,default-plugins,scripting} || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-build-xml.patch
|
||||
|
||||
java-ant_xml-rewrite -f "${S}/build.xml" -c \
|
||||
-e javadoc \
|
||||
-a failonerror \
|
||||
-v no || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
EANT_ANT_TASKS="ant-apache-bsf ant-contrib bsh"
|
||||
EANT_GENTOO_CLASSPATH="jsr305"
|
||||
EANT_EXTRA_ARGS="-Divy.jar.present=true -Divy.done=true"
|
||||
EANT_BUILD_TARGET="build"
|
||||
# TODO could build more docs, ie generate-doc-faq generate-doc-news
|
||||
# generate-doc-users-guide ua.
|
||||
EANT_DOC_TARGET="generate-javadoc"
|
||||
# in fact needed only for docs, but shouldn't hurt
|
||||
EANT_NEEDS_TOOLS="true"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir ${JEDIT_HOME}
|
||||
|
||||
cp -R build/${PN}.jar jars doc keymaps macros modes properties startup \
|
||||
"${D}${JEDIT_HOME}" || die
|
||||
|
||||
java-pkg_regjar "${JEDIT_HOME}/${PN}.jar"
|
||||
|
||||
java-pkg_dolauncher "${PN}" --main org.gjt.sp.jedit.jEdit
|
||||
|
||||
use doc && java-pkg_dojavadoc build/classes/javadoc/api
|
||||
|
||||
make_desktop_entry ${PN} \
|
||||
jEdit \
|
||||
${JEDIT_HOME}/doc/${PN}.png \
|
||||
"Development;Utility;TextEditor"
|
||||
|
||||
# keep the plugin directory
|
||||
keepdir ${JEDIT_HOME}/jars
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
elog "The system directory for jEdit plugins is"
|
||||
elog "${JEDIT_HOME}/jars"
|
||||
elog "If you get plugin related errors on startup, first try updating them."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
xdg_desktop_database_update
|
||||
elog "jEdit plugins installed into /usr/share/jedit/jars"
|
||||
elog "(after installation of jEdit itself) haven't been"
|
||||
elog "removed. To get rid of jEdit completely, you may"
|
||||
elog "want to run"
|
||||
elog ""
|
||||
elog " rm -r ${JEDIT_HOME}"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST ganeti-os-noop-0.2.tar.gz 2247 BLAKE2B ea0d9c4e884aba81895e48b8bb86a28f90432ec768feeef5f561b13041279578c5730783c12a7207b330fe9190c0b41a44fdf154f8685bb8f4d3721f37d797f9 SHA512 ae121759ef775a5fee552ef2f939bb01126ff5fee3deeadae234a6f6f66b2589be1a6cc686d564d3a77406f5839f1cf914a3492c3ea9cc803427967fb75e3c5b
|
||||
EBUILD ganeti-os-noop-0.2.ebuild 564 BLAKE2B 2eb3a0dc82eae30ac81c13a28670242bad7f8cb0a5a5494b121bd6b31d4bfc9e464c5fe918de5d4005934063ee7572a76680c6c3c6b4c67e042c3fca068fbae6 SHA512 24d3b53a43f6aade1a075519285f64fc285c4b27ccd83a9442fa1035506480ea9979fcf18e72e831109056abfe38372eccd6cb78c0e907942dbcd93261d70c36
|
||||
EBUILD ganeti-os-noop-0.2.ebuild 541 BLAKE2B e69308066bdc75ef1ef96b9c5e45e267aee6de544aa428b4100d3feec7cdba2703ec8001a01bbb21533c217b6c1c1128891931d7ecc261a74a89fade04aa5b45 SHA512 41b81dee4f069d1cf843e0e1205da635bb8a7edc5179537335ea6f8d5f19bf9a4dff1341d6eae6ad52229074fc31ec0884978224eb6c21de56b2411310de0480
|
||||
MISC metadata.xml 336 BLAKE2B a33c24c625c4cd4d73e299432329d5b311876f0398980995ba94ee897091594092b1070f889424d03c98b36db81ac868a38b4a1b61db4a5be6378f4083f7cc92 SHA512 4b94403192dcb87be21e8eaeb6956622da2c87675addf459b11601eada86ae913b153d7a55f21c24a9e1c353d41170a9bdd8312e23e4dbf10671edc550425119
|
||||
|
@ -0,0 +1,175 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/ https://github.com/lxc/lxd"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="apparmor ipv6 nls verify-sig"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-emulation/lxc-3.0.0[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
dev-libs/dqlite
|
||||
dev-libs/lzo
|
||||
dev-libs/raft[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp,ipv6?]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables[ipv6?]
|
||||
sys-apps/iproute2[ipv6?]
|
||||
sys-fs/fuse:*
|
||||
sys-fs/lxcfs
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-p2c
|
||||
/usr/sbin/lxd"
|
||||
|
||||
EGO_PN="github.com/lxc/lxd"
|
||||
GOPATH="${S}/_dist" # this seems to reset every now and then, though
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.secboot.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.7-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.service || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export GO111MODULE=auto
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${EGO_PN}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 ${EGO_PN}/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${EGO_PN}"/lxd-p2c
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${EGO_PN}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local bindir="_dist/bin"
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-p2c lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-4.0.0.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
# Temporary fix for #817287
|
||||
keepdir /var/log/lxd
|
||||
fowners root:lxd /var/log/lxd
|
||||
|
||||
dodoc AUTHORS doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
}
|
Binary file not shown.
@ -1,10 +1,17 @@
|
||||
AUX 50uim-gentoo.el 71 BLAKE2B 94142633d1a13a0d4ea71e4325883be1e407e154277a4a361701bf694b62e3e8855d4627a72015fb04b1470e128df80fefcdb999e2f1090fa03a454287af52f2 SHA512 e2b6d74d14cdf7d81ab128b2e4ffe1d7dcc0013d61685687ca92619704fd38ec1da6a12fabc3878aa7a9ddd9bf0194c499d3100f176f0a96920322a451c04831
|
||||
AUX uim-1.8.8-c++11.patch 861 BLAKE2B b9072af1065cd9103847a076f6327684c5c014d9e19252cd3f5ff0cf3d1821e67dba2603baccc55709178f6be532e3ad6dacca5e121c96d5da4f210b6094f943 SHA512 8b15b6c7100646ca5b86f93dbfae139837cee0fbb19ae6c5164e249ea827376cb51be52b2a0837533bb1c394f129baafb52cefa2c42f43dd9ec9e502678e26b1
|
||||
AUX uim-1.8.8-desktop.patch 1242 BLAKE2B 40b51a7e2c94f02bce09c9baa7059af76f7faa3458cd65491f06b08fc1a11debd281196d190b7e80ffd70e763e9e8816b07287871c86c7eb9540732fbeaf2f30 SHA512 bee999b906958c72e149ad07eb86a8f46163b7dbbb0236e37f26f30cb41e7fc871b979790435a0306039f2533c9e60ff990a2b37bd80f2585e3d9014c6bc8075
|
||||
AUX uim-1.8.8-fno-common.patch 375 BLAKE2B 88cf3f86fd23e3d9735c3c12df299c678fb332a39937cad0408fcbfdb653eb6084d3b693ceec42e047c7cfe37a78ea8982d49bd9260135169e4af2d2af64be31 SHA512 898ce37332bd02ccc063facb922a965928962f7ecccbb5e74a57d64069eda235f33f7e899e94f8d48e17a58b32a1e98d9eed2dcd9c73eafd012fc0150eba13b4
|
||||
AUX uim-gentoo.patch 601 BLAKE2B fba57214c7e222e9f042cda4194738ffd170787d3d5431415a9a26632b25bdd9566489352ee4e64f396add88f270931320faed73652002fe67a379f1d644ff65 SHA512 002538e809f174f026df354ebcd4b487d42c0e9f7e409b8c97240969ec3be55f22b754ea34d707fb8eadab1321dd8a3c4b7861b51a606eb741f314f20e473f4a
|
||||
AUX uim-kde.patch 2193 BLAKE2B 38e049b372cf2854879627186a2f014265e410ace9657cfd6afaf9c08bbfc5b4df208a8207861a9edab32c058847b01b3a8ba1b5cf4f88ab6d2d213c494c64d4 SHA512 4ff8306ea451233836f78096eaafd739e1d9c19d9c48230963c7d98c23860ecc649e1e94eb1569e959a2932eae3fb74641e274cb72212a962d149dcde09a0537
|
||||
AUX uim-slibtool.patch 573 BLAKE2B 97b6b1130ff7bb0aeb6d58d731cae387e7a2fa96fbbc260ee7482fd595cfd8754440a0db2903dd4e82429d5409e2639545af247e9b761d4119329a9f6bd01030 SHA512 9f8637ee7f7c43af72c1f85e71ad087850972d410c5d9e235f87c7a3dba97cc9970aba0466b897cb8383553185615dd29569c471362f3f90b9ba5e039c679cd6
|
||||
AUX uim-tinfo.patch 1594 BLAKE2B 9c52b5603f5d6ebe229e15597ef75ae7049744dee0b2977a9bcd0f7ba59fb8cf111dc8fcc1c25b4ce4363b8f969d76d50a3892ebfe9808afa517bafdde623658 SHA512 13c074b9b33ceb169dcb3cb879f9dfced36dc29da5f45aacaf3dbcd62f3d9a5d565a05b6c3353dc30a33f33f1740032f233e731dc6f430a92c4d133614e57cdc
|
||||
AUX uim-xkb.patch 400 BLAKE2B 54992f9ef87e4ede3e2beaadf4bd55c018b0aec3eb645b7716e1c27200a9b4d29a649beb333fe61c30cd36718494b05cb5217d486fb929cd617fe7038bf168d7 SHA512 4e86e051dd05ec0b56d423a079b0b285fdd9b256ae66528781a68ee0bfcf1be15530346facb28eab0a1401f2f27f9dce8cc8e215fe3195879f66e7e4241d80fc
|
||||
AUX uim-zh-TW.patch 871 BLAKE2B 091efbed0182f05c87e5a5c789ca7ea3862e61566dad5411a5158b348e73123a60efe869b7aa8d43af603ba01e908eb5d135762069abb3c01951a144739b6126 SHA512 0cf0955cded7870b5012f283adb30dbbab6fee9d468178248987036cd3e78fc21e1279481289f9400784fb1e59fda91d1cc8ac1cc8b3d57f0f24258b8b9f40f4
|
||||
AUX xinput-uim 108 BLAKE2B f66525e52af923170224ca9953e82489d7f6f92c3e83d96452663ebd538723d1dbaaaa4233bf2bebe1ad6f783fffd4e3e4e82bba5f6fd92d0ef88e3cbaaff6eb SHA512 b3ba31a87e19f589ac8051ece45b6b6c44b295dde76a5ce6164d1e435d791c4e7cafc7192177384f4052fd928caabb8574a9192cf783f4cb22e4ee16741343fc
|
||||
DIST sigscheme-0.9.1.tar.bz2 1140162 BLAKE2B a649ec1a5ff0899af14fa686ea7cf43140c226b1df68d4c9415c3b95c7f7ae32c539df820f0e9da7d7a809c88fa388e563549728c345017dfd62d418748be7e1 SHA512 b66b901e8a6bc6d9188112f78d3ba21a2a0776e1236aa9d2d83df27cf8111b8491f665062b493d14c2a9a1b4eb47ce2789b3ca7180225a085e94623329281e09
|
||||
DIST uim-1.8.8.tar.bz2 6228743 BLAKE2B 8fc44b61239f766ba3d9ebf3201c11471b3a844e082237f5ec97dd0fa6fbb04a0a588df5c0479a0aa4bcb4d9c4edcc93c36ec68618701c8aa88fa30732fdce28 SHA512 2257ae48f4f2b79039a5f6be0fc740e218d5609e004dad9a5a1aa5d4066587ee59d0be06bc23c7d567a48901466227fedc4778b480f7184d84b0b3b4dddac9a3
|
||||
EBUILD uim-1.8.8-r1.ebuild 5483 BLAKE2B 21d7f261fba2a0c7e79f578ab8ecaa8464e20ed29a6ef70bad82703191cd11ad68ec65a77350efd5ef09a080c1782566534e7dda1b7c1d069b74c1df3a29662f SHA512 fac70ee9914a29ea22d3a84ffa99e77c5c86bdb50d7089370a31621538a20a1bf9d0a2f880ab11e090381fbe769e77f6863f169de0fbdc3e8f5ff918ba64af67
|
||||
DIST uim-1.8.9_pre20210103.tar.gz 4054622 BLAKE2B b50bafe9b0edbac1ab7e56afd5b654bdef793b606df3550ba7b8be467076005925bf2c5d221bbf3b3dbcdc5079bbb0e014ed29bef9b6a55c23384cb281411104 SHA512 39e046a8ee3bbc06ff0bab685e0ded8f63e9c474661ffecf7ed12e25cad3151498b2fecc7f14ca6f0c78974e55265df47d656a55bf158b41fe21a69071d02fe8
|
||||
EBUILD uim-1.8.8-r2.ebuild 5589 BLAKE2B b4f750239c437aa66b25088da122675e7426d4f3d1c12d1a03b51a012e2cfe1f6a31314d5f7f764ffb04936991d01a6de804096a1ea7397e611b9c2cf3903d2a SHA512 fe8b7b59138c2631bf047e917214c5e616617bcccd3643ae6ba1517b399378fe0c414922e6c6bb249c8a2499d93ac1d94d8c22538a8770814148a9787f126724
|
||||
EBUILD uim-1.8.9_pre20210103.ebuild 5962 BLAKE2B b7c3632808528eac96a55b7ee596c0258e99686cef4e25e52a24ad527c64aa3f09877df3022fafedd6b467ba916506cc48e3c1ed36bc4b91ba5060d133eca537 SHA512 8ce24c704119b3b3990a74a59225048d0baa2c2179a22cac97a32bc7a98a9c21a045792657ac60c210f15fed3b4cb04ad00c457991569bd76b1e0f445ea050e4
|
||||
MISC metadata.xml 1059 BLAKE2B 7ddf7ebb4c6fa262fb369edabe5bc106023d8b4960ea067fab673c6ca9a489190e591e92e4c14df617318e5feb08d3c064fbdaa5f1ea66a6ebf983a8154a3828 SHA512 c412582600c38a9c171e3e45cf2bfbac0ac3682d5ab1f367ef3e988a4702e8d36cba58ea4f9c34b28493150f34c863c6071b8c02eb3b68bfe5f3b8f98a195c79
|
||||
|
@ -0,0 +1,23 @@
|
||||
From bb25aac568359efbfb68e52dd8d9ee85e65d754b Mon Sep 17 00:00:00 2001
|
||||
From: Haelwenn Monnier <lanodan@users.noreply.github.com>
|
||||
Date: Thu, 25 Oct 2018 09:10:16 +0200
|
||||
Subject: [PATCH] xim/main.cpp: FIx build against clang
|
||||
|
||||
main.cpp:68:55: error: invalid suffix on literal; C++11 requires a space between literal and identifier
|
||||
---
|
||||
xim/main.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/xim/main.cpp b/xim/main.cpp
|
||||
index a0b0beceb..c5818ca4a 100644
|
||||
--- a/xim/main.cpp
|
||||
+++ b/xim/main.cpp
|
||||
@@ -65,7 +65,7 @@ int g_option_mask;
|
||||
int scr_width, scr_height;
|
||||
int host_byte_order;
|
||||
|
||||
-#define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n"
|
||||
+#define VERSION_NAME "uim-xim under the way! Version " PACKAGE_VERSION "\n"
|
||||
const char *version_name=VERSION_NAME;
|
||||
const char *usage=
|
||||
"--help , --version :Show usage or version\n"
|
@ -0,0 +1,35 @@
|
||||
From 63cda66c1665b8ccc9ae11a5a4fb341afb8c5ac0 Mon Sep 17 00:00:00 2001
|
||||
From: OBATA Akio <obache@users.noreply.github.com>
|
||||
Date: Mon, 30 Dec 2019 22:26:11 +0900
|
||||
Subject: [PATCH] Fix to use pref tool with default toolkit (#151)
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
uim.desktop.in.in | 2 +-
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 472c67f02..d530bc081 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1188,6 +1188,7 @@ AM_CONDITIONAL(DEFAULT_TOOLKIT_GTK3, test "x$default_toolkit" = xgtk3)
|
||||
AM_CONDITIONAL(DEFAULT_TOOLKIT_QT, test "x$default_toolkit" = xqt)
|
||||
AM_CONDITIONAL(DEFAULT_TOOLKIT_QT4, test "x$default_toolkit" = xqt4)
|
||||
AM_CONDITIONAL(DEFAULT_TOOLKIT_QT5, test "x$default_toolkit" = xqt5)
|
||||
+AC_SUBST(default_toolkit)
|
||||
|
||||
AC_ARG_ENABLE(fep,
|
||||
AC_HELP_STRING([--disable-fep],
|
||||
diff --git a/uim.desktop.in.in b/uim.desktop.in.in
|
||||
index b4a4d4f50..38c5c6d5e 100644
|
||||
--- a/uim.desktop.in.in
|
||||
+++ b/uim.desktop.in.in
|
||||
@@ -3,7 +3,7 @@ Type=Application
|
||||
_Name=Input Method
|
||||
_Comment=Customize uim input method environment
|
||||
_Keywords=input;method;
|
||||
-Exec=uim-pref-gtk
|
||||
+Exec=uim-pref-@default_toolkit@
|
||||
Icon=@uim_pixmapsdir@/uim-icon.png
|
||||
Terminal=false
|
||||
Categories=Settings;X-GNOME-PersonalSettings;
|
@ -0,0 +1,72 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1449,6 +1449,28 @@
|
||||
|
||||
AM_CONDITIONAL(KDE4_APPLET, test "x$enable_kde4_applet" = xyes)
|
||||
|
||||
+dnl ****************************
|
||||
+dnl *** test for KDE5 applet ***
|
||||
+dnl ****************************
|
||||
+AC_ARG_ENABLE(kde5-applet,
|
||||
+ AC_HELP_STRING([--disable-kde5-applet],
|
||||
+ [do not build uim KDE Plasma 5 widget]),
|
||||
+ [],
|
||||
+ [enable_kde5_applet=yes])
|
||||
+
|
||||
+if test "x$enable_kde5_applet" != xno; then
|
||||
+ if test "x$with_qt5" != xyes; then
|
||||
+ enable_kde5_applet=no
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+if test "x$enable_kde5_applet" = xyes && test "x$CMAKE" = xno; then
|
||||
+ AC_MSG_WARN([no CMake found])
|
||||
+ enable_kde5_applet=no
|
||||
+fi
|
||||
+
|
||||
+AM_CONDITIONAL(KDE5_APPLET, test "x$enable_kde5_applet" = xyes)
|
||||
+
|
||||
AC_ARG_ENABLE(pref,
|
||||
AC_HELP_STRING([--disable-pref],
|
||||
[do not build graphical utility to edit user settings]),
|
||||
@@ -1948,12 +1970,15 @@
|
||||
qt5_immodule_option="DEFINES+=QT5_IMMODULE"
|
||||
fi
|
||||
set -e
|
||||
- # FIXME: move CMAKE_CXX_FLAGS into cmake_option
|
||||
- ${CMAKE} \
|
||||
- -B ${ac_abs_top_builddir}/qt5/applet.cmake \
|
||||
- -S ${ac_abs_top_srcdir}/qt5/applet \
|
||||
- -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${X_CFLAGS}" \
|
||||
- ${cmake_option}
|
||||
+ # Generate a Makefile for KDE5 applet by cmake
|
||||
+ if test "x$enable_kde5_applet" = xyes; then
|
||||
+ # FIXME: move CMAKE_CXX_FLAGS into cmake_option
|
||||
+ ${CMAKE} \
|
||||
+ -B ${ac_abs_top_builddir}/qt5/applet.cmake \
|
||||
+ -S ${ac_abs_top_srcdir}/qt5/applet \
|
||||
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${X_CFLAGS}" \
|
||||
+ ${cmake_option}
|
||||
+ fi
|
||||
${QMAKE5} -o ${ac_abs_top_builddir}/qt5/candwin/Makefile.qmake \
|
||||
${ac_abs_top_builddir}/qt5/candwin/uim-candwin-qt5.pro
|
||||
${QMAKE5} -o ${ac_abs_top_builddir}/qt5/chardict/Makefile.qmake \
|
||||
@@ -2007,6 +2032,7 @@
|
||||
Qt5 immodule : ${with_qt5_immodule}
|
||||
KDE3 Applet : ${enable_kde_applet}
|
||||
KDE4 Applet : ${enable_kde4_applet}
|
||||
+ KDE5 Applet : ${enable_kde5_applet}
|
||||
FEP : ${enable_fep}
|
||||
Emacs : ${enable_emacs}
|
||||
XIM : ${use_xim}
|
||||
--- a/qt5/applet/Makefile.am
|
||||
+++ b/qt5/applet/Makefile.am
|
||||
@@ -6,6 +6,8 @@
|
||||
plasmoid
|
||||
|
||||
if QT5
|
||||
+if KDE5_APPLET
|
||||
all clean install uninstall:
|
||||
$(MAKE) $(AM_MAKEFLAGS) -C ../applet.cmake $@
|
||||
endif
|
||||
+endif
|
@ -0,0 +1,14 @@
|
||||
--- a/qt4/common.pro.in
|
||||
+++ b/qt4/common.pro.in
|
||||
@@ -4,8 +4,9 @@
|
||||
@abs_top_srcdir@ @abs_top_srcdir@/uim \
|
||||
@abs_top_srcdir@/replace
|
||||
QMAKE_LIBDIR += @abs_top_builddir@/uim @abs_top_builddir@/replace \
|
||||
- @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs
|
||||
-LIBS += -lreplace -luim -luim-scm
|
||||
+ @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs \
|
||||
+ @abs_top_builddir@/sigscheme/libgcroots/.libs
|
||||
+LIBS += -lreplace -luim -luim-scm -lgcroots
|
||||
!win32:!embedded:!mac {
|
||||
LIBS += -luim-x-util
|
||||
}
|
@ -0,0 +1,245 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools elisp-common flag-o-matic gnome2-utils qmake-utils vcs-snapshot
|
||||
|
||||
EGIT_COMMIT="d1ac9d9315ff8c57c713b502544fef9b3a83b3e5"
|
||||
SIG_PV="0.9.1"
|
||||
|
||||
DESCRIPTION="A multilingual input method framework"
|
||||
HOMEPAGE="https://github.com/uim/uim"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/${PN}/sigscheme/releases/download/${SIG_PV}/sigscheme-${SIG_PV}.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="X +anthy curl eb emacs expat libffi gtk gtk2 kde l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt5 skk sqlite ssl static-libs xft"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="gtk? ( X )
|
||||
gtk2? ( X )
|
||||
qt5? ( X )
|
||||
xft? ( X )"
|
||||
|
||||
CDEPEND="X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
anthy? ( app-i18n/anthy )
|
||||
curl? ( net-misc/curl )
|
||||
eb? ( dev-libs/eb )
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
expat? ( dev-libs/expat )
|
||||
gtk? ( x11-libs/gtk+:3 )
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
kde? ( kde-frameworks/plasma:5 )
|
||||
libedit? ( dev-libs/libedit )
|
||||
libffi? ( dev-libs/libffi:= )
|
||||
libnotify? ( x11-libs/libnotify )
|
||||
m17n-lib? ( dev-libs/m17n-lib )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
nls? ( virtual/libintl )
|
||||
qt5? ( dev-qt/qtx11extras:5 )
|
||||
skk? ( app-i18n/skk-jisyo )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( dev-libs/openssl:0= )"
|
||||
DEPEND="${CDEPEND}
|
||||
X? ( x11-base/xorg-proto )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-scheme/sigscheme
|
||||
X? (
|
||||
media-fonts/font-sony-misc
|
||||
l10n_ja? (
|
||||
|| (
|
||||
media-fonts/font-jis-misc
|
||||
media-fonts/intlfonts
|
||||
)
|
||||
)
|
||||
l10n_ko? (
|
||||
|| (
|
||||
media-fonts/font-daewoo-misc
|
||||
media-fonts/intlfonts
|
||||
)
|
||||
)
|
||||
l10n_zh-CN? (
|
||||
|| (
|
||||
media-fonts/font-isas-misc
|
||||
media-fonts/intlfonts
|
||||
)
|
||||
)
|
||||
l10n_zh-TW? ( media-fonts/intlfonts )
|
||||
)"
|
||||
BDEPEND="dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
kde? ( dev-util/cmake )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-kde.patch
|
||||
"${FILESDIR}"/${PN}-slibtool.patch
|
||||
"${FILESDIR}"/${PN}-tinfo.patch
|
||||
"${FILESDIR}"/${PN}-xkb.patch
|
||||
"${FILESDIR}"/${PN}-zh-TW.patch
|
||||
)
|
||||
DOCS=( AUTHORS NEWS README RELNOTE doc )
|
||||
|
||||
AT_NO_RECURSIVE="yes"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_unpack() {
|
||||
vcs-snapshot_src_unpack
|
||||
rmdir "${S}"/sigscheme || die
|
||||
mv "${WORKDIR}"/sigscheme-${SIG_PV} "${S}"/sigscheme || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac
|
||||
# fix build with >=dev-scheme/chicken-4, bug #656852
|
||||
touch scm/json-parser-expanded.scm
|
||||
# fix build with "-march=pentium4 -O2", bug #661806
|
||||
use x86 && append-cflags $(test-flags-CC -fno-inline-small-functions)
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_with X x)
|
||||
$(use_with anthy anthy-utf8)
|
||||
$(use_with curl)
|
||||
$(use_with eb)
|
||||
$(use_enable emacs)
|
||||
$(use_with emacs lispdir "${SITELISP}")
|
||||
$(use_with expat)
|
||||
$(use_enable kde kde5-applet)
|
||||
$(use_with libedit)
|
||||
$(use_with libffi ffi)
|
||||
$(use_with gtk gtk3)
|
||||
$(use_with gtk2)
|
||||
$(use_with m17n-lib m17nlib)
|
||||
$(use_enable ncurses fep)
|
||||
$(use_enable nls)
|
||||
$(use_with qt5)
|
||||
$(use_with qt5 qt5-immodule)
|
||||
_QMAKE5=$(qt5_get_bindir)/qmake
|
||||
$(use_with skk)
|
||||
$(use_with sqlite sqlite3)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_enable static-libs static)
|
||||
$(use_with xft)
|
||||
--without-anthy
|
||||
--without-canna
|
||||
--enable-default-toolkit=$(usex gtk gtk3 $(usex gtk2 gtk $(usex qt5 qt5)))
|
||||
--disable-gnome-applet
|
||||
--disable-gnome3-applet
|
||||
--disable-kde-applet
|
||||
--disable-kde4-applet
|
||||
--without-mana
|
||||
--enable-maintainer-mode
|
||||
--without-prime
|
||||
--disable-qt4-qt3support
|
||||
)
|
||||
|
||||
if (use gtk || use gtk2) && use anthy; then
|
||||
myconf+=( --enable-dict )
|
||||
else
|
||||
myconf+=( --disable-dict )
|
||||
fi
|
||||
|
||||
if use libnotify; then
|
||||
myconf+=( --enable-notify=libnotify )
|
||||
fi
|
||||
|
||||
if use gtk || use gtk2 || use qt5; then
|
||||
myconf+=( --enable-pref )
|
||||
else
|
||||
myconf+=( --disable-pref )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs; then
|
||||
cd emacs || die
|
||||
elisp-compile *.el || die
|
||||
cd - >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# bug #222677
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
rm -f doc/Makefile*
|
||||
einstalldocs
|
||||
|
||||
find "${ED}"/usr/$(get_libdir)/${PN} -name '*.la' -delete || die
|
||||
use static-libs || find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
sed \
|
||||
-e "s:@EPREFIX@:${EPREFIX}:g" \
|
||||
"${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf
|
||||
doins "${T}"/${PN}.conf
|
||||
|
||||
if use X; then
|
||||
docinto xim
|
||||
dodoc xim/README*
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN}-el emacs/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE} ${PN}-el
|
||||
docinto emacs
|
||||
dodoc emacs/README*
|
||||
fi
|
||||
|
||||
if use ncurses; then
|
||||
docinto fep
|
||||
dodoc fep/README*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "New input method switcher has been introduced. You need to set"
|
||||
elog
|
||||
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
|
||||
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
|
||||
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
|
||||
elog
|
||||
elog "If you would like to use uim-anthy as default input method, put"
|
||||
elog "(define default-im-name 'anthy)"
|
||||
elog "to your ~/.uim."
|
||||
elog
|
||||
elog "All input methods can be found by running uim-im-switcher-gtk, "
|
||||
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt5."
|
||||
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
elog
|
||||
elog "uim is autoloaded with Emacs with a minimal set of features:"
|
||||
elog "There is no keybinding defined to call it directly, so please"
|
||||
elog "create one yourself and choose an input method."
|
||||
elog "Integration with LEIM is not done with this ebuild, please have"
|
||||
elog "a look at the documentation how to achieve this."
|
||||
fi
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
|
||||
EBUILD jdupes-1.20.0.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
|
||||
DIST jdupes-1.20.1.tar.gz 94064 BLAKE2B d2707549a64d51c2c17c418297b631ce26242d31e464848bf13bcd05fe7ec27cde3d3ba4a4b0a0c0b77bf336a7d626aa41ff241f3cdf16cde3d72484df2e55dc SHA512 992ae086b3b13ab001e3367823d8c43645b66a4134ce3211dfaed9c611bc460370e18f1b45905ce57d285174e17ef734b8d597d8d352869f1dc2094c32fcbe93
|
||||
EBUILD jdupes-1.20.1.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
|
||||
EBUILD jdupes-9999.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
|
||||
MISC metadata.xml 472 BLAKE2B 516816d73afd9e585ba072227c897943c45e86f7cf139858ac1768c97751b6491ca53b7232c7438e9c148c430c4e389d54f121ff71c239e3cc5c747ac49d8447 SHA512 3eae4e232c16d37e0e540a80dae26dc22c5594ce779cfce29da2173b66cfb0424d0cb808e54653f83204d2eab779ee9b64c0bc4347d84464f958c19a1a67c13d
|
||||
MISC metadata.xml 604 BLAKE2B bcc0acd4bab4a66a48968df50f5013a51b2d1a4a6215519117a20f5191e71b64a291212db27c52025e7a2f04b793339ef2ab81cde62f8242fdc95b8e9db7cc31 SHA512 6ee79999ef608ced41a92c63936f4432825db1f285d89a95fa072087e29973378624e0fd68fa43ba5fbda00aaea50bbaf0e7529014ce0ab6cb0bb429f87ed7a7
|
||||
|
@ -1,6 +1,5 @@
|
||||
DIST rlwrap-0.42.tar.gz 279608 BLAKE2B e8569d35cb0b8b3309af71122c1a48039fe559372648fe05c73f0a545c4efbae75aadaf80faa302033134cbd569ab90b9d314e2bd2c1bc387fd1434d39418245 SHA512 991885e75aabf0d43581d59f7c78f7f64c3f32072de08ff5796cba75c0716548d2186cbe2d739f3e772871e3586d036f069db73b2ee8a30b2f7985088d0f68df
|
||||
DIST rlwrap-0.43.tar.gz 313139 BLAKE2B d2aaf32abe69b0307321192542c88acbf5af00e23476e7205cddbc8c5adbab4c5a10090d8ef04e9adfc62209f37f101bfc3e294e634379844417c80540485532 SHA512 4a1440b2eef3a1664c6381eb09c19f4030de2c0ef4f1f3509f7d6e130d3c5e9c3ceb00fc6ea6052b22bbe1f6b162f72e0b47564df34ccecc5220f195c22e86a1
|
||||
EBUILD rlwrap-0.42-r1.ebuild 495 BLAKE2B 5c0ffa2ade7e74000be7a5c7698ee329c0f3bd0d8bfb97890d9853538b83869fb0a2950ddc4a7f6ca928657a419a314ea416481525cc5b6fff8164ba6655a2f2 SHA512 65a0f5fe7183422b5ed4131516c3f42796b59e44ecca37af23b83155a65a85e9800ed7ae17465cb36bf0becaeb1ab0a5250833507adeb93c2fc6cbff56f8362a
|
||||
EBUILD rlwrap-0.42.ebuild 595 BLAKE2B e342bf2c71f66e83819ca97b6bd6e8dd97cfeb39ec039ce6190434d229fff9d5e65fc13392d73bbf8253b8499f14fa11be9a18408c66074c8484b454b5e9882b SHA512 a15b4c59b33a7e3f82c525c881cf2499cf7c687d44b80daef5446d28f2c3c070063e40e3750721be2a6fa7eb4d1ed5af011c4ca319544befa2c1e8aefe824532
|
||||
EBUILD rlwrap-0.43.ebuild 506 BLAKE2B bb1d7527de54b31993473b22376603f669d41bf4c688395be0245593d2245b1336abc376ba4a8333b7cfbade7f860aa05c3f5e3f58178e6f6bf0bcc389b28e05 SHA512 3acf5f5f5bfcf85cf563a37fe99bca4a86fdac0bb976d2ec40def3a72b21307dd7639515763c3140f6d2051db37f3f0b420f3a3a93ec25ff7c6e367cfc6a3673
|
||||
MISC metadata.xml 708 BLAKE2B bc2ef5d5636159a7291fede5d7b84384e5fa714b33fe29f19eebf632dd4f2eae86d6edb62b074b62903727b2fa4d0fe3faf4abb22d3ba9b99363be81b5bcf416 SHA512 6fbb3167b1c064b75afb4c95c2ab31dcd53d99e2d12bde77d220fbfc8c213ab01ee178dd5e950d4983ddfb85e3ef870dab5e35e59dea4e73ec5c2bcdf823e456
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="GNU readline wrapper"
|
||||
HOMEPAGE="https://github.com/hanslub42/rlwrap"
|
||||
SRC_URI="http://utopia.knoware.nl/~hlub/uck/rlwrap/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~mips ppc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="sys-libs/readline:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README # PLEA TODO
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX moneydance-bin 567 BLAKE2B 4a1f80df1e5e20c08ba95168b680f8e0cdd7413fdc7991b12d40048dde6465db8c4d3a18c7b3f70bb829a2f5d2002258a8e6ccefcc64afbf419633ff948f3e15 SHA512 344e05050f28ea61264899b62f3e14844371ef452b0b84c6146abdecd2b9fc1230102bf2685b6c0649e014048c82ecd5dd7ce3117e65a9a22a2737eb39f4ca9a
|
||||
DIST moneydance-2021.2006-amd64.tar.gz 154878776 BLAKE2B 89327c48f6a5794f2272956ef39a8c1a2da3b6cccc380d83df6973cd89245108e6eecb22938036db94442d4f88d109a89c5055085737063a3268638140ae231a SHA512 13f09c4410ac60f9e9d3a8dced47e5f66cf55e83274302d60ca4cab0e04b7de38f8004886c6b8fc96f3e30b938fe9394a946627346741436e2e52c301ae23e0c
|
||||
EBUILD moneydance-2021.2006.ebuild 1073 BLAKE2B 5e84a843d3c29e574acd986f357e4fde3739ac36c432b898f50b9c635e7c583976410c49d5727f3dbd5965185eb7708d1296fd818c463b162a0ae254586bd73c SHA512 3c0b10480a5cdab30670dce00720c54ecb613a24ae982668bfb0ab2f633f99a7eda68176bd7d9cc6d0615ee688242b9dfac81aa5bf3dcc5c1a4d380264ee24f3
|
||||
DIST moneydance-2022.4058-amd64.tar.gz 161507291 BLAKE2B eee61045518b9a40b213f9d24c7e26a394c0bb13aaee1df146d4bbc94f73703a585ac268bfa8ae1a211939f1f3c1716e9ed9a1e37895c5c10a643bc3ac4e6410 SHA512 835b697cd218f406cdcbd6194a1c59e0a4bcb899c05be7cb95ef586e44285610e90e90727899a23edabd9a566ea7ed6a058ad8274b6f460df80d6051127f3edd
|
||||
EBUILD moneydance-2022.4058.ebuild 1065 BLAKE2B 164d157487f5ca1d04d0a2617c96595f76491a7854a5246bfbfd1580455a12f1ef50780697aa8cdfb9ec4a3e62738489a1ea0c2637c18648073f9f2a4c2edef4 SHA512 5b4629621138c8f0a39e047e56353bdd6534ab509d0368fbc2f5cf561deb19ba6420649feb51cab4bfdc98b2275edbfc75d1887928a5fbd585ec83b155ec1875
|
||||
MISC metadata.xml 483 BLAKE2B 99cf5578a26fc1cbef35d9e3a6c9921965209a4939787085839ec1bdcaa5fed282a663056cc4c83b2093d51e7e4eade7403ac8f1a2cec8737571bd3c59659b95 SHA512 40384d7c92f76bbd16409a7a6711625ca52b902580e836b98f9a64e77a2aabcd2d5f8fde99647c93ab25e32614a866dacd8dd85ca5386483a2cd3bd0e1837d0c
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST rnc2rng-2.6.4.tar.gz 18005 BLAKE2B 4725f9a8dfcc5e7ed26c4560d9198939d51376aad8feaa5e592bf28c9014d1abe0e90c47f6aff9ec0d7cecc815660a3a41270c118e4db87030e5a1fa208f3177 SHA512 c26103943ecac440dbeb4db6f913e57c2e4b1f84f92d7e8693e66b6a1e5af051c49ace8172fb94dae2d447ee042e432af15cc578e606452b50ca843d8bd85378
|
||||
DIST rnc2rng-2.6.6.tar.gz 18089 BLAKE2B be9b2a22770bed034b4ad93bba23dba7e1f58c553cef4e1a507a00ffb62c6f6e937df22e4d5f2fd3c542acebd72adb82320cddf34f873d35f442be0d457b3cba SHA512 a0f108383ad927c2d9e1cc11960ddaab99a8cb4bf0417cd8e7ccdbc7925746b2fa8c1cbd96a74e89f7166eb8e330c224a49d97aa2ef5d83d7a0c4254240fb308
|
||||
EBUILD rnc2rng-2.6.4.ebuild 556 BLAKE2B 89697fffa568d6535ab6a188dca657de7b60170817f32efe22c4d37c98a9992a3988e047c4a23f04118df46397a7bd85c953dbda1022ae8c0f6020326eb80b73 SHA512 fbbf384237b5825a3303310c6770a949e5809e6b2e733dae2abf767533a9cbca5cebb556bb8abd3e56cafed2b457a7d2db79227649a728fce7dcfcfd1b0205bb
|
||||
EBUILD rnc2rng-2.6.6-r1.ebuild 522 BLAKE2B 38073aa63f4288e8e736529fe8fbdbb101e492703864005a06c60ace861336f9ae0117738de89b3ced894e259fa3c332eec21d3b568a7c4484ed8e47010aa612 SHA512 d500129273b0138b25a5e6e72143c825d17f5f6eac1f11f6b503fb9cd28313636c204e20cf34e4fe0254d6a04ed99d2f20f1cb8f75ebdb9a16fbd873687db180
|
||||
MISC metadata.xml 367 BLAKE2B 18f2daed293ab4b9ab4a33cde60570bd8ee52d9be7b91527c1fe1e1fed90ce6f5f81fc4e720e33119d3d895ecd8f9c69634f8df7ff8bcaca982b14b025e2209a SHA512 41d919c5306d260608153395f3d0451cc101fb560c3568e3ccd17acb738e9da14cac733a7c7cf915903e319d0b2f8b3b90d111fd94aee3a9403e1d75cf6713cf
|
||||
EBUILD rnc2rng-2.6.6-r1.ebuild 575 BLAKE2B 4dbe6e2b3562d8f041f16fe95a9a01e4c564f81739ede00ab6021689a607cc5c0cb87c59354b2027c19687628d5f7c0ba66dce16d4a851aaa92b45f692250c3b SHA512 c10cdaa6d8f1cc6dd2eba61bc9007baa311921a07917ef1a5c010dafae38a5ff2806b07bca71743c47df6fcfb4fb15a59fa03119018278882521c9b9f65ae909
|
||||
MISC metadata.xml 391 BLAKE2B 386cc9a14b48902e0f53704988b9f40be6c777e359638e404e4863d3c12154dff8a9e62926a63b68c16ee00296b804d4f8c9dff9d3585c257c4b829aec0c98eb SHA512 30971c875c4004bcb256e0ec7e846d927f5dbd0a55d6e821d4f9c627810410c7f21890e2cca3019ec5a9ceca9a7642be46d1aa43ae77615e17dbadd20633a5c7
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST pgmemcache-2.3.0.tar.gz 21135 BLAKE2B 527043018fd6af9d4c00788518daeac28c89450e3bc43dee2df205d2eea7eac42fb4a73633f9b54dcd9ce5f35b01ea0ce7f6e2f26b3d9ab75e57c25e47b69933 SHA512 75ae3b7c9087078b2276ebadf66f9d419323927f6b8c8f61f8681fe939d086dbfe6aa935f20afa3acc11171e00329e5758a8a6a952cfbcf3aef45c8cc3f50a3b
|
||||
EBUILD pgmemcache-2.3.0.ebuild 601 BLAKE2B a94fac459711211f648c63c2c76ce81dbe4463fb8964de18327f2af78d3dcae0db655fc45f4509bdd68d57aca74493fab697b67b70b13ea4bb9915fe0cedc393 SHA512 e9a9a4be1416c3026a6240642b132c51a2416f80d14939fac93aff167bf92531114feba50c0530fecbec3da257a63a8cf799373e57ec969cb84853e8260529a4
|
||||
EBUILD pgmemcache-2.3.0.ebuild 578 BLAKE2B ddf579781d3ae3ec8bfba855a59fbb1bcb02dcaaa84d34db917a551d39ae5fb4068a9e6e0b692eef3e9aeb24fb15fdd1e68d7665b0ab9585f745225d7d7791ca SHA512 e56122879bc2302a01b3f37ed2d136e7e98d1587500295fbdbc7dfddc8d6dd323e3786f0bd34049ada3f188849deb2916657c0a8de39f692a5054ad2d5e836af
|
||||
MISC metadata.xml 338 BLAKE2B 3fc200a040a79f61eef6975d94ca313fdd3d611204103dee6b3c011dadefe539c1f43fbd7fca81c0b26ba2c5eea7d3b82a61f8debf25a80bbbd75494256b4ce3 SHA512 60e0417b51625398f7f86856e7f3de991aefb34d9158fdd21fd37835b6580dabd85997da3473196961d5b2b90c8af9c19cc8d8fff4773f4e6e3637d07c44a4a1
|
||||
|
@ -1,23 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A PostgreSQL API based on libmemcached to interface with memcached"
|
||||
HOMEPAGE="http://pgfoundry.org/projects/pgmemcache https://github.com/ohmu/pgmemcache"
|
||||
SRC_URI="https://github.com/ohmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-db/postgresql
|
||||
dev-libs/cyrus-sasl
|
||||
>=dev-libs/libmemcached-1.0.18[sasl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( NEWS README TODO )
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
@ -0,0 +1,456 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
EGIT_COMMIT=7103d425c8a50a24fa81812d85c45d5fc26b15d7
|
||||
|
||||
DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
|
||||
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
|
||||
|
||||
EGO_SUM=(
|
||||
"cloud.google.com/go v0.26.0/go.mod"
|
||||
"cloud.google.com/go v0.34.0/go.mod"
|
||||
"cloud.google.com/go v0.37.4/go.mod"
|
||||
"github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75"
|
||||
"github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75/go.mod"
|
||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||
"github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod"
|
||||
"github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod"
|
||||
"github.com/Shopify/sarama v1.19.0/go.mod"
|
||||
"github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod"
|
||||
"github.com/apache/thrift v0.12.0/go.mod"
|
||||
"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878"
|
||||
"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.4"
|
||||
"github.com/armon/go-metrics v0.3.4/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.5"
|
||||
"github.com/armon/go-metrics v0.3.5/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.6"
|
||||
"github.com/armon/go-metrics v0.3.6/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.7"
|
||||
"github.com/armon/go-metrics v0.3.7/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.9"
|
||||
"github.com/armon/go-metrics v0.3.9/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/beorn7/perks v1.0.0/go.mod"
|
||||
"github.com/beorn7/perks v1.0.1/go.mod"
|
||||
"github.com/boltdb/bolt v1.3.1"
|
||||
"github.com/boltdb/bolt v1.3.1/go.mod"
|
||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||
"github.com/cespare/xxhash/v2 v2.1.1/go.mod"
|
||||
"github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod"
|
||||
"github.com/circonus-labs/circonusllhist v0.1.3/go.mod"
|
||||
"github.com/client9/misspell v0.3.4/go.mod"
|
||||
"github.com/cockroachdb/apd v1.1.0/go.mod"
|
||||
"github.com/comail/colog v0.0.0-20160416085026-fba8e7b1f46c/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod"
|
||||
"github.com/eapache/go-resiliency v1.1.0/go.mod"
|
||||
"github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod"
|
||||
"github.com/eapache/queue v1.1.0/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||
"github.com/fatih/color v1.7.0"
|
||||
"github.com/fatih/color v1.7.0/go.mod"
|
||||
"github.com/fatih/color v1.10.0"
|
||||
"github.com/fatih/color v1.10.0/go.mod"
|
||||
"github.com/fatih/color v1.12.0"
|
||||
"github.com/fatih/color v1.12.0/go.mod"
|
||||
"github.com/fsnotify/fsnotify v1.4.7/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-kit/kit v0.9.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.4.0/go.mod"
|
||||
"github.com/go-sql-driver/mysql v1.4.1/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/go-xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod"
|
||||
"github.com/go-xorm/xorm v0.7.9/go.mod"
|
||||
"github.com/gofrs/uuid v3.2.0+incompatible/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||
"github.com/golang/mock v1.1.1/go.mod"
|
||||
"github.com/golang/mock v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.1/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.2/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0/go.mod"
|
||||
"github.com/golang/protobuf v1.4.1/go.mod"
|
||||
"github.com/golang/protobuf v1.4.3"
|
||||
"github.com/golang/protobuf v1.4.3/go.mod"
|
||||
"github.com/golang/protobuf v1.5.0/go.mod"
|
||||
"github.com/golang/protobuf v1.5.2"
|
||||
"github.com/golang/protobuf v1.5.2/go.mod"
|
||||
"github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod"
|
||||
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||
"github.com/google/go-cmp v0.5.0/go.mod"
|
||||
"github.com/google/go-cmp v0.5.5/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||
"github.com/gorilla/context v1.1.1/go.mod"
|
||||
"github.com/gorilla/mux v1.6.2/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.9.1"
|
||||
"github.com/hashicorp/go-hclog v0.9.1/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.15.0"
|
||||
"github.com/hashicorp/go-hclog v0.15.0/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.16.0"
|
||||
"github.com/hashicorp/go-hclog v0.16.0/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.16.2"
|
||||
"github.com/hashicorp/go-hclog v0.16.2/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v1.0.0"
|
||||
"github.com/hashicorp/go-immutable-radix v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.0"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.0/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.1"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.1/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v0.5.5"
|
||||
"github.com/hashicorp/go-msgpack v0.5.5/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v1.1.5"
|
||||
"github.com/hashicorp/go-msgpack v1.1.5/go.mod"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.3/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.4"
|
||||
"github.com/hashicorp/golang-lru v0.5.4/go.mod"
|
||||
"github.com/hashicorp/raft v1.1.0/go.mod"
|
||||
"github.com/hashicorp/raft v1.1.1"
|
||||
"github.com/hashicorp/raft v1.1.1/go.mod"
|
||||
"github.com/hashicorp/raft v1.2.0"
|
||||
"github.com/hashicorp/raft v1.2.0/go.mod"
|
||||
"github.com/hashicorp/raft v1.3.0"
|
||||
"github.com/hashicorp/raft v1.3.0/go.mod"
|
||||
"github.com/hashicorp/raft v1.3.1"
|
||||
"github.com/hashicorp/raft v1.3.1/go.mod"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20171010151810-6e5ba93211ea/go.mod"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20191021154308-4207f1bf0617"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20191021154308-4207f1bf0617/go.mod"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20210409134258-03c10cc3d4ea"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20210409134258-03c10cc3d4ea/go.mod"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20210422161416-485fa74b0b01"
|
||||
"github.com/hashicorp/raft-boltdb v0.0.0-20210422161416-485fa74b0b01/go.mod"
|
||||
"github.com/hpcloud/tail v1.0.0/go.mod"
|
||||
"github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod"
|
||||
"github.com/jackc/pgx v3.6.0+incompatible/go.mod"
|
||||
"github.com/json-iterator/go v1.1.6/go.mod"
|
||||
"github.com/json-iterator/go v1.1.9/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pretty v0.2.1/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/labstack/gommon v0.3.0"
|
||||
"github.com/labstack/gommon v0.3.0/go.mod"
|
||||
"github.com/lib/pq v1.0.0/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.2/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.4"
|
||||
"github.com/mattn/go-colorable v0.1.4/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.7/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.8"
|
||||
"github.com/mattn/go-colorable v0.1.8/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.8/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.9/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.10/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.11"
|
||||
"github.com/mattn/go-isatty v0.0.11/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.12"
|
||||
"github.com/mattn/go-isatty v0.0.12/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.13"
|
||||
"github.com/mattn/go-isatty v0.0.13/go.mod"
|
||||
"github.com/mattn/go-sqlite3 v1.10.0/go.mod"
|
||||
"github.com/mattn/go-sqlite3 v1.14.5"
|
||||
"github.com/mattn/go-sqlite3 v1.14.5/go.mod"
|
||||
"github.com/mattn/go-sqlite3 v1.14.6"
|
||||
"github.com/mattn/go-sqlite3 v1.14.6/go.mod"
|
||||
"github.com/mattn/go-sqlite3 v2.0.2+incompatible"
|
||||
"github.com/mattn/go-sqlite3 v2.0.2+incompatible/go.mod"
|
||||
"github.com/mattn/go-sqlite3 v2.0.3+incompatible"
|
||||
"github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/mkideal/cli v0.0.3"
|
||||
"github.com/mkideal/cli v0.0.3/go.mod"
|
||||
"github.com/mkideal/cli v0.2.3"
|
||||
"github.com/mkideal/cli v0.2.3/go.mod"
|
||||
"github.com/mkideal/cli v0.2.5"
|
||||
"github.com/mkideal/cli v0.2.5/go.mod"
|
||||
"github.com/mkideal/cli v0.2.7"
|
||||
"github.com/mkideal/cli v0.2.7/go.mod"
|
||||
"github.com/mkideal/expr v0.1.0"
|
||||
"github.com/mkideal/expr v0.1.0/go.mod"
|
||||
"github.com/mkideal/log v1.0.0/go.mod"
|
||||
"github.com/mkideal/pkg v0.0.0-20170503154153-3e188c9e7ecc"
|
||||
"github.com/mkideal/pkg v0.0.0-20170503154153-3e188c9e7ecc/go.mod"
|
||||
"github.com/mkideal/pkg v0.1.2"
|
||||
"github.com/mkideal/pkg v0.1.2/go.mod"
|
||||
"github.com/mkideal/pkg v0.1.3"
|
||||
"github.com/mkideal/pkg v0.1.3/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/onsi/ginkgo v1.6.0/go.mod"
|
||||
"github.com/onsi/ginkgo v1.7.0/go.mod"
|
||||
"github.com/onsi/gomega v1.4.3/go.mod"
|
||||
"github.com/openzipkin/zipkin-go v0.1.6/go.mod"
|
||||
"github.com/pascaldekloe/goe v0.1.0/go.mod"
|
||||
"github.com/pierrec/lz4 v2.0.5+incompatible/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.8.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.2/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod"
|
||||
"github.com/prometheus/client_golang v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v1.4.0/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||
"github.com/prometheus/client_model v0.2.0/go.mod"
|
||||
"github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod"
|
||||
"github.com/prometheus/common v0.2.0/go.mod"
|
||||
"github.com/prometheus/common v0.4.1/go.mod"
|
||||
"github.com/prometheus/common v0.9.1/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.2/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.8/go.mod"
|
||||
"github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.15.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.15.0/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.18.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.18.0/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.19.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.19.0/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.0/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.1"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.1/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.2"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.2/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.3"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.3/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.4"
|
||||
"github.com/rqlite/go-sqlite3 v1.20.4/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.21.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.21.0/go.mod"
|
||||
"github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||
"github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod"
|
||||
"github.com/valyala/bytebufferpool v1.0.0/go.mod"
|
||||
"github.com/valyala/fasttemplate v1.0.1/go.mod"
|
||||
"github.com/ziutek/mymysql v1.5.4/go.mod"
|
||||
"go.opencensus.io v0.20.1/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191219195013-becbf705a915"
|
||||
"golang.org/x/crypto v0.0.0-20191219195013-becbf705a915/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a"
|
||||
"golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20201116153603-4be66e5b6582"
|
||||
"golang.org/x/crypto v0.0.0-20201116153603-4be66e5b6582/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad"
|
||||
"golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2"
|
||||
"golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b"
|
||||
"golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97"
|
||||
"golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200707034311-ab3426394381"
|
||||
"golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
|
||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110"
|
||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190523142557-0e01d883c5c5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed"
|
||||
"golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037"
|
||||
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201116194326-cc9327a14d48"
|
||||
"golang.org/x/sys v0.0.0-20201116194326-cc9327a14d48/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201223074533-0d417f636930"
|
||||
"golang.org/x/sys v0.0.0-20201223074533-0d417f636930/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c"
|
||||
"golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210414055047-fe65e336abe0"
|
||||
"golang.org/x/sys v0.0.0-20210414055047-fe65e336abe0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7"
|
||||
"golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c"
|
||||
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201113234701-d7a72108b828"
|
||||
"golang.org/x/term v0.0.0-20201113234701-d7a72108b828/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201117132131-f5c789dd3221"
|
||||
"golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf"
|
||||
"golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod"
|
||||
"golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72"
|
||||
"golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72/go.mod"
|
||||
"golang.org/x/term v0.0.0-20210422114643-f5beecf764ed"
|
||||
"golang.org/x/term v0.0.0-20210422114643-f5beecf764ed/go.mod"
|
||||
"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b"
|
||||
"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||
"golang.org/x/text v0.3.3"
|
||||
"golang.org/x/text v0.3.3/go.mod"
|
||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190424220101-1e8e1cfdf96b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||
"google.golang.org/api v0.3.1/go.mod"
|
||||
"google.golang.org/appengine v1.1.0/go.mod"
|
||||
"google.golang.org/appengine v1.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.6.0/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod"
|
||||
"google.golang.org/grpc v1.17.0/go.mod"
|
||||
"google.golang.org/grpc v1.19.0/go.mod"
|
||||
"google.golang.org/grpc v1.23.0/go.mod"
|
||||
"google.golang.org/grpc v1.27.0/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod"
|
||||
"google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod"
|
||||
"google.golang.org/protobuf v1.21.0/go.mod"
|
||||
"google.golang.org/protobuf v1.22.0/go.mod"
|
||||
"google.golang.org/protobuf v1.23.0"
|
||||
"google.golang.org/protobuf v1.23.0/go.mod"
|
||||
"google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod"
|
||||
"google.golang.org/protobuf v1.25.0"
|
||||
"google.golang.org/protobuf v1.25.0/go.mod"
|
||||
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
|
||||
"google.golang.org/protobuf v1.26.0"
|
||||
"google.golang.org/protobuf v1.26.0/go.mod"
|
||||
"google.golang.org/protobuf v1.27.1"
|
||||
"google.golang.org/protobuf v1.27.1/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||
"gopkg.in/fsnotify.v1 v1.4.7/go.mod"
|
||||
"gopkg.in/redis.v5 v5.2.9/go.mod"
|
||||
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.5/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||
"xorm.io/builder v0.3.6/go.mod"
|
||||
"xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD CC0-1.0 MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
GOBIN="${S}/bin" \
|
||||
go install \
|
||||
-ldflags="-X main.version=v${PV}
|
||||
-X main.branch=master
|
||||
-X main.commit=${EGIT_COMMIT}
|
||||
-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
|
||||
./cmd/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOBIN="${S}/bin" \
|
||||
go test ./... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r *.md DOC
|
||||
}
|
@ -0,0 +1,230 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
EGIT_COMMIT=eb6da8f22cfd57d9f46cc31179de7d0cefe2f962
|
||||
|
||||
DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
|
||||
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
|
||||
|
||||
EGO_SUM=(
|
||||
"github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75"
|
||||
"github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75/go.mod"
|
||||
"github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod"
|
||||
"github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod"
|
||||
"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod"
|
||||
"github.com/armon/go-metrics v0.3.9"
|
||||
"github.com/armon/go-metrics v0.3.9/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/beorn7/perks v1.0.0/go.mod"
|
||||
"github.com/beorn7/perks v1.0.1/go.mod"
|
||||
"github.com/boltdb/bolt v1.3.1"
|
||||
"github.com/boltdb/bolt v1.3.1/go.mod"
|
||||
"github.com/cespare/xxhash/v2 v2.1.1/go.mod"
|
||||
"github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod"
|
||||
"github.com/circonus-labs/circonusllhist v0.1.3/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/fatih/color v1.7.0/go.mod"
|
||||
"github.com/fatih/color v1.12.0"
|
||||
"github.com/fatih/color v1.12.0/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-kit/kit v0.9.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.4.0/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golang/protobuf v1.5.0/go.mod"
|
||||
"github.com/golang/protobuf v1.5.2"
|
||||
"github.com/golang/protobuf v1.5.2/go.mod"
|
||||
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||
"github.com/google/go-cmp v0.5.5"
|
||||
"github.com/google/go-cmp v0.5.5/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.9.1/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.16.2"
|
||||
"github.com/hashicorp/go-hclog v0.16.2/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.1"
|
||||
"github.com/hashicorp/go-immutable-radix v1.3.1/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v0.5.5/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v1.1.5"
|
||||
"github.com/hashicorp/go-msgpack v1.1.5/go.mod"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.3/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.0"
|
||||
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.4"
|
||||
"github.com/hashicorp/golang-lru v0.5.4/go.mod"
|
||||
"github.com/hashicorp/raft v1.1.0/go.mod"
|
||||
"github.com/hashicorp/raft v1.3.1"
|
||||
"github.com/hashicorp/raft v1.3.1/go.mod"
|
||||
"github.com/json-iterator/go v1.1.6/go.mod"
|
||||
"github.com/json-iterator/go v1.1.9/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/labstack/gommon v0.3.0"
|
||||
"github.com/labstack/gommon v0.3.0/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.2/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.4/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.7/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.8"
|
||||
"github.com/mattn/go-colorable v0.1.8/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.8/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.9/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.10/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.12/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.14"
|
||||
"github.com/mattn/go-isatty v0.0.14/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/mkideal/cli v0.2.7"
|
||||
"github.com/mkideal/cli v0.2.7/go.mod"
|
||||
"github.com/mkideal/expr v0.1.0"
|
||||
"github.com/mkideal/expr v0.1.0/go.mod"
|
||||
"github.com/mkideal/pkg v0.1.3"
|
||||
"github.com/mkideal/pkg v0.1.3/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/pascaldekloe/goe v0.1.0"
|
||||
"github.com/pascaldekloe/goe v0.1.0/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.8.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.2/go.mod"
|
||||
"github.com/prometheus/client_golang v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v1.4.0/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod"
|
||||
"github.com/prometheus/client_model v0.2.0/go.mod"
|
||||
"github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod"
|
||||
"github.com/prometheus/common v0.4.1/go.mod"
|
||||
"github.com/prometheus/common v0.9.1/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.2/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.8/go.mod"
|
||||
"github.com/rqlite/go-sqlite3 v1.22.0"
|
||||
"github.com/rqlite/go-sqlite3 v1.22.0/go.mod"
|
||||
"github.com/rqlite/raft-boltdb v0.0.0-20210909125202-124e0a496d7e"
|
||||
"github.com/rqlite/raft-boltdb v0.0.0-20210909125202-124e0a496d7e/go.mod"
|
||||
"github.com/rqlite/raft-boltdb v0.0.0-20210909131733-595768e10065"
|
||||
"github.com/rqlite/raft-boltdb v0.0.0-20210909131733-595768e10065/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.4.0"
|
||||
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||
"github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod"
|
||||
"github.com/valyala/bytebufferpool v1.0.0/go.mod"
|
||||
"github.com/valyala/fasttemplate v1.0.1/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20210817164053-32db794688a5"
|
||||
"golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
|
||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110"
|
||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365"
|
||||
"golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
|
||||
"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b"
|
||||
"golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.3"
|
||||
"golang.org/x/text v0.3.3/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190424220101-1e8e1cfdf96b/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
|
||||
"google.golang.org/protobuf v1.26.0/go.mod"
|
||||
"google.golang.org/protobuf v1.27.1"
|
||||
"google.golang.org/protobuf v1.27.1/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.5"
|
||||
"gopkg.in/yaml.v2 v2.2.5/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD CC0-1.0 MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
GOBIN="${S}/bin" \
|
||||
go install \
|
||||
-ldflags="-X main.version=v${PV}
|
||||
-X main.branch=master
|
||||
-X main.commit=${EGIT_COMMIT}
|
||||
-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
|
||||
./cmd/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOBIN="${S}/bin" \
|
||||
go test ./... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r *.md DOC
|
||||
}
|
Binary file not shown.
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EGO_PN=github.com/russross/${PN}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="8cec3a8"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="a markdown processor implemented in Go"
|
||||
HOMEPAGE="https://github.com/russross/blackfriday"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND="dev-go/sanitized-anchor-name"
|
||||
RDEPEND=""
|
@ -1,6 +1,4 @@
|
||||
DIST sanitized-anchor-name-0_pre20150822.tar.gz 1298 BLAKE2B 1f599969b2e52317bb582d563af3c694814d8766358000c295972b3b1b18a1cfb0705e5f9369f0d3fa957107c01e01787833694af855a23eda21d49dabd48d04 SHA512 9fcaecd3962b2d4681faea7ef022b1cd6a9a6fe6c02a9608a7c57fcdb77eff6148be05debf6beb548530a9e56225596290525eb01b082601a3ee18130c9349f0
|
||||
DIST sanitized-anchor-name-0_pre20151027.tar.gz 1941 BLAKE2B 7ef4ed22d34a9dbc56396a0b04fdf75e5384f941588116a44ecbb7b19f070fb2f4930b93b364b97c784e3f0a60832a9ea4c8d2007623548f12c93928cb36682c SHA512 06b8bf3f8d89a93c565de9b4219211ad08c91b2442ba31ef8bffa02c7ee823ae4f57ed8b39b4ac1eb326e5d12c65b56b16833c28fc97623c732bb6ea685a3c2a
|
||||
EBUILD sanitized-anchor-name-0_pre20150822.ebuild 572 BLAKE2B fd0cb060d204b2ebb41ee773a533c58c0ed03051e96a71513ed78c6163f07a49efce3909a88ef5c75823a2fb12ed175c2e3da84ad5b149315942849af3733e4d SHA512 68a5a9f543c2124923a45b70142f5713305f34b7b7d06ba7e7520d34b61416d58793753eed7c97717bb788b1bf5a0bb7d95333302c8183f2530cd901f39ac4a1
|
||||
EBUILD sanitized-anchor-name-0_pre20151027.ebuild 574 BLAKE2B c6506f63cff656f7d2f0da0a2dea6b2d253a62b8047c5d0b07efba9368501bb0701abb82074ebd26c615ff409d2a740caede665f1dc7817f79d9a919934b856b SHA512 0e4d46b3c329cbc2f07d9230806d8332157c05468e17535dcb3b3a50470463d8382404d95dfdb5cf549f4ca59e8b48a85b8225990b301e9c5c1514b0f0ea56e3
|
||||
EBUILD sanitized-anchor-name-9999.ebuild 563 BLAKE2B 03794001335e7a41d725dc6d8e4fd185d32881a39e3e293f12a07bb55047fd7bfc34299cc9cf66417d149e1772e8d55cde570167b958db93ae24df2f0cbd6664 SHA512 45e82d8c9944d1a1c4c62618db1ff6256b97588d58bb907129cd06354d5c0534cf17bbb1906f0dbe088707be37634b15cd37d8500cf7fe0b64c2a41ef7f5a5e3
|
||||
MISC metadata.xml 344 BLAKE2B fc44b782f037a3e303b6b9e06de9f9a2c95905d6e3114101b1e5f75caf11dab0c6b8f7ecf0e9119bf7a069df2c67806ac2f58a2ff84d869bfd215d1e0282fde5 SHA512 2b575bb84153a36881072d7438620ddcd1d37f3be79789f3a363d9d424dee21943a9971d939e2c836f2f3999df21cd0348cb0df3894354770f9f5bd4d22f8ce7
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EGO_PN=github.com/shurcooL/sanitized_anchor_name
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
EGIT_COMMIT="244f5ac"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="A Go function to provide sanitized anchor names"
|
||||
HOMEPAGE="https://github.com/shurcooL/sanitized_anchor_name"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
AUX fec-1.0.4-build.patch 890 BLAKE2B 58dcca98815ecf53dfee025e1f11ca5a9a86adcfe672561a376c11d14d0635e9a858cb28a88b6f5187d03e1f5cf6412078caf1984ad58b1f46b28be0f1a9c0ea SHA512 d92960acd70d4f494e6875f1f5472d4da889c12a7bf8a232d291a557b0d17160a048290ab9dd9e90746a7954bd71681d36433d9dc422add7b9ea9ab956d8c90e
|
||||
AUX fec-1.0.4-libfec8path.patch 1087 BLAKE2B 085c732b1ebf4bd8a6e6d7ddd7f5995c29177e165972360f9cec74dc8bc13f331ec32bf31f531c9efb4f63e796fd91142d87b94695ecff31cf4997e63379f3f1 SHA512 7f46eedf2eb21eff04f0cee30a0e454d4796f29a22df4c33100255133c43cce07ac95e8e7eae5957412a2ce0da626cdbfffc57c5398f9f2c56660000805a60a0
|
||||
AUX fec-1.0.4-remove-concurrent-util-imports.patch 3142 BLAKE2B 028451e332afc9ec5d5afdacc9bc75364708dc5700d8691a428fde2e7c24595dba5d1e39901555095aa4577180e884000c21bf2f55a375616de59b82244a3a14 SHA512 195d2d5ec252d9e8c83762de318393b50d08fd50c900a13489e082e6d08bcc6f85b6425dd350fe1d24e2aab5ed8753ce25dc87f35aa8754721cdf5949ad49aa6
|
||||
AUX fec-1.0.4-soname.patch 786 BLAKE2B 0037363c6a8a8506f1981980296708cc202815ecb48b0357a71ff2f7a1cb9a6a438974d35b548f10688dffa6cef736f1c24b56ef27a3b6767b63c56b4698d088 SHA512 d75e6198f2f7193fbb65b686118f597c289576726d77ce3d65e122b4d6ca1f790fb8530e42e3e174c97a4b45083f95407478499f11b457d813d06e85b5d21c1d
|
||||
AUX fec-1.0.4-build.patch 894 BLAKE2B 753cee6cbca1a13ba83fba81466cee4651eafd987410295a22a75cfdc51dcfed3a5cea34cb46ebebf701896b2acdb3260a7dbd5f81f38dae8d23e6a1d266911a SHA512 7501680d8ec3aa709aa97afabae6a31f4a7797851d4954a41ba158922ee92fd84bffebc3ae5c74a1766f6e704ede146e8ff2d819ab32d39adb18eb1a7f6184ca
|
||||
AUX fec-1.0.4-libfec8path.patch 1091 BLAKE2B 4e19c8615b20694f26d3ee5bd83e33ec342f34797198f10cca1a3cad86ed51ee6a603c697e50e95ba62b5200b1f24beed04adbb620ee0c49a403e24841bb2faf SHA512 91147d4022b3d9a5fe4f81d425a961c7767924b2cf309c315e663f00c679c867210e175863a49cb79fe47e686eb29b876ac8ddec1ed17b678f6affae71a2817e
|
||||
AUX fec-1.0.4-remove-concurrent-util-imports.patch 3146 BLAKE2B 8716fcc73a5e1030d12709c12d15adb2462c40da5ab896806e4dc8b572fc6d952b6b09c550f1ba4511a84b9a75306804b67526ee34fac33d2f3d4bf453c807f9 SHA512 592cfd6502a000cc1ac02e534e5436cb3d621855cc682a4588a5fd6f17c8d7f4811743fa9dbcd30851221ba55ab2adb188f6dc9e32f8735651edd28e032803a6
|
||||
AUX fec-1.0.4-soname.patch 790 BLAKE2B 852ef6ec83d42a15bfb1d67b05364d15c3027a8579d5e90dab4dec4cc99273383d89f5d5174ec8a6e2ab3cb09986d3fd60f39aedec6ae2da3f893325f88756c4 SHA512 1586fc0408274fff7eb3ba2cd95cfac8a94dad9981e2e01e8e11642692d2a27068936b673364c9c2cc70ca848d364648a66c728dc41d85c605a25b7fe79e2ec3
|
||||
DIST fec-1.0.4.tar.gz 449406 BLAKE2B 132bb87ff0da35b9a1830d014c46fb82209b344d159b88c6dbf36c706de668cdb2dfc10894690009e9a47f461100beaf9cf25ad1c75a3b18194e5499457bcb6b SHA512 0244de5e44ab108e921c6ca4cf341ce7b3ba807a76d24b768cfe3de71ffd525c9ebf389f9981e7eaa83fec301a65ba60ef4f51c5b3befa6c7af42b793d430343
|
||||
EBUILD fec-1.0.4-r2.ebuild 1498 BLAKE2B b1d62acc07c2ca5eec3a397c871f22435238e53823a45718fd2bb0bc85403b1916944a0eac177c78207ccbd0286fa9df05d8641609ea40bbdab37d30c944941a SHA512 9248440a109bfa8245da3c114e42186fe625cee6da2d0122edf12db626609d9026ebb0dc543ab5cd5fcfa15f3a26b333f79c1af70dac67c8c1ca98bf45ccf9aa
|
||||
EBUILD fec-1.0.4-r3.ebuild 1485 BLAKE2B d6a62270e9ca9c9248276c49eaba860e6f64211b52e21771a87d8f64fa5ca02c612112150495b1ff0bc09c1eb131cdd84f7a51972b52a8064b5c855388b4ec2c SHA512 d3e1b69aa3e2e50f5e5114569abbf6db4b901b93a86ef3d18cf82d7f8d02752835860dcf67b5c22ba17a04ca59744c0166caa1e07955e8b7dfaaa2fb222d6702
|
||||
MISC metadata.xml 435 BLAKE2B f15bf1cf8797a940aef17b1a72884aad2859be1790129554172bbeec7ea0e2f68da81c0e5362cc7d94302bb9090bc1d0960d608335bc1a88168a3607ccb0d191 SHA512 13f1c5f833c69547926d60f4f9325624db5e82ea9b01900b00d48b38079e0cd8b1d038f6a69d784d78fa3cafa6f23e7ce57b78812b91154e0850466c2daf2ab9
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Forward Error Correction library in Java"
|
||||
HOMEPAGE="https://bitbucket.org/onionnetworks/"
|
||||
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/log4j:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${P}-libfec8path.patch"
|
||||
"${FILESDIR}"/"${P}-build.patch"
|
||||
"${FILESDIR}"/"${P}-soname.patch"
|
||||
"${FILESDIR}"/"${P}-remove-concurrent-util-imports.patch"
|
||||
)
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="log4j"
|
||||
EANT_BUILD_TARGET="jars"
|
||||
|
||||
# There seems to be unit tests, but they are in such a state.
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches.
|
||||
default
|
||||
|
||||
# In fact, we'll wipe tests altogether.
|
||||
rm -rf tests || die
|
||||
|
||||
# Get rid of bundled jars.
|
||||
java-pkg_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-2_src_compile
|
||||
einfo "Sucessfully compiled Java classes!"
|
||||
|
||||
cd "${S}"/src/csrc || die
|
||||
append-flags -fPIC
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
einfo "Sucessfully compiled C files!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "lib/onion-${PN}.jar" "${PN}.jar"
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc src/com
|
||||
dolib.so src/csrc/libfec{8,16}.so
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST lzma1900.7z 1082692 BLAKE2B 88aca3f3225d589c9b1b0fbf4c196db8e6e8df362f926736a45e1f80d302c132b25537203b0a903da9de5f3b0398b10901f126cf6905fcbdf0a57ee894e74b6d SHA512 60532483249d86960d5c481dc88ebeafabb7e435afb6188bc26f38177b8534ef3da83317d6920d99103d4f10a8dcdb624489ea5ddad8e0c8732bab1bb4ebd7eb
|
||||
DIST lzma918.tar.bz2 533322 BLAKE2B ed79541be70e127ead9f7683ed098fe6c69cca90574377a4abf0d130434624b05e67448e65e5f88602640b1784a7d613527fafd237d0a94c01ddd91a8f698dd4 SHA512 fa32920d5c45e80c6d029fa1244154e7ae2a2db676e9b115359e955bec829f4cffa6cd8297cae388aca540fc2974dfced4ce284fb351992d7b4a337292da3803
|
||||
EBUILD lzma-19.00.ebuild 520 BLAKE2B deb1311e0321dd50a79323aaaba6af05f379e1f5cbd0f2fe3d25338ceac49c286d10eca9d248962bcd1e2dc2121f635c57c922ab934a4b88ce5a54ec8c3834e8 SHA512 e719d88757a10190d5175bac07bb4c77550ac3a2f8a2757baaed3c3c362ddf71118fe11b544b6cee499a6a61527ef7d7b59040e2952dcf1bb0d59e723b836109
|
||||
EBUILD lzma-9.18.ebuild 503 BLAKE2B 68df02e7b664be7c59467f27b051684120929b5007a781f4f6eb205b0dee35bea374bbcd3a710cd778dc3975fd815e23bc94f8403db114dc901d9a0bc4d0df4d SHA512 d451bd866b6c4f486cf4707a953b267bcb6f3cf1cc15b85863e0511eadec0990072adcc8a8068a0a62645abc281d046bb087a6861cfc99c6ba140f4090fa4ea0
|
||||
MISC metadata.xml 432 BLAKE2B 998874250825748d38aff4d525a9aaceab9cf55299f8fc3960fb0bfedeafc82fee0a9c2570d262678e5fb7949400673fe10b4d9f43a5a02aa1d02907f2d7a57a SHA512 0bfa574b8bea1f0e6f0f29331fdc6caa379729ff27e603af6bf20a895dcdfd233830dd35d2a14c032abd5c5d8feae101747aa344a9e2d08ec1eb3d98daa36939
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java code for LZMA compression and decompression"
|
||||
HOMEPAGE="https://www.7-zip.org/"
|
||||
SRC_URI="https://www.7-zip.org/a/${PN}${PV/./}.7z"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
BDEPEND="app-arch/p7zip"
|
||||
|
||||
S="${WORKDIR}/Java"
|
||||
|
||||
JAVA_SRC_DIR="SevenZip"
|
@ -1,4 +1,5 @@
|
||||
DIST lzmajio-0.95.tar.gz 20790 BLAKE2B e24a5f4778bb135ce3ab519dfc8357cf3abc04d564b8d365f7cbad579be7ff86b4d24156720954bab882d7ade8e5145e533fd477c1925f6a9353c90dd5a2e511 SHA512 65736a66ec8f5eb63688edda912718f4e9b0518c68b0b1eed3df26e7b6bb15728024c637b4cf40f6ab52168c913cce91bd7cafefca7515e0f3e386738cedc6e5
|
||||
EBUILD lzmajio-0.95-r1.ebuild 680 BLAKE2B d1761a2317f81216c37f4c40d2b59d70727caece1a6af0e74127aeb5b70da986894cb8fe865c25843882ed629e992433210836f64d5df1f7c69cacce31b44fbb SHA512 05d34b13fbf5e52975ddfbd54ec11fea10c022c7395a6326d0afcacc6f882e765a40433e6a040722e7dcc657c729654454c7bd67060d94dd7bb4df47689a4830
|
||||
EBUILD lzmajio-0.95-r2.ebuild 679 BLAKE2B 3f4de611f88fd898c4b29e15ffa685772c69598b76d664dfbfa338e6d9d742071567b956f4958bdfb3c256514729d7d9b9359f0c3adecfc0e1690d4d5fb53ed3 SHA512 2add22580d5f3ff97016f509db4a7c7e81534e7003592e694df3dd8b722e069f533b3d1724492de1762c11babb6c45afb33ee5b63bcca0b300e2bbee7199f3b0
|
||||
EBUILD lzmajio-0.95-r2.ebuild 675 BLAKE2B 9ff5b867d02fa797ff0d885b920db805be2f4e9e34b1fab9352a7245cfeca755d3398a55af6142bf3d8b0f3fa469087a6f4c363e9f454645d5ff6854b2b3bdd5 SHA512 8600cdcd2e4f7c2571a400027a0a27471912cdde0d43de9035b917fd94cb4f1c35ec80cffe4ab785f65ce2234cccb18ecb127f568069c0e14b702dcbe72edf13
|
||||
EBUILD lzmajio-0.95-r3.ebuild 680 BLAKE2B 8fdce1a93e9e05120bc10d932d8cba50a4781a8ea6a4795b34fd6ee1d13c08defcc684ae5678ef6f5c2ae11767f270e13d1dafcdd732d09ac909abe3648159f9 SHA512 07d050b84237914dad32e8d52bd2e791b1ec97363d03c4a59e08b924492d7ac4553bce9b982ead7f26edbfb9783942810c90aeb64c0acc649d524bee3e975821
|
||||
MISC metadata.xml 355 BLAKE2B 45e5688e8e9af78304f1e5b5c499e6416551c805c67f009bd4cfaa2d3bdfaa76da736176e1508d0b91549bf9b402dd5c4b87daa94853eea4d473ee086af3fa0a SHA512 5e5c0b1b6841cd69152cca661eaa68c5ea91bd5954d5a3e831fe82470acd63acaa2ac43ed7797c0af4b2932a2dd1e78b633de4e24ab02c744c2c33f4b920f16d
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="LzmaInputStream/LzmaOutputStream interacting with underlying LZMA en-/decoders"
|
||||
HOMEPAGE="https://contrapunctus.net/league/haques/lzmajio/
|
||||
https://github.com/league/lzmajio"
|
||||
SRC_URI="https://github.com/league/${P}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/lzma:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="lzma"
|
||||
JAVA_SRC_DIR="net"
|
@ -1,3 +1,4 @@
|
||||
DIST mersennetwister-0_pre23765.tar.bz2 4974 BLAKE2B 3a609f7319f365234ebac8ae7b9accd447b9a506cf7cbf45c59bb2c44099e3ee780ea7754db91f96ff6f33fa84f65f20acda58d058aba30345114808ca90e65d SHA512 3c3b970da3ddc3a0b7fda299916781551867b6ce3c8ecb1f89670783d4d51e2681b07c6b2dfc15e11a03c8b949f4880b0bf1511dde2cb4ad0600688809d38e46
|
||||
EBUILD mersennetwister-0_pre23765-r1.ebuild 485 BLAKE2B c72a4625e3e19505172f71e403ce8ae928c6561e9b47e6b4cdb15087f84fa199de27cd3cfdd8d41f549210f788ad7415e4aaff620905dbc942c602112a478dce SHA512 8793bfbed4be02fda5edc8455e544ba4eafec8ab3a6af29e1cf39672271b92db4a3520f6833a278100e05ebe9a13de2bc484717a240db5deae85f061345925f3
|
||||
EBUILD mersennetwister-0_pre23765-r2.ebuild 488 BLAKE2B 6e245c8c7c0a3147c632c1da1dfe0e01d3bc573cc0a4301a13c4ccf19b1f4163ae5c11a8da429013c8ea44a92e6d09e226af3874a0549fc06f402e6340018a75 SHA512 4a7b390a2c8726ad698c9a86c1357ba1ec7ee8ae173749b3ddddb63cbd5e0518aec5a4ec0a57ee88a8e6ee538289ee948bc3c6238ec57aa534345de8fa952c64
|
||||
MISC metadata.xml 353 BLAKE2B c417f3c4e9fb900fe5c4874caf3bc7c0a4e816fd8064ac8eba8c624c4864bee28c9160478ec688e4e447fef35dd8a2f2ed971ea6717cbed73ce85e35facbfdd3 SHA512 4baca3ed7dd47cb5a78222c3d35b0f66439d937fd3629a8784f20bae379539bc01436e5ec2e26fe0b568472faee3d545e9a06089b062ea34e79ea58cecdd86ec
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Modified MersenneTwister java port for Freenet"
|
||||
HOMEPAGE="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
source? ( app-arch/zip )
|
||||
>=virtual/jdk-1.8:*"
|
Binary file not shown.
@ -1,243 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 autotools flag-o-matic fortran-2 toolchain-funcs
|
||||
|
||||
# latest git commit for R bash completion: https://github.com/deepayan/rcompletion
|
||||
BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6
|
||||
|
||||
DESCRIPTION="Language and environment for statistical computing and graphics"
|
||||
HOMEPAGE="http://www.r-project.org/"
|
||||
SRC_URI="
|
||||
mirror://cran/src/base/R-4/${P}.tar.gz
|
||||
https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~hppa ~ia64 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs test tiff tk X"
|
||||
|
||||
# One test required profiling in v4.0.2, check the upstream bug:
|
||||
#
|
||||
# https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17836
|
||||
#
|
||||
REQUIRED_USE="png? ( || ( cairo X ) )
|
||||
jpeg? ( || ( cairo X ) )
|
||||
tiff? ( || ( cairo X ) )
|
||||
test? ( profile )
|
||||
"
|
||||
|
||||
# At least one package installation in the test suite requires TeX,
|
||||
# and will fail without it (bug #718056).
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
)
|
||||
test? ( virtual/latex-base )"
|
||||
DEPEND="
|
||||
app-arch/bzip2:0=
|
||||
app-arch/xz-utils:0=
|
||||
app-text/ghostscript-gpl
|
||||
dev-libs/libpcre2:=
|
||||
net-libs/libtirpc
|
||||
net-misc/curl
|
||||
virtual/blas:0
|
||||
|| ( sys-apps/coreutils app-misc/realpath )
|
||||
cairo? ( x11-libs/cairo:0=[X=] x11-libs/pango:0= )
|
||||
icu? ( dev-libs/icu:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
lapack? ( virtual/lapack:0 )
|
||||
perl? ( dev-lang/perl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
tk? ( dev-lang/tk:0= )
|
||||
X? ( x11-libs/libXmu:0= x11-misc/xdg-utils )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
sys-libs/zlib:0[minizip]
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="minimal? ( test )
|
||||
!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.4.1-parallel.patch
|
||||
"${FILESDIR}"/${PN}-3.4.1-rmath-shared.patch
|
||||
"${FILESDIR}"/${PN}-3.6.2-no-LDFLAGS-in-libR-pkg-config.patch
|
||||
"${FILESDIR}"/${PN}-3.6.2-no-gzip-doc.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
FORTRAN_NEED_OPENMP=1
|
||||
fi
|
||||
fortran-2_pkg_setup
|
||||
filter-ldflags -Wl,-Bdirect -Bdirect
|
||||
# avoid using existing R installation
|
||||
unset R_HOME
|
||||
# Temporary fix for bug #419761
|
||||
if [[ ($(tc-getCC) == *gcc) && ($(gcc-version) == 4.7) ]]; then
|
||||
append-flags -fno-ipa-cp-clone
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix packages.html for doc (gentoo bug #205103)
|
||||
sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
|
||||
-i src/library/tools/R/Rd.R || die
|
||||
|
||||
# fix Rscript path when installed (gentoo bug #221061)
|
||||
sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EROOT}/usr/$(get_libdir)/${PN}\"':" \
|
||||
-i src/unix/Makefile.in || die "sed unix Makefile failed"
|
||||
|
||||
# fix HTML links to manual (gentoo bug #273957)
|
||||
sed -e 's:\.\./manual/:manual/:g' \
|
||||
-i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
|
||||
|
||||
use lapack && \
|
||||
export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
|
||||
|
||||
if use X; then
|
||||
export R_BROWSER="$(type -p xdg-open)"
|
||||
export R_PDFVIEWER="$(type -p xdg-open)"
|
||||
fi
|
||||
use perl && \
|
||||
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
|
||||
|
||||
# don't search /usr/local
|
||||
sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die
|
||||
# Fix for Darwin (OS X)
|
||||
if use prefix; then
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \
|
||||
-e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \
|
||||
-e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \
|
||||
-e "/SHLIB_EXT/s/\.so/.dylib/" \
|
||||
-i configure.ac || die
|
||||
# sort of "undo" 2.14.1-rmath-shared.patch
|
||||
sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EROOT}/usr/$(get_libdir)/libRmath.dylib:" \
|
||||
-i src/nmath/standalone/Makefile.in || die
|
||||
else
|
||||
append-ldflags -Wl,-rpath="${EROOT}/usr/$(get_libdir)/R/lib"
|
||||
fi
|
||||
fi
|
||||
AT_M4DIR=m4
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-system-tre \
|
||||
# tre is patched from upstream
|
||||
econf \
|
||||
--enable-byte-compiled-packages \
|
||||
--enable-R-shlib \
|
||||
--disable-R-framework \
|
||||
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
||||
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable java) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable profile R-profiling) \
|
||||
$(use_enable profile memory-profiling) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs R-static-lib) \
|
||||
$(use_with cairo) \
|
||||
$(use_with icu ICU) \
|
||||
$(use_with jpeg jpeglib) \
|
||||
$(use_with lapack) \
|
||||
$(use_with !minimal recommended-packages) \
|
||||
$(use_with png libpng) \
|
||||
$(use_with readline) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with tk tcltk) \
|
||||
$(use_with tk tk-config "${EPREFIX}"/usr/$(get_libdir)/tkConfig.sh) \
|
||||
$(use_with tk tcl-config "${EPREFIX}"/usr/$(get_libdir)/tclConfig.sh) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
emake AR="$(tc-getAR)"
|
||||
emake -C src/nmath/standalone \
|
||||
shared $(use static-libs && echo static) AR="$(tc-getAR)"
|
||||
use doc && emake info pdf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake -j1 -C src/nmath/standalone DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" install-info install-pdf
|
||||
dosym ../manual /usr/share/doc/${PF}/html/manual
|
||||
fi
|
||||
|
||||
cat > 99R <<-EOF
|
||||
LDPATH=${EROOT}/usr/$(get_libdir)/${PN}/lib
|
||||
R_HOME=${EROOT}/usr/$(get_libdir)/${PN}
|
||||
EOF
|
||||
doenvd 99R
|
||||
newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN}
|
||||
# The buildsystem has a different understanding of install_names than
|
||||
# we require. Since it builds modules like shared objects (wrong), many
|
||||
# objects (all modules) get an incorrect install_name. Fixing the build
|
||||
# system here is not really trivial.
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local mod
|
||||
pushd "${ED}"/usr/$(get_libdir)/R > /dev/null
|
||||
for mod in $(find . -name "*.dylib") ; do
|
||||
mod=${mod#./}
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" \
|
||||
"${mod}"
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# Users are encouraged to access some of the the R documentation
|
||||
# interactively, through functions like "contributors()" that
|
||||
# tries to open the "AUTHORS" file. Other files can be accessed
|
||||
# by name with RShowDoc(), and the documentation for e.g. license()
|
||||
# and RShowDoc() suggests a few of these names. Here we try to
|
||||
# collect as many names as possible that a user might actually
|
||||
# try to view through R, because if we don't decompress them,
|
||||
# then R doesn't know what to do with 'em. Bug #556706.
|
||||
INTERACTIVE_DOCS=(
|
||||
AUTHORS
|
||||
COPYING
|
||||
FAQ
|
||||
NEWS
|
||||
THANKS
|
||||
)
|
||||
|
||||
# Other data sources that are shipped as "documentation," but which
|
||||
# need to be accessible via their original unmolested filenames.
|
||||
INTERACTIVE_DATA=(
|
||||
BioC_mirrors.csv
|
||||
CRAN_mirrors.csv
|
||||
KEYWORDS.db
|
||||
NEWS.rds
|
||||
)
|
||||
|
||||
NOCOMPRESS_DOCS=( "${INTERACTIVE_DOCS[@]}" "${INTERACTIVE_DATA[@]}" )
|
||||
|
||||
for f in "${NOCOMPRESS_DOCS[@]}"; do
|
||||
docompress -x "/usr/share/doc/${PF}/${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use java; then
|
||||
einfo "Re-initializing java paths for ${P}"
|
||||
R CMD javareconf
|
||||
fi
|
||||
}
|
@ -1,14 +1,8 @@
|
||||
DIST fpc-3.0.4-doc-html.tar.gz 5658315 BLAKE2B 49f9e6f3848ad1aaad8b1621ffd5d2026590b3eed515b9bebe09c489cdf2d7170fcf7413794daebf3465190f5588317325b81d9723d824ab49c81db796f2f48f SHA512 1ebc8c5c5f213568dd24d50667c7939e00c33796c131db174ee93a4dc36122383e7d803cd280896c603eccfadc5bc3474b1831fa7f3e457a58fb3a045b8c33b1
|
||||
DIST fpc-3.0.4.i386-linux.tar 54691840 BLAKE2B c0951c85a3916c29e8e7391408da09abd86898a42159bfd7e637410ecf3e3a3f266a33edb5eb5ad458be92cf1fc7741eb249a512fe817a73a13207e216e0c0d2 SHA512 eee7528a69d5c745981efc90f571542047a5e6b4f1b391ad5341460035da5feffdfc4c38229134d23513239ccb33dcbc95354559e45746f1f6665541c60d0ca7
|
||||
DIST fpc-3.0.4.source.tar.gz 40347617 BLAKE2B 0764c92cc379d6e70a3f33368d96244ea0203b3395a5dbcadebe6ef51b508cbc7c112f9bc7bce69ae6dae1fde03bc9e45a1a8ad70ca154cc4dd51bc93cab82f9 SHA512 fc64fd94c39f220bd7531126d6281fa2141aed61c218595a7906a025660b46629a305ff7eb023f5e1359eafdec2dba69aa5405f1bbc3c1182414968689cbb52e
|
||||
DIST fpc-3.0.4.x86_64-linux.tar 56842240 BLAKE2B fda488466f409d4f50501ad17edcce2740f0a7e60ac86bbfec235ccc27c619d62d2aab01aa7878ba3e174c35fd46aab98e43eda4528e98fdf3e098330eea9b26 SHA512 085110d0fade11c4e6e79c002522080eb070cebb8ebbed48ca35e3a2dc025df678516e36c7cba5f951e20c0da57dd261d673dda6839ecdf5d88aa8dfe15a56e5
|
||||
DIST fpc-3.2.2-doc-html.tar.gz 5810672 BLAKE2B 5d2c0ce35024f58d35e59034d4c071ec58214874f31ef44b8f4ea8cb68636080b61dea9a5d0ccc8062814c0b2fe3bc5269e6584ae30fedb29dbb0709ce1b3103 SHA512 0bdefd25b9f46bb6684bb4dd8f60de796cbbf81049a7e8bac4cc4bc87dd6100a42ea05601cf1bb0254e8b73ddaf5d1bf186dbf1909f1ed7db7bdf97f50df7cdc
|
||||
DIST fpc-3.2.2.aarch64-linux.tar 137943040 BLAKE2B 1f2b3ff35d33419bd60a65bee8e20264a7970e515e0d8239dc51bd415b9a4fc580b7d3bd7fcd2a6964f78669e9dda13d1349281116004d582236a4f314dc6935 SHA512 8a52c53cd167af39222296db7c91aadf0b5d845272833a961c5db0c7d2d4cb5e61f41f71e0989c193dc2923770440b19d7d3d71de65291d0a3e0a15edc793316
|
||||
DIST fpc-3.2.2.i386-linux.tar 85043200 BLAKE2B 9e2fae2d272c79cc7fcf4d062589bd888c342ccfb01e3f14e412bc58ff6b04928c6a7a0a4b3392b30f0864f16029d063632bd72bd9cac55e0a40a00fb726ef93 SHA512 b4f1a94d1a05901f4ffc2e07519e9b03666850211e571cbce33f0ba16d8a1d88de256c8e111579f46d56f157630dfc722a8ae9ce2b200fc784c588ea4e6bd5df
|
||||
DIST fpc-3.2.2.source.tar.gz 52240052 BLAKE2B e30cf1b10c4cafd0ae2a25673678213669c29dec0549f4d7b357011e84a0a2c8ecf343cb6443798e6c36c02ae97a0c7cae7ca24829510c552968d4a58426576f SHA512 6d320b4e0805d63c40d3037f9d2078068c2c9fcdeb6ac073a6fcc19249bd6325dc542fcc7fc6dbb7e69507dcd84cf9e720e7d73925afe955e2a24e8c7d92606a
|
||||
DIST fpc-3.2.2.x86_64-linux.tar 86978560 BLAKE2B 29cac8c0da4ba65cee6a0e0cd3c111202c8943ca61a02c5dfeaeb174c353db6fc07e291794ef7433f9fdf88ed694260e734bc715567c6a12292b0c8524d17f4e SHA512 534df830a951824525044479ded23ef1e61b104c0dd65c837ad0d8d9ced9eb7349925a3f759756aa95ae17e567d8b1cd5c7e2092d3c665eaac578845b48aa467
|
||||
DIST fpcbuild-3.0.4.tar.gz 68908523 BLAKE2B b5c3936cf0b803aa2cc71f9c25ded470f207c540a1691cf3c2a9876c9e4eefd5c04f45b9f1f3ca17917b14ba4a90e0f16cc890b27024ff225d9d6bb25649862b SHA512 eedfeb4d25b3f4cb30ae9c8f30e0fec2405ef806fa565933cef7904d512f781730e3f023aea2f908c21250e3ced4f74fa780abad77b560728a88cedf591505b6
|
||||
DIST fpcbuild-3.2.2.tar.gz 84195619 BLAKE2B 88848308c93f949b59197649cc344498082b6520e43eb1d4413bf68eb251fcab75c863794a188a2298d9e8aba47346253a596ac630b30049ac8bd6f6934aa5a2 SHA512 75889bb54adc70a6e2cbd291476b9b12d61c8f943a05b7d16d2024de3215c935465ff43b1400c412e128e260c7f49a9c66e35c21f86cb866e671b5b60a282d82
|
||||
EBUILD fpc-3.0.4.ebuild 4462 BLAKE2B be022df7469922721d72f3e859b87ef9f265e5523105f7534bc590670b9ac416cf3e3d4f425f2804bc914bfa31f11911728fd74dce36afc76c1de0f0fa865f80 SHA512 0a1636056da7eb640123aa11a9f77f26a438f302c6dc6de18d5c9156c737dc2d8ab035b4e17636078ac5b122eac1850f8d7ab42e556cadd0af6f41e4eadd2adc
|
||||
EBUILD fpc-3.2.2.ebuild 4666 BLAKE2B 06aaf8875f7abd3d017245cd25f2e36e58b95d19afe0cfb8c64be5df4d1aea1df73b438b508be4bd7991739fcca06e0b772ed664dacfc94ed18b4082a9ed8b05 SHA512 f58deae3e635c8f2ddf7a8ed5449f6445a34e87769d6b613c858e3e3f9955ea89d3a7a1df651989390ee601e20b273272385d25777b492a83abc5c1b18f112e7
|
||||
MISC metadata.xml 386 BLAKE2B dbaae2622365b59e14a6e0daace220a41d2038d93d861045245f3b688edf0467044cfb4672be9e286466044647efb3edbf0cbfa79270b0cd35bd8a6575b642a5 SHA512 cec11361b6248b0a3c5a26fb8de7ba99517a193e6add2c4d6cda0213421f8f9d4f63465f65f1fefba293b0f49a8e452e8de3ca06be8a99b5a203f48e01b742bf
|
||||
MISC metadata.xml 298 BLAKE2B e94ba4996896978884c27b92ccfc962c1ed291d2f2e6bfc2744b43438b22097835a21a95beaa6c3e56220522e371710c0d10e6b679b99856bc412f15eb511f30 SHA512 1aa916665f37b7c3ced22d218cab65bf3fbf3c29caa2d51c9350eeb5b06f16ccf226b4b76b3177cff2dbe47c8e575f4bdfc9fb6164eb89aaf466193a636fd7d4
|
||||
|
@ -1,165 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit prefix toolchain-funcs
|
||||
|
||||
HOMEPAGE="https://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
mirror://sourceforge/freepascal/fpc-${PV}.source.tar.gz
|
||||
amd64? ( mirror://sourceforge/freepascal/${P}.x86_64-linux.tar )
|
||||
x86? ( mirror://sourceforge/freepascal/${P}.i386-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> ${P}-doc-html.tar.gz )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="doc ide source"
|
||||
|
||||
RDEPEND="ide? ( !dev-lang/fpc-ide )"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S=${WORKDIR}/fpcbuild-${PV}/fpcsrc
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
# Bug 475210
|
||||
if $(tc-getLD) --version | grep -q "GNU gold"; then
|
||||
eerror "fpc does not function correctly when built with the gold linker."
|
||||
eerror "Please select the bfd linker with binutils-config."
|
||||
die "GNU gold detected"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=${PV} ;;
|
||||
x86) FPC_ARCH="i386" PV_BIN=${PV} ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A}
|
||||
|
||||
tar -xf ${PN}-${PV_BIN}.${FPC_ARCH}-linux/binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
|
||||
# let the pkg manager compress man files
|
||||
sed -i '/find man.* gzip /d' "${WORKDIR}"/fpcbuild-${PV}/install/man/Makefile || die
|
||||
|
||||
# make the compiled binary check for fpc.cfg under the prefixed /etc/ path
|
||||
hprefixify "${WORKDIR}"/fpcbuild-${PV}/fpcsrc/compiler/options.pas
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x64" FPC_PARCH="x86_64" ;;
|
||||
x86) FPC_ARCH="386" FPC_PARCH="i386" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle AS="$(tc-getAS)"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new AS="$(tc-getAS)" compiler_cycle
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)" rtl_clean
|
||||
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)" rtl packages_all utils
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
#fpcbuild-3.0.0/utils/fpcm/fpcmake
|
||||
#${WORKDIR}/${PN}build-${PV}/utils/fpcm/fpcmake"
|
||||
#fpcbuild-3.0.0/fpcsrc/utils/fpcm/bin/x86_64-linux/fpcmake
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/bin/${FPC_PARCH}-linux/fpcmake" \
|
||||
INSTALL_PREFIX="${ED}"/usr \
|
||||
INSTALL_DOCDIR="${ED}"/usr/share/doc/${PF} \
|
||||
INSTALL_MANDIR="${ED}"/usr/share/man \
|
||||
INSTALL_SOURCEDIR="${ED}"/usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install utils_install
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc || die
|
||||
emake -j1 "$@" installdoc
|
||||
|
||||
cd "${S}"/../install/man || die
|
||||
emake -j1 "$@" installman
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../doc || die
|
||||
dodoc -r *
|
||||
fi
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 "$@" install
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}" || die
|
||||
shift
|
||||
emake -j1 PP="${ED}"/usr/bin/ppc${FPC_ARCH} "$@" sourceinstall
|
||||
find "${ED}"/usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${ED}"/usr/lib/fpc/${PV}/samplecfg "${ED}"/usr/lib/fpc/${PV} "${ED}"/etc || die
|
||||
|
||||
# set correct (prefixed) path for e.g. unit files
|
||||
sed -i "s:${ED}:${EPREFIX}:g" "${ED}"/etc/fpc.cfg || die
|
||||
|
||||
if use ide ; then
|
||||
sed -e "s:${ED}::g" \
|
||||
-i "${ED}"/etc/fppkg.cfg \
|
||||
-i "${ED}"/etc/fppkg/* \
|
||||
-i "${ED}"/usr/lib/fpc/${PV}/ide/text/fp*.cfg \
|
||||
|| die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/lib/fpc/lexyacc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] && use ide; then
|
||||
einfo "To read the documentation in the fpc IDE, enable the doc USE flag"
|
||||
fi
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
AUX 70lfe-gentoo.el 166 BLAKE2B 023b504e013f24662bded660def58f013ca9b34bc9ee73a137df54e48825e71f3a7322652e7cb8fd60e19b2a508180e1933c6f03be163d4a614fecfb6b41d96a SHA512 a15c3db1640229eaa2c1faa44f7765a53fdde29af78f8a9130c3b8893098cbc41a3cb322402ac5b9b0ca8373739b03723acdc3685d83724fafa6afaee0c25891
|
||||
DIST lfe-1.1.1.zip 386864 BLAKE2B d966e483c0490d7c6e48ae53819a0f1f30ea0edd7dcc6c7c3fe82c79ed0e4013d66dde4e74d4369e72fc46076723612f00ccb8d33d912d46dfdbf8e38940f72b SHA512 8660716a73126615bd0cde161a780cc49ba57718afd820dbe891da5e1d9ec2f52cc1864159dcedba1c674ccfef42b9662ec8e0bbfe82c10798527ae0979b8f8e
|
||||
DIST lfe-1.3.0_p20210112.zip 447903 BLAKE2B bc63fd7f988abba77e7f4baef906c2fd4370e1aeb2bc04b019d429586cbcb91792ac0f65a3d29a904997d2488a2540411c38e904c0208e2183a8f0f8362f7c36 SHA512 ee178436ca8aea1f1001e5f679a366414229f584cc0e0a38d9749b7cb49d7378a3f8681dcb8c1d5c61e4f498aa31c575a791fe21337b3079a11b623ada363de9
|
||||
DIST lfe-2.0.tar.gz 351324 BLAKE2B 811bd310cf917f3e1dc456c9e7c5cd09f5099a2ab20d2bde60e2057eb94ee9125298866b01ef9b483fdaef8572cb487c0a760407c79774e915fdd2c7c129d796 SHA512 b615f28947febe034b1bd155e6c357211ebbdb63aef67645a9681a4a30b799c2019a79ab8f33cd5d3003ad5da83e10af6b3e5c1abe810def92c88812d58c0d04
|
||||
EBUILD lfe-1.1.1.ebuild 754 BLAKE2B da0fd9924571e0cc62f2ee927eb26373eaec47ae1f5305930f2ba073287c19931de5839845bdba3e07ea7ab22030451425882a2bbc40aac7cfc97d4065d562d4 SHA512 77a131455692ceefb6310ace009525eeac0469f8105b16885e1a7a6bb8af2386104391774d44ce23d2d6ee9aa6635a882a1fe9ceaecc00da4ee312e3061e3741
|
||||
EBUILD lfe-1.3.0_p20210112.ebuild 1478 BLAKE2B 703a9fcac2af8303587052a4adc18ec9757f3b0cb08ccf744b0d8ae43d94e46dd1ba24eea0c51c3abf1c55c72288ec44e1153daf9aae5883fecbe09733ae7f57 SHA512 4fc4fe399ca2974216c4c79eb248c670e7c29f3a51170c46907ad35d99dc28a3ee5627890ce4eb15d05898e9f07fae7015558ab6be57f4921e314603a7895142
|
||||
EBUILD lfe-2.0.ebuild 1395 BLAKE2B a5aaa1651bb6ed497878c72d1defa3d8038007a3094912c8a9225fdea6348d44d8a30939d01625daaab741f530e6fca20465d5b8d5b9973ef909297ff38d35f0 SHA512 7ea89b2be62b645276692ce3762a18c2154a8805d784324b1a151879cacb5734e847c8489fb2141885a9a6e2a50f60d1674494b00623818d959776757448a70b
|
||||
MISC metadata.xml 589 BLAKE2B 94dca142b926d73c55b24cf6976002b20a938f93ee49cf143d57284b936248c757daf32a80b4ef431a1a54287b618c83c48500db9a7ff330ec794a0d79b90498 SHA512 d34f128e89a8032b69060bba0630dc206604cd694b9d47e50763128f1dbb16fea9f7e9a8902d8f19f55ca26569c6aa89bd560a78a4b861b6cbe1366460cc8c0b
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Lisp-flavoured Erlang"
|
||||
HOMEPAGE="http://lfe.github.io/"
|
||||
SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/erlang"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
export PATH="${S}/bin:$PATH"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/lfe
|
||||
dobin bin/lfec
|
||||
dobin bin/lfescript
|
||||
dodir /usr/$(get_libdir)/erlang/lib/lfe/ebin/
|
||||
dodir /usr/$(get_libdir)/erlang/lib/lfe/emacs/
|
||||
cp -R "${S}/ebin" "${D}/usr/$(get_libdir)/erlang/lib/lfe/"
|
||||
cp -R "${S}/emacs" "${D}/usr/$(get_libdir)/erlang/lib/lfe/"
|
||||
}
|
@ -0,0 +1,745 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit flag-o-matic systemd autotools
|
||||
|
||||
MY_PV=${PV/_rc/RC}
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
SRC_URI="https://www.php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl argon2 bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage +ctype curl debug
|
||||
enchant exif ffi +fileinfo +filter firebird
|
||||
+flatfile ftp gd gdbm gmp +iconv imap inifile
|
||||
intl iodbc ipv6 +jit +json kerberos ldap ldap-sasl libedit lmdb
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline selinux +session session-mm sharedmem
|
||||
+simplexml snmp soap sockets sodium spell sqlite ssl
|
||||
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
# The Oracle instant client provides its own incompatible ldap library.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
!cli? ( ?? ( readline libedit ) )
|
||||
truetype? ( gd zlib )
|
||||
webp? ( gd zlib )
|
||||
cjk? ( gd zlib )
|
||||
exif? ( gd zlib )
|
||||
xpm? ( gd zlib )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
xmlrpc? ( xml iconv )
|
||||
xmlreader? ( xml )
|
||||
xmlwriter? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
oci8-instant-client? ( !ldap )
|
||||
qdbm? ( !gdbm )
|
||||
session-mm? ( session !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
firebird? ( pdo )
|
||||
mssql? ( pdo )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre2-10.30[jit?,unicode]
|
||||
fpm? ( acl? ( sys-apps/acl ) )
|
||||
apache2? ( www-servers/apache[apache2_modules_unixd(+),threads=] )
|
||||
argon2? ( app-crypt/argon2:= )
|
||||
berkdb? ( || ( sys-libs/db:5.3 sys-libs/db:4.8 ) )
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
coverage? ( dev-util/lcov )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( <app-text/enchant-2.0:0 )
|
||||
ffi? ( >=dev-libs/libffi-3.0.11:= )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl )
|
||||
libedit? ( dev-libs/libedit )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
|
||||
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
session-mm? ( dev-libs/mm )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
sodium? ( dev-libs/libsodium:=[-minimal] )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1:0= )
|
||||
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
truetype? ( =media-libs/freetype-2* )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
xml? ( >=dev-libs/libxml2-2.7.6 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xslt? ( dev-libs/libxslt )
|
||||
zip? ( >=dev-libs/libzip-1.2.0:= )
|
||||
zlib? ( >=sys-libs/zlib-1.2.0.4:0= )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
# Bison isn't actually needed when building from a release tarball
|
||||
# However, the configure script will warn if it's absent or if you
|
||||
# have an incompatible version installed. See bug 593278.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PHP_MV="$(ver_cut 1)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/php-iodbc-header-location.patch
|
||||
)
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "../ext/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
|
||||
# Emulate buildconf to support cross-compilation
|
||||
rm -fr aclocal.m4 autom4te.cache config.cache \
|
||||
configure main/php_config.h.in || die
|
||||
eautoconf --force
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
|
||||
$(use_enable bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype)
|
||||
$(use_with curl)
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant)
|
||||
$(use_enable exif)
|
||||
$(use_with ffi)
|
||||
$(use_enable fileinfo)
|
||||
$(use_enable filter)
|
||||
$(use_enable ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || use elibc_FreeBSD || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable json)
|
||||
$(use_with kerberos)
|
||||
$(use_with xml libxml)
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with ssl openssl)
|
||||
$(use_enable pcntl)
|
||||
$(use_enable phar)
|
||||
$(use_enable pdo)
|
||||
$(use_enable opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_enable simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap)
|
||||
$(use_enable sockets)
|
||||
$(use_with sodium)
|
||||
$(use_with sqlite sqlite3)
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer)
|
||||
$(use_enable xml)
|
||||
$(use_enable xmlreader)
|
||||
$(use_enable xmlwriter)
|
||||
$(use_with xmlrpc)
|
||||
$(use_with xslt xsl)
|
||||
$(use_with zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm || use lmdb || use tokyocabinet ; then
|
||||
our_conf+=( "--enable-dba" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
|
||||
$(use_with lmdb lmdb "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype)
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg)
|
||||
$(use_with xpm)
|
||||
$(use_with webp)
|
||||
)
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_enable gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl)
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc && use iodbc ; then
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--with-iodbc
|
||||
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
|
||||
)
|
||||
elif use odbc ; then
|
||||
our_conf+=(
|
||||
--with-unixODBC="${EPREFIX}/usr"
|
||||
--without-iodbc
|
||||
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
)
|
||||
else
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--without-iodbc
|
||||
--without-pdo-odbc
|
||||
)
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite)
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit)
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-external-pcre affects ext/pcre
|
||||
our_conf+=(
|
||||
--with-external-pcre
|
||||
$(use_with jit pcre-jit)
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
local one_sapi
|
||||
local sapi
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
if [[ "fpm" == "${sapi}" ]] ; then
|
||||
sapi_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_with systemd fpm-systemd)
|
||||
)
|
||||
fi
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
local sapi
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi="", sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
# Install the "phar" archive utility.
|
||||
if use phar ; then
|
||||
emake INSTALL_ROOT="${D}" install-pharcmd
|
||||
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
|
||||
fi
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "..${dest#/usr}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
local m
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
Binary file not shown.
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
MY_PN="${PN/intel-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
|
||||
HOMEPAGE="https://github.com/intel/compute-runtime"
|
||||
SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+l0 +vaapi"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libnl:3
|
||||
dev-libs/libxml2:2
|
||||
>=dev-util/intel-graphics-compiler-1.0.8744
|
||||
>=dev-util/intel-graphics-system-controller-0.2.4
|
||||
>=media-libs/gmmlib-21.2.1
|
||||
>=virtual/opencl-3
|
||||
l0? ( >=dev-libs/level-zero-1.5.4 )
|
||||
vaapi? (
|
||||
x11-libs/libdrm[video_cards_intel]
|
||||
x11-libs/libva
|
||||
)
|
||||
"
|
||||
|
||||
# for Khronos OpenGL headers
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
media-libs/mesa
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( "README.md" "FAQ.md" )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-21.31.20514-no_Werror.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WITH_L0="$(usex l0)"
|
||||
-DDISABLE_LIBVA="$(usex !vaapi)"
|
||||
-DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
|
||||
-DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
|
||||
|
||||
# If enabled, tests are automatically run during
|
||||
# the compile phase and we cannot run them because
|
||||
# they require permissions to access the hardware.
|
||||
-DSKIP_UNIT_TESTS="ON"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST libatomic_ops-7.6.10.tar.gz 503734 BLAKE2B 5ee4adc3b2e9afe22d52a4b390927f79dfce139e9975c75aedd379fcbb34a1f0de82ca98ddc58a386e193080ba75eb1b6161bea75b62b8f3b4941979248290af SHA512 4661445503ef4303e873559af319ad799a7eddad3df45ad602cf338c594a642ad4333a36fa91722f0d8c48acd38bbf45c60a468c7375d14824520a83c1109ec9
|
||||
DIST libatomic_ops-7.6.12.tar.gz 506313 BLAKE2B 8f80773390479a36e06447594c8558ed337eef5b18ae0b0779722647dcde49b61b23e656acbc935714245d80e40c5cde1c164f0524a97dcc53972051d5891239 SHA512 bbf98a38a80c8fe6b7eab773967edc55b8d48be32b36ed827fb835ee3dcd96d5ec1dc97149714e015e93a0a5b9fc03595797663fdb5a0f673869ea8bfe640df5
|
||||
EBUILD libatomic_ops-7.6.10.ebuild 738 BLAKE2B fecc2d908f130bb635c358cb321a292bbc64ff11faef11c4c8c692cace88100caedd49f4101d6e30e35dcfd5d88c7ae1988975e47aef1afbfa3392c2eabcea33 SHA512 2a1c470638fd5306e70154c391ae17aeefdcd4f504fbe079a7d2a79c2575ea819a8f506cafe0f449685f1875c4d2378a741da2f160c7f5e59d1c09851d13a5f2
|
||||
EBUILD libatomic_ops-7.6.12.ebuild 746 BLAKE2B 5c04c0a6bb2980bb3e21a6eaa756bae67d6de162fd5c11bf196502679fa98b3f4df771fe2f13da8418d590b7cea6ab6fbba13ef869ba6086a69009d2344e5a23 SHA512 cea307aabf960f173e5260dba15b033fbf02b84e3a034161ac00e344b4cdbabed6322e9f1efd3410599f2b4253bc8f58e4febb0b0d9b680f42d09c327b97bda9
|
||||
EBUILD libatomic_ops-7.6.12.ebuild 743 BLAKE2B 36d4efc547b8251511e9c75f71f676cb0b2551662f6c4cb29734d53fd895ec959733af3fca16fdc03d4dc3a3fc32d3842c098e7f732715da82e455921e28e0d6 SHA512 1cde53e337f22ad19328fad0c6945e1f17083557a4e85537651e1d1fefc094e10efd8ac75bd764df70cac51d10cde61e2325ecdb76c8f27401d68126549f123c
|
||||
MISC metadata.xml 476 BLAKE2B ebb64fe1d7008e89803b62789927ba37fcbafddb2758c0dbd26590335466cc3e35515e1a00cb3331db03041ca28354641b9fc3f37d29a4cc8bfb53507bb3d81c SHA512 28c2f2d8c5abcf72abd825be52584ca2c9e08674caddd28333e90ebfd3bae4f8d52100f2b887efdb0ccf6eff6314dcbf99282589db0c6dca7dd9a91dd5a0d066
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST libvterm-neovim-0.0_pre20150309.tar.xz 52244 BLAKE2B e4791789b2373e9cad4796d0567dd87f347f5b83b293a996d155f163602d10a3d9326d5f0b1417cd46c5b26532064f2d90b1401002413d44e81f895038bef8ac SHA512 916bf1806f6c88b64debb19a119010e6e3ef968e289ab921ebf7a5ed2d98f52881379792bc9c8826bba546da0f65cb6154d9743bb89a614ac4e12d24167a1fb4
|
||||
DIST libvterm-neovim-0.0_pre20150621.tar.xz 52240 BLAKE2B 040c2510356a03c4b5b98197a2353285e23025fb8377396fafd4dce3b1afdf0d969e067317f5eb08878fbe69cca601ac85c8dc6cc51416f58e0611100bd54f5d SHA512 e6fe678da5498177d7fbd0cd945600b643f7cd76ff9ed00f3ac7923be55793765429a2f2da5fba4055dfaa4b7200c28a021f3672ce7ae16b99e58738e5093fd8
|
||||
EBUILD libvterm-neovim-0.0_pre20150309.ebuild 725 BLAKE2B a1ed1ef6c91432f303f0ece05e99401f18918a90e4f274ba12cf1edee36d44d4f4648272114cb244874d5a39f58a0fd2dfe287217beaf63fe7046e5aa596224b SHA512 63bf094966f02ede7f909c4cef0d987453d107fd3552652d33c0e504a19951b1ba94c9a9eef267192918161b6d340dc91734906c8fb8cb61369f75d327f2afe8
|
||||
EBUILD libvterm-neovim-0.0_pre20150621.ebuild 725 BLAKE2B a1ed1ef6c91432f303f0ece05e99401f18918a90e4f274ba12cf1edee36d44d4f4648272114cb244874d5a39f58a0fd2dfe287217beaf63fe7046e5aa596224b SHA512 63bf094966f02ede7f909c4cef0d987453d107fd3552652d33c0e504a19951b1ba94c9a9eef267192918161b6d340dc91734906c8fb8cb61369f75d327f2afe8
|
||||
EBUILD libvterm-neovim-0.0_pre20150621.ebuild 735 BLAKE2B bf581ece4bcdbf5ddc51267b602c1b08d5af35d9cd2d90c9d63e543ae08cf01fa1802e29cbe8226914302bd4433f6d52bc7e0773e00366fc348c5831c607f1f6 SHA512 ee569a31ca412770df084c109c4694d26841ac26b216dec06249d12a2b82a789ff11d120a32e14d07721816b3c1aeee35c735b6f2fc7b1f16c3acb07758151e3
|
||||
MISC metadata.xml 256 BLAKE2B a2cc41acd036354767d8637d65524b95dd6a79ae0126f7e6ba61abd53bf681cc4b7eb8f06c2842be9a634ef4b6820aa20bf7931debb508b2e819706665dd6eef SHA512 bd920ac1d3d1ac26afc3685652533d93bed59162ce9acab9f44cf4548f75ebcec2a1713f0f596a1d3e08a06a72fa27c56331a19321eeae5bce74e8a10a79ae70
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
|
||||
HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
|
||||
SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-devel/libtool
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
append-cflags -fPIC
|
||||
emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
DESTDIR="${D}" install
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
dodoc doc/*
|
||||
}
|
@ -0,0 +1,279 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs multilib-minimal
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0/1.1" # .so version of libssl/libcrypto
|
||||
[[ "${PV}" = *_pre* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
|
||||
IUSE="+asm elibc_musl rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-compression tls-heartbeat vanilla"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=app-misc/c_rehash-1.7-r1
|
||||
tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
sys-process/procps
|
||||
)"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.0j-parallel_install_fix.patch #671602
|
||||
"${FILESDIR}"/${PN}-1.1.1i-riscv32.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# force upgrade to prevent broken login, bug 696950
|
||||
RDEPEND+=" !<net-misc/openssh-8.0_p1-r3"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
# must check in pkg_setup; sysctl don't work with userpriv!
|
||||
if use test && use sctp; then
|
||||
# test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel"
|
||||
# if sctp.auth_enable is not enabled.
|
||||
local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null)
|
||||
if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]]; then
|
||||
die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||
chmod a+rx gentoo.config || die
|
||||
|
||||
# keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]] ; then
|
||||
[[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}"
|
||||
fi
|
||||
fi
|
||||
|
||||
eapply_user #332661
|
||||
|
||||
if use test && use sctp && has network-sandbox ${FEATURES}; then
|
||||
ebegin "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox"
|
||||
rm test/recipes/80-test_ssl_new.t || die
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
# Make DOCDIR Gentoo compliant
|
||||
sed -i \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
-e "/^DOCDIR/s@\$(BASENAME)@&-${PVR}@" \
|
||||
Configurations/unix-Makefile.tmpl \
|
||||
|| die
|
||||
|
||||
# quiet out unknown driver argument warnings since openssl
|
||||
# doesn't have well-split CFLAGS and we're making it even worse
|
||||
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||
|
||||
# Prefixify Configure shebang (#141906)
|
||||
sed \
|
||||
-e "1s,/usr/bin/env,${EPREFIX}&," \
|
||||
-i Configure || die
|
||||
# Remove test target when FEATURES=test isn't set
|
||||
if ! use test ; then
|
||||
sed \
|
||||
-e '/^$config{dirs}/s@ "test",@@' \
|
||||
-i Configure || die
|
||||
fi
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
# "disable-deprecated" option breaks too many consumers.
|
||||
# Don't set it without thorough revdeps testing.
|
||||
# Make sure user flags don't get added *yet* to avoid duplicated
|
||||
# flags.
|
||||
CFLAGS= LDFLAGS= echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
enable-ec \
|
||||
enable-ec2m \
|
||||
enable-sm2 \
|
||||
enable-srp \
|
||||
$(use elibc_musl && echo "no-async") \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
enable-rc5 \
|
||||
$(use_ssl sslv3 ssl3) \
|
||||
$(use_ssl sslv3 ssl3-method) \
|
||||
$(use_ssl asm) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl sctp) \
|
||||
$(use_ssl tls-compression zlib) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local DEFAULT_CFLAGS=$(grep ^CFLAGS= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAGS=::' \
|
||||
-e 's:\(^\| \)-fomit-frame-pointer::g' \
|
||||
-e 's:\(^\| \)-O[^ ]*::g' \
|
||||
-e 's:\(^\| \)-march=[^ ]*::g' \
|
||||
-e 's:\(^\| \)-mcpu=[^ ]*::g' \
|
||||
-e 's:\(^\| \)-m[^ ]*::g' \
|
||||
-e 's:^ *::' \
|
||||
-e 's: *$::' \
|
||||
-e 's: \+: :g' \
|
||||
-e 's:\\:\\\\:g'
|
||||
)
|
||||
|
||||
# Now insert clean default flags with user flags
|
||||
sed -i \
|
||||
-e "/^CFLAGS=/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
|
||||
-e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# We need to create $ED/usr on our own to avoid a race condition #665130
|
||||
if [[ ! -d "${ED}/usr" ]]; then
|
||||
# We can only create this directory once
|
||||
mkdir "${ED}"/usr || die
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
if ! use static-libs; then
|
||||
rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# openssl installs perl version of c_rehash by default, but
|
||||
# we provide a shell version via app-misc/c_rehash
|
||||
rm "${ED}"/usr/bin/c_rehash || die
|
||||
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/${PN}-c-indent.el
|
||||
|
||||
# create the certs directory
|
||||
keepdir ${SSL_CNF_DIR}/certs
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man || die
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
# We don't want to "|| die" here
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch 7018 BLAKE2B 58b6adac6c8d7fa6e5b7aa5592fa395dbbfab006bf427a6da3a119d2b221946166133c64573c1fda32d9e806a92ab9ebe0e0430b25e2938a7e72c1a8fdd879b5 SHA512 8a56a800496a427448a82c5a3051dc85ace049f7e4c78859a44f62e30c218c28e31dd24bfc2a9ec9cb7f64e14933982f26181792771c54c3e684be738206a310
|
||||
AUX Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch 2854 BLAKE2B 7aeb7a91b974b7117d278e74cb68a8525fb43f3169158388ef1ae79dda75178b6fd1d798921ba2677f99671b0bb690432b3627426bf71732318017a7bfd307c3 SHA512 1a32525d51959e0fd28d0504996f536cec7eb5b54a23cf657ffecc03a13c533e270926c95546a1a0197dceda1809d7440d594d7d6e345fb422644825b735d3ff
|
||||
DIST Crypt-OpenSSL-RSA-0.31.tar.gz 25856 BLAKE2B 172d48cd6cc0f3df2c1c1684897d8ee376663cb366a1e28c13e4af603b2b985d542f83284112be5e4717a3a13a512926b4413b5a8f08f7ed613cd9929683cce9 SHA512 e00d25fc1d39253ea2d7d6ee478403d2b38bd9125602baf5815672fb9e81674ff58bbb47539e425526db1988ebc1a40837372cf42ffd466cb532efa2e450ccab
|
||||
DIST Crypt-OpenSSL-RSA-0.32.tar.gz 24805 BLAKE2B 419b6a2e778fa10a6d68a6932d0b816f1c8ea4db0cd283efef4a4e684ea3468bd1133ce8825b388d1e3a4b4a990253aa44af892e4f89d71b46917f0cd7cb1fbb SHA512 2972611a8fa4e9c44fd09c9e7fa32f0abd377230f14dcdfa99edab87bba2199c6a0cab4d1e08bdf3057959c0efd3343eb989e46f4befd572b15540e59f1e3c64
|
||||
EBUILD Crypt-OpenSSL-RSA-0.310.0.ebuild 846 BLAKE2B c8940ee931f45736cf7d158154cdde4c76a6c64474f3183bb8cb39dd1164032dfa8d1e73d43b1ad666865a07135842de49b6d4930f9fbff83ad1867a7f437653 SHA512 be73ffbc70a235ab89d273908709fbee87158c49406f958af453e81264f9911eee067621700e3dd5d0193c7b9357942188a790ae73ddb995c03969f4ba3c0b35
|
||||
EBUILD Crypt-OpenSSL-RSA-0.320.0.ebuild 735 BLAKE2B 4aea07f241bbd1f28487e6c580fc8f86042eaf9ec965ea30c19ef47b312d5d8e6dc42bb7350a059dc4e51f293552cb7ab0705ee00c40c34258eb0b4eef77730c SHA512 9f31ee283b32efbb2c51dbc275ffcfaea0398fed334fc8e5e5ca25677900c60f4d1e6497aa17e7e518352f0ba185d646178073092413ae7efbffe8a4af584951
|
||||
EBUILD Crypt-OpenSSL-RSA-0.320.0.ebuild 788 BLAKE2B aba072afec4d4412db454ce62e0da196d6329f58c1f38304dab2a76e6fd5bece40951cc2f280deff140429eab11a03b09f8ce3a47e0c1add9cbda122cc1796eb SHA512 a37f91a0c1ba33ced25c067c5876b442730006a2ab316c56151df2fe20a3d156b47d904b8020d07fc9dbab89da7b5dce8e1e927cbf13a2a69979981d2fdcf4cb
|
||||
MISC metadata.xml 408 BLAKE2B 73d573041ec5bc601cc948584974012395ff1fb07b74c062266dc356b435b5f57e010a0ad86163f38ff64ed800bfb47ea250de1b82e618ac42d3317e5ea2a3ee SHA512 f59c8e6ab19bf9c047ca6df9c8e8403182117f51add298e9f6a37983fa27a54365f42c7898752bc86800ec2c5016e353458406256d77a7c7373284acf5e9b55b
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue