parent
4aad69921a
commit
957619c045
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29319 BLAKE2B 76807420908a665bb615ccaa57701d9a8c98501f84cb74665248e33da3c7fa8580963e30cf881d8c796eebcc9cc9fe04746049710e26d16339c71d5bff1a8a32 SHA512 0b5fc015301a6408b851110c1d5aa580f478b0856627c94300d2a8158b94426a0f65c91600cc910de4f91497fba584f99e7bff0f14e6d33b42a769d8f2044671
|
||||
TIMESTAMP 2021-06-22T05:08:55Z
|
||||
MANIFEST Manifest.files.gz 29295 BLAKE2B 8bbdb09e69799efa7a1708e7f68dc5ff38ab6914b67d01dd1ab2dd91cb8dac4eb72d353fe4b25676c83d74cd8f7f11ccf05b67927c150e4b9971cbcd6738c7ed SHA512 29998a378aad66f112988c968be13066a73fdb8a46c24eeb4499e922ae1ea2c8356d8c62ad13b0d75d36560d2de70666c7db6a7a46343b1ca25d91dea27ade9a
|
||||
TIMESTAMP 2021-06-23T09:08:59Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmDRcGdfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmDS+itfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA73A//TYXt0LGWrSqM7aW92sw2H0QtLhoiDE7+Ey8tOFbdKsNNRhA/g+2UDwae
|
||||
KXVwO/Plx4r9oNie1uudZuJWtysEg80AFmv+B5WYyqXXqyqG1IgrZKn42+NF2IJ5
|
||||
FbPvjwK2kBTpuPUHG3Oiqx0PceHFcbO42NcwbWCgw7fhUb7ZfRogsjN3CAlXA2EY
|
||||
NkZS+3hj9ldCDf/KdmS7NEKg5M2lzalGHZ11dhHqcDZw8PvLxYu7RD4DVMB+FDsY
|
||||
Af7qinm8SaDJIo7WZR2ZtnYlySCGoMe0JDxsvTg77e7HxNv13v+JgdUABKAtGxRA
|
||||
xOJpHDF2MHJfN6qX4lR5znKaGViYY5E3Svu0hclLDaAsw/eU/LI/bVNE6NEIzs5G
|
||||
QrtDv9fBHd3iOaWMa3q0T5cqjIH1iYr+JQinbW07WJDELA4JRzwpF/miz8BSVYQZ
|
||||
s56otsSs3RFuaTv5kL5ObUKBrzh0oG09KYy/yvPFkdF5bqyNcCYOLJ9fqgIh0e3g
|
||||
cOkNY5apUxUF+kv2XmslwDyZJmZ6Ll8a3I9YPRKbh8UNbZQwzMt+dNJvlTWJJka7
|
||||
wFamKXfxZ8GdrM1XtJL/xJHgVhBfQZy+YIM3vWMuNnSk6FJ8nuZcvcPUsL1OHeUs
|
||||
6fXaT+2EbZRGMl1pj9ARaKpSIyey2/8MqTTEbI2y6agI3hlm4kk=
|
||||
=UFzB
|
||||
klAW1Q//U6rEXTowfm0an9LAPz3bDm4K0paWoHTFQwk/9HBi8caNpqbjKN7bfoa7
|
||||
f+/4+k08jbeFsmf0n4KccQI7mqHGH88HteDHa10MkC7uE3WMy9j8qNI8W490mTgF
|
||||
rYrGdcQ7cZ2INTdHWfoXLl8AFmh/kOISnVyVvbXrGCjghjUpNTi7daEwnYv6LomT
|
||||
Q1OMoMtJPlVoxdT1mnhV05VQRsbtKMggIkYANe1AjMFaRUfnGMbIOF+befUxssDA
|
||||
5liFLjYK1ShiPHU2bz4aMPPxO7ooExkNL6gF4L6gB5czMcFGKjumHdILqsV5CxWP
|
||||
Ni7jjxZBVkTNnwJKZ63xlUNgyeORpTd/OyzMy3nAQD+Nnsd/Jpcyrfw355xU6dLg
|
||||
tohtMJos798B3acPbcD1qXeNFcwF9d4IrUi2lnrxRTACEtu2tbsCMs1P2LSnx035
|
||||
3/klu1UPciaW0da8iikJeXtsnqiIZ0IMRFMGu8KKcjYc5ff2YkA82eqCcv9mhL7C
|
||||
nfxXzWR7070H6kieX6SlAvilEUCYNa97OP+gj/tccfWcAvfpMTLjEp1pjPjioMfB
|
||||
kiX6MF4IiR5G6TqLZ2Wf6DwCHMaXLKy49WX1d7Q3WHKem4bqZUDNmS9yBDa1TMvX
|
||||
1CLEnRHd2l4ukHfMpCjBoH1+BLpU8/nZQv8NGHsteKSk/4/vKEY=
|
||||
=ROz+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install nose
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
nosetests -v tests/{functional,unit} ||
|
||||
die "Tests failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
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,7 +0,0 @@
|
||||
AUX diamond.confd 57 BLAKE2B 8a5e3f478d3eb948e262239a9a83026e067ed67f2a4878075c8ddb7d8d356a2482da0642e673b8b3f658de6c6f30a30c830bc68af3fe2d750b998dc896525942 SHA512 51b037902394b22f957a15ad1479ebdae5ac29384f2b7a5053ea8200bad05dc9c9060cc5c6c1a931e341e99b95327e55b06aaa9a828950533265f9c96a8dff55
|
||||
AUX diamond.initd 659 BLAKE2B 945ab65f07091de300082518d57f7c479a2c29800c8813494f2e45babf030bec9dc11b640378bbfa1bd2445be498f03b14e1f30f6a814401db34e0733fcc44bd SHA512 c6a9e120ab4012335d75610dac60b2ea0c9bc3f3d8244f14caa0ee7b5c50f623e330dee580285de0ce4319c554d9f9996fbe07b9e35d1a3c30a14f57ef97ecc7
|
||||
DIST python-diamond-4.0.515.20170311.tar.gz 671963 BLAKE2B 9449f2d27b48c0e24727eb2c415a5095b20199d9315ef69df92a4aa6f8f3397743f3dc6cf2d8d91f79eca309926731b6b42da170a02987a20aeccd1e0980f4ac SHA512 d18a80540018975455b839a78fd55d13d167726b92914e3dc2de1c6f27f47319962361e05961c55047ba185e11ebf57831f3ab5cff9158a50d30a2ca635d53bd
|
||||
DIST python-diamond-4.0.515.20200620.tar.gz 674623 BLAKE2B eaf290a18a79115fdc013addff5b9d5a5c5b5ce06989c7e3cb8ac5dd988f47878a893ae37a96d1f020dac1aff00ebe191bf27c3d19ac5625afd56cf79451a141 SHA512 5e43aa1bb7acbeaa80db2bbc8e956042104fa9364893b5149bcfa7bff3e00b3667a112243e7a1fad85c1fb1b0c2e2727d0f73fb6851c1959ac95c1854b0c0f76
|
||||
EBUILD diamond-4.0.515.20170311-r1.ebuild 2917 BLAKE2B 8eb78e4902801075bcaff8ed3355d42eb72990123e99cd0831a5d982d3f8d6cf7cbac759abff793d4622c8d4144a76ed3a382646a95e00db0d56812294dc10b9 SHA512 637bd351666de67ed0226c2bfed26bd38b865c38de3c5a865841c0b84ab5b4bc0cf8cb1f08306b17091f6b65f7b1836c0e3ed9424d7b4d93435e7e787338050a
|
||||
EBUILD diamond-4.0.515.20200620-r1.ebuild 2382 BLAKE2B 7e67effd176c94851220e9693e9143a5170bba71f17245241f6b437b9c2132aede8d4f68f5f126c93a4bfa507f2706c224a85a637de01c74214b8c64a2d05946 SHA512 9060750e4b418a10331e70e94e1c6d31d3eccb15edaac80ed5c62600c75d9b5e4388fd526f4f33d41520bfc351998de996b12405a1f267ecab959f1cf6a547d6
|
||||
MISC metadata.xml 802 BLAKE2B d013e1b87c2f1d5f0f628766ed754a4ac50e9c9e710b7b2542081cd06988f7f577513a53165c54ff4d1d1de3bba92ec2089eaa15d16cbe946f7489d0345aeaaa SHA512 c455baa068661000d395e15f6952b3106cb3633f1a95395745c6a0d7cc5dbfb193d018af1341f27b250226bdc109e961bda4a612115d5805958f8e500108239a
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python-diamond/Diamond.git"
|
||||
S=${WORKDIR}/diamond-${PV}
|
||||
else
|
||||
GHASH=73207d04e0739a4ce92bc201b36681c42d9fa7e7 # python3 branch
|
||||
SRC_URI="https://github.com/python-diamond/Diamond/archive/${GHASH}.tar.gz -> python-diamond-${PV}.tar.gz"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/Diamond-${GHASH}
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Python daemon that collects and publishes system metrics"
|
||||
HOMEPAGE="https://github.com/python-diamond/Diamond"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test mongo mysql snmp redis"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
dev-python/setproctitle
|
||||
mongo? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysqlclient )
|
||||
snmp? ( dev-python/pysnmp )
|
||||
redis? ( dev-python/redis-py )
|
||||
!kernel_linux? ( >=dev-python/psutil-3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pysnmp
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# adjust for Prefix
|
||||
hprefixify bin/diamond*
|
||||
|
||||
# fix the version (not set in GitHub archive)
|
||||
sed -i -e "s/__VERSIONTOKENHERE__/${PV}/" src/diamond/version.py.tmpl || die
|
||||
echo "${PV}" > version.txt || die
|
||||
# fix psutil usage
|
||||
sed -i -e 's/psutil\.network_io_counters/psutil.net_io_counters/' \
|
||||
src/collectors/network/network.py || die
|
||||
# fix symlink out of place
|
||||
rm README.md || die
|
||||
cp docs/index.md README.md || die
|
||||
|
||||
# this module isn't Python3 yet (lambda), if you use this and have a
|
||||
# fix, let me know
|
||||
rm src/diamond/handler/rrdtool.py || die
|
||||
|
||||
# forgotten conversion
|
||||
sed -i \
|
||||
-e 's/import Queue/import queue/' \
|
||||
-e 's/Queue\.Full/queue.Full/' \
|
||||
src/diamond/handler/queue.py || die
|
||||
# fix usage of map as list
|
||||
sed -i \
|
||||
-e '/paths = map(str.strip, paths)/d' \
|
||||
src/diamond/utils/classes.py || die
|
||||
# send data as bytes
|
||||
sed -i \
|
||||
-e '/self.socket.sendall/s/data/str.encode(data)/' \
|
||||
src/diamond/handler/graphite.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# don't want to depend on docker for just this
|
||||
mv src/collectors/docker_collector/test/{test,no}docker_collector.py || die
|
||||
# fails on binding ports
|
||||
mv src/collectors/portstat/tests/{test,no}_portstat.py || die
|
||||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export VIRTUAL_ENV=1
|
||||
distutils-r1_python_install
|
||||
python_optimize
|
||||
mv "${ED}"/usr/etc "${ED}"/ || die
|
||||
rm "${ED}"/etc/diamond/*.windows # won't need these
|
||||
sed -i \
|
||||
-e '/pid_file =/s:/var/run:/run:' \
|
||||
"${ED}"/etc/diamond/diamond.conf.example || die
|
||||
hprefixify "${ED}"/etc/diamond/diamond.conf.example
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/log/diamond
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/grobian/Diamond.git"
|
||||
EGIT_BRANCH="python3"
|
||||
S=${WORKDIR}/diamond-${PV}
|
||||
else
|
||||
GHASH=8d8a2e49d80d44968a34d43e36c1d864695a29c1 # from python3 branch
|
||||
SRC_URI="https://github.com/grobian/Diamond/archive/${GHASH}.tar.gz -> python-diamond-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S=${WORKDIR}/Diamond-${GHASH}
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Python daemon that collects and publishes system metrics"
|
||||
HOMEPAGE="https://github.com/python-diamond/Diamond"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test mongo mysql snmp redis"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
dev-python/setproctitle
|
||||
mongo? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysqlclient )
|
||||
snmp? ( dev-python/pysnmp )
|
||||
redis? ( dev-python/redis-py )
|
||||
!kernel_linux? ( >=dev-python/psutil-3 )
|
||||
kernel_linux? ( sys-process/psmisc )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
src_prepare() {
|
||||
# adjust for Prefix
|
||||
hprefixify bin/diamond*
|
||||
|
||||
# fix the version (not set in GitHub archive)
|
||||
sed -i -e "s/__VERSIONTOKENHERE__/${PV}/" src/diamond/version.py.tmpl || die
|
||||
echo "${PV}" > version.txt || die
|
||||
# fix symlink out of place
|
||||
rm README.md || die
|
||||
cp docs/index.md README.md || die
|
||||
|
||||
# this module isn't Python3 yet (lambda), if you use this and have a
|
||||
# fix, let me know
|
||||
rm src/diamond/handler/rrdtool.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export VIRTUAL_ENV=1
|
||||
distutils-r1_python_install
|
||||
python_optimize
|
||||
# since python3.8 installation goes straight into /etc
|
||||
[[ -d ${ED}/etc ]] && [[ -d ${ED}/usr/etc ]] && rm -Rf "${ED}"/usr/etc
|
||||
if [[ -d ${ED}/usr/etc ]] ; then
|
||||
mv "${ED}"/usr/etc "${ED}"/ || die
|
||||
fi
|
||||
rm "${ED}"/etc/diamond/*.windows # won't need these
|
||||
sed -i \
|
||||
-e '/pid_file =/s:/var/run:/run:' \
|
||||
"${ED}"/etc/diamond/diamond.conf.example || die
|
||||
hprefixify "${ED}"/etc/diamond/diamond.conf.example
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/log/diamond
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
# command line options for running diamond
|
||||
DIAMOND_OPTS=
|
@ -1,24 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start --exec /usr/bin/diamond --pidfile /run/${SVCNAME}.pid -- -c /etc/diamond/${SVCNAME}.conf ${DIAMOND_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
#start-stop-daemon --stop -R 80 --pidfile /run/${SVCNAME}.pid
|
||||
# diamond doesn't kill its children, so work around that for now
|
||||
pid=$(< /run/${SVCNAME}.pid)
|
||||
if [ -n ${pid} ] && [ ${pid} -gt 1 ] ; then
|
||||
pstree -Tp ${pid} | grep -o '([0-9]\+)' | tr '()' ' ' | xargs kill
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>grobian@gentoo.org</email>
|
||||
<name>Fabian Groffen</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Diamond is a python daemon that collects system metrics and
|
||||
publishes them to Graphite (and others). It is capable of
|
||||
collecting cpu, memory, network, i/o, load and disk metrics.
|
||||
Additionally, it features an API for implementing custom
|
||||
collectors for gathering metrics from almost any source.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="mongo">Enable MongoDB support</flag>
|
||||
<flag name="redis">Enable Redis support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">python-diamond/Diamond</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST tarlz-0.21.tar.lz 104780 BLAKE2B c3aacda3e8ab25757758d811d9cdc153777835950436dbb4827cf75d801f6c3035475330512a2657a8c9733f6afdf452d9689d7d72d11ba8ef968fceab671ed4 SHA512 1ad671da7ee115762163af57aad69ec754753e68a99ef8c4f38e880ecbb75a5b021f38794390eabcdbef4963cbc0c0e2abe36011da4135baf2c21dc22f020f4a
|
||||
EBUILD tarlz-0.21.ebuild 600 BLAKE2B cab0c047e1b090a27e9e8e02b8690b8d03a35a722ca8f7799a14636dd156eddb3d1a6c51f46f004b62428d6f3ab164c297aafa8564f28947105ad1a909d3fbaa SHA512 2b118efeb86175cc4ba794eb2ed4deabf587800710c0f88111bbf40c44e0e3a950fbc81e78e327067ba586ff13fe837e603d5d1488f31ef9839acb78f1e310c7
|
||||
MISC metadata.xml 246 BLAKE2B 3d18899448c3810386e0fc45cf9d1e1521a77c448a3b643edb7ad7e4830881e4112a90a8c7383c9477258187baac81feb7e62fb3f0d05ea473585b9e00726d9a SHA512 023a3d4e2713d0251b78fd608d08ddfed97c3d52775efb75bd8718131e5863687c1e924271cf934cd2953029075cfd8de2e29d61cd3362ce18ebb2d4c5bef7c9
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>flow@gentoo.org</email>
|
||||
<name>Florian Schmaus</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="A parallel archiver combining tar and lzip"
|
||||
HOMEPAGE="https://www.nongnu.org/lzip/tarlz.html"
|
||||
SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P}.tar.lz"
|
||||
LICENSE="GPL-2+"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-arch/lzlib-1.12:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="$(unpacker_src_uri_depends)"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST stress-ng-0.12.09.tar.xz 545756 BLAKE2B 72c5b1acf3f82f8d609da8b213f6321486cda9b8e05fd7390b846bea541610bab70bceb99c3684fbff732805eade7c37840d77e4ce901cc81a53ded0968bc6a1 SHA512 510b210a920b540c25e9f4cc0597924f72a80a85e6cd647346f7e91335e127e776bfa1bdcf0e67f557b7c154d2e6f2b2ed5abe9612b2552f53a8d21c920dc6c1
|
||||
DIST stress-ng-0.12.10.tar.xz 547912 BLAKE2B c4389911d4ae08c4e88347830e12d5371f527d12e1b638937ba3098ac2acb9818aaa6d13ee633325e71e33de9e80ddbc1b980fde41eaa102796e74d70ff0ac3d SHA512 e41bbc9b5b7ee884b21b6a4f667e2272344c5999c1ec44f9b16887fc5afd47b3c2940869f1951c812117fe42eebe6243500bc7559b7d0156dd6cab9a74be0f79
|
||||
EBUILD stress-ng-0.12.09.ebuild 961 BLAKE2B b15477132bdb95e598dc787a8dc5aabf767a872b0583156fbccb65c3213c1a32e539aff0096b47d61c12aa66d6822b3dd565182fa21a6b2b889d21762a2d5c94 SHA512 3e8e2ad9f49312240b63e0feb6752ede355c094fd77fe0669d27c69436d58f939b27b64b68d7164c3cd0f211dfee2e5a17952181e4382149df65a6d314850c9c
|
||||
EBUILD stress-ng-0.12.10.ebuild 841 BLAKE2B c876ae27fcb930de6ed99329efc19819eeabc6b0b42496236f6fbbea2e84af26ff92a94d85e8ac309f1d2cdb73318d25e4511668232fe378180a684a654a311f SHA512 fe86cc998ed55de0dc61ef386e09baa24c9434fed5a8f284e17fe2a152ea936bc9f2ddb678332cfb043b2048a00d04d7eb687e522f2e285c5543308cd51f43b1
|
||||
EBUILD stress-ng-0.12.09-r1.ebuild 981 BLAKE2B 229a3cc6fb72e6e16afe844b97a174734b61ee33efcd4c8690e1a524a7fc18b9b16ae1d5e09e5b3d96e63ab83da1e6fd44bebc867bd2aaca4e316f1b27eb2919 SHA512 7eb8593afa5324ec1b4162de0450233014ca951b7ba75ff87634617ac78ee56fe1419fcb3903ca97f62d9c8a9ff878c50b179e0db31087919ef51b041243768d
|
||||
EBUILD stress-ng-0.12.10-r1.ebuild 861 BLAKE2B 504588591c0f907fa543f17bfebd05d52f4fbd950eab60f99f8879bfb19c8b8ca89b407e945e983121cae974d31a70a603b7ef9ab53a224acedc5f880c145813 SHA512 a2f9c9c86c514a5e6f26dc21f6cccd56ace01222cdb45ed9f04e8b9aa3a9b88b6c2fbf6ffdbd6a80f407eebb724dd14777578ec571c57d8d59a775f6aa285b4f
|
||||
MISC metadata.xml 834 BLAKE2B 01f0258893808f35495d063d634b3fecbb47e94cc6915ea605eedd6565e860bd42cbf181afa25e6e2faba396aa4c6da5d4e489af40bf5b11bd2ebb4e363e6994 SHA512 17c422c00bae52d5305ec4c34452c2bf86f280f2fcfa8c26710356023115828092d1d6f321e8ee194801b2d31413e07416041632ef692ad4128f8f99e389efb1
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX johntheripper-jumbo-1.9.0-opencl-fix.patch 333 BLAKE2B 248ad5ecba48908a982c27c9d8162c22031cfc29f0becb05209f56c837bb850f6032c847a60d8cd05ba88a0f73ad35f27a08fefb734c6bd87f458b22f77db0ab SHA512 81f9dabc6d8ad54944be7eb9b3c7204ce426db842325c31662038e213775c0a86288c860712e6d3c24f7a9d0b7a0fd8962126a25242f45e5f242307691a97d38
|
||||
DIST john-1.9.0-jumbo-1.tar.xz 33638768 BLAKE2B 2fd6813e234308408d42581705ee8b25f9217a3dfb43f05483156f7bb67d0ce0d6de9c3ce8c2e4a17bb99bb377119dae2897bc08c800e7bc80bc6cf245400df6 SHA512 c5cb5dc739ee4c666f8479cdf10511fddc391b590c59f90c060d3ccd8449b794ac7b831a6d1f7553883892499e709a66578cfa4d62caef9b7e0a831eb827e808
|
||||
EBUILD johntheripper-jumbo-1.9.0-r1.ebuild 2992 BLAKE2B 97ac3dcc43bb11e8c1fdb7a777f4723b4df7096bc3a5f9670f802c22b1d848c9d8990b486791eaacf10716ed65c3ae7e3c78eaea8b5e572712967f9008ccacd4 SHA512 6a43dfc10ed75a4db108e19720a01156a2aa83d403b07041144c3676c0733571e9caeb4a964f832b69886edac61a63a350232decea3d2501c2f1726d5f510a01
|
||||
EBUILD johntheripper-jumbo-9999.ebuild 2821 BLAKE2B 1b54c4bfe05f92540dced1ad6078890477c678c3d699a6ee6be530deabfb99dffde0d639bf39b9c45072c57bdbe2fe056316c60ec259730166398213bd9cad00 SHA512 ee155f58191bc6e678b8601b36627550deb6f3be7f454dfa412c303a03bd528a41581d58bd8f63fedd2e0ba7c6abc4f5cdf045a9ac835fff39453581aac24eec
|
||||
EBUILD johntheripper-jumbo-1.9.0-r2.ebuild 2993 BLAKE2B 512cba94b73d135f68d8b121ab97bde126ce124596648398d85f3b3295952b752d8c9ee56e1a56c276cdacc751e2c676274db7739a4d70d2082b7c3340c9c828 SHA512 0ace9fb01ddc9f422ce82e73d7195406b80c684308e9d7e1cd2f73434428ee0e69b612e34c8c34c00b978c46f26b3cb33892baf51c53232a27994ab39aec441c
|
||||
EBUILD johntheripper-jumbo-9999.ebuild 2822 BLAKE2B 8518dc8995437dcb38ffdba9cde0283a8f0d3fe7c4d66eea4969f327a2f7da10c54008c132d480be689f67cbf1e7065f9a944a245482543990910253d9124976 SHA512 cb20d6b7d5a70eb5ee7a8a237dd52b2a41ea7a9ae09c6e0c07ef0ad0429edf8ac89b73105b91714acbea3fb70d0be31f227903c8e5f548bc0102fe10b3a63c54
|
||||
MISC metadata.xml 472 BLAKE2B 82b4e6bd8682bd19ffc1140a8225e1766333af7a10331e4ce5a0b1306959b267a23df2429b593bd74f0bc61e73bd7df6a756cc2820438335c3a565b6208d9219 SHA512 63bf68deac15fd3e96d6ccf7d4ca4c52192c79bf1d075305d1e9757b3ce20dd5f868ef4c908dbe020d2fe6884756b236281ec8902cc4294a3eac96aa05571abf
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,53 +0,0 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
|
||||
else
|
||||
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGB-release_${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Open source RGB lighting control that doesn't depend on manufacturer software"
|
||||
HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/hidapi:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libusb:1
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r dependencies/{hidapi,libusb,json}* || die
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
|
||||
dodoc README.md OpenRGB.patch
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 345726 BLAKE2B e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5 SHA512 134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f
|
||||
EBUILD openrgb-plugin-effects-0_p20210619.ebuild 1216 BLAKE2B 5e6bdd46fea196d181de40601f62b8ffe212962e8d605b437bcef37e5a8d596531656a632dafaef10f662c33e1e173f425087fb17fa1156a32896b9b1561ab22 SHA512 21edaed69de8d6454fb182d34f24a6ddf5b4831e0f3f5c07b358063fb8e79fd3867285a89823aa45688e6a3cd0a33f5b5295d65098d08f84b0b31fb952f6e280
|
||||
MISC metadata.xml 483 BLAKE2B 8a331ab87feb1fe11fe4a5d9e0d7657685d858182c847e3ef3d647f2b0f4f0f31de36c4fba307a1a9ca09ba82fc8aba9a6a887fe2669b453fa7b96e82d54ec57 SHA512 304f23af3f70c7ae7c7221bf53cc991e160711bc7160d7d6082388b457cf88c06851b66963537580fd15c60d63cf0787722b1f63f16c4679d47fc8ef173469f2
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>alexey+gentoo@asokolov.org</email>
|
||||
<name>Alexey Sokolov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,47 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
MY_GIT_COMMIT="a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504"
|
||||
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.6-r1:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/openal
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBEffectsPlugin.so.1.0
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 BLAKE2B e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45 SHA512 1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670
|
||||
EBUILD openrgb-plugin-skin-0_p20210601.ebuild 1187 BLAKE2B 3787187a597ae41c7b76bd64b69b9f81e5ecd5ea9f3a0d0d7f15365e986fe063c16b1cf25269ab8180c6f24a947214d520f2b6180bd2948ace79b5e6e59dbba0 SHA512 4ec36536f8c0d1d84c88e174d6fedc4cf0587081313da5f283cd47916e6ae1bd23c34fdc1213131c6d2c68e4e65dbf81cb2b011430ebf6353a05d2b6225457b3
|
||||
MISC metadata.xml 480 BLAKE2B 40751f727ac315ecffd1b7bba51550a3236f729c02e1c483ae20f88760a1e326f4f713fb6e309ed28ec9ff2209fe0be04342b3297ada413d945bfd6e188b49c5 SHA512 1d2a7653985a13012dc8be80d751a559566332073ec0348a2f358b73294813f5cdc4922d1aeeab276199ae92496ddf7aa190e48be3dc295025f04f3a73d914cb
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>alexey+gentoo@asokolov.org</email>
|
||||
<name>Alexey Sokolov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">OpenRGBDevelopers/openrgbskinplugin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,46 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
MY_GIT_COMMIT="3d937cf5112a98052f98a106dc0f5de1eafc20ea"
|
||||
SRC_URI="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin/-/archive/${MY_GIT_COMMIT}/openrgbskinplugin-${MY_GIT_COMMIT}.tar.bz2"
|
||||
S="${WORKDIR}/openrgbskinplugin-${MY_GIT_COMMIT}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel of OpenRGB"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.6-r1:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBSkinPlugin.so.1.0.0
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 45381 BLAKE2B e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8 SHA512 aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d
|
||||
EBUILD openrgb-plugin-visualmap-0_p20210614.ebuild 1272 BLAKE2B 7acd90ea08a8682273095a684e261de453404939d6d1e8d14493cf06049eb0534c33cd3bd6b2235afb966321f08a0e1f9c6d49dfacea3a22193a15a95a546a5d SHA512 0608740bea699c2368b6485fcb7f6cd666b8244abe6930bca00551b38aa1abfe3a0b83eaa84dad929f884594a9a47fe92e822477720eaeaecfbbc7f3d260f30b
|
||||
MISC metadata.xml 483 BLAKE2B 8a331ab87feb1fe11fe4a5d9e0d7657685d858182c847e3ef3d647f2b0f4f0f31de36c4fba307a1a9ca09ba82fc8aba9a6a887fe2669b453fa7b96e82d54ec57 SHA512 304f23af3f70c7ae7c7221bf53cc991e160711bc7160d7d6082388b457cf88c06851b66963537580fd15c60d63cf0787722b1f63f16c4679d47fc8ef173469f2
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>alexey+gentoo@asokolov.org</email>
|
||||
<name>Alexey Sokolov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">OpenRGBDevelopers/OpenRGBEffectsPlugin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,47 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
MY_GIT_COMMIT="b603bb994719c765cc52c116c6f9f3983fc2a7b2"
|
||||
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.6-r1:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBVisualMapPlugin.so.1.0.0
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
AUX OpenRGB-0.5-build-system.patch 755 BLAKE2B bda13d7d9de39d3dd79245ff7a13e22e09381a62ceaa58413b0aaa28017b6e860d032ab6ceb84f1140dc7f6c23dfecc1cadbcf696c8f872016307ea34d8870dc SHA512 50e110c01833113504a3a64e438a404196ae0af8e75007d6c42f3fcab5c20468f3fcb80f83d1f98ac7e1f4f88b1808ee28d0bf342b416d581c354a2388af32bf
|
||||
AUX OpenRGB-0.6-pkgconf.patch 709 BLAKE2B eec83247caac6527f0c0ca80716fc3fc3266cdca9635f643968bb620be3a03f3d3030c97e0c68af8e77a03725eaa46f7393667ceb72a63a665947ae87242afc8 SHA512 0436714eb4e900caa421dba2b3fcba41826ab74ed8f2e42884c48006f4af31fe10a114e84c41212343911b5f52804a27b031410fc55fe234138905779db4cf6b
|
||||
DIST OpenRGB-release_0.5.tar.bz2 24183948 BLAKE2B c3e6eaab2224f97287a454375486cdacc6814f35fe6752271293d30110d066998d95a901224929cdec7f57a3983fa9d8f5dc488a2ccb6d128df36fac6bc4582a SHA512 d0bd69de94e7e94b9972c07851602d8437b4485d02e83e2fe84f21292acbeef32624ec82d5cb79de85a4dfec35431c469b124b0cc41cf1f741e6e52803dd82eb
|
||||
AUX OpenRGB-0.6-plugins.patch 1002 BLAKE2B 42bb7a51876603003a8cf84759754201a92ae50b6a1d6c3b234ca7a49ad0ad00a6dd6d8dc9e068cd7d865d90cbde6a4a9794845a200e06ca5cfe530d37505dd2 SHA512 6d590398dcc65db8720577e83fe8a11a46f7b0be485f1caf227148250450d936599b4ccc47df8b6f8676676cccfcfdf5ad7f02ad76ca415eb0a9c40a58970cbb
|
||||
DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e SHA512 9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32
|
||||
EBUILD OpenRGB-0.5.ebuild 1117 BLAKE2B 7aeb09d188ebf71fb187e20f866f9806ebb02882af669dbb654e8e2f2a22f79350771232abe9ef43a0cc96c14a606a326c8e38872528aad2cfd346ebbada9624 SHA512 1fdf041c54921e0fd9c8bc75ddcd60788692c70bc1cd7c4dbd1358d54b026704d5d3791817be144dd850d88c23db381d1ad8c9e41be7ae699398065d52ce68a9
|
||||
EBUILD OpenRGB-0.6.ebuild 1148 BLAKE2B c67c05a6a8562bb036b39b9f56d2d921efbd49a169232d20dbfcbb5c5c3880bff05b25b2a2c05b622a68e979f957e41d818a1e3b74031b6de1c6d8a00fdd5514 SHA512 896f54875ae900b173b0aaa50dab04e8da6c830faaeed79c0176437574e8effbac616729e3b333e59dbfc83dce3489fce3575afb79e0e3ba71d7f7f8f121a770
|
||||
EBUILD OpenRGB-9999.ebuild 1176 BLAKE2B ffa186f6395fde7f33f259ac47dbe5fb13320d6841103e665af9aa2bea6bcd527b02ebd339c43a235522ff5a6264af0581e0a6a2d14b043f94f3157649a26f5d SHA512 3739d5f3d9b82e54ebdb25707d38e9c66c5cea186bf5fb5de688c04096fcf3620460e8dd06c70be1c3f94ca5b91e8b2e5fc3eb08b69da08361d2a3f43093dcdc
|
||||
EBUILD openrgb-0.6-r1.ebuild 1831 BLAKE2B 3b56b2846aed9d03f6bbc2338063643ea50df986ed0912abbcebc85c22d44ea4d7fd87bbcc5aa9a16599697e09cc221d1ee4cfacd72317abfcce8b1ac9f66f93 SHA512 49ac7263ac9fe57e160f4743d6f712571305504bfa5a498ea17ef37dedfe48906e989f9d20a86a9d8de7dc9af7010bf6555001699f7821e780c2233cd18c8bb3
|
||||
EBUILD openrgb-0.6.ebuild 1148 BLAKE2B c67c05a6a8562bb036b39b9f56d2d921efbd49a169232d20dbfcbb5c5c3880bff05b25b2a2c05b622a68e979f957e41d818a1e3b74031b6de1c6d8a00fdd5514 SHA512 896f54875ae900b173b0aaa50dab04e8da6c830faaeed79c0176437574e8effbac616729e3b333e59dbfc83dce3489fce3575afb79e0e3ba71d7f7f8f121a770
|
||||
EBUILD openrgb-9999.ebuild 1859 BLAKE2B 796244747f9898148287eb938f44f27eb0a1b7642ecddf6621089bc5cd0a750f1e17383315b9d1836fe631aa6fa4ff1ff3f79902cacca844a24f510230da13f4 SHA512 87bd20984bc860162dd642e7ecc4563a122846eb65cf6c2295cd8d5511ef8404311a95ff3f34b110e0d1b0d030377c01ddba0b33eef24deab16c7148ccb9361b
|
||||
MISC metadata.xml 468 BLAKE2B 995cee43adec6a52c9ee8cef1abd9940cfe501e860cad863ed32161ef04c9bb1fa8d11d87869dea37d882170d8c54b548666ba788641899a3d8364b1307d7450 SHA512 9dab70cc3cc39d8051f93190030aaffbdf5256a4ca68c0ae85c4563021d6c459fa4fa4319efdce25f7dea18f797d4fb52ea63d448dda90e5ac69b79d98f21ecf
|
@ -0,0 +1,24 @@
|
||||
Allow installation of plugins not only in ~/.config
|
||||
|
||||
Used by app-misc/openrgb-plugin-* packages
|
||||
|
||||
diff --git a/PluginManager.cpp b/PluginManager.cpp
|
||||
index b424b8b..991fb75 100644
|
||||
--- a/PluginManager.cpp
|
||||
+++ b/PluginManager.cpp
|
||||
@@ -15,7 +15,8 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
|
||||
\*--------------------------------------------------------------------------------------*/
|
||||
OpenRGBPluginInterface *OpenRGBPlugin = nullptr;
|
||||
|
||||
- const QDir pluginsDir = QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + "plugins/";
|
||||
+ for (const QDir pluginsDir : {QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + "plugins/",
|
||||
+ QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
|
||||
|
||||
std::vector<std::string> FileList;
|
||||
|
||||
@@ -54,4 +56,5 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
|
||||
std::cout << loader.errorString().toStdString() << std::endl;
|
||||
}
|
||||
}
|
||||
+ }
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic qmake-utils
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
|
||||
else
|
||||
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGB-release_${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/OpenRGB-0.5-build-system.patch
|
||||
)
|
||||
fi
|
||||
|
||||
DESCRIPTION="Open source RGB lighting control that doesn't depend on manufacturer software"
|
||||
HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/1"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/hidapi:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libusb:1
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
|
||||
"${FILESDIR}"/OpenRGB-0.6-plugins.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r dependencies/{hidapi,libusb,json}* || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Some plugins require symbols defined in the main binary.
|
||||
# The official build system bundles OpenRGB as a submodule instead, and
|
||||
# compiles the .cpp file again.
|
||||
append-ldflags -Wl,--export-dynamic
|
||||
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
|
||||
DEFINES+="GENTOO_PLUGINS_DIR=\\\\\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\\\\\"\\\""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
|
||||
dodoc README.md OpenRGB.patch
|
||||
|
||||
# This is for plugins. Upstream doesn't install any headers at all.
|
||||
insinto /usr/include/OpenRGB
|
||||
doins *.h
|
||||
insinto /usr/include/OpenRGB/RGBController
|
||||
doins RGBController/*.h
|
||||
insinto /usr/include/OpenRGB/i2c_smbus
|
||||
doins i2c_smbus/*.h
|
||||
insinto /usr/include/OpenRGB/net_port
|
||||
doins net_port/*.h
|
||||
}
|
@ -1,12 +1,16 @@
|
||||
AUX tmuxp-1.6.4-tests.patch 689 BLAKE2B b3c52055186d41be30378d9960099a705c0f7f4606c16a5aaa62f3e2df55b5ceec7feb77329715d13b7aa9fadad9424ed55dfaccb7c24bd6550be40ea6faa425 SHA512 d5ab3b391fe9c4b0646cbecbe3c3f4633829d6f1544503e96ad7d9b2265736c3082c959988344146a6623f125eac339f2f6875ec7b121e5c7db256089324cef8
|
||||
AUX tmuxp-1.7.2-relax-click-dep.patch 236 BLAKE2B 034c3f1b09e96de2dd6e534a6607ad8b3c3d46a4a9fa6dfcd196733237176e7b400f99f8289a0ad7bdda56faa5352778e05997fd4d53e3c7686cdb1c2af221b1 SHA512 b21d87efe015efc93b973d20b43805bb5c514e4f5ef4b3ee5a0961bdd7edb249d9804a9e6d573a22a1b607fbca4f4a2b219d0cb47d2d26c0a577c3cc7c0786fb
|
||||
AUX tmuxp-1.7.2-tests.patch 475 BLAKE2B 07d6def54c025b6b1d538813258ba06cf9b030ac8e40160492490f31d37c07e5158a95b5b1a28a3350aab1b1bb188b29a2c12b8521ac3a12f937ceb623e04707 SHA512 1842005a34e7b4a495e9e735243d1681158cb8e24b37006edcd7c1929df1eefc2a2f174f6eefd08866f1b830951610d881c654063ce20217fb8e457a84baa7fb
|
||||
AUX tmuxp-1.9.2-relax-click-dep.patch 242 BLAKE2B 549f6cafda02226dedee9101bb65d70cce452890c93a004f3ad121764fce57b370d3364b5fd5a5b6341db93d09a46ebeedd080da3b96fa7e3dc926c7abce3edb SHA512 337a1fe1373f61041fd2ed268371385f19284376fa05594cd8a2d465147b41c1bc1cb1a82a1ba690866bced822ec95dfe4a32d060a29feec1d829a4da6ee8bca
|
||||
AUX tmuxp-1.9.2-tests.patch 564 BLAKE2B f164bcd3bd5344e39fe050bc3c716dc3678584071990ed19c6cdcc0ab816852d0b18f89d358ba0607260dec0eb87596e245dc386a7afb0884461d44e22dec35f SHA512 f15745bfeb8c72dc0d4a1e1cac489acaa31a18282aa8d39e5b142d207f92cbbf110e1752449f14eb2b4fabcaf9022d7f3256956e26328a2f607edfd87ac05c47
|
||||
DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621 SHA512 f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
|
||||
DIST tmuxp-1.6.5.tar.gz 1017117 BLAKE2B 4cc8955f9dcfffd237ffde3e7487496aaf85dd886fd124ad76d61e10fa64f90bac79cc4df9aac63122446b7a4727b01ceaea502d7bbe5f5ba7f68e89bbb86feb SHA512 9095c196f20b537662ffa9d819c675e325fda7f49fb3fd9811f00fc1e1c763b7ea29cdd500bb7d775d1673ab2fc1386f662a2ff6744ffcd2b7aaab13a014cce3
|
||||
DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a SHA512 2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8
|
||||
DIST tmuxp-1.8.2.tar.gz 1019801 BLAKE2B 1e02139df6cc5ee0aec31e3a39413297195b6951a9acaa487a8f705f7f28b79ece0e5388284d017dbf45744540eecb0809e4a7e668f91b824aa0e4adcd64bcf8 SHA512 b6993be72bdab1ef469dbf43d056fbd812612437716af8a4c2e803a55f7ad803246789ccb0b3cafa5ad9047ae86426b4aede27480f20f6d3593d9bf737b74323
|
||||
DIST tmuxp-1.9.2.tar.gz 816621 BLAKE2B f471ba2b7a6f97b123661ca2473c63273dc79b08cbe25f4ea756d174ab58e5070d0fc2dfbe8ec254785946e2fa139121d2e9fa5d7d5c127c18580e514064523d SHA512 e4af94fde475c999cee5aa6ad4b60a05c3a9f6f338290406043544250c4dcf688bc39e501631f442b59009156e04eb383098ea717fe7be8e9811b44886515935
|
||||
EBUILD tmuxp-1.5.4.ebuild 964 BLAKE2B 643aaf5a7db258f05164547d93e0dc4a63af82a79048a247f08bb8e8cbd5ad5bd71d27e1c708f4f63573424ed70804dd66a6e25b62460e641339bc4426384444 SHA512 f9ed588279ec0739ffe842847a271144c8418d1dcb1aa8190816320eb621a1900b77a1a5bdb5dc037a0b12cd266b10334c72562e8b0444acd5cbdabf3e74a061
|
||||
EBUILD tmuxp-1.6.5.ebuild 1122 BLAKE2B 005720290707591c2291ce5f5431fc10484945080fe3d62b437966acab6fb6395f031f24793cd6a9b2321597e7f0dbc8341d541ebf9ccff2870f8397f7485b3e SHA512 f4bf6bfaab0999505f3822139d9ce10128e57f56a74d42ece314c900d128e9a9f8042e40f722e4776ab35cd990041193cc476b1512649a284f34cce88a357864
|
||||
EBUILD tmuxp-1.7.2-r1.ebuild 1028 BLAKE2B f85c50f310a394e8c04b9becfd180956aad59b4ddb9b24313d107d03a567892032977b1cc6525edfd25d33d582aca9c4b2e3b19d0ebc2b099340a553bce2c558 SHA512 896e236ad5a5b537c7f53b2662c06d07f9c37378f3259e5288a9b28095157f97050bdef41ba46fb7051fedcbff318d7de1e7d58eb42b7d747288c57c68f40f3f
|
||||
EBUILD tmuxp-1.8.2.ebuild 1029 BLAKE2B 473845e85cd9d4a5637efec7c4f693c6d51cd2498739b181c981eba65c82b5d447d335cd2d45db8b6bbb4f9b090bdadfe5e0628f26a1b94b0b244836c8fa9f0c SHA512 75510a50fa787d40051b7531440654aa770d6b090c95d5ff1518df589a2e4968e83a2a1f765d5df8f65bb9a941082a9eb862643ffa29f5c5527f058388eee283
|
||||
EBUILD tmuxp-1.9.2.ebuild 1035 BLAKE2B 8d1c7d60b3ed255893682dedf9b7ef24a4104da64767feb6ef063a78bb9f0aaf3eb3bb7b401ebb30c6619b671c60a0cdd7332d82a9bae357d8e3a0909981b211 SHA512 1d5ca877103ab636935924918fa44f7b095dadd6814e89c2394e66e1c5fe59dcc1dfc853394559f8f080581a317ee64239b2066ed9779f5322e7b29a2bfc37cc
|
||||
MISC metadata.xml 255 BLAKE2B 2bb3830b8cec850703f7912f4c22f5b0abeabeed0715222bc56141779d02160773cfd0f85417c553c1cd8f2738bfeb78c56dffb8e648e572019319657646d1ba SHA512 522158915afe67937f81ba572a918a2de8ca1f8591e097da56799c97870d7c44756c1acd8224d63bd3375c2b9ebc0e1ce50816899117948a48065a27804883bf
|
||||
|
@ -0,0 +1,10 @@
|
||||
diff --git a/requirements/base.txt b/requirements/base.txt
|
||||
index 4b713f1..3ca88e5 100644
|
||||
--- a/requirements/base.txt
|
||||
+++ b/requirements/base.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
kaptan>=0.5.10
|
||||
libtmux>=0.10.1,<0.11
|
||||
-click>=7,<8.1
|
||||
+click>=7
|
||||
colorama>=0.3.9
|
@ -0,0 +1,13 @@
|
||||
diff --git a/tests/test_workspacebuilder.py b/tests/test_workspacebuilder.py
|
||||
index e85b409..22368b1 100644
|
||||
--- a/tests/test_workspacebuilder.py
|
||||
+++ b/tests/test_workspacebuilder.py
|
||||
@@ -343,7 +343,7 @@ def test_environment_variables(session):
|
||||
assert session.show_environment('FOO') == 'BAR'
|
||||
assert session.show_environment('PATH') == '/tmp'
|
||||
|
||||
-
|
||||
+@pytest.mark.skip("hangs indefinitely")
|
||||
def test_automatic_rename_option(session):
|
||||
"""With option automatic-rename: on."""
|
||||
yaml_config = loadfixture("workspacebuilder/window_automatic_rename.yaml")
|
@ -0,0 +1,43 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="tmux session manager. built on libtmux"
|
||||
HOMEPAGE="https://tmuxp.git-pull.com"
|
||||
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/tmux-3.0a
|
||||
>=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/libtmux-0.10.1[${PYTHON_USEDEP}]
|
||||
<dev-python/libtmux-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
||||
!dev-python/flaky
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tmuxp-1.6.4-tests.patch"
|
||||
"${FILESDIR}/tmuxp-1.7.2-tests.patch"
|
||||
"${FILESDIR}/tmuxp-1.9.2-relax-click-dep.patch"
|
||||
"${FILESDIR}/tmuxp-1.9.2-tests.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" epytest
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST pdfgrep-2.0.1.tar.gz 187217 BLAKE2B f498158e63e2f8419829df0d1801a31d3dff02627ccf0efee7239650203300233d1a19a5c72c57eb24495f2b5403e0e2c6a479b0f28a8d053aa578c732866b1a SHA512 4285f8cb514975a0040cdd6b82133090e27ba5c2f95ca880dccc3dd4fa3427260a5fc73d807df9124a79fa36ac6ed8c11380cde11e00599ed7134d92c50df4a0
|
||||
DIST pdfgrep-2.1.2.tar.gz 197289 BLAKE2B 94d20649104f7b17adf2d99bdf2ce215cf16746c649f7ec77d58a41b90b13dd903d47b5ed2d35f56ca7ca12ae49cfb8a57004f9ad3ee6b8930f533b33d7d8463 SHA512 27bc4741e5203b2fd265815a22ad8d702b3455b2ae932641b040fc9ce615bc9ff0abef221eb2ec8aa59c79cb139d31184261d076f9731177129a473d62aa4e5c
|
||||
EBUILD pdfgrep-2.0.1.ebuild 701 BLAKE2B 8b877e130a6d58635312771cb09778454d25fbb87cb2686deb92adbb981b9ecfb5706fe842a6bd8477e67d098d07c4e941809b94f7e92a29f456a0934c843844 SHA512 c1c78707a9cf2589800d275b50dc0a8a97a7f5477c2f1f0773312801aad082c2af4752380d5463aec6b136ead175d4f42cd75d9632da8bebe557c4776b03a879
|
||||
EBUILD pdfgrep-2.1.2.ebuild 766 BLAKE2B 1a651ed9900ff90aff32b31673d5bd3e37504f2db734c92716f6fbc89dd36b3899a6888dabfa6c3e301fda28f71299b6c16190a7702289d4c98351b16e147df8 SHA512 5c392b83a699cbbacf651611a06f150b80c95a199bc712ffb38adab371680cbea617461412204dade2a4c4452d0a4978d4b87bc48af151cd9c5c667a1541d908
|
||||
MISC metadata.xml 405 BLAKE2B 35df379fb089440b04046eccdf9bbb1dc0d45f90ed4a24b895d248db1a260bbfeb90d750032057c54e9faebcba1b7343d63140bae36ddf68ac3a916b6e85abb3 SHA512 822f9d71132f0e4828adb6393cdf553a173570ee103854d3fdd7ec1cd7f0c89155c5e34c12a599504218a81e08d856dc9ec60add532a8f4b8c5ae5cd9d46203f
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A tool similar to grep which searches text in PDFs"
|
||||
HOMEPAGE="http://www.pdfgrep.org/"
|
||||
SRC_URI="http://www.pdfgrep.org/download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+pcre test unac"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-text/poppler:=[cxx]
|
||||
dev-libs/libgcrypt:0=
|
||||
pcre? ( dev-libs/libpcre[cxx] )
|
||||
unac? ( app-text/unac )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-util/dejagnu
|
||||
)"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with pcre libpcre) \
|
||||
$(use_with unac)
|
||||
}
|
Binary file not shown.
@ -1,9 +1,11 @@
|
||||
AUX mysql-connector-c-8.0.19-do-not-install-comp_err.patch 307 BLAKE2B 864c07e9d4fb9a38ac418476f4b7738caa1f2a5dc633ad5921859793983c7b42acd87263ce2703df5a8c7d3bc3d7a60efb28a3ff17c311d89cc7b12edd22574f SHA512 cbb9be24a67a649b68230fe3482063d2d16fb629233e070289eb1ab0011bd8c43b0c056e4b6ca430a62ce0e8f47bb9490cb6746b7dc3fe06a05670b078cd084f
|
||||
AUX mysql-connector-c-8.0.22-always-build-decompress-utilities.patch 534 BLAKE2B 15bef04f750b5f373d8c5f39690e90be482bfea66430234befc777e9d84d0060d20e1290798ddacbf0e9f0f8db45ba0318d88b61aec3fd1e859285cefff446ef SHA512 7ae81f4fe020c12e45eba041dcca921fa93f42a12d8c8d840b1bec819c00de8b780a792e99cdc3cae55eef74c911de3087b6583d6213913b36428b96f0e1c3af
|
||||
AUX mysql-connector-c-8.0.25-add-OpenSSL-3.0.0-support.patch 10951 BLAKE2B bf97a5f5758f0f0a4b0535b31d81074938c9202ba2e4f40b1a01401a2dc36d0e17bb0b0d599aeea113c03e68b1be0d29a60e7ead068b8674a2fe8f763039478a SHA512 a31034a223bc84a66dcaf082421b55d2f8d79748d77c430920f2f0f9bbf9862545e7c84e02a35f9589b46a5d4c5460e0fde8e72de25430334922e2f8637c81e0
|
||||
DIST mysql-boost-8.0.22.tar.gz 285934450 BLAKE2B 1ba0c9bb9a0cb74af4842d3b746f8b690c122cfbf2c6d5201ce95e59a257427a8683dd8d5c2be31dfe9ece4761366c1287fa7b841c45db222725bf76b0639bc6 SHA512 792f2ada93ec67a4679228478c6b798e81d9e9f6d13c7f4977cb7682738a4aae3cb483294edc6b2fde16c3960e51af8786216c063ab500840afd39a609e4b612
|
||||
DIST mysql-boost-8.0.23.tar.gz 291039175 BLAKE2B 3a7d3e05c774085d6078d0d3effd58d2df47521615356a2aa5efc2ea2ef8457e19ad57a054926ccff0a4752ca71d0464daa7fe9a3ac6c1b1d3bd86a9a82dfc58 SHA512 b8c2e2ac772b7b730f8b3bac7a5afb205da173b3639500606e7d1fac74832a0134027951855a2dc81af015e6158c924927ad63b9e1f2e7c823d45d4c4961c3f8
|
||||
DIST mysql-boost-8.0.25.tar.gz 290265324 BLAKE2B 5393a2a2525a886d9ece19777deae01e6c0b24b9ff5a0a5ffb9075740ed912d0df59a165b6ec9ceb60c7c28f3062cda5cceb4da3a8280f42549984c846f1ce5c SHA512 af653ccff66a9d87221b46ad4f7bcc629700549f758998b9a7fb22e4573b9495a28624e031f016f9ad8fe0dfcf481b82f1ffe224aa48c2d45531570026b26081
|
||||
EBUILD mysql-connector-c-8.0.22.ebuild 2782 BLAKE2B a03af99dd8eb16b78a7b891b9eb6c79a893edef92410b614722f2857ee21d1b519f93f74842d89b56ef50d628abd4873c00b59b4fcc06f1606319c078c2b89f6 SHA512 7dbf5e4d22d5d000e702809b2356bbe842da16b1bb61aa7d8fc3fd62f56449f5d893f377cb9a4b5b4b7019679a05f20aa67fd570caa4d9ccf27dccdc9c549df4
|
||||
EBUILD mysql-connector-c-8.0.23-r1.ebuild 2986 BLAKE2B a7f75b2115e7e4f8caf06ba5a81d6227214178d9b70c12007f13615ea55d75c1918b6d38e9e47f5caa4dde3539df10c8a21a9fedf9b325cc82ed2a875a346467 SHA512 b916eaa8cf6a4d3b39e65ae531324b9c13fcc4a65fd69ebe6d9b476f220ffefa542d6e5c7f835a83d283b751119f84c81fef234a6b2d164e4cd91dffecef13c3
|
||||
EBUILD mysql-connector-c-8.0.25-r1.ebuild 3131 BLAKE2B cc2389812402a7b5b0b6de804b9537f18f6f897f369c044cb47df77e1fcec901fe609ef14516e0cd4a121d6f329423fda0101b38d0d9b2ca2e77b086f70cec46 SHA512 b3db3b4339651baafe6603ccc63b53bd1342fa79ebee465f6251f15af26ff69e8af4afd1aeae46c57c24aba5079e102a1e23883bb8d51b3b72eed23b64ba61a8
|
||||
EBUILD mysql-connector-c-8.0.25.ebuild 3067 BLAKE2B f13a525798256e2677fc2749a5ce460ee0002774a5528a73e281504e0ea632f51431d33251d1d629878a9549dd4bf7080caf5b6693ca1e790d17509c2c15e07a SHA512 1ff8ed515e6720eb9b509ab5fa268f7217bd2fa94b9f9052f8fe28ba78a32dce3270b965afff2e68e87a196d5d5cc861b1595254bc4e0c5655000426aa71ddcd
|
||||
MISC metadata.xml 239 BLAKE2B c4d6706d083b72927d239f41a644a4009c054c1c1a388af7733d3a2daf47d354009eb472573304a6be272601f05535297bcd9ceaea811a741cd905577ffe53d1 SHA512 e6e2fafe2f503db1d12e3d2368a99631ee8d014b7ea802d9879e7e3e2c0f9378675fffccd78ed09b914ae781ac3902567b1a53a721906e3ea63ceb51d0a1654b
|
||||
|
@ -0,0 +1,294 @@
|
||||
From 3bf91fabf641f3f5114bf3893de40a31aae36e13 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Deutschmann <whissi@gentoo.org>
|
||||
Date: Tue, 22 Jun 2021 23:56:54 +0200
|
||||
Subject: [PATCH 5/5] Add OpenSSL 3.0.0 support
|
||||
|
||||
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
|
||||
---
|
||||
cmake/ssl.cmake | 59 +++++++++++++------
|
||||
mysys/my_md5.cc | 2 +
|
||||
.../bindings/xcom/xcom/xcom_ssl_transport.cc | 4 ++
|
||||
plugin/x/client/xconnection_impl.cc | 4 ++
|
||||
sql-common/client.cc | 2 +
|
||||
sql/mysqld.cc | 2 +
|
||||
sql/sys_vars.cc | 18 +++++-
|
||||
vio/viosslfactories.cc | 2 +
|
||||
8 files changed, 74 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
|
||||
index 18c95dfac..dd2f7e657 100644
|
||||
--- a/cmake/ssl.cmake
|
||||
+++ b/cmake/ssl.cmake
|
||||
@@ -201,34 +201,59 @@ MACRO (MYSQL_CHECK_SSL)
|
||||
NAMES crypto libcrypto libeay32
|
||||
HINTS ${OPENSSL_ROOT_DIR}/lib)
|
||||
|
||||
- IF(OPENSSL_INCLUDE_DIR)
|
||||
+ IF(OPENSSL_INCLUDE_DIR AND EXISTS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h")
|
||||
# Verify version number. Version information looks like:
|
||||
# #define OPENSSL_VERSION_NUMBER 0x1000103fL
|
||||
# Encoded as MNNFFPPS: major minor fix patch status
|
||||
FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h"
|
||||
OPENSSL_VERSION_NUMBER
|
||||
- REGEX "^#[ ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
|
||||
- )
|
||||
- STRING(REGEX REPLACE
|
||||
- "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"
|
||||
- OPENSSL_MAJOR_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
- )
|
||||
- STRING(REGEX REPLACE
|
||||
- "^.*OPENSSL_VERSION_NUMBER[\t ]+0x[0-9]([0-9][0-9]).*$" "\\1"
|
||||
- OPENSSL_MINOR_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
- )
|
||||
- STRING(REGEX REPLACE
|
||||
- "^.*OPENSSL_VERSION_NUMBER[\t ]+0x[0-9][0-9][0-9]([0-9][0-9]).*$" "\\1"
|
||||
- OPENSSL_FIX_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
+ REGEX "^#[\t ]*define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"
|
||||
)
|
||||
+
|
||||
+ IF(OPENSSL_VERSION_NUMBER)
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"
|
||||
+ OPENSSL_MAJOR_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
+ )
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_NUMBER[\t ]+0x[0-9]([0-9][0-9]).*$" "\\1"
|
||||
+ OPENSSL_MINOR_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
+ )
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_NUMBER[\t ]+0x[0-9][0-9][0-9]([0-9][0-9]).*$" "\\1"
|
||||
+ OPENSSL_FIX_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||
+ )
|
||||
+ ELSE()
|
||||
+ FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h"
|
||||
+ OPENSSL_VERSION_STR
|
||||
+ REGEX "^#[\t ]*define[\t ]+OPENSSL_VERSION_STR[\t ]+\"([0-9])+\\.([0-9])+\\.([0-9])+\".*"
|
||||
+ )
|
||||
+
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_STR[\t ]+\"([0-9]+)\\.[0-9]+\\.[0-9]+\".*$" "\\1"
|
||||
+ OPENSSL_MAJOR_VERSION "${OPENSSL_VERSION_STR}"
|
||||
+ )
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_STR[\t ]+\"[0-9]+\\.([0-9]+)\\.[0-9]+\".*$" "\\1"
|
||||
+ OPENSSL_MINOR_VERSION "${OPENSSL_VERSION_STR}"
|
||||
+ )
|
||||
+ STRING(REGEX REPLACE
|
||||
+ "^.*OPENSSL_VERSION_STR[\t ]+\"[0-9]+\\.[0-9]+\\.([0-9]+)\".*$" "\\1"
|
||||
+ OPENSSL_FIX_VERSION "${OPENSSL_VERSION_STR}"
|
||||
+ )
|
||||
+ ENDIF()
|
||||
ENDIF()
|
||||
- IF("${OPENSSL_MAJOR_VERSION}.${OPENSSL_MINOR_VERSION}.${OPENSSL_FIX_VERSION}" VERSION_GREATER "1.1.0")
|
||||
+
|
||||
+ INCLUDE(CheckSymbolExists)
|
||||
+
|
||||
+ CHECK_SYMBOL_EXISTS(TLS1_3_VERSION "openssl/tls1.h" HAVE_TLS1_3_VERSION)
|
||||
+ IF(HAVE_TLS1_3_VERSION)
|
||||
ADD_DEFINITIONS(-DHAVE_TLSv13)
|
||||
ENDIF()
|
||||
IF(OPENSSL_INCLUDE_DIR AND
|
||||
OPENSSL_LIBRARY AND
|
||||
CRYPTO_LIBRARY AND
|
||||
- OPENSSL_MAJOR_VERSION STREQUAL "1"
|
||||
+ OPENSSL_MAJOR_VERSION VERSION_GREATER_EQUAL "1"
|
||||
)
|
||||
SET(OPENSSL_FOUND TRUE)
|
||||
FIND_PROGRAM(OPENSSL_EXECUTABLE openssl
|
||||
@@ -292,8 +317,6 @@ MACRO (MYSQL_CHECK_SSL)
|
||||
MESSAGE(STATUS "OPENSSL_MINOR_VERSION = ${OPENSSL_MINOR_VERSION}")
|
||||
MESSAGE(STATUS "OPENSSL_FIX_VERSION = ${OPENSSL_FIX_VERSION}")
|
||||
|
||||
- INCLUDE(CheckSymbolExists)
|
||||
-
|
||||
CMAKE_PUSH_CHECK_STATE()
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
||||
CHECK_SYMBOL_EXISTS(SHA512_DIGEST_LENGTH "openssl/sha.h"
|
||||
diff --git a/mysys/my_md5.cc b/mysys/my_md5.cc
|
||||
index 86203619f..37ed3c8b2 100644
|
||||
--- a/mysys/my_md5.cc
|
||||
+++ b/mysys/my_md5.cc
|
||||
@@ -56,7 +56,9 @@ static void my_md5_hash(unsigned char *digest, unsigned const char *buf,
|
||||
int compute_md5_hash(char *digest, const char *buf, int len) {
|
||||
int retval = 0;
|
||||
int fips_mode = 0;
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
fips_mode = FIPS_mode();
|
||||
+#endif
|
||||
/* If fips mode is ON/STRICT restricted method calls will result into abort,
|
||||
* skipping call. */
|
||||
if (fips_mode == 0) {
|
||||
diff --git a/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.cc b/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.cc
|
||||
index 4ed9f9ac9..895443166 100644
|
||||
--- a/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.cc
|
||||
+++ b/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.cc
|
||||
@@ -325,6 +325,7 @@ error:
|
||||
return 1;
|
||||
}
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
#define OPENSSL_ERROR_LENGTH 512
|
||||
static int configure_ssl_fips_mode(const uint fips_mode) {
|
||||
int rc = -1;
|
||||
@@ -348,6 +349,7 @@ static int configure_ssl_fips_mode(const uint fips_mode) {
|
||||
EXIT:
|
||||
return rc;
|
||||
}
|
||||
+#endif
|
||||
|
||||
static int configure_ssl_ca(SSL_CTX *ssl_ctx, const char *ca_file,
|
||||
const char *ca_path) {
|
||||
@@ -544,10 +546,12 @@ int xcom_init_ssl(const char *server_key_file, const char *server_cert_file,
|
||||
int verify_server = SSL_VERIFY_NONE;
|
||||
int verify_client = SSL_VERIFY_NONE;
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
if (configure_ssl_fips_mode(ssl_fips_mode) != 1) {
|
||||
G_ERROR("Error setting the ssl fips mode");
|
||||
goto error;
|
||||
}
|
||||
+#endif
|
||||
|
||||
SSL_library_init();
|
||||
SSL_load_error_strings();
|
||||
diff --git a/plugin/x/client/xconnection_impl.cc b/plugin/x/client/xconnection_impl.cc
|
||||
index c1686c6d5..3ae34fdfd 100644
|
||||
--- a/plugin/x/client/xconnection_impl.cc
|
||||
+++ b/plugin/x/client/xconnection_impl.cc
|
||||
@@ -617,6 +617,7 @@ XError Connection_impl::get_ssl_error(const int error_id) {
|
||||
return XError(CR_SSL_CONNECTION_ERROR, buffer);
|
||||
}
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
/**
|
||||
Set fips mode in openssl library,
|
||||
When we set fips mode ON/STRICT, it will perform following operations:
|
||||
@@ -656,6 +657,7 @@ int set_fips_mode(const uint32_t fips_mode,
|
||||
EXIT:
|
||||
return rc;
|
||||
}
|
||||
+#endif
|
||||
|
||||
XError Connection_impl::activate_tls() {
|
||||
if (nullptr == m_vio) return get_socket_error(SOCKET_ECONNRESET);
|
||||
@@ -666,12 +668,14 @@ XError Connection_impl::activate_tls() {
|
||||
if (!m_context->m_ssl_config.is_configured())
|
||||
return XError{CR_SSL_CONNECTION_ERROR, ER_TEXT_TLS_NOT_CONFIGURATED, true};
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
char err_string[OPENSSL_ERROR_LENGTH] = {'\0'};
|
||||
if (set_fips_mode(
|
||||
static_cast<uint32_t>(m_context->m_ssl_config.m_ssl_fips_mode),
|
||||
err_string) != 1) {
|
||||
return XError{CR_SSL_CONNECTION_ERROR, err_string, true};
|
||||
}
|
||||
+#endif
|
||||
auto ssl_ctx_flags = process_tls_version(
|
||||
details::null_when_empty(m_context->m_ssl_config.m_tls_version));
|
||||
|
||||
diff --git a/sql-common/client.cc b/sql-common/client.cc
|
||||
index 1316d54a7..554970378 100644
|
||||
--- a/sql-common/client.cc
|
||||
+++ b/sql-common/client.cc
|
||||
@@ -8019,6 +8019,7 @@ int STDCALL mysql_options(MYSQL *mysql, enum mysql_option option,
|
||||
return 1;
|
||||
break;
|
||||
case MYSQL_OPT_SSL_FIPS_MODE: {
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
char ssl_err_string[OPENSSL_ERROR_LENGTH] = {'\0'};
|
||||
ENSURE_EXTENSIONS_PRESENT(&mysql->options);
|
||||
mysql->options.extension->ssl_fips_mode = *static_cast<const uint *>(arg);
|
||||
@@ -8030,6 +8031,7 @@ int STDCALL mysql_options(MYSQL *mysql, enum mysql_option option,
|
||||
"Set Fips mode ON/STRICT failed, detail: '%s'.", ssl_err_string);
|
||||
return 1;
|
||||
}
|
||||
+#endif
|
||||
} break;
|
||||
case MYSQL_OPT_SSL_MODE:
|
||||
ENSURE_EXTENSIONS_PRESENT(&mysql->options);
|
||||
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
|
||||
index 83643f76a..dfdc23ab7 100644
|
||||
--- a/sql/mysqld.cc
|
||||
+++ b/sql/mysqld.cc
|
||||
@@ -5134,12 +5134,14 @@ static void init_ssl() {
|
||||
}
|
||||
|
||||
static int init_ssl_communication() {
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
char ssl_err_string[OPENSSL_ERROR_LENGTH] = {'\0'};
|
||||
int ret_fips_mode = set_fips_mode(opt_ssl_fips_mode, ssl_err_string);
|
||||
if (ret_fips_mode != 1) {
|
||||
LogErr(ERROR_LEVEL, ER_SSL_FIPS_MODE_ERROR, ssl_err_string);
|
||||
return 1;
|
||||
}
|
||||
+#endif
|
||||
if (TLS_channel::singleton_init(&mysql_main, mysql_main_channel, opt_use_ssl,
|
||||
&server_main_callback, opt_initialize))
|
||||
return 1;
|
||||
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
|
||||
index 3b8473bd1..c22c38305 100644
|
||||
--- a/sql/sys_vars.cc
|
||||
+++ b/sql/sys_vars.cc
|
||||
@@ -4614,6 +4614,7 @@ static Sys_var_ulong Sys_max_execution_time(
|
||||
HINT_UPDATEABLE SESSION_VAR(max_execution_time), CMD_LINE(REQUIRED_ARG),
|
||||
VALID_RANGE(0, ULONG_MAX), DEFAULT(0), BLOCK_SIZE(1));
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
static bool update_fips_mode(sys_var *, THD *, enum_var_type) {
|
||||
char ssl_err_string[OPENSSL_ERROR_LENGTH] = {'\0'};
|
||||
if (set_fips_mode(opt_ssl_fips_mode, ssl_err_string) != 1) {
|
||||
@@ -4624,15 +4625,30 @@ static bool update_fips_mode(sys_var *, THD *, enum_var_type) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
static const char *ssl_fips_mode_names[] = {"OFF", "ON", "STRICT", nullptr};
|
||||
+#else
|
||||
+static const char *ssl_fips_mode_names[] = {"OFF", 0};
|
||||
+#endif
|
||||
static Sys_var_enum Sys_ssl_fips_mode(
|
||||
"ssl_fips_mode",
|
||||
"SSL FIPS mode (applies only for OpenSSL); "
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
"permitted values are: OFF, ON, STRICT",
|
||||
+#else
|
||||
+ "permitted values are: OFF",
|
||||
+#endif
|
||||
GLOBAL_VAR(opt_ssl_fips_mode), CMD_LINE(REQUIRED_ARG, OPT_SSL_FIPS_MODE),
|
||||
ssl_fips_mode_names, DEFAULT(0), NO_MUTEX_GUARD, NOT_IN_BINLOG,
|
||||
- ON_CHECK(nullptr), ON_UPDATE(update_fips_mode), nullptr);
|
||||
+ ON_CHECK(NULL),
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
+ ON_UPDATE(update_fips_mode),
|
||||
+#else
|
||||
+ ON_UPDATE(NULL),
|
||||
+#endif
|
||||
+ NULL);
|
||||
|
||||
static Sys_var_bool Sys_auto_generate_certs(
|
||||
"auto_generate_certs",
|
||||
diff --git a/vio/viosslfactories.cc b/vio/viosslfactories.cc
|
||||
index c25117bd0..11b466bcf 100644
|
||||
--- a/vio/viosslfactories.cc
|
||||
+++ b/vio/viosslfactories.cc
|
||||
@@ -472,6 +472,7 @@ void ssl_start() {
|
||||
}
|
||||
}
|
||||
|
||||
+#if defined(OPENSSL_FIPS)
|
||||
/**
|
||||
Set fips mode in openssl library,
|
||||
When we set fips mode ON/STRICT, it will perform following operations:
|
||||
@@ -525,6 +526,7 @@ EXIT:
|
||||
@returns openssl current fips mode
|
||||
*/
|
||||
uint get_fips_mode() { return FIPS_mode(); }
|
||||
+#endif
|
||||
|
||||
long process_tls_version(const char *tls_version) {
|
||||
const char *separator = ",";
|
||||
--
|
||||
2.32.0
|
||||
|
@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib flag-o-matic
|
||||
|
||||
# wrap the config script
|
||||
MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
|
||||
|
||||
DESCRIPTION="C client library for MariaDB/MySQL"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mysql/mysql-server.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
S="${WORKDIR}/mysql-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/21"
|
||||
IUSE="ldap static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/lz4-0_p131:=[${MULTILIB_USEDEP}]
|
||||
app-arch/zstd:=[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
ldap? ( dev-libs/cyrus-sasl:=[${MULTILIB_USEDEP}] )
|
||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Avoid file collisions, #692580
|
||||
RDEPEND+=" !<dev-db/mysql-5.6.45-r1"
|
||||
RDEPEND+=" !=dev-db/mysql-5.7.23*"
|
||||
RDEPEND+=" !=dev-db/mysql-5.7.24*"
|
||||
RDEPEND+=" !=dev-db/mysql-5.7.25*"
|
||||
RDEPEND+=" !=dev-db/mysql-5.7.26-r0"
|
||||
RDEPEND+=" !=dev-db/mysql-5.7.27-r0"
|
||||
RDEPEND+=" !<dev-db/percona-server-5.7.26.29-r1"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.22-always-build-decompress-utilities.patch
|
||||
"${FILESDIR}"/${PN}-8.0.19-do-not-install-comp_err.patch
|
||||
"${FILESDIR}"/${PN}-8.0.25-add-OpenSSL-3.0.0-support.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/CLIENT_LIBS/CONFIG_CLIENT_LIBS/' "scripts/CMakeLists.txt" || die
|
||||
|
||||
# All these are for the server only.
|
||||
# Disable rpm call which would trigger sandbox, #692368
|
||||
sed -i \
|
||||
-e '/MYSQL_CHECK_LIBEVENT/d' \
|
||||
-e '/MYSQL_CHECK_RAPIDJSON/d' \
|
||||
-e '/MYSQL_CHECK_ICU/d' \
|
||||
-e '/MYSQL_CHECK_EDITLINE/d' \
|
||||
-e '/MYSQL_CHECK_CURL/d' \
|
||||
-e '/ADD_SUBDIRECTORY(man)/d' \
|
||||
-e '/ADD_SUBDIRECTORY(share)/d' \
|
||||
-e '/INCLUDE(cmake\/boost/d' \
|
||||
-e 's/MY_RPM rpm/MY_RPM rpmNOTEXISTENT/' \
|
||||
CMakeLists.txt || die
|
||||
|
||||
# Skip building clients
|
||||
echo > client/CMakeLists.txt || die
|
||||
|
||||
# Forcefully disable auth plugin
|
||||
if ! use ldap ; then
|
||||
sed -i -e '/MYSQL_CHECK_SASL/d' CMakeLists.txt || die
|
||||
echo > libmysql/authentication_ldap/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
CMAKE_BUILD_TYPE="RelWithDebInfo"
|
||||
|
||||
# code is not C++17 ready, bug #786402
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG
|
||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG
|
||||
-DINSTALL_LAYOUT=RPM
|
||||
-DINSTALL_LIBDIR=$(get_libdir)
|
||||
-DWITH_DEFAULT_COMPILER_OPTIONS=OFF
|
||||
-DENABLED_LOCAL_INFILE=ON
|
||||
-DMYSQL_UNIX_ADDR="${EPREFIX}/run/mysqld/mysqld.sock"
|
||||
-DWITH_LZ4=system
|
||||
-DWITH_NUMA=OFF
|
||||
-DWITH_SSL=system
|
||||
-DWITH_ZLIB=system
|
||||
-DWITH_ZSTD=system
|
||||
-DLIBMYSQL_OS_OUTPUT_NAME=mysqlclient
|
||||
-DSHARED_LIB_PATCH_VERSION="0"
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
-DWITHOUT_SERVER=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doman \
|
||||
man/my_print_defaults.1 \
|
||||
man/perror.1 \
|
||||
man/zlib_decompress.1
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue