parent
6e0b5545d1
commit
283f942b9c
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29287 BLAKE2B 0ffd926679bcdfe20fa56fd6f39e4fd435774825cdfe4a9e5382572aa46d05af3c67f0a9ab55ca0e0475f9f8b7398b175d41bfbd42cc6e438bf141e493fa3e5a SHA512 a42faf59a52cc31fd198809f6337b9ba955abc2526c899492a45e72776d0c9889e38353d8b172ad0167810f1075dfcee4de3017c7ce446b469dcf19377e0da59
|
||||
TIMESTAMP 2023-10-02T21:40:07Z
|
||||
MANIFEST Manifest.files.gz 29304 BLAKE2B b4a320f404834c33a7b74f9783c67f78898646c7f1889e5d278cf2a5f236cb33b84ef61c5b2a4ef082f2c7642667e8c2bccdf16bd14684d0b6660b46680be542 SHA512 6e5b792700b9beaea22cf820d410de1095c616bd34cb467e8f75c2b6dfddf5861c17ecc61ea8dd76741d08cede15fbfa0c955a148620e6e737643aa6217e68b0
|
||||
TIMESTAMP 2023-10-03T20:10:10Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUbOLdfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUcdSJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klB0ZRAAkO3AdYKeiJYj/DjQTojW5KXAss/drtbsn+O+v1CPBmGzfy2J7W+FG4Wh
|
||||
a6lI4B3XGj/QTwwU61XcYhxQgJ5D1o5AaeQGLyEUsbbG8/6BB9j+xpJS8/pPxloP
|
||||
pCAljvE6FA4bwItC0DM3RYpMhQcS1PycNqt1VLHN9oVUdO2N0LQjAGg5iSJwCcxN
|
||||
NCMQNcdTNtOrTthMhBN6oumVMR6UOb/7sfCnbmOWUfcL6UQQdsTclEEudGQCd8+X
|
||||
buO0T7yfOAsTrm1xVoKjB8zKaotZZCz+I3tSXeMl8EKncTYPWiqPxZSF1CMIkr/c
|
||||
xXO7klzCcnvnQ8V67FZEi81+QR9DJFIMaz6XHdU+EDbga+UNFsoSs5q2l80zVX3F
|
||||
2MvppOZH5T7srKvzlX+Knco05F9h5Bmpz8odCHzv1QL04fDdNArEE2KQA9lPutrC
|
||||
lCiXBK1QE+6BKrqwhDzHNGzDpsSsiNCftU3IfiyT7+oWFu0xQIZMNiDOhM6uMRfX
|
||||
7ZvsyunJnmocgDrae3zCnepIw1pwBauopdjRWSVG+x2qLshyDAbnD8QXTyPOfAES
|
||||
Ca0V7j9DAS5ggMsJsDR2fksuw2imRy9voAWdUBNR2EG21XsuOlarbQSLdB6CjE40
|
||||
PchIG9F5uYwRQH9gnp3jJL+CCEaV/bsb7dkusf0mVF0Sm5ooh24=
|
||||
=AtbG
|
||||
klAOjBAAmKSRk5b3x0bTTYfjKGvKmhAlC9DZbiAd4Thn7+xdFHWWIsyvzZK5LKMT
|
||||
okfOolNf7O6/UIkOIL1VMHJxPrpeGbtdkmv39g4Aj+lK0HaYs7UVQGFpocXITxgL
|
||||
R/yVGfiPUTgj874g49flFso0GaBDMYoYgDfKRa8LfqgYUUGdjzRMAzNVZs7bZnP/
|
||||
tFGpU7j8fWvqkaAIxHuaEj03cZtT5ENdGIo2n4PqrpbSXA79tnnZTsqEg4rLqfDH
|
||||
DjkpQ99WxXJv3Nt/GPUEhQDqtnhvf1yFbQLCQ8HZfH5L4TDw1sZkW164+3b74TOh
|
||||
fOPMRxBKZYWfirpoaFK1HHx4ZQla5WhrtKoT1Qw6gjLJxg2EsIuJKdV+DnGb4Gvh
|
||||
Zvvm2OgoawWGHwC1q2a4GuCogOrmoYmEj3hrXn/zb7YHjHOD9fwDC8Wa+aG6UnzJ
|
||||
wGLtpynFqoYq5d6aAd8mcPnP/ED/GmHgz2nJ87hUKt4yodXGibWVrIa98KlP4pRT
|
||||
pnZhwqmGjDR8mTwryvLbsWDQC2I+bQayu9WswZQhAzVpZ7NhvK0+YGBtPOMBEIWM
|
||||
kliWoKsJSsm5ZCjbNXihlCD3ZG3A9ks8mtIHzaUOo+p8djXOJdgZfQqxNJ6cE/cD
|
||||
QbpWTKPHL2s+FucBMHpuR5fXFLbY0z/8ZNeOnJ4Q21D+nu4Jqmc=
|
||||
=0iLH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
AUX gentoo-apollo-fix.patch 633 BLAKE2B 79b528111af975c2b1c226d4df21f4982705546e025c0a85b7f720c0d15bf2592d9b12ddbee8238ec0ab891cc8096b57570f19826b03139f5c5f35bbf0238c45 SHA512 08c0ec7e0755efefbbecfc7efd376102b9333e4b2589bf9b97649481e0bf16d6b32caf917b229de15938d73beeae4d882fbe9d8bef7038f039b8924eba1af592
|
||||
DIST emacspeak-ss-1.9.1.tar.gz 49077 BLAKE2B 601e46d1d9160dfed6c90523dbf6bdd8ba8254de4246ba33c34d8afef842624c0c57886655e2ebf70dbc9a768e5eebdaccfd75fe11316742a0f3b506dce3aef0 SHA512 a95505a1eaa0b45732d6d8e7322fb75bebc59b876233ae07c5912f1582f0be29d3258dfd5659993ce4b03f72eb316469de95688dcefb7ec61b4ef328f2f50335
|
||||
EBUILD emacspeak-ss-1.9.1-r1.ebuild 670 BLAKE2B a5d1d163f215112e87242f8a60c29941b936fbd809777e61fecf7d54ec975bbd433b52c85a373f742af6c55d9859f48f6b65f10feef9af4a93af9e56012c23ed SHA512 1bfac679d435d6b75946fdbc727529fdd05f28395081ef5baf8a2a1a4650674fa2d9c9ad3eb14a2940996427836ae000de71d68b5320a80e2b226c36f2dbca2a
|
||||
EBUILD emacspeak-ss-1.9.1.ebuild 689 BLAKE2B 06da9cd61a4331f4259dd9ba18b0fec33119b44cfe9bc5de58ca60093b2cf5927e5cdb3aacd02456b9abd3c2eea73dca0b6270299860ea56e159582669f4c43a SHA512 2c0577d4a69c38f0c7cfeb1107b64c2d3eaa6dd72565c91cd392b48fa29bf3270562701ff10e77932e55d6f241dfa6e5df64b11cec0442549e8cede8c77f3086
|
||||
MISC metadata.xml 936 BLAKE2B d308185cc63e3d09003c83e3ed8845e8d9249ae1d90a3270c15040c0477194cce09d1e2ab3160b9517c3e04f9ff72c0c4218a668e1e1286d9f3221a96d66fac1 SHA512 f945f30015946029f7161c4f10e09e5395f00d48f80134af7212577869411929be7f094b8b09cfa9dccc6eccbf6993419eb72316a7418dee9d59f11a0e21f557
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="adds support for several speech synthesizers to emacspeak"
|
||||
HOMEPAGE="http://leb.net/blinux/"
|
||||
SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-accessibility/emacspeak-18"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gentoo-apollo-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}"/usr \
|
||||
man1dir="${D}"/usr/share/man/man1 \
|
||||
install
|
||||
dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README*
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
AUX sphinx2-0.6-as-needed.patch 776 BLAKE2B 831ae9cc8e1ed018eecb03f29c6dbe349b09d2ecaa6cdcd879613d372f437629d8e352b140c934a9f42c0192f34d29ebb81a2d74eb9b61948f926d510c9410f0 SHA512 2e4e48041e7eb79acd84a384943ebfbb0be17faab404b7d05b09d95ee5313730e6bd3026443ebe01bb79edb0c3bbcee3ec0b207978a1f0a30df4e0af54c11187
|
||||
DIST sphinx2-0.6.tar.gz 6883359 BLAKE2B 7e5da2f05d2ff92fd2c21a64c76954ff00104adcb81548ccfc19da4fc4995c59a494461f4343ae3b6799526d3f3f3a3c0051a6030af4cc9873d5cd5258fe30a6 SHA512 98e66cedf8a147aee7871df85ee45f58ab76637d26163cbb30ee9554638b503f52c9b14f4f3b64bbb49bb84282e399451a0f9a8622b6e7e545889773d72ba5d4
|
||||
EBUILD sphinx2-0.6-r1.ebuild 740 BLAKE2B c6f0dc00a6cb5c0c1fb377188a32c0f8e53f16688702b6bd931336ceef50a56dab9ce178e3836aaace47a251d62d573bcda5bc5c54f6eba17ae88da9d1d72f6f SHA512 46046038479917d1395c2eef2cf423fd69918538d3076b7e62387ce812f990b418e849b1cf2d0a98cd23a36b7c2f43cdbeeb7e5793ad4cf1499928ab0e211a79
|
||||
EBUILD sphinx2-0.6.ebuild 775 BLAKE2B 9877f763dd9faa02c50b6fd99227659ec784fa172eef252fc2617cf38e8ed358e81c4e2a91bea5b5cf3b4bff72c35e7cd5c9673945c48f9a178caab16adb9ad2 SHA512 f441017d91441a1b6225cb18c1127614e4b8351de95981b201398fb8ee7ccf777d492e3003759d901ad7b0089dd24975f9616c346ca844b39252febed6709afb
|
||||
MISC metadata.xml 463 BLAKE2B 609aa2916fccaea3a342fdd48ccb1f98b263100501a9b6be3202118f0f2b08e171588d0f943be6b4debc1673e5b2014c0be5aa6f1bc7537b8b53518700679e90 SHA512 f7e5925996715ddc26a8918c2bf1e48f125162f8a7ce606525e7b5e25e19cb12ecfbe9f9554129bfea5f55fa7bb67e7d5a56d0087f7e3d86a37dde532c76ab9b
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="CMU Speech Recognition-engine"
|
||||
HOMEPAGE="https://cmusphinx.github.io"
|
||||
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html )
|
||||
default
|
||||
dodoc doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}}
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ps_mem-3.14.tar.gz 18539 BLAKE2B 29046d2bcef7eafea72921440664ec40b235ddb45d068e1b2edbb40e8318b0245ec320dd6d3b96e3aad9dc2666dd8bdf88686e4bab5ccff832a4de30e4644a15 SHA512 53d9e87e6a35f48b013c7280a954fb95373668e30f41fe3e5a9d2af9b7fb9060f113a80ac5ee3af6e23370058ff3afc8b2c88c99e1666d8422e3c73dc848ee81
|
||||
EBUILD ps_mem-3.14-r1.ebuild 658 BLAKE2B f55215a0f78dd3ebe95cf62af7bcb6b8bc606858d37897f898fe0ca629d620b3256269ba8b516aff6411849fb15bb8ce03e6a7d7bfc9fb86b54baaf54271f314 SHA512 5156f545210929d8e73c6ea737426de6c6a904d0907229c5632e390a4e28ba589b0c8e267b668a598e1ce60072ede3141d0626fbed215dc813182725bdf2e138
|
||||
EBUILD ps_mem-3.14-r1.ebuild 665 BLAKE2B 498c712ac47a626d640e2ac9aee33370aea29c7b2f4f50baf23e22f6744a2c87e17a8fb7b73ff2d4460d607910309d31c4f8d6466f2d2fb0fcefde12dcfa0744 SHA512 91f1fc3efd5ac7c972cd119c7425683a3e291a6a4889e3487fe3229e4ee17e76bd865d04be7ec3587a4902bc6d15e97fb8e8a3579a3df197eed0267e5513882a
|
||||
MISC metadata.xml 316 BLAKE2B bbf16e534e768183ea26fa3e25202cc08b40e2a0c01380903de019963114bd95d144361124279c9ae2e74c3ad75eff5030c2bbdb66b9e51cc5fdefd8b488e274 SHA512 8ac1f79e0f242442d741c3b214c15e0563d8a41a211991eb67f6a2001a6448e078f525c1025bae79d42a129458e945aadbf10648425f6090fcc170d6e6559e88
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST ghex-44.2.tar.xz 897944 BLAKE2B 0db001b90390f7747792ac89a5daaf9d38165b72dce77c3a2fd41914a4386001b9f15aaf4352a3b41a204a9104a5234a6ac50a3a7269e10a151c000d57228480 SHA512 a06876e06488bb25b17fbdf17ea73e57f563fe49a414c173d680a6bf4db9b66b40fce90ad67cfb73c62f25d88f436a58b7e0fd588c7a664faf78c5058524cabf
|
||||
DIST ghex-45.beta.tar.xz 899044 BLAKE2B 4b37a882a6626c16349ac0671e1b049d9fdb166262cce0605bf84ba5d099354647fa61f380a18f217bf20f80570de64d946dec97a05bc47441ed641c847cc6b8 SHA512 5a35fe4449ffda75e587fb55d8ef641e054cb079b880c7750c00ceb61c207fbfee649b16a53c639c7108ced35efa0cfc2e092da3197dd6b5af116ec737e4c773
|
||||
EBUILD ghex-44.2.ebuild 1288 BLAKE2B 8ac8757709fd252e869b4e04f37ca0a3d6246925013a619e9f7cd5f46e03a1aad265331a73ebb6f1154c6a93b95e394b32a9ae2b089e1ff459ad88d50142010e SHA512 5cd15208030c234af09403ca9172a041d29d806811ebd9922717987d045e23b3fab54eca11cb9dcb6b74ed7a7083bf5c4a7287e940fa437993c8ff162984c5d6
|
||||
EBUILD ghex-45_beta.ebuild 1292 BLAKE2B 590d545410f8eb1b863116b393a029c94233e2a5c09e46e16935ced912807b4572d0cd93284b35fb9bc8d4906268a6241e3d3e8937006f9f4270119f52479cfc SHA512 acb3bbf7b9e7cf26ce4985cb8fc4cde8bf7cc123da0faaf1647bf3654b3a062ab9da41e9079441900856aafcd24e42247d1ec350d399a554e4a5fad75d6d1fb8
|
||||
EBUILD ghex-44.2.ebuild 1295 BLAKE2B fc97ee241141a3dd455806e94687a374e0f16f3e3319c38bff801de516522c0fb0ee14a7174c90fa542b525c693abfe2a3ba6c628267d06e2513d3bcc423715c SHA512 8fcfd49d84efcfe41b024c2d1e620990c746bd6ae83cec4f005a6d46bed0c69aada90c39472d953e3632923573ec19422fde84ba7c88fb8991c00bd01be3ff36
|
||||
EBUILD ghex-45_beta.ebuild 1299 BLAKE2B f65d88bacf86e53502b051d73f098e5cafa8d79c027a4285ec3b49542cada65360240a6a7b0b479830ed94f251d962c6e8a183f28703b9835e154292f05354c7 SHA512 e869e16e5527b6cde6f449e47805dfbaba414c8ac4e0a20db5efe47922349980f66834f0eeb9f4814b9a3549a74bd5955aa7a1f066507261286996720e55b64e
|
||||
EBUILD ghex-9999.ebuild 1292 BLAKE2B 590d545410f8eb1b863116b393a029c94233e2a5c09e46e16935ced912807b4572d0cd93284b35fb9bc8d4906268a6241e3d3e8937006f9f4270119f52479cfc SHA512 acb3bbf7b9e7cf26ce4985cb8fc4cde8bf7cc123da0faaf1647bf3654b3a062ab9da41e9079441900856aafcd24e42247d1ec350d399a554e4a5fad75d6d1fb8
|
||||
MISC metadata.xml 345 BLAKE2B 4c2385371bb42d47643f2a9d48ee5ed675267f812467fa03f69151bcdbeb996602be0a3995f976b61e0c018c8d69e3dcd37392f5927bbe24942f11c23794bac4 SHA512 c3f3cc3f436137299082ccdcaa57221d1b3f490b34febfcd6ca586769b0a8c76ce11cc5b8be823c8c88b942effc0b68d9c078ba3a28594c41419830dff04fcad
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
DIST ibus-typing-booster-2.23.4.tar.gz 11514625 BLAKE2B e4f2e79bc2e5f85581dd36bab82b1aca1a1a6232341cc35aeb717fbbc8e2f44c14364554c7f257cd70213fe1c5b7b7e1d6a891a5c751ed45c7c8a4703d620bed SHA512 ae13f5ed078fddd31dc81676516e2455ebe78bf9b621a44685da238db0f2eb792766875a49919ebaa3b91a225897558257d2e38901f2c5a6d890023a7b8c9606
|
||||
DIST ibus-typing-booster-2.24.0.tar.gz 12225906 BLAKE2B 0f783054bb7da452ed46073b925d1138b3f5cf9c56c67939af9a1b0a374082fe6a2a86474c72173244e84f5458d030dd4fa1123cad5a96d7c83a2a6765304746 SHA512 15e1869f547e3285352c3d18d248102c6427fe7866554337c40748697bbf58df196441f593de8c89f04268952efe0349995ee8c9ffc072880470d383c6861258
|
||||
DIST ibus-typing-booster-2.24.1.tar.gz 12218815 BLAKE2B dcc7e08d41d7a98bf1b7e14fa38bafeaa10427126d400d04b478724eb91039da11d1bd2332d1e081d140f916c77dd3a6fc0eddcb7d7797f3a8d5b0607808b8fb SHA512 e05a42f442db8047415336485ab88405f3abb221e05fc882505e423587905002d8c0d616b208e4f1cfdcfea7bc27bcab5ffe57eb06aaa10650bae062d114505e
|
||||
EBUILD ibus-typing-booster-2.23.4.ebuild 1150 BLAKE2B 26782be5de356fbc4f5c80dcea51fe125033264fd3f991302b61544e9246785d5343a9c61abb3b149cc7d2baf544127fc993373ac228b54f3d12643d0c17ef04 SHA512 a1946ed113bf06accf1c0459a131fb26e3abfd3edb8ba67f42103311c700c43cbe3918d8d6d8ec3936d447d995d7c6e3e87bc41bcd0c2f9525bb4961b9530241
|
||||
EBUILD ibus-typing-booster-2.24.0.ebuild 1152 BLAKE2B 41f6476c89448b37d6ae312d7f35b88817136c36734c5e640e32ebb351b88fe6e290e3abb7ff45c0281d3cb18a8d45c8c0acca5ac8b01245f7ac6a41eae37870 SHA512 32f1ce4a75dcddaa2807c0490519e4414263cfef125ace7eb2651b372db97f16932bd8dd2d488ec109c0cb3fefc219275c1ce197ab412d3457ce4c63ed50b7de
|
||||
DIST ibus-typing-booster-2.24.2.tar.gz 12216471 BLAKE2B 069faa9340d79676c124451af09d020116894b3bc9bc5c8aed229d7315a2fb0222822c00974d5ac4fbe8410640a3b4f3ca0a6c73d8c9b1f52bc7411e8b372026 SHA512 6eb2cc058ce86ba0ffdb0261abf39d36340b3bf1cb7ef68af0db59b00fb7e739a5638e2090761acdce812382354bb3debd37ca44162dbf92a074499fcfd20d55
|
||||
EBUILD ibus-typing-booster-2.24.0.ebuild 1150 BLAKE2B 26782be5de356fbc4f5c80dcea51fe125033264fd3f991302b61544e9246785d5343a9c61abb3b149cc7d2baf544127fc993373ac228b54f3d12643d0c17ef04 SHA512 a1946ed113bf06accf1c0459a131fb26e3abfd3edb8ba67f42103311c700c43cbe3918d8d6d8ec3936d447d995d7c6e3e87bc41bcd0c2f9525bb4961b9530241
|
||||
EBUILD ibus-typing-booster-2.24.1.ebuild 1152 BLAKE2B 41f6476c89448b37d6ae312d7f35b88817136c36734c5e640e32ebb351b88fe6e290e3abb7ff45c0281d3cb18a8d45c8c0acca5ac8b01245f7ac6a41eae37870 SHA512 32f1ce4a75dcddaa2807c0490519e4414263cfef125ace7eb2651b372db97f16932bd8dd2d488ec109c0cb3fefc219275c1ce197ab412d3457ce4c63ed50b7de
|
||||
EBUILD ibus-typing-booster-2.24.2.ebuild 1152 BLAKE2B 41f6476c89448b37d6ae312d7f35b88817136c36734c5e640e32ebb351b88fe6e290e3abb7ff45c0281d3cb18a8d45c8c0acca5ac8b01245f7ac6a41eae37870 SHA512 32f1ce4a75dcddaa2807c0490519e4414263cfef125ace7eb2651b372db97f16932bd8dd2d488ec109c0cb3fefc219275c1ce197ab412d3457ce4c63ed50b7de
|
||||
MISC metadata.xml 331 BLAKE2B e076fda3780cbfebae0a799bcc320de0417dfc2a726320c014d253163625da4fd629b180442449368e316e134bf2024f7e03373f2ca0342c4b63a11c63475697 SHA512 f79eaa01a0ad3005064928ef7fbaed4bc98f8850ca36b23309096647b6158c7500e0075f149e4e764a89af99a8fe342eb6a1d9b83a347557300545ecf870e4d8
|
||||
|
@ -1,13 +1,13 @@
|
||||
DIST unicode-emoji-data-14.0.txt 109396 BLAKE2B f4268938ef60de5200f78856c6a0886a463d6c3c0de9bb3220f58328aa53c709dc4fd79f5d2f607bd5b07f46100026fb08f4a413803d5d3720fd61dc75d708fb SHA512 364dc7413a1ab959e886f787450071dd8d139ec3d2dc8ca382c700661d93002a4406511e74de27f3cf7b9db793e8a3b48649128e786b20c02cd710350e07c8ca
|
||||
DIST unicode-emoji-data-15.0.txt 111505 BLAKE2B fd4e4b590956b6e496b30f7dd2b7d49c5810f1c9432fe4388e537df4efbcae495568806a10dd7284244bc31f29085ec1d03f3ad7635a85a9887b0156478eaf15 SHA512 115ad36f0f94eda11065f4a44b12e4ae9ccf9c14cc7d9d2075c2572cd678aae89a3ab0efeb3b65ec23ab43ee010c4d29008bad7b9f72f591d69acec838250feb
|
||||
DIST unicode-emoji-sequences-14.0.txt 188859 BLAKE2B 40dd76c52c329b5c0296a72d3f92bf41a55d63a57f094b49d449ee3624b7275562575e76fd5cc877c17ccab9923cd07538e4370615b8f05324706d3c861285e8 SHA512 527a763fe43e4679b7a689c2b736a4cba9a76ebdd601a0550992391d98431a5248ebec3ba35b20e8bd34cfb3075bad399825371c8f11ffe78e12e0fe09bbc181
|
||||
DIST unicode-emoji-data-15.1.txt 111505 BLAKE2B a5b3ccb6a22f4399dee08812a4d8d587cd7020ab83df6dcc9824b74ca690bf0a6ce9b895fba430c1a90d8b1f839d2db85703a86d1664386402af04100b1ad745 SHA512 bd8bde3d6296994ada56d336b0e31802fd1b73175e3d07b719f7629484412d4331d5e3b0585a38e4bfadca1ac26b9d5a1c69a6c6b7dffcf0edfc4edaacadf97e
|
||||
DIST unicode-emoji-sequences-15.0.txt 191560 BLAKE2B 130991e733699da2eafe69ec5352d15e862c77f46b8ab71d813a0ae3a801d8970cdf7ecbd10e819e28c8fb4017d6bd24abaf09ec4835be04a2b98c562206153c SHA512 8081b75cee79bbeea6c01f6bfba207ea03fbc72226a093057813c65ccfbcbf5276bbbca6385527ab39ea2fa8c39f4d4c3e086889caf2eb4d49805ebee531f632
|
||||
DIST unicode-emoji-test-14.0.txt 589717 BLAKE2B 2413d55c386607a88114cfeab5805476ba676a480a7d4de99eaecc7c6e825d883ab6e1217a2e0cd33ab951ae2f39a6b3547fdaace31bcf6985113d42b4e5f9b7 SHA512 693fe5c225e28a694d7aa436d3c6546c3376854878bb92d15f1c88b2d6ce3e9f67ddf66bd08e6aa99930d2965a28f8ed4dd3a895fdf5311abb0a323de27e1a12
|
||||
DIST unicode-emoji-sequences-15.1.txt 191562 BLAKE2B d16d7b923895d4aadba0f69ed07391b2e7df114c2eabca8a00c82c3b7ae97619e81b2c3fcc3658542fd340074fadfd4e1515613cc3233aa0c5ceede3edd34ce8 SHA512 19cf9b366a76d472d35e3e5d2adcb70e962397bce60a65e7685e9b203310dab2b63ee45fae8691c06dc6fedfac4e5c3730f9aadde119e3a7f4560c9ff325fd8a
|
||||
DIST unicode-emoji-test-15.0.txt 593240 BLAKE2B 4a57ccac493dd759d29dcfff512a613051a843dfd83d182bfc041605171fc41d73456692cc8e139a9115fa56633a20eb21c41628a35f186efa84b153e6985bb9 SHA512 894d2036867f2a117b8e5fd59b33148b3bb88d09b022d4a09f57df7e6135c3468b9c3d0fa8c80010ace3b916190b8039ad622f04b790abb1db8697c3f2050015
|
||||
DIST unicode-emoji-variation-sequences-14.0.txt 36547 BLAKE2B fa63c1924a00026489465f6a949b1124661fbd1877baaf10560424f8fdd59289947f2759e7873632f644b14213e1309601e764c1545e25ee9b94aea2ea813848 SHA512 d54dc787796609546140d1d730ce3574afe15a6dc4c947d171929df96a1189f5e65c8335d2c7429c06d8a9abe20a3f6332e551629e9808fd1e7f5b2ed6cbc24e
|
||||
DIST unicode-emoji-test-15.1.txt 639405 BLAKE2B e338db1b4334f9e1f86eeb357c5187f14667a10f4ea65ea1fc622230cec6d305c1c13e08233931f06f99787af0a6c7b2b5f3d09039642ea99c9b4159d2c51b2b SHA512 1e267845f2cc72aed60455a60e7cb8774433e0a1d0a9be98de6169304047184c8a7d5919117dd085dccfc4a7b507cb8938a3a6e34fd6fd9216fda27f8c126e5e
|
||||
DIST unicode-emoji-variation-sequences-15.0.txt 36542 BLAKE2B ddc6051c8a0dfa8d169712811406ef1331abe112a08121078a222b4b4ed90bf9d72ea6d0df583b80520cf2fe315759157b47a291f4bb02bdb81ac1095a1b279e SHA512 ac258b1cc1b241f686552c29ff4d2f514b9140c759567fcb9559fec521db91a1a9cd6579c119216956e55ac302ab5866c91cbd6518b16eea00351e03ba97020c
|
||||
DIST unicode-emoji-zwj-sequences-14.0.txt 231001 BLAKE2B faf8389549d9977ac87605af8c209d340261c4a14adec9932bdf41690997730c8dfb3a3261fcbca8b4c24f5f20ed8e3355330049c850680b4159afa73e935b01 SHA512 f1098393fbea76ece6838b509b985f06d92ac3f3ee0a0faf14cc92dc1dce73c3d3b7517fb940d48de27243141568acac88bb5b4438ead445cec9434826932e59
|
||||
DIST unicode-emoji-variation-sequences-15.1.txt 38358 BLAKE2B 6d55aa432c701c419def0414a5c656f68fa0fe1dd31aed88c420449a754b5b1a104bfbc604fc4344a7e34f5feb1852b00f103113ca0067195f77cebd32b28858 SHA512 86a4843448e66488fcdcfaa9777f4be7352c679661d90318abf11e498a9d8e263e8e34aab0e49575a5e613be771541c67c28dc8b64351141ee56639106b90a17
|
||||
DIST unicode-emoji-zwj-sequences-15.0.txt 231164 BLAKE2B 95718b16488f1bb4b2b432067ea913b053c2ed80fb5ca05fbaad4280bc7feaa1264efe06a4351b12d293a6e274ab2df2362ac4df048567e3184b6bbd2249aafa SHA512 84cd29d74d5e10a364e5ca495f63aa310b0741d54ae483d6dbb8d31b8397f5d55a69e66ab95e655af6bb5f9693164de6b909172ee8e96b4d276aff59977c85a4
|
||||
EBUILD unicode-emoji-14.0.ebuild 971 BLAKE2B 3da09a2a7c100be47875d8cac35026bd8f39b4996d44dfb7d486efae4dab9eb8b5ef011a6f7e5dcf74125db252d860801cc4c076fbbf4b96d255490a532806eb SHA512 199f640ddc824aeed4be7a13d503f74162472834bdd6b3ca49cdb43bef7bc29fb171e409fe2722c2893cdf5b6d054965057d0c92a7e25289e4be17c2df7a5895
|
||||
DIST unicode-emoji-zwj-sequences-15.1.txt 251595 BLAKE2B 84a643d46edc4428ff5379431059e386fa45dbf4252abf44bb2429fe295daf3c051e93af6d80465bdf0cb17730b955c05062f795e7f47ceccf6e2ba594bda069 SHA512 b9be3543cb44b8b394be12f06b9d3a27aa7da134cc5060d51681e2759c2aa0ce2604edf9f8782f8d3606e9765f2703b35807a932d36914b24261e59a07fffed1
|
||||
EBUILD unicode-emoji-15.0.ebuild 971 BLAKE2B 24931817d376b3a515f8f0c5e073b4d77b325a5a6df53d3b2c3ac0b6df91941cd2028dcc26c91d0d31e48dd6a47e409923fd20d78405ab47f219fbe182968c35 SHA512 6caeb8bc7d316ddb9eb5555bba4e8e5f27f7ac0cee10f335b724a63441d524002360d8195ac7e64c59343e9d3f93300bcd408a44883b38779422f7c09c849c06
|
||||
EBUILD unicode-emoji-15.1.ebuild 978 BLAKE2B cc60f09072cb463d8254a67103f56b8e46cddfc668eb7fe245abe6255e14b953e30da679931ef614d1db09af04fc0af877c9f65d5bbb84c82b6d8132f2a50598 SHA512 23b82d234395fe137c3f4079ce2667e055be1143c0967c6b494acc527ee28c7ff832a79810ed11f3429bf8ea3af939e76e7b6dd04ba0816f12c2c0b39f9d1fa6
|
||||
MISC metadata.xml 259 BLAKE2B 473457dc1808c494d8a08c731bc36bc3f6fd42ac730b0e7372e9749275ad413c56abc214d6b8d43c3e3f3d878a81e61d3ac1088b0606e99b449018828f056c4c SHA512 42603797647a4e2bdd69fc8548c0f035143c2a94b836763b39fc0dda770621970fbb233327c142107bca40f48b2b380fe97c6517e5fce633ba2c11f7a34402fc
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST solaar-1.1.8.tar.gz 1550947 BLAKE2B a33879e3c1b161d86c4c8a2c8edcc79eff285cb8937bf1e6621f3595ba5cf420e75fe700902b9f375698085bb929401154fa2bd25ae9663265e38c8406205bf6 SHA512 543c6257b36181813c9ed36747e53a15403da251fdd431c32525cada3ac88611da2c5f2a8212767ba3c7bb0071a3c2024f114805d9a33c761701bf958df29d85
|
||||
DIST solaar-1.1.9.tar.gz 1564119 BLAKE2B 67161bdd2a59ff17cafcdc5399f9f0c072985df85b2d0408e54c8f4e4966c3602a2b62f93b90e56e80fb3c4cbd285de2bbcc87a7709bea06ee4394f42a16f52e SHA512 42ea592aa8c4020be5e2ffd096de0bf6a7e6fdfac7eb2acd069c80084f88979398f779db6507b8b2cc4fd44c8a2ffce89024a42c161f130b4e1bd2c53e4e73a9
|
||||
EBUILD solaar-1.1.8-r1.ebuild 1963 BLAKE2B 3ebfd26ae7be76a990ecae0c0166b2deb5aefb52143ee5153ebf56101e4b28316fa2f5f27b385577d49ae70f21f1a343828ef6bbf027d74392474efcd4d047c6 SHA512 ff53adb2501ccb4bd5fc8df7f3b7db80e05947520513c59c176e50aa61c913fe50cf668f62140605e40201fb22dedb73fca18515bb892c92544c2a5537a902ac
|
||||
EBUILD solaar-1.1.9.ebuild 1963 BLAKE2B 3ebfd26ae7be76a990ecae0c0166b2deb5aefb52143ee5153ebf56101e4b28316fa2f5f27b385577d49ae70f21f1a343828ef6bbf027d74392474efcd4d047c6 SHA512 ff53adb2501ccb4bd5fc8df7f3b7db80e05947520513c59c176e50aa61c913fe50cf668f62140605e40201fb22dedb73fca18515bb892c92544c2a5537a902ac
|
||||
EBUILD solaar-1.1.9.ebuild 1970 BLAKE2B 57c5be12b5331012343e5cf9adc9f5d5c11b7ed07106d27febaf423d8fdbbf4d6bac8cbcd7bda531c3953d92ce0ec344d42abde2a80bfb70525db54c3857d8df SHA512 367652f1b19a78e9cc8e5ed7bfd0992c93b2aee5e021de5d5e5944adfd3c8d6b435964bfc424b1604966dee4d5dccf82e59e0dd852ca00d9304a18575955cfda
|
||||
EBUILD solaar-9999.ebuild 1965 BLAKE2B d8d5830800a0e05708c663abaad51f05255bc25b9dcece894632860d96313604410ae94eea6ec1465ee5aaa91969f617546bce4f66e9825d3042d4e1e393ba6a SHA512 3e19224b0cd7303af92c15693c0899a1eb6edc56a6d02dafa4e79efb0e9ec9579090b0d921c71447ee4b84b7c17b4e7182986cf82a1f893f631fbd447f956786
|
||||
MISC metadata.xml 302 BLAKE2B 55938561021d105894875ec5158bd1a744c91039744ff789bffed4ab483eebe73450a9cd62cb4a97c984213fa2f1e8799f8b0d97bd6202e826e4609434086f5e SHA512 3bff70d27a9934d48f848cf0131e01415e13426ea705ef7721a9b59e29ff7bf32718d015de9e4a4f89f23405a8f372f038d2f0c3485cf9a7939a33ebda9d1681
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST skrooge-2.30.0.tar.xz 22661568 BLAKE2B 32bbd16b40afd836016c9d590c17d71fde7225802890d862e275c6c694fa11db504f757f158ab94c4c034481e577a0f45d013f4d4d21d6d200265c7131f98c11 SHA512 5a96c7263fcbc0313562dd5a64de3c31219c0a6a8e610fd0cbabe0f16903b1123390f07d466341b8fd31695861ab5a006b7f5aee7986fbd0028138ec90aa8902
|
||||
DIST skrooge-2.31.0.tar.xz 22372292 BLAKE2B 3eafe194a9783ae2f3841f6c32211cdf3c425033b63084bf47e526482830d1d53ae66446aa04f0d93497a59054e229bbadd6f46ec0782e4ab05d902d0e809596 SHA512 3a09b9e6017b0ebce7170285a8ca6a27c8942f16c310450e76dc9deb87e0d016edb49b74c8ea784bed5f9b5a10ed515016266584f53fc0144f4bf02bc7769be1
|
||||
EBUILD skrooge-2.30.0.ebuild 2593 BLAKE2B 6367b62c8b8d39a2a8b8c0718191defe1745c8bd1e4dbe806923a28899eb00fae0982be5d0e682225128bc9139fe0cd2ddb31c6a319aea44721d467250a16fac SHA512 0b7785d16eeb228f196587c92c456f4e0da1095f2172ab39dffe97993c6e5cf0202cef5d8fdf0bb2998668fec5928f82444d90fb997339b04469a1cb1687f766
|
||||
EBUILD skrooge-2.31.0.ebuild 2594 BLAKE2B f4e6d3d0e3b61c2bec96ed57ba25a3a867040ea8ddd4846d1a1c5cf31727c4a9ec03f3946a82c08581ac7041bdbd0ded9df165ace629798815901f47283fa417 SHA512 741541ad7a20a0897da0048204a86431d8345b0e88afecbcfb1688f021e085e1fd8b953bbae55bce6074b086132f592ab6d88b4406fb68afeecf3bcb72ab0a94
|
||||
MISC metadata.xml 393 BLAKE2B f192bb06b0b86aba02ffc2ade42d2e46927758d90759cb4c4c0edaea49e1aa82a119f073233b0028ece6a3ee976e942cb55becdf420d09c93dbb06230eedf4e7 SHA512 741040cc75c5a4df36ef09ee97fe652501754fca36884f52177936bd7b1a512e5f248e95a3e4c674918f56f76275c41899577b3621aa5e3fb97f18410f109c8a
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_HANDBOOK="optional"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.106.0
|
||||
QTMIN=5.15.9
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
|
||||
HOMEPAGE="https://skrooge.org/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
IUSE="activities kde ofx"
|
||||
|
||||
# hangs + installs files (also requires KF5DesignerPlugin)
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/qca-2.3.0:2[qt5(+)]
|
||||
dev-db/sqlcipher
|
||||
dev-libs/grantlee:5
|
||||
>=dev-qt/qtconcurrent-${QTMIN}:5
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5
|
||||
>=dev-qt/qtsql-${QTMIN}:5=
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
>=dev-qt/qtwebengine-${QTMIN}:5[widgets]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=dev-qt/qtxmlpatterns-${QTMIN}:5
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||
>=kde-frameworks/knotifyconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwallet-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
|
||||
kde? ( >=kde-frameworks/krunner-${KFMIN}:5 )
|
||||
ofx? ( dev-libs/libofx:= )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
||||
"
|
||||
BDEPEND="
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_WEBENGINE=ON
|
||||
-DSKG_WEBKIT=OFF
|
||||
-DSKG_DESIGNER=OFF
|
||||
$(cmake_use_find_package activities KF5Activities)
|
||||
$(cmake_use_find_package kde KF5Runner)
|
||||
$(cmake_use_find_package ofx LibOfx)
|
||||
-DSKG_BUILD_TEST=$(usex test)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=ON
|
||||
)
|
||||
ecm_src_test
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX gentoolkit-0.6.1-data_files.patch 1157 BLAKE2B 1b6bebcc9de77532df7f3eef8e19cb82ed011e36eb20e8dc7f0fcaaabf856c7845cf3c46722c947b8235e3745e2754f227ac02f7ca48ed14af5aa0c4ff7ae906 SHA512 309d36852d4b631cb8767b85059a33f430021598b83fd26cffbddf4ce6487f10a8588ccd835335c48b62ebfd36ddf5f6cf6bc0cc980192f7ceaea90991089891
|
||||
AUX gentoolkit-0.6.1-pkgindex.patch 1637 BLAKE2B 836024b833e516dcf2aa005b1ca8ed7a542c9cf4ac5eef7b79f0e05474a0994ef02aa3f14b7fe71b8e4e823f79743e40f7f61bc5e8b0481d3d1ea261ffd90606 SHA512 6afb4dad8a74f8fe2cc285d34f70c7a50db5977dee22129b81160d2e2a069ca8fd7f9b67f57d59e6ebe750a1518447e6cf4f85c6468777a3cfe7e54162c496bc
|
||||
DIST gentoolkit-0.6.1.tar.gz 3195781 BLAKE2B 27e370de77586b375dc70caa1abba4c2bc4207e8f08e0a7ea2953097135506949db71ff9102a0ead198e4dea425440c57b94ac7a811ca2d5e0016fc7e234bb0d SHA512 1ffc466b69a9c53f1bbd40f6f4d1eb33d5f0f4287bb65ba1a7b1b2675ad61ecffa55ed9fda7c1ae8148744f0a77e224315eb1903dfd61a2a3dab1600fc672d2d
|
||||
DIST gentoolkit-0.6.2.tar.bz2 3186974 BLAKE2B 48f388962e70842b7959467b7697b98121ee2a27bca6e2fc2ebb69782ece1df9b63b4451e19ebacf5a627a9c6feb17f7af395229d2eb870d8bbde1da80262593 SHA512 a1c9157758453f214e6131237df2bc91c49c28a4411ecbb0f74768ae0dd7c4fe8272cfc354a424f6acc8cc322d4eaa35ef98147fe749bc41cb680bb3acfdc2ac
|
||||
EBUILD gentoolkit-0.6.1-r3.ebuild 2061 BLAKE2B f3cbbe94e63f285e9eb5826f98fe311649ea2b82ff034ba738ebeb851d9a6f757688f5fce84d7142074fd1a1cdfaf811ebd52f0321ed127a006f7bb5fd608d38 SHA512 75037990e0dbd389e1ff755831fb8773529696596b380cda30a0936b8efd03a39f544e042e57b10a1e080eb0f18ee317eb78fff960f3e7c2195b664846a44e23
|
||||
EBUILD gentoolkit-9999.ebuild 1980 BLAKE2B 94e5415feadb6463b4746251f87ce50628cb1b3dd39983fce42b3921e25ab28502c0c0dad5e1b154ca339392732c601ca9a51a9340e5d38ec86a518e01a3cc6a SHA512 46c0cddab0da0ee67ed444bea74fa658b4b476da55d4c5f07c4f431c89bdf443f8bc28d2d47215b4a565ddc1c742130c656dbf8eb941dfc079756ecb2de60849
|
||||
EBUILD gentoolkit-0.6.2.ebuild 1995 BLAKE2B 038f05f22a88dda546be2f2c148d5031b0a6d0618eec531e24c1f313d78eba50743bd190b76da5ed2157681f98ef9a9bed0958313b96f98dc6b0f60d3a58c914 SHA512 5849591a8471a5b08a81e54589afc24a59dfe02827314ad7ac9493c2e0505ee1c6705c3a6d72879a880bb94bfb95fed566e34660ecec705a8a0a0982c787c87d
|
||||
EBUILD gentoolkit-9999.ebuild 1993 BLAKE2B 1455426d3691ce60a3c5e1782eea30bfc4928bbd2fc223f8149707dd2b401d084058551a537df2a038ade84bdc2ef66252dee17dece51cd127d35cffd174cf0a SHA512 8c5fb4f27bf71a69d2e2d69409588a93173cc1a94451416a971c1f46ce3dfabe213990ceb399d6021f0f27546e068f8efa73e4e96b33060a7d16369ece959165
|
||||
MISC metadata.xml 737 BLAKE2B 4145e08f0b544b2bd32a5322944bad4d019d5a693e23ace8d7b0592230c6660bf7ef4d1df4f8852745af7939c8e88e58aa04233d3a69a6e7ad624349b8e335f0 SHA512 28ec82f6a523f69d2c908b4e2cf9823ff8825e39a01187b74d37f90ee78cec751002cdf0786b177df048a5cb1c728bb29fc9f2f743b18200bf307eccdf052ce8
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1 tmpfiles
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# Need newer Portage for eclean-pkg API, bug #900224
|
||||
DEPEND="
|
||||
>=sys-apps/portage-3.0.52[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-alternatives/awk
|
||||
sys-apps/gentoo-functions
|
||||
"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if use prefix-guest ; then
|
||||
# use correct repo name, bug #632223
|
||||
sed -i \
|
||||
-e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \
|
||||
pym/gentoolkit/profile.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process revdep-rebuild.conf
|
||||
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
DIST getuto-1.6.tar.gz 9956 BLAKE2B 30ccbbe39993473a30bc6267c221ce23c78efa2b112ee1f2e65836f8b72f4e23f223a17c129293a2d3b5e1ca0c993960ef53905ca2af030e381a77c9e30fff5e SHA512 56277b0a64d31ff7e1637ec2288733c0a1c72045700b32c2d261e2d5ad854c1ae17c0f8e70f6080a008bb09fd0e8dcf8256aeb99615e446f4e6a441b9a1a088b
|
||||
DIST getuto-1.7.tar.gz 10096 BLAKE2B 952d5a8dca09dcecfc78e055c96b70c997c459767966631142f24ff8c0ce003b5520084aa0938971e61124fad2747c8457a79dadddf76858869fc1de8da9ecab SHA512 43ba49df85c32aaade2b08ca0bc2bdac9edfd4b363a85a84833a17a84fb87dcdb987625bd61862371025ad2b4c364a1fa8d93138bafd7abe4a99fdb2791b3e7b
|
||||
DIST getuto-1.8.tar.gz 10196 BLAKE2B 0733057de68c3fc76869984557f84b703be4d1c996080191fe12fe8f4171bbb595c206dfc0c45174a07f0c49b532cb9a30faf3746f9f8e1cecd9fbb4768b5897 SHA512 70e31394ff95e14b4d892e546be1fa4bf3805994056c406bd94a1089fefb2df10d919689f711b5de2517ce03ecdc821826d5640dae87fd1d78baf79b4b55780d
|
||||
DIST getuto-1.9.tar.gz 10222 BLAKE2B a2a2ad64097166c86a299e32242edef88c8213b479d8a83399eece29c5f204f3362c48d29638347dde624913ceea4a3ec2bb7bf0936e3065c715ad13dd85caf9 SHA512 fc0e74f90d52dbf637e55d79f70397a71d20ece9f23d11989c152d140d2d08135eee9268bc726bf6504a6a45cf8572803471deb5d192378e6cb76d8f8c00499b
|
||||
DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7 SHA512 ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6
|
||||
EBUILD getuto-1.6.ebuild 1116 BLAKE2B 76bc04236a23d51dfe96605a13cd53e3809771cf37219654c63aad16bca079dc790da7b4dd4f1bb1ae250aae9b73609aa8750c932e0f7c9b631cfeb4b16d6750 SHA512 0271e571ed14ca2c073884111a7591c7418d8b7a05adbd8ec27e14ae79cf9addaaed195972938f5cdd9ff00d95268be4590fed8c73b08ae52be17cd1ca3acadc
|
||||
EBUILD getuto-1.7.ebuild 1116 BLAKE2B 76bc04236a23d51dfe96605a13cd53e3809771cf37219654c63aad16bca079dc790da7b4dd4f1bb1ae250aae9b73609aa8750c932e0f7c9b631cfeb4b16d6750 SHA512 0271e571ed14ca2c073884111a7591c7418d8b7a05adbd8ec27e14ae79cf9addaaed195972938f5cdd9ff00d95268be4590fed8c73b08ae52be17cd1ca3acadc
|
||||
EBUILD getuto-1.8.ebuild 1116 BLAKE2B 76bc04236a23d51dfe96605a13cd53e3809771cf37219654c63aad16bca079dc790da7b4dd4f1bb1ae250aae9b73609aa8750c932e0f7c9b631cfeb4b16d6750 SHA512 0271e571ed14ca2c073884111a7591c7418d8b7a05adbd8ec27e14ae79cf9addaaed195972938f5cdd9ff00d95268be4590fed8c73b08ae52be17cd1ca3acadc
|
||||
EBUILD getuto-1.8.ebuild 1114 BLAKE2B 082e8cb2f9a568791cf8444b6f9ef4cd7078fac2660656e502a9c6a33ca3417634fd846feebc361c5e38ae2645f974801df3ba97c3d9c60aab98b91f85d8abbf SHA512 9bbafcffe389afbb3e5111564860aaad919214126d96387ec0137eb5131a6850b488fad5f46642fef305d5aa8c65f17400b11a73992d186b7fff077f86fbcee0
|
||||
EBUILD getuto-1.9.ebuild 1108 BLAKE2B 3430732ea96bc6031b81cdba9fb8bbb5255c4fe499d409d4e7ed22f3651a0cef0aa1b085542c0a4e9dba38e66c8e6fc8b92631033507a68c61d089dcbc083f01 SHA512 096111d60f0cec2857ba74230cd79fcb3e87f578043cd88a6be324753bfedc8ae9edee74799b3efc88e59cb8210892f80ef793e68f0f4b09d1a995b6d453e369
|
||||
EBUILD getuto-9999.ebuild 1116 BLAKE2B 76bc04236a23d51dfe96605a13cd53e3809771cf37219654c63aad16bca079dc790da7b4dd4f1bb1ae250aae9b73609aa8750c932e0f7c9b631cfeb4b16d6750 SHA512 0271e571ed14ca2c073884111a7591c7418d8b7a05adbd8ec27e14ae79cf9addaaed195972938f5cdd9ff00d95268be4590fed8c73b08ae52be17cd1ca3acadc
|
||||
MISC metadata.xml 419 BLAKE2B ec9ec3a23044c8f9970dfb818fb5d5d16498249723f4ffb3bda0c53f19d68e46d0b7c482fcf8c2cac8f31269546a4a600750d57fce84508e4d8307a02d779977 SHA512 6822f2b326b5783deae399912ac479e1e6d18a61fb5d28db9ba9f62d2405abcab51081a499be30b854e16c3b94cf43f7330dc62ca424c40d923eefdaba5a7c9e
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Stand-alone gentoo install trust anchor generation tool"
|
||||
HOMEPAGE="https://github.com/projg2/getuto"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/projg2/getuto"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gnupg
|
||||
dev-libs/openssl
|
||||
sec-keys/openpgp-keys-gentoo-release
|
||||
sys-apps/gentoo-functions
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
# Don't mangle test data
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use test ; then
|
||||
cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin getuto
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST javax-mail-1.6.7.tar.gz 1854297 BLAKE2B 70dac40cdf67c413db3370f9cdf5b9786fcebce4ba12725758bf6120a2b6874e079a5beef08ee1190e30bfe2f14ad21e73ef1710c982e3f658a2f2f11e524f2e SHA512 9e8754839efb43d14ade6189428c4b86f5fc180e2e18b4e121a9463aaa52c34a431dbf05a6264ef8221faf0b09cc08f914ff758cbb3931df97cea1a897c54c08
|
||||
EBUILD javax-mail-1.6.7-r1.ebuild 2047 BLAKE2B 4187a02c47c7c7310d7d32a46dfe53b4bd52aa454f78040240bfe838f51d59ca33e94d2ed54920935bac6fe7ffa871eae1269bc04b01e68fd28789d2825297f7 SHA512 7139bc9cb731bada24a6e9cc1d694282fb5df50847c3820acafc7c0fe89b81ec76b5ce88f9c1052a5f9b824adcb6648dc6935d2d2a44aab2a585a3729771b761
|
||||
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
||||
EBUILD javax-mail-1.6.7-r1.ebuild 1571 BLAKE2B 416b7ce3d3f0fc9ab40f96e67d07af38f5f9491c761ee4724cf2fc684c3b0b1275112823971427db1a827c57e04af90e2fa563d62013eee13e01c0c1f6014e92 SHA512 94ee70a94a3913e154684fbd4b48133060698d2a37538655456f79e78d4fbc1efadc8399a68ecb313d271f6a5dd140e92f9ba9f2db1e80760adc920ce248226f
|
||||
MISC metadata.xml 300 BLAKE2B 59a5cc3d098097693ee38e1552293270505f8d82025e096a6d1c331045451d5782ccc8819a2034a88a89f4490318becb96f10186766db32afad98c1546c956dc SHA512 2d1560717ededf180302c9348d112971e6d24c8745aae17f1ec59c3676ae41bb7fe396bbb57f5c88ef52bd0f7e161aefc22b9d2d5fd006ffc9873dbf42cb2df5
|
||||
|
@ -1,7 +1,13 @@
|
||||
DIST tomcat-native-1.2.38-src.tar.gz 439234 BLAKE2B 603a905db25b86792717023707598abb4da125ad16b7e69e4a48ec0eb9056bc0b566520d4df004566bbc15c8bcfe843992baebb6bd1c86b210ce9f0fc0733ca0 SHA512 973c0dc8d241827aa98f72026d4de67928344c221570abbb7f97380fe56a9ad602b159a5448c6048d88d73fa0ade8c1ab12df293fee513d0e4896847b16206e6
|
||||
DIST tomcat-native-1.2.38-src.tar.gz.asc 873 BLAKE2B 6b7ccf31b7b0b7ac9493c4751309c6b62c269332f5fd49a9df391846a140f2797e1587e3c644b4aa65fa6eef8dfea8fe19b7f5714ffb5ddcf836c601f281bc5b SHA512 b6a7c12ac7387c4ee17e5b5d50d588b16470874f70bcb49b96a25159bab8b51ff5a5dc7d33fa73c8eb33e673e2b947aad4b603b1e8755f7e186052763c2575f5
|
||||
DIST tomcat-native-1.2.39-src.tar.gz 438209 BLAKE2B 499e2221be7a3aac47950530b044242dd308e943cdffd4af29d35121b60bd9b7040a404e8a70320cc853d41e4a06b41cad66a87d665e3692791299a0f16658f4 SHA512 b90c72255406f48552025a2e78dbd8c30a3492be2c283875c86a0b4a0f1f71b0420d4f91fb5ba181ef29d528824b2d5dfc63f51ee68e8d04fe6e67bd89e397f7
|
||||
DIST tomcat-native-1.2.39-src.tar.gz.asc 873 BLAKE2B 59976744119c03771b597d3d4f5d84a5a9e5feb81c0efe351e827b5e06e84c8adde8407ef4d27ec3b201763806e74804a51e9a209641c127328d44b79e22351e SHA512 78144c9ce5d5acc9d051b6d41fff2016d37062a11011ecad8ba52569c910efe5bcd5f177e576601ab4e7f7e53ce9dfe54f6a2c42cb87651ca5c2fedcf284eb21
|
||||
DIST tomcat-native-2.0.5-src.tar.gz 539017 BLAKE2B 405a4064bcf49ee04a7670c516adc64b19ebebbbfdc50735952c057d36b475c785bd9976778f491796b3fce5bd5aa158199ec624f20e8adbc65f920974543533 SHA512 03ed1951597bb6a6ade8d715546a0d635d261381737abd27b63aa552c69f9ca49405d0252b6bc2d878bfd64e87439f146ecd84ccbfc82661ba16379c493615a4
|
||||
DIST tomcat-native-2.0.5-src.tar.gz.asc 873 BLAKE2B 2e043d011f482ab963088441a37d2cfddec973253f7c909a747afac71393b76bc2e33ff37e9a18e8f9b6caac8ba86ab3a076ea722577416e4b409d8e44d56e24 SHA512 22a87c14c31bc62383cfb227e8dbd106fe017f84d802ec0e4d22d48af6ad4dd0d020bc59bed3a8335e2b4b15e0fd44ec3a4062bf86c73bbf00151c4ff0d12d7c
|
||||
DIST tomcat-native-2.0.6-src.tar.gz 539277 BLAKE2B 4a1ee7a87ff72b449a3638d38cdd40185e02ee09aa8ee9ea26ff6cfdc3f54b1e8aec6fb0296b51f8a72a72de7a9c504410d1df4d3547b709deebfb005ebbdd01 SHA512 d714fb96f880d0d565c58d25bb803fa9a144a6d87e825ad8d00aeac833b40a5512f888b94b3109853f8ee28b176b24fde95fb2d2a70ce65181a51ca7fc60cdab
|
||||
DIST tomcat-native-2.0.6-src.tar.gz.asc 873 BLAKE2B f78fb9c67632fc6fd6768fb699fa4c875db0364537ef41f6aa8c099eb05260a43ed7e2dd7b0f501c6814aff3b7d0928f318473ba78bfac7bcac3092952c08edc SHA512 6601bb1f731ad3b8ef1dbd6d2522952223d794568d42cce363ed95e05e641b2c742ed696ce65d546fcb3d0f80b362befc9cdaa060d1bd77beb90749c3a417a08
|
||||
EBUILD tomcat-native-1.2.38.ebuild 2164 BLAKE2B 2efd68a9c1c26688744b26f5f6cf2791e1c2782d4625899dd49e132eb61c242dd942179e26b69d5a33934a0b06567ec0804b9cee17c93393820aa303e3dac3e5 SHA512 684f2fdf65429c7d990188a64aba88a5c8bdfe3a6065920ec115aa8f3684a87f92cd71c519d6ebfd6d871afc24cde405644547230768b6d72015417a95574e54
|
||||
EBUILD tomcat-native-1.2.39.ebuild 2155 BLAKE2B 47ec6a5ff680e904eb8e3f9a34288444f7ebfd2e0a783906e78741d82b7891ccf3f38c9a5367772370f8d1f2e52b55e3cbc03ab9e5f581c9aec9f74bc5eee60a SHA512 e3b46a89951ed9cfa5fe4fb432b4ea8bebb49996d90fa291fb569021e8c4c347fcfd369354e63c04063ce212f358cbda36172a578882b9c015394f296be343da
|
||||
EBUILD tomcat-native-2.0.5.ebuild 1982 BLAKE2B 068abb8ad2d7b087d19cb4efb9532689254513947ca34a26c24245c5d49fabc5d688c6ba5a08080f4591864520988ad9372867625e27a741bc48a01f4e6b316f SHA512 42de7c04a707295abe901edd0be127ad937636f8f10baaedfc6db605d1599691b9b98b17117c0739364199d2e2af72d8c145c44d28009b42560a89dd16b06d25
|
||||
EBUILD tomcat-native-2.0.6.ebuild 1973 BLAKE2B dd14cc057e7d19fd4b2555317faecb36b8d5242e99abef356f8aa6b6cae38ba07b3ef33563a0723f0d4a024c05fb9c7cbd1292da256d0634fd1c83eb1313e0c9 SHA512 0100997c6db1d4eece3986fc8d50e501b8f3f732c2a125d30dc3b11600ca4a442d35f8d0ef64cc8c8da1db694fba8420fa8ac26dc2d79d6cc5f1738ff82bc23a
|
||||
MISC metadata.xml 1096 BLAKE2B cc5973c26004db986d1cd7020212163380883cb3b01ed08b518d87abaf43a1e875de226064a123b9a5792e0e2285e70eeb50234654049ad22d906c4c5c454928 SHA512 f19053a4c75f84fa8491aee4f74d7334e369bb38125c69f6c839d37cc3b6c90ce348039845a3635d0b637b50c379efaee22dd811c46c49645fc6f8192e7a01cc
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Allows Tomcat to use certain native resources for better performance"
|
||||
HOMEPAGE="https://tomcat.apache.org/native-doc/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz
|
||||
verify-sig? (
|
||||
https://downloads.apache.org/tomcat/tomcat-connectors/native/${PV}/source/tomcat-native-${PV}-src.tar.gz.asc
|
||||
)"
|
||||
S=${WORKDIR}/${P}-src/native
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/apr:1=
|
||||
dev-libs/openssl:0/3
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc"
|
||||
|
||||
JAVA_RESOURCE_DIRS="../resources"
|
||||
JAVA_SRC_DIR="../java"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="../test"
|
||||
|
||||
DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} )
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-2_src_prepare
|
||||
mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die
|
||||
sed -ne '/attribute name/s:^.*name="\(.*\)" value="\(.*\)".*$:\1\: \2:p' \
|
||||
../build.xml \
|
||||
| sed "s:\${version}:${PV}:" \
|
||||
> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-apr="${EPREFIX}"/usr/bin/apr-1-config
|
||||
--with-ssl="${EPREFIX}"/usr
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Adjusting "String testFile =" path in TestFile.java:29 to match ${S}
|
||||
sed \
|
||||
-e '/String testFile =/s&test/&../test/&' \
|
||||
-i ../test/org/apache/tomcat/jni/TestFile.java || die
|
||||
|
||||
JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" )
|
||||
java-pkg-simple_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_doso .libs/*.so*
|
||||
dodoc -r ../docs
|
||||
! use static-libs && find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For more information, please visit"
|
||||
elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html"
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Allows Tomcat to use certain native resources for better performance"
|
||||
HOMEPAGE="https://tomcat.apache.org/native-doc/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz
|
||||
verify-sig? (
|
||||
https://downloads.apache.org/tomcat/tomcat-connectors/native/${PV}/source/tomcat-native-${PV}-src.tar.gz.asc
|
||||
)"
|
||||
S=${WORKDIR}/${P}-src/native
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/apr:1=
|
||||
dev-libs/openssl:0/3
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc"
|
||||
|
||||
JAVA_RESOURCE_DIRS="../resources"
|
||||
JAVA_SRC_DIR="../java"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="../test"
|
||||
|
||||
DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} )
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-2_src_prepare
|
||||
mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die
|
||||
sed -ne '/attribute name/s:^.*name="\(.*\)" value="\(.*\)".*$:\1\: \2:p' \
|
||||
../build.xml \
|
||||
| sed "s:\${version}:${PV}:" \
|
||||
> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-apr="${EPREFIX}"/usr/bin/apr-1-config
|
||||
--with-ssl="${EPREFIX}"/usr
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" )
|
||||
java-pkg-simple_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_doso .libs/*.so*
|
||||
dodoc -r ../docs
|
||||
! use static-libs && find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For more information, please visit"
|
||||
elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html"
|
||||
}
|
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
AUX nasm-2.15-bsd-cp-doc.patch 278 BLAKE2B eb2d6fffb03da68a43df8db6cbadeb72753f0474f91011038b6ec0b3a449fbd0e3cde59abfb1b22fa0c991629960f456815b1c86ec55292f54a879d8a0a079f1 SHA512 ba691e4f0fd3b676280de5b79e6872f7efe034da28fc66e247c3f757761e2191c54f585ca724747812fa55afb4b9d76366f50659702561c7eb69483de265b3e5
|
||||
AUX nasm-2.16-autoconf-macro-fixes.patch 8841 BLAKE2B b60d26d6f3b6b9775e5c12a5d313e3df5b5deebafcae09570d066d46744a5001c0f3ea38c0629abf407f77107ba900c94ceb1562f46f83fd2311ce9ffde3d25b SHA512 95eed48a15f05942b4252c01a05a8eb355ba33288462f6e9ae01f952f831ce476276d51b859cac902d76340f122f5bbf882d511935f36ab54dbc8bae02e176d3
|
||||
DIST nasm-2.15.05.tar.xz 995732 BLAKE2B a41434965c2125577b762d907a0a3c251c75d9f9beac230fba4099182c7f7beb08c6d2c05c2432b0dc8ba829f24077f44c3096faea9bd0a533250e6dbbfaef35 SHA512 512f90a2584f1c5811429274b97c64a2cedf37b9fdeffb1bcd0ea64afd9ecc19a2d7877ca8f1e05393aa324153fc9f39ea51dacbf8d25a7d5a2d7728c925dba7
|
||||
DIST nasm-2.16.01.tar.xz 1017732 BLAKE2B 0f7e96648e3db6fa4a8e10a89885f61cab7d79af25adbcc9d4706b3af61206c3cae024b7f873d636f5c1b2cb34ce5e7fbecc16af9b59086e9a1f49fb37c59670 SHA512 51fccb5639ce019d9c423c0f279750ffbd74c64cd41dd3b185d1aa1a1aaed79c5d3cd8d4bebbc13ee249a375ed27457ea2abde1a4dbb24d354598fffd1254833
|
||||
EBUILD nasm-2.15.05.ebuild 1268 BLAKE2B 04e648c5209bc39b38205f2b8638d3eabe5f0590fff092c26706177f5298260e15ffc1995b832abe8c6af05834d71d2fedcbdcb6b9d37dd70c18e2d982972433 SHA512 bf90d2535a64fb746f635c6a480f8fea709bc9dc0f481562c976269227233b18d46e4163122aab6f54c880fc924dc1a9b473d485c5b5ae698012b25376f73b13
|
||||
EBUILD nasm-2.16.01.ebuild 1268 BLAKE2B 69d1359d81ea4908f7f54468262249651653c7c3b5e8172a248e7519491e56c0635ccea3514820781853fe3b88c1340e07f8407bf83cd475d7189510dc7767c1 SHA512 608106ffd1acd131a46cc88b2abe78b7883873865b190ff334b72ae773fb0436c4beac9b40ded4c2ea2b1d84bf6c71f1b53eff9b870879ebc9dabec6e2f079a8
|
||||
EBUILD nasm-2.16.01-r1.ebuild 1581 BLAKE2B 0dcfc4b92ff0462b0e21c6b5f4144098f79130bd968f2808f3ce5afca27e23638496ee276a6cfdb81ffd85fd7e314db8036be60cec1db7f4b398aeb9f8cf0a17 SHA512 06d03935a76a8bb160914f6a0c76137b60364451d7275ceb613dc5bfb029044ede6e87d6a9cae5e25be3d5ba06f3aa9ae306786ba80f078f1e243f90181a6347
|
||||
MISC metadata.xml 879 BLAKE2B 17d2ca1a78ed46d24fe75188387da9c03dafcd6aacf0db7c82fdee39ad766dac23010b6c51c90c08a3e591e93589a29a151ac5bc52fd6b3911504f2f124da6b7 SHA512 d6e921fc48851be64d1dfc0be200a1a86842e5d4d00a9f4551e7ca76a91272dc5f1f01928d3656a5e340283c83f7283bb9e7094c0309406d9392d57048239563
|
||||
|
@ -0,0 +1,241 @@
|
||||
From 5a2d629501d57301fe1d85fe6b2576e318f523d1 Mon Sep 17 00:00:00 2001
|
||||
From: "H. Peter Anvin" <hpa@zytor.com>
|
||||
Date: Sun, 19 Feb 2023 21:26:15 -0800
|
||||
Subject: [PATCH] autoconf: a much of macro fixes... not sure how this ever
|
||||
worked?
|
||||
|
||||
Exposed a bunch of problems with the autoconf m4 macro
|
||||
library. Hopefulyy fix it, and tidy it up in the process.
|
||||
|
||||
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
||||
--- /dev/null
|
||||
+++ b/autoconf/m4/pa_add_cppflags.m4
|
||||
@@ -0,0 +1,9 @@
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+dnl PA_ADD_CPPFLAGS(variable, flag [,actual_flag [,success [,failure]]]])
|
||||
+dnl
|
||||
+dnl Attempt to add the given option to xFLAGS, if it doesn't break
|
||||
+dnl compilation. If the option to be tested is different than the
|
||||
+dnl option that should actually be added, add the option to be
|
||||
+dnl actually added as a second argument.
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+AC_DEFUN([PA_ADD_CPPFLAGS], [PA_ADD_FLAGS(CPPFLAGS, [$1], [$2], [$3], [$4])])
|
||||
--- a/autoconf/m4/pa_add_flags.m4
|
||||
+++ b/autoconf/m4/pa_add_flags.m4
|
||||
@@ -1,23 +1,39 @@
|
||||
dnl --------------------------------------------------------------------------
|
||||
-dnl PA_ADD_FLAGS(variable, flag [,actual_flag [,success [,failure]]])
|
||||
+dnl PA_ADD_FLAGS(flagvar, flags)
|
||||
dnl
|
||||
-dnl Attempt to add the given option to CPPFLAGS, if it doesn't break
|
||||
-dnl compilation. If the option to be tested is different than the
|
||||
-dnl option that should actually be added, add the option to be
|
||||
-dnl actually added as a second argument.
|
||||
+dnl Add [flags] to the variable [flagvar] if and only if it is accepted
|
||||
+dnl by all languages affected by [flagvar], if those languages have
|
||||
+dnl been previously seen in the script.
|
||||
dnl --------------------------------------------------------------------------
|
||||
AC_DEFUN([PA_ADD_FLAGS],
|
||||
-[AC_MSG_CHECKING([if $CC accepts $2])
|
||||
- pa_add_flags__old_flags="$$1"
|
||||
- $1="$$1 $2"
|
||||
- AC_LINK_IFELSE(
|
||||
- [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
||||
- [printf("Hello, World!\n");])],
|
||||
- [AC_MSG_RESULT([yes])
|
||||
- $1="$pa_add_flags__old_flags ifelse([$3],[],[$2],[$3])"
|
||||
- AC_DEFINE(PA_SYM([$1_],[$2]), 1,
|
||||
- [Define to 1 if compiled with the `$2' compiler flag])
|
||||
+[
|
||||
+ AS_VAR_PUSHDEF([old], [_$0_$1_orig])
|
||||
+ AS_VAR_PUSHDEF([ok], [_$0_$1_ok])
|
||||
+ AS_VAR_PUSHDEF([flags], [$1])
|
||||
+
|
||||
+ AS_VAR_COPY([old], [flags])
|
||||
+ AS_VAR_SET([flags], ["$flags $2"])
|
||||
+ AS_VAR_SET([ok], [yes])
|
||||
+
|
||||
+ PA_LANG_FOREACH(PA_FLAGS_LANGLIST($1),
|
||||
+ [AS_VAR_IF([ok], [yes],
|
||||
+ [AC_MSG_CHECKING([if $]_AC_CC[ accepts $2])
|
||||
+ PA_BUILD_IFELSE([],
|
||||
+ [AC_MSG_RESULT([yes])],
|
||||
+ [AC_MSG_RESULT([no])
|
||||
+ AS_VAR_SET([ok], [no])])])
|
||||
+ ])
|
||||
+
|
||||
+ AS_VAR_IF([ok], [yes],
|
||||
+ [m4_ifnblank([$3],[AS_VAR_SET([flags], ["$old $3"])])
|
||||
+ m4_foreach_w([_pa_add_flags_flag], [m4_ifblank([$3],[$2],[$3])],
|
||||
+ [AC_DEFINE(PA_SYM([$1_]_pa_add_flags_flag), 1,
|
||||
+ [Define to 1 if compiled with the ]_pa_add_flags_flag[ compiler flag])])
|
||||
$4],
|
||||
- [AC_MSG_RESULT([no])
|
||||
- $1="$pa_add_flags__old_flags"
|
||||
- $5])])
|
||||
+ [AS_VAR_SET([flags], ["$old"])
|
||||
+ $5])
|
||||
+
|
||||
+ AS_VAR_POPDEF([flags])
|
||||
+ AS_VAR_POPDEF([ok])
|
||||
+ AS_VAR_POPDEF([old])
|
||||
+])
|
||||
--- /dev/null
|
||||
+++ b/autoconf/m4/pa_build_ifelse.m4
|
||||
@@ -0,0 +1,16 @@
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+dnl PA_BUILD_IFELSE(input [,success [,failure]])
|
||||
+dnl
|
||||
+dnl Same as AC_LINK_IFELSE for languages where linking is applicable,
|
||||
+dnl otherwise AC_COMPILE_IFELSE.
|
||||
+dnl
|
||||
+dnl If the first argument is empty, use _AC_LANG_IO_PROGRAM.
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+m4_defun([_PA_BUILD_IFELSE],
|
||||
+[m4_case(_AC_LANG,
|
||||
+ [Erlang], [AC_COMPILE_IFELSE($@)],
|
||||
+ [AC_LINK_IFELSE($@)])])
|
||||
+
|
||||
+AC_DEFUN([PA_BUILD_IFELSE],
|
||||
+[_PA_BUILD_IFELSE([m4_ifblank([$1],[AC_LANG_SOURCE(_AC_LANG_IO_PROGRAM)],
|
||||
+ [$1])],[$2],[$3])])
|
||||
--- /dev/null
|
||||
+++ b/autoconf/m4/pa_flags_langlist.m4
|
||||
@@ -0,0 +1,19 @@
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+dnl PA_FLAGS_LANGLIST(flagvar)
|
||||
+dnl
|
||||
+dnl Return a list of languages affected by the variable flagvar.
|
||||
+dnl If flagvar is unknown, assume it affects the current language.
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+AC_DEFUN([PA_FLAGS_LANGLIST],
|
||||
+[m4_dquote(m4_case([$1],
|
||||
+ [CPPFLAGS], [[C],[C++],[Objective C],[Objective C++]],
|
||||
+ [CFLAGS], [[C]],
|
||||
+ [CXXFLAGS], [[C++]],
|
||||
+ [FFLAGS], [[Fortran 77]],
|
||||
+ [FCFLAGS], [[Fortran]],
|
||||
+ [ERLCFLAGS], [[Erlang]],
|
||||
+ [OBJCFLAGS], [[Objective C]],
|
||||
+ [OBJCXXFLAGS], [[Objective C++]],
|
||||
+ [GOFLAGS], [[Go]],
|
||||
+ [LDFLAGS], [[C],[C++],[Fortran 77],[Fortran],[Objective C],[Objective C++],[Go]],
|
||||
+ m4_dquote(_AC_LANG)))])
|
||||
--- /dev/null
|
||||
+++ b/autoconf/m4/pa_lang_foreach.m4
|
||||
@@ -0,0 +1,15 @@
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+dnl PA_LANG_FOREACH(subset, body)
|
||||
+dnl
|
||||
+dnl Expand [body] for each language encountered in the configure script also
|
||||
+dnl present in [subset], or all if [subset] is empty
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+AC_DEFUN([_PA_LANG_DO],dnl
|
||||
+[AC_LANG([$2])dnl
|
||||
+$1])
|
||||
+
|
||||
+AC_DEFUN([PA_LANG_FOREACH],dnl
|
||||
+[m4_pushdef([_pa_lang_foreach_current],[_AC_LANG])dnl
|
||||
+m4_map_args([m4_curry([_PA_LANG_DO],[$2])],m4_unquote(PA_LANG_SEEN_LIST($1)))dnl
|
||||
+AC_LANG(_pa_lang_foreach_current)dnl
|
||||
+m4_popdef([_pa_lang_foreach_current])])
|
||||
--- /dev/null
|
||||
+++ b/autoconf/m4/pa_lang_seen_list.m4
|
||||
@@ -0,0 +1,20 @@
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+dnl PA_LANG_SEEN_LIST(subset)
|
||||
+dnl
|
||||
+dnl List of the language lang has been used in the configuration
|
||||
+dnl script so far, possibly subset by [subset].
|
||||
+dnl
|
||||
+dnl This relies on overriding _AC_LANG_SET(from, to),
|
||||
+dnl the internal implementation of _AC_LANG.
|
||||
+dnl --------------------------------------------------------------------------
|
||||
+m4_ifndef([_PA_LANG_SET],
|
||||
+[m4_rename([_AC_LANG_SET], [_PA_LANG_SET])dnl
|
||||
+m4_defun([_AC_LANG_SET], [m4_set_add([_PA_LANG_SEEN_SET],[$2])dnl
|
||||
+_PA_LANG_SET($@)])])
|
||||
+
|
||||
+AC_DEFUN([PA_LANG_SEEN_LIST],
|
||||
+[m4_set_delete([_pa_lang_seen_subset])dnl
|
||||
+m4_pushdef([_pa_lang_seen_subset_list],m4_ifnblank([$1],[$1],m4_dquote(m4_set_list([_PA_LANG_SEEN_SET]))))dnl
|
||||
+m4_set_add_all([_pa_lang_seen_subset],_pa_lang_seen_subset_list)dnl
|
||||
+m4_cdr(m4_set_intersection([_pa_lang_seen_subset],[_PA_LANG_SEEN_SET]))dnl
|
||||
+m4_popdef([_pa_lang_seen_subset_list])])
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -12,9 +12,6 @@ dnl start; this is used to generate config/unconfig.h.
|
||||
AH_BOTTOM([
|
||||
/* Begin unconfig.h */])
|
||||
|
||||
-dnl Save initial CFLAGS, to see if -g -O2 came from configure or not
|
||||
-pa_init_cflags="$CFLAGS"
|
||||
-
|
||||
dnl This prevents us from running Wine and thinking we are not
|
||||
dnl cross-compiling when in fact we are; running Wine here is at
|
||||
dnl the best very slow and doesn't buy us a single thing at all.
|
||||
@@ -27,35 +24,29 @@ AC_CANONICAL_HOST
|
||||
dnl Enable any available C extensions
|
||||
AC_PROG_CC
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
-AC_SYS_LARGEFILE
|
||||
-PA_ADD_CFLAGS([-std=c17], [], [],
|
||||
-[PA_ADD_CFLAGS([-std=c11], [], [],
|
||||
- [PA_ADD_CFLAGS([-std=c99])])])
|
||||
-
|
||||
-dnl If the user did not specify a CFLAGS default, change default
|
||||
-dnl to -O0 for debugging
|
||||
-PA_ARG_DISABLED([optimization],
|
||||
- [compile without optimization (-O0) to help debugging],
|
||||
- [pa_no_optimize=true])
|
||||
+PA_ADD_CPPFLAGS([-std=c17], [], [],
|
||||
+[PA_ADD_CPPFLAGS([-std=c11], [], [],
|
||||
+ [PA_ADD_CPPFLAGS([-std=c99])])])
|
||||
|
||||
-dnl Other programs
|
||||
-pa_no_optimize=false
|
||||
-
|
||||
-dnl Compile and link with dwarf debug
|
||||
+dnl Compile and link with gdb debug extensions
|
||||
PA_ARG_ENABLED([gdb],
|
||||
- [disable optimization and compile with extra debug information for GDB debugger],
|
||||
- [PA_ADD_CFLAGS([-ggdb3])
|
||||
- pa_no_optimize=true])
|
||||
+ [compile with extra debug information for GDB debugger],
|
||||
+ [PA_ADD_CFLAGS([-ggdb3])])
|
||||
|
||||
-AS_IF([$pa_no_optimize],
|
||||
- [PA_ADD_CFLAGS([-O0])
|
||||
- PA_ADD_CFLAGS([-fno-omit-frame-pointer])])
|
||||
+dnl Disable optimization
|
||||
+PA_ARG_DISABLED([optimization],
|
||||
+ [compile without optimization (-O0) to help debugging],
|
||||
+ [PA_ADD_CFLAGS([-O0])
|
||||
+ PA_ADD_CFLAGS([-fno-omit-frame-pointer])])
|
||||
|
||||
dnl Profiling
|
||||
PA_ARG_ENABLED([profiling],
|
||||
[compile with profiling (-pg option)],
|
||||
[PA_ADD_CFLAGS([-pg])])
|
||||
|
||||
+dnl Large files
|
||||
+AC_SYS_LARGEFILE
|
||||
+
|
||||
dnl Abort on panic
|
||||
PA_ARG_ENABLED([panic-abort],
|
||||
[call abort() on panic to trap in the debugger],
|
||||
@@ -104,10 +95,10 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
-AC_CHECK_PROGS(NROFF, nroff, false)
|
||||
-AC_CHECK_PROGS(ASCIIDOC, asciidoc, false)
|
||||
-AC_CHECK_PROGS(XMLTO, xmlto, false)
|
||||
-AC_CHECK_PROGS(XZ, xz, false)
|
||||
+AC_CHECK_PROGS([NROFF], nroff, false)
|
||||
+AC_CHECK_PROGS([ASCIIDOC], asciidoc, false)
|
||||
+AC_CHECK_PROGS([XMLTO], xmlto, false)
|
||||
+AC_CHECK_PROGS([XZ], xz, false)
|
||||
|
||||
dnl Check for progs needed for manpage generation
|
||||
MANPAGES=manpages
|
Binary file not shown.
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/crypto++.asc
|
||||
inherit flag-o-matic toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="https://cryptopp.com"
|
||||
SRC_URI="
|
||||
https://www.cryptopp.com/cryptopp${PV//.}.zip
|
||||
verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
# ABI notes:
|
||||
# - Bumped to 8.5 in 8.5.0 out of caution
|
||||
# subslot is so version (was broken in 8.3.0, check on bumps!)
|
||||
# Seems to be broken in 8.6 again too
|
||||
#
|
||||
# - See https://cryptopp.com/#news, but releases usually say
|
||||
# "recompile of programs required". Even if it doesn't,
|
||||
# verify with abidiff!
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
IUSE="+asm static-libs"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
verify-sig? ( sec-keys/openpgp-keys-crypto++ )
|
||||
"
|
||||
|
||||
config_uncomment() {
|
||||
sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use asm || config_uncomment CRYPTOPP_DISABLE_ASM
|
||||
|
||||
# ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
|
||||
[[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
tc-export AR RANLIB
|
||||
|
||||
# Long history of correctness bugs:
|
||||
# https://github.com/weidai11/cryptopp/issues/1134
|
||||
# https://github.com/weidai11/cryptopp/issues/1141
|
||||
# https://github.com/weidai11/cryptopp/pull/1147
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f GNUmakefile LDCONF=true all shared libcryptopp.pc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LDCONF=true install
|
||||
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST libmemcached-awesome-1.1.2.tar.gz 527675 BLAKE2B 436c3dcfed00a66459064a58a4d82e22f6f4a624a1f462949d2d3d8536b1342cbb7f0d5f883a86cce119dbcada4597c664609b7f9334bd321a5f1d314e5906b0 SHA512 3b9b6b1b09b39c845b5169841902d45e470f99af65765c9ae5d405d4eb1b6884e49831ccfb128df67beeda45eeed5e0f41ee475560cabcfa98e8196134182a53
|
||||
DIST libmemcached-awesome-1.1.3.tar.gz 527880 BLAKE2B b3d91b9eeb335b3fa7b910842b3c31326669aa9634ab6c87a3247bf8279037f5c2470b653fed851bf1708559af1a1edab52707c19eb6ea89ac6cb92424290d4a SHA512 99fb2ad32c05f8af769f5b30983b7c4244cd7ee027ccc8f893a957de4ffb12939959e2461c9acd20a8d21e0af824606e97d54465b7147337f40313c5eddf474b
|
||||
DIST libmemcached-awesome-1.1.4.tar.gz 530337 BLAKE2B b3309e4e7ab737d06255ce9e8d2b8644e2787dca73c0b09de8bbf9c99b8126cb5eee9ef2f7320c312f35ed8e29c70e1c1042dc80587982d9bcb7200d79bba5b2 SHA512 0a10a2431142ec6e4547f82fdd35b55c018264e5f8c39910a65252c3f53d862fb5945e7a671951915aac076767cc995740b3e499eb584017a38eb2d1e82171fb
|
||||
EBUILD libmemcached-awesome-1.1.2.ebuild 1073 BLAKE2B 25fd46a10be4fd0afc50789cdb4cf7d64b4f63e1f1677be4fd05c9ad5351f6e522c11dba805ce926b0fe5e1496a99c1cecf98327b051436263646abd4796a10d SHA512 72d718ead1fa5337153998f926e6a1c9f7ca544ca45772bb8296a00b1bf318ca755c3dd99ba8808cd04abf4bcf6ecee29133c8317739def5a0b6d2e20aa93d79
|
||||
EBUILD libmemcached-awesome-1.1.3-r1.ebuild 1106 BLAKE2B eb9896d3a0b5c82ef0ab102a6b8e8874d72fd202779ed6af62cba62cf80cacb16411196137c4dc09d65080cd8070c3dc04c8bc85fb034f977506eab806671c88 SHA512 6aafb33b4c2862208ed6e843b466308ae5c7924d9d0dfee5969f8b8c65ed85204ef226f2b8372556915ad6c6245194030ec7199a9f4a10efa2b0bbf941f89fb0
|
||||
EBUILD libmemcached-awesome-1.1.4.ebuild 1102 BLAKE2B 647f941a4bdb66d15dd19252525f87d799dbb9acfc20f1e956d2452e079bfba139c083921c8569bb914f1f64cd8945c953be20dd04d4f18d20de9742e57e2b93 SHA512 fa6f4a33146dea4962ec3b4f84594dc4512daad9e4f6f141c067ea91707dcf93512fc8d29571c966ab0d4aa19ef0ebfaa6f4c5df54dc74391d5522f596b8c615
|
||||
MISC metadata.xml 632 BLAKE2B abbf2b34829dfd68688dfe74c7a14e788558ecbf1e738fddb9296f986925c4c3cb927fd30b2d4a2a38c54082271eaabf19963d1daf4ab1ea9a3a9d16f1f5b558 SHA512 f4095b8e6c92046ae23a793724237522c99734ab80c3dd71f58d9972e728ba27330d169eafc3294df6e2e0f9b57e7c8f70e8b5a51a3c532250965e8ae7b05e0c
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="a C/C++ memcached client library"
|
||||
HOMEPAGE="https://github.com/awesomized/libmemcached"
|
||||
SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/libmemcached-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="+libevent sasl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="!dev-libs/libmemcached
|
||||
libevent? ( dev-libs/libevent:= )
|
||||
sasl? ( dev-libs/cyrus-sasl:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( net-misc/memcached )"
|
||||
BDEPEND="sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DENABLE_DTRACE=OFF
|
||||
-DENABLE_SASL=$(usex sasl)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
# memcached_regression_lp583031: needs network, bug #845123
|
||||
# bin/memaslap: tries to use Portage HOMEDIR, bug #845123
|
||||
-E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="a C/C++ memcached client library"
|
||||
HOMEPAGE="https://github.com/awesomized/libmemcached"
|
||||
SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/libmemcached-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="+libevent sasl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="!app-forensics/memdump
|
||||
!dev-libs/libmemcached
|
||||
libevent? ( dev-libs/libevent:= )
|
||||
sasl? ( dev-libs/cyrus-sasl:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( net-misc/memcached )"
|
||||
BDEPEND="sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DENABLE_DTRACE=OFF
|
||||
-DENABLE_SASL=$(usex sasl)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
# memcached_regression_lp583031: needs network, bug #845123
|
||||
# bin/memaslap: tries to use Portage HOMEDIR, bug #845123
|
||||
-E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST libzia-4.43.tar.gz 642097 BLAKE2B 34ab759fc8d4d83067df80d9d3f763717640df38f604222f3fc6b19876a9f5a5f5b79523857fa96d5badf047046b4786f100657ee0a41d0a7096a21c6006e5a0 SHA512 b6341ea6524b2040d63a7b21b9a4c12d26cb5ae30bc08dc37efd5fd7d71ecf7321511e09cc5745adc6f395f841d5e2bb4df827956204db4147ac11d204eaf8da
|
||||
DIST libzia-4.44.tar.gz 642077 BLAKE2B 0647cbfbbd05a08aafeaf64ee08485c54aa46d9c9ba81448f16cdd8c05a27dceb6646d0eebe4ae60b00b36ea0d8822fd61c157ebec1d788a49a27b9ff4dea44d SHA512 da1b65ff82e62f5b93c4e977ac5528c80e770fa4ed2a0ac4ba92db00f95bccecad2c1c81f9d179d1a4612b1801b6c3e9bab733a0ef6e67137410ac9b62a4972c
|
||||
DIST libzia-4.46.tar.gz 642261 BLAKE2B cf8a4fc32599d77114dbfb6684196f4b0fb4715af1e8bf5f647d8b383130030c0d9c62aa94b8f12f72653dcba019f57ea75adb699646b6f27ed2f6c6f410c2e9 SHA512 11242683133c094c61b55824f35c399daf187b82b33620e938c47ff09f60dc3b4bf644623ce2ad551d60e75694c4afa1747a3168df98ada245dd1e9500e52c16
|
||||
EBUILD libzia-4.43.ebuild 1191 BLAKE2B fdedbbb747f79407c1697e883d89dab444cc8fb60065c5800f6593010444160dc555f9c7fdc99e8d336ef7cd3409ce828e3c9156dc627143139bb987d7a20c2b SHA512 57c194225792866b997c7c1e5ed386f87f0213f8eeb4837c44148d013df10a61c6c71ddb20409088bb2e236eb3da948fc5c08c574ffc5d5bf962ab6ccb04cf8d
|
||||
EBUILD libzia-4.44.ebuild 1191 BLAKE2B fdedbbb747f79407c1697e883d89dab444cc8fb60065c5800f6593010444160dc555f9c7fdc99e8d336ef7cd3409ce828e3c9156dc627143139bb987d7a20c2b SHA512 57c194225792866b997c7c1e5ed386f87f0213f8eeb4837c44148d013df10a61c6c71ddb20409088bb2e236eb3da948fc5c08c574ffc5d5bf962ab6ccb04cf8d
|
||||
EBUILD libzia-4.46.ebuild 1193 BLAKE2B 14f99f1cbc754761e90212206e4d0d01a16071f07aee10c232bbfe66548432a576193bc83847a23bb7bd9d3eaa12e036c2e727e52eb2d5ac33c98b2c2f576856 SHA512 f0a68f7a6e158b889856683f2199c85cfdde1283a7b0d7b075adaa82a0859a9cabad1a731f0a13dddc2954e4084ed0c4d959584ca3c7aeb379befb71a366a2a5
|
||||
MISC metadata.xml 326 BLAKE2B 1b8ed6c9d40252f3371cf9a1ec295f593c8898dd8e45173ca05cededf987c7e44e2fafca613f8ad3022e9fbb6886d6aec2d183fd47c3064f35038784f361ebc4 SHA512 0c8a48b1101aa184dc596581feaf47463688801cb0f342177ecfb6fade1d63520ca1b9dcb278279470c181b560f555de332e4d2583e8856eec9057cde34df48f
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Platform abstraction code for tucnak package"
|
||||
HOMEPAGE="http://tucnak.nagano.cz"
|
||||
SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ftdi"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
media-libs/libsdl2
|
||||
media-libs/libpng:0
|
||||
ftdi? ( dev-embedded/libftdi:1 )
|
||||
elibc_musl? ( sys-libs/libunwind )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -i -e "s/docsdir/#docsdir/g" \
|
||||
-e "s/docs_/#docs_/g" Makefile.am || die
|
||||
|
||||
# Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected"
|
||||
sed -i -e 's/@LDFLAGS@//' libzia.pc.in || die
|
||||
|
||||
# fix build for MUSL (bug #832235)
|
||||
if use elibc_musl ; then
|
||||
sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-libs -lunwind
|
||||
econf \
|
||||
$(use_with ftdi) --with-sdl \
|
||||
--with-png --without-bfd \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -0,0 +1,417 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.35"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="cacert test +utils cpu_flags_ppc_altivec cpu_flags_x86_avx2 cpu_flags_x86_sse3 cpu_flags_ppc_vsx"
|
||||
RESTRICT="!test? ( test )"
|
||||
# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
|
||||
RDEPEND="
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.53-gentoo-fixups.patch"
|
||||
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
||||
"${FILESDIR}"/nss-3.87-use-clang-as-bgo892686.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use cacert ; then
|
||||
eapply -p2 "${DISTDIR}"/nss-cacert-class1-class3-r2.patch
|
||||
fi
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
|
||||
# Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069
|
||||
sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
*86*-pc-solaris2*) echo "i86pc" ;;
|
||||
aarch64*) echo "aarch64" ;;
|
||||
hppa*) echo "parisc" ;;
|
||||
i?86*) echo "i686" ;;
|
||||
x86_64*) echo "x86_64" ;;
|
||||
*) tc-arch ${t} ;;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
${DEFAULT_ABI})
|
||||
einfo "Running compilation test to determine bit'ness"
|
||||
mybits=$(nssbits)
|
||||
;;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
CCC="$(tc-getCXX)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
disable_ckbi=0
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
export NSS_ALLOW_SSLKEYLOGFILE=1
|
||||
export NSS_ENABLE_WERROR=0 #567158
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export FREEBL_LOWHASH=1
|
||||
export NSS_SEED_ONLY_DEV_URANDOM=1
|
||||
export USE_SYSTEM_ZLIB=1
|
||||
export ZLIB_LIBS=-lz
|
||||
export ASFLAGS=""
|
||||
# Fix build failure on arm64
|
||||
export NS_USE_GCC=1
|
||||
# Detect compiler type and set proper environment value
|
||||
if tc-is-gcc; then
|
||||
export CC_IS_GCC=1
|
||||
elif tc-is-clang; then
|
||||
export CC_IS_CLANG=1
|
||||
fi
|
||||
|
||||
export NSS_DISABLE_GTESTS=$(usex !test 1 0)
|
||||
|
||||
# Include exportable custom settings defined by users, #900915
|
||||
# Two examples uses:
|
||||
# EXTRA_NSSCONF="MYONESWITCH=1"
|
||||
# EXTRA_NSSCONF="MYVALUE=0 MYOTHERVALUE=1 MYTHIRDVALUE=1"
|
||||
# e.g.
|
||||
# EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0"
|
||||
# or
|
||||
# EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0 NSS_ENABLE_WERROR=1"
|
||||
# etc.
|
||||
if [[ -n "${EXTRA_NSSCONF}" ]]; then
|
||||
ewarn "EXTRA_NSSCONF applied, please disable custom settings before reporting bugs."
|
||||
read -a myextranssconf <<< "${EXTRA_NSSCONF}"
|
||||
|
||||
for (( i=0; i<${#myextranssconf[@]}; i++ )); do
|
||||
export "${myextranssconf[$i]}"
|
||||
echo "exported ${myextranssconf[$i]}"
|
||||
done
|
||||
fi
|
||||
|
||||
# explicitly disable altivec/vsx if not requested
|
||||
# https://bugs.gentoo.org/789114
|
||||
case ${ARCH} in
|
||||
ppc*)
|
||||
use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1
|
||||
use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1
|
||||
;;
|
||||
esac
|
||||
|
||||
use cpu_flags_x86_avx2 || export NSS_DISABLE_AVX2=1
|
||||
use cpu_flags_x86_sse3 || export NSS_DISABLE_SSE3=1
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
einfo "Tests can take a *long* time, especially on a multilib system."
|
||||
einfo "30-45+ minutes per lib configuration. Bug #852755"
|
||||
|
||||
# https://www.linuxfromscratch.org/blfs/view/svn/postlfs/nss.html
|
||||
# https://firefox-source-docs.mozilla.org/security/nss/legacy/nss_sources_building_testing/index.html#running_the_nss_test_suite
|
||||
# https://www-archive.mozilla.org/projects/security/pki/nss/testnss_32.html (older)
|
||||
export BUILD_OPT=1
|
||||
export HOST="localhost"
|
||||
export DOMSUF="localdomain"
|
||||
export USE_IP=TRUE
|
||||
export IP_ADDRESS="127.0.0.1"
|
||||
|
||||
# Only run the standard cycle instead of full, reducing testing time from 45 minutes to 15
|
||||
# per lib implementation.
|
||||
export NSS_CYCLES=standard
|
||||
|
||||
NSINSTALL="${PWD}/$(find -type f -name nsinstall)"
|
||||
|
||||
cd "${BUILD_DIR}"/tests || die
|
||||
# Hack to get current objdir (prefixed dir where built binaries are)
|
||||
# Without this, at least multilib tests go wrong when building the amd64 variant
|
||||
# after x86.
|
||||
local objdir=$(find "${BUILD_DIR}"/dist -maxdepth 1 -iname Linux* | rev | cut -d/ -f1 | rev)
|
||||
|
||||
# Can tweak to a subset of tests in future if we need to, but would prefer not
|
||||
OBJDIR="${objdir}" DIST="${BUILD_DIR}/dist" MOZILLA_ROOT="${BUILD_DIR}" ./all.sh || die
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
local i
|
||||
for i in crmf freebl nssb nssckfw ; do
|
||||
cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
done
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.{h,api}
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac,cmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils=( shlibsign )
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
# checkcert utils has been removed in nss-3.22:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
|
||||
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
|
||||
# certcgi has been removed in nss-3.36:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
|
||||
nssutils+=(
|
||||
addbuiltin
|
||||
atob
|
||||
baddbdir
|
||||
btoa
|
||||
certutil
|
||||
cmsutil
|
||||
conflict
|
||||
crlutil
|
||||
derdump
|
||||
digest
|
||||
makepqg
|
||||
mangle
|
||||
modutil
|
||||
multinit
|
||||
nonspr10
|
||||
ocspclnt
|
||||
oidcalc
|
||||
p7content
|
||||
p7env
|
||||
p7sign
|
||||
p7verify
|
||||
pk11mode
|
||||
pk12util
|
||||
pp
|
||||
rsaperf
|
||||
selfserv
|
||||
signtool
|
||||
signver
|
||||
ssltap
|
||||
strsclnt
|
||||
symkeyutil
|
||||
tstclnt
|
||||
vfychain
|
||||
vfyserv
|
||||
)
|
||||
# install man-pages for utils (bug #516810)
|
||||
doman doc/nroff/*.1
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils[@]}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
@ -1,265 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
|
||||
inherit edo flag-o-matic toolchain-funcs multilib-minimal verify-sig
|
||||
|
||||
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
|
||||
verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0/1.1" # .so version of libssl/libcrypto
|
||||
if [[ ${PV} != *_pre* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
IUSE="+asm rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-compression tls-heartbeat vanilla verify-sig weak-ssl-ciphers"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
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
|
||||
kernel_linux? ( sys-process/procps )
|
||||
)
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230801 )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
# force upgrade to prevent broken login, bug #696950
|
||||
RDEPEND+=" !<net-misc/openssh-8.0_p1-r3"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# General patches which are suitable to always apply
|
||||
# If they're Gentoo specific, add to USE=-vanilla logic in src_prepare!
|
||||
"${FILESDIR}"/${PN}-1.1.0j-parallel_install_fix.patch # bug #671602
|
||||
"${FILESDIR}"/${PN}-1.1.1i-riscv32.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
# must check in pkg_setup; sysctl doesn'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_unpack() {
|
||||
# Can delete this once test fix patch is dropped
|
||||
if use verify-sig ; then
|
||||
# Needed for downloaded patch (which is unsigned, which is fine)
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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
|
||||
PATCHES+=(
|
||||
# Add patches which are Gentoo-specific customisations here
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use test && use sctp && has network-sandbox ${FEATURES}; then
|
||||
einfo "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
|
||||
fi
|
||||
|
||||
# Test fails depending on kernel configuration, bug #699134
|
||||
rm test/recipes/30-test_afalg.t || die
|
||||
|
||||
# Remove test target when FEATURES=test isn't set
|
||||
if ! use test ; then
|
||||
sed \
|
||||
-e '/^$config{dirs}/s@ "test",@@' \
|
||||
-i Configure || die
|
||||
fi
|
||||
|
||||
if use prefix && [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# use GNU ld full option, not to confuse it on Solaris
|
||||
sed -i \
|
||||
-e 's/-Wl,-M,/-Wl,--version-script=/' \
|
||||
-e 's/-Wl,-h,/-Wl,--soname=/' \
|
||||
Configurations/10-main.conf || 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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# 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 (bug #417795 again)
|
||||
tc-is-clang && append-flags -Qunused-arguments
|
||||
|
||||
# We really, really need to build OpenSSL w/ strict aliasing disabled.
|
||||
# It's filled with violations and it *will* result in miscompiled
|
||||
# code. This has been in the ebuild for > 10 years but even in 2022,
|
||||
# it's still relevant:
|
||||
# - https://github.com/llvm/llvm-project/issues/55255
|
||||
# - https://github.com/openssl/openssl/issues/18225
|
||||
# - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057
|
||||
# Don't remove the no strict aliasing bits below!
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags -fno-strict-aliasing
|
||||
# The OpenSSL developers don't test with LTO right now, it leads to various
|
||||
# warnings/errors (which may or may not be false positives), it's considered
|
||||
# unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663.
|
||||
filter-lto
|
||||
|
||||
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
# bug #197996
|
||||
unset APPS
|
||||
# bug #312551
|
||||
unset SCRIPTS
|
||||
# bug #311473
|
||||
unset CROSS_COMPILE
|
||||
|
||||
tc-export AR CC CXX RANLIB RC
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
|
||||
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, bug #460790.
|
||||
#local ec_nistp_64_gcc_128
|
||||
#
|
||||
# Disable it for now though (bug #469976)
|
||||
# Do NOT re-enable without substantial discussion first!
|
||||
#
|
||||
#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=$(bash "${FILESDIR}/gentoo.config-1.0.4")
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config=( perl "${S}/Configure" )
|
||||
[[ -z ${sslout} ]] && config=( sh "${S}/config" -v )
|
||||
|
||||
# "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.
|
||||
local myeconfargs=(
|
||||
${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 test || echo "no-tests")
|
||||
$(use_ssl tls-compression zlib)
|
||||
$(use_ssl tls-heartbeat heartbeats)
|
||||
$(use_ssl weak-ssl-ciphers)
|
||||
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR}
|
||||
--libdir=$(get_libdir)
|
||||
|
||||
shared
|
||||
threads
|
||||
)
|
||||
|
||||
edo "${config[@]}" "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install_sw
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
emake DESTDIR="${D}" install_ssldirs
|
||||
emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} MANSUFFIX=ssl install_docs
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
# bug #254521
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)"
|
||||
openssl rehash "${EROOT}${SSL_CNF_DIR}/certs"
|
||||
eend $?
|
||||
}
|
@ -1,288 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
|
||||
inherit edo flag-o-matic linux-info toolchain-funcs
|
||||
inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig
|
||||
|
||||
DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/openssl/openssl.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
mirror://openssl/source/${MY_P}.tar.gz
|
||||
verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto
|
||||
IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!<net-misc/openssh-9.2_p1-r3
|
||||
tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
sys-process/procps
|
||||
)
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230207 )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/openssl/configuration.h
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use ktls ; then
|
||||
if kernel_is -lt 4 18 ; then
|
||||
ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!"
|
||||
else
|
||||
CONFIG_CHECK="~TLS ~TLS_DEVICE"
|
||||
ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!"
|
||||
ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!"
|
||||
use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER"
|
||||
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
fi
|
||||
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
# must check in pkg_setup; sysctl doesn'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_unpack() {
|
||||
# Can delete this once test fix patch is dropped
|
||||
if use verify-sig ; then
|
||||
# Needed for downloaded patch (which is unsigned, which is fine)
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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
|
||||
PATCHES+=(
|
||||
# Add patches which are Gentoo-specific customisations here
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use test && use sctp && has network-sandbox ${FEATURES} ; then
|
||||
einfo "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
|
||||
fi
|
||||
|
||||
# Test fails depending on kernel configuration, bug #699134
|
||||
rm test/recipes/30-test_afalg.t || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# 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 (bug #417795 again)
|
||||
tc-is-clang && append-flags -Qunused-arguments
|
||||
|
||||
# We really, really need to build OpenSSL w/ strict aliasing disabled.
|
||||
# It's filled with violations and it *will* result in miscompiled
|
||||
# code. This has been in the ebuild for > 10 years but even in 2022,
|
||||
# it's still relevant:
|
||||
# - https://github.com/llvm/llvm-project/issues/55255
|
||||
# - https://github.com/openssl/openssl/issues/18225
|
||||
# - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057
|
||||
# Don't remove the no strict aliasing bits below!
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags -fno-strict-aliasing
|
||||
# The OpenSSL developers don't test with LTO right now, it leads to various
|
||||
# warnings/errors (which may or may not be false positives), it's considered
|
||||
# unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663.
|
||||
filter-lto
|
||||
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
# bug #895308
|
||||
append-atomic-flags
|
||||
# Configure doesn't respect LIBS
|
||||
export LDLIBS="${LIBS}"
|
||||
|
||||
# bug #197996
|
||||
unset APPS
|
||||
# bug #312551
|
||||
unset SCRIPTS
|
||||
# bug #311473
|
||||
unset CROSS_COMPILE
|
||||
|
||||
tc-export AR CC CXX RANLIB RC
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
|
||||
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, bug #460790.
|
||||
#local ec_nistp_64_gcc_128
|
||||
#
|
||||
# Disable it for now though (bug #469976)
|
||||
# Do NOT re-enable without substantial discussion first!
|
||||
#
|
||||
#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=$(bash "${FILESDIR}/gentoo.config-1.0.4")
|
||||
einfo "Using configuration: ${sslout:-(openssl knows best)}"
|
||||
|
||||
# https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features
|
||||
local myeconfargs=(
|
||||
${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")
|
||||
enable-idea
|
||||
enable-mdc2
|
||||
enable-rc5
|
||||
$(use fips && echo "enable-fips")
|
||||
$(use_ssl asm)
|
||||
$(use_ssl ktls)
|
||||
$(use_ssl rfc3779)
|
||||
$(use_ssl sctp)
|
||||
$(use test || echo "no-tests")
|
||||
$(use_ssl tls-compression zlib)
|
||||
$(use_ssl weak-ssl-ciphers)
|
||||
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR}
|
||||
--libdir=$(get_libdir)
|
||||
|
||||
shared
|
||||
threads
|
||||
)
|
||||
|
||||
edo perl "${S}/Configure" "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake build_sw
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
emake build_docs
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# VFP = show subtests verbosely and show failed tests verbosely
|
||||
# Normal V=1 would show everything verbosely but this slows things down.
|
||||
emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install_sw
|
||||
if use fips; then
|
||||
emake DESTDIR="${D}" install_fips
|
||||
# Regen this in pkg_preinst, bug 900625
|
||||
rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
emake DESTDIR="${D}" install_ssldirs
|
||||
emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} install_docs
|
||||
fi
|
||||
|
||||
# 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 {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el
|
||||
|
||||
# Create the certs directory
|
||||
keepdir ${SSL_CNF_DIR}/certs
|
||||
|
||||
# bug #254521
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use fips; then
|
||||
# Regen fipsmodule.cnf, bug 900625
|
||||
ebegin "Running openssl fipsinstall"
|
||||
"${ED}/usr/bin/openssl" fipsinstall -quiet \
|
||||
-out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \
|
||||
-module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so"
|
||||
eend $?
|
||||
fi
|
||||
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \
|
||||
/usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)"
|
||||
openssl rehash "${EROOT}${SSL_CNF_DIR}/certs"
|
||||
eend $?
|
||||
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \
|
||||
/usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1)
|
||||
}
|
@ -1,293 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
|
||||
inherit edo flag-o-matic linux-info toolchain-funcs
|
||||
inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig
|
||||
|
||||
DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/openssl/openssl.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
mirror://openssl/source/${MY_P}.tar.gz
|
||||
verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto
|
||||
IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!<net-misc/openssh-9.2_p1-r3
|
||||
tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
sys-process/procps
|
||||
)
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230207 )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/openssl/configuration.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-CVE-2023-2975.patch
|
||||
"${FILESDIR}"/${P}-CVE-2023-3446.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use ktls ; then
|
||||
if kernel_is -lt 4 18 ; then
|
||||
ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!"
|
||||
else
|
||||
CONFIG_CHECK="~TLS ~TLS_DEVICE"
|
||||
ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!"
|
||||
ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!"
|
||||
use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER"
|
||||
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
fi
|
||||
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
# must check in pkg_setup; sysctl doesn'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_unpack() {
|
||||
# Can delete this once test fix patch is dropped
|
||||
if use verify-sig ; then
|
||||
# Needed for downloaded patch (which is unsigned, which is fine)
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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
|
||||
PATCHES+=(
|
||||
# Add patches which are Gentoo-specific customisations here
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use test && use sctp && has network-sandbox ${FEATURES} ; then
|
||||
einfo "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
|
||||
fi
|
||||
|
||||
# Test fails depending on kernel configuration, bug #699134
|
||||
rm test/recipes/30-test_afalg.t || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# 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 (bug #417795 again)
|
||||
tc-is-clang && append-flags -Qunused-arguments
|
||||
|
||||
# We really, really need to build OpenSSL w/ strict aliasing disabled.
|
||||
# It's filled with violations and it *will* result in miscompiled
|
||||
# code. This has been in the ebuild for > 10 years but even in 2022,
|
||||
# it's still relevant:
|
||||
# - https://github.com/llvm/llvm-project/issues/55255
|
||||
# - https://github.com/openssl/openssl/issues/18225
|
||||
# - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057
|
||||
# Don't remove the no strict aliasing bits below!
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags -fno-strict-aliasing
|
||||
# The OpenSSL developers don't test with LTO right now, it leads to various
|
||||
# warnings/errors (which may or may not be false positives), it's considered
|
||||
# unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663.
|
||||
filter-lto
|
||||
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
# bug #895308
|
||||
append-atomic-flags
|
||||
# Configure doesn't respect LIBS
|
||||
export LDLIBS="${LIBS}"
|
||||
|
||||
# bug #197996
|
||||
unset APPS
|
||||
# bug #312551
|
||||
unset SCRIPTS
|
||||
# bug #311473
|
||||
unset CROSS_COMPILE
|
||||
|
||||
tc-export AR CC CXX RANLIB RC
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
|
||||
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, bug #460790.
|
||||
#local ec_nistp_64_gcc_128
|
||||
#
|
||||
# Disable it for now though (bug #469976)
|
||||
# Do NOT re-enable without substantial discussion first!
|
||||
#
|
||||
#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=$(bash "${FILESDIR}/gentoo.config-1.0.4")
|
||||
einfo "Using configuration: ${sslout:-(openssl knows best)}"
|
||||
|
||||
# https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features
|
||||
local myeconfargs=(
|
||||
${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")
|
||||
enable-idea
|
||||
enable-mdc2
|
||||
enable-rc5
|
||||
$(use fips && echo "enable-fips")
|
||||
$(use_ssl asm)
|
||||
$(use_ssl ktls)
|
||||
$(use_ssl rfc3779)
|
||||
$(use_ssl sctp)
|
||||
$(use test || echo "no-tests")
|
||||
$(use_ssl tls-compression zlib)
|
||||
$(use_ssl weak-ssl-ciphers)
|
||||
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR}
|
||||
--libdir=$(get_libdir)
|
||||
|
||||
shared
|
||||
threads
|
||||
)
|
||||
|
||||
edo perl "${S}/Configure" "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake build_sw
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
emake build_docs
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# VFP = show subtests verbosely and show failed tests verbosely
|
||||
# Normal V=1 would show everything verbosely but this slows things down.
|
||||
emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install_sw
|
||||
if use fips; then
|
||||
emake DESTDIR="${D}" install_fips
|
||||
# Regen this in pkg_preinst, bug 900625
|
||||
rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
emake DESTDIR="${D}" install_ssldirs
|
||||
emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} install_docs
|
||||
fi
|
||||
|
||||
# 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 {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el
|
||||
|
||||
# Create the certs directory
|
||||
keepdir ${SSL_CNF_DIR}/certs
|
||||
|
||||
# bug #254521
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use fips; then
|
||||
# Regen fipsmodule.cnf, bug 900625
|
||||
ebegin "Running openssl fipsinstall"
|
||||
"${ED}/usr/bin/openssl" fipsinstall -quiet \
|
||||
-out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \
|
||||
-module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so"
|
||||
eend $?
|
||||
fi
|
||||
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \
|
||||
/usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)"
|
||||
openssl rehash "${EROOT}${SSL_CNF_DIR}/certs"
|
||||
eend $?
|
||||
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \
|
||||
/usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1)
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue