mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
Bump version and fixed headers years:
1. app-vim/easymotion: bump to 3.0.1 (need build and install test) close: [nvchecker] app-vim/easymotion can be bump to 3.0.1 #2073 close: [nvchecker] app-vim/easymotion can be bump to 3.0.1 #1851 2. dev-cpp/nameof: bump to 0.10.2 (need build and install test) close: [nvchecker] dev-cpp/nameof can be bump to 0.10.2 #2085 3. dev-cpp/tgbot-cpp: bump to 1.5 (need build and install test) close: [nvchecker] dev-cpp/tgbot-cpp can be bump to 1.5 #2325 4. dev-db/dbeaver-bin: bump to 22.3.1 (need build and install test) close: [nvchecker] dev-db/dbeaver-bin can be bump to 22.3.1 #2311 5. dev-db/mongodb: bump to 6.2.0-rc4 (need build and install test) close: no issue need close 6. dev-libs/libdwarf: bump to 20150507 (need build and install test) close: no issue need close 7. net-proxy/clash-verge-bin: bump to 1.2.1 (need build and install test) close: no issue need close
This commit is contained in:
parent
ec1682dcdb
commit
d966ecfa3a
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="GNU groff wrapper allowing UTF-8 input"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1 +1,2 @@
|
||||
DIST easymotion-1.3.tar.gz 9385 BLAKE2B 4dfaad97816ee393556f72005c5ce3d6eb6db6c7aca84838629ef20dfc15cfe012a27dc387bcc04f85114f8e857b482806550cf740266de8e69c6ca6696fc82a SHA512 4f5bac76de64a3edf4978b5d63a0a23ef10d95fdddcd3924090b31e80ae0c77cfd15549c853d762b447f43f54c2982028b47791db502ff16949409aa5fca488e
|
||||
DIST easymotion-3.0.1.tar.gz 430718 BLAKE2B 59ae857a6d0ad087db74857cb5bd767b84e4bee79b89c9f4a267fbc0ea90321584e324fc4a46efe0d46329a66b64ecb53a638ac1df1b5fd60655deae052fa80f SHA512 8d9349eb4c558cf2d86ea696e8d99f7720542e206b87e6e21073eacb79dbb89669cba24feecc54006c3f374afcc9bb8156f7eb4424df8bd00ef659c4a4df335c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -8,7 +8,7 @@ inherit vim-plugin vcs-snapshot
|
||||
|
||||
DESCRIPTION="vim plugin: Vim motions on speed!"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3526"
|
||||
SRC_URI="https://github.com/Lokaltog/vim-easymotion/tarball/${PV} -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/Lokaltog/vim-${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
22
app-vim/easymotion/easymotion-3.0.1.ebuild
Normal file
22
app-vim/easymotion/easymotion-3.0.1.ebuild
Normal file
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
#VIM_PLUGIN_VIM_VERSION="7.0"
|
||||
inherit vim-plugin vcs-snapshot
|
||||
|
||||
DESCRIPTION="vim plugin: Vim motions on speed!"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3526"
|
||||
SRC_URI="https://github.com/${PN}/vim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
rm .gitignore README.md
|
||||
vim-plugin_src_install
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,3 +1,6 @@
|
||||
DIST nameof-0.10.1-limitations.md 2816 BLAKE2B ea694c18ae9a8db9eb676ecaaed3eda9ee4c3bea63e8939c563204e241e5c1dd81eba80c9970bf1a077b493bab347221daa2e0645ac5a06fc3725493e0dae880 SHA512 e92694c9d59840855ed0a890ab698e333ba65d4ac7cdf484c9712d2e52c5458bb275d274ba456df04c88e139a4f2bf635b5cbfd30874df32a387f8f191e39ff6
|
||||
DIST nameof-0.10.1-reference.md 9351 BLAKE2B 4e29abaa48b83d2a200fe0528af507be86dee434a2f04cbc5cfb2c414f5b4c2abe5853f113951438b7d8032ee6f5a347e402c790db8e1208a04ce1e9263b8062 SHA512 7325ff1d8095ccffaf35d3e2aefdcbb49ab11e2dae71ad21c0bfb4df15fdc9ce292d75d939a964de88503e4c044bf13d9fa6636df80616a62647696e9a7338ea
|
||||
DIST nameof-0.10.1.hpp 40391 BLAKE2B 8a6dfb704f8a92830a2f655c95992ce198cef7b9f21ae8ac0156e533fdca3744568e2f6aa280aa5fd93d0bb4911b8c027612c4448862157e02055eb5ef85ba59 SHA512 881c5b59138c07fe82cea70edbac80ab1860bb73dcea4407ccfb0cc36fc9877fb276993507ab2953f065901c5fd915bc19f6c884fb741f020d13b6e0f93af87c
|
||||
DIST nameof-0.10.2-limitations.md 2816 BLAKE2B ea694c18ae9a8db9eb676ecaaed3eda9ee4c3bea63e8939c563204e241e5c1dd81eba80c9970bf1a077b493bab347221daa2e0645ac5a06fc3725493e0dae880 SHA512 e92694c9d59840855ed0a890ab698e333ba65d4ac7cdf484c9712d2e52c5458bb275d274ba456df04c88e139a4f2bf635b5cbfd30874df32a387f8f191e39ff6
|
||||
DIST nameof-0.10.2-reference.md 9590 BLAKE2B 7b045042639d4046de2658f38c3045aed4e13dbfcdbc3f61fa0635e0c1c56d8b5403837f185ddd6162167c87bb4ae3daeb652226cbcc7bf7d3fbf2871d3c4c08 SHA512 81f54beafa57ec45fa8b2ce6eeca4df81f48c7c6f7e5b8321e3b86e76887dd6f1eb8468339b7b20b76b8b2e89a291c646bb63861fbc84177b0e387b4910c2494
|
||||
DIST nameof-0.10.2.hpp 43909 BLAKE2B b098f4d63adaf0e228a4d0092bf33701aa391de9298199803e8df10eda6b2b24f9b07172c2e5ca3e96a73a52eb742877179975face8a5d20cf7682539d395a82 SHA512 5f1b88d2691f70cabb9460f7b7a043db27d846f86cca4c48faa68e1b311f50fb34f1cffffdb8b7664493894c48b646414c87921236e880211e59da528ae6ca5e
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
35
dev-cpp/nameof/nameof-0.10.2.ebuild
Normal file
35
dev-cpp/nameof/nameof-0.10.2.ebuild
Normal file
@ -0,0 +1,35 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Nameof operator for modern C++"
|
||||
HOMEPAGE="https://github.com/Neargye/nameof"
|
||||
SRC_URI="
|
||||
https://github.com/Neargye/nameof/releases/download/v${PV}/nameof.hpp -> nameof-${PV}.hpp
|
||||
doc? ( https://raw.githubusercontent.com/Neargye/nameof/v${PV}/doc/limitations.md -> nameof-${PV}-limitations.md
|
||||
https://raw.githubusercontent.com/Neargye/nameof/v${PV}/doc/reference.md -> nameof-${PV}-reference.md )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/nameof-${PV}.hpp" "${WORKDIR}/nameof.hpp" || die
|
||||
if use doc
|
||||
then
|
||||
cp "${DISTDIR}/nameof-${PV}-limitations.md" "${WORKDIR}/limitations.md" || die
|
||||
cp "${DISTDIR}/nameof-${PV}-reference.md" "${WORKDIR}/reference.md" || die
|
||||
fi
|
||||
S="${WORKDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doheader nameof.hpp
|
||||
if use doc
|
||||
then
|
||||
dodoc limitations.md reference.md
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -8,7 +8,7 @@ inherit cmake git-r3
|
||||
DESCRIPTION="C++ library for Telegram bot API"
|
||||
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
|
||||
EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git"
|
||||
EGIT_COMMIT=f74c381
|
||||
EGIT_COMMIT=9cb2e9c
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
34
dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild
Normal file
34
dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="C++ library for Telegram bot API"
|
||||
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
|
||||
EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git"
|
||||
EGIT_COMMIT=746f848
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+shared doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl
|
||||
>=net-misc/curl-7.56.0
|
||||
>=dev-libs/boost-1.59.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( app-doc/doxygen[dot] )"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DBUILD_SHARED_LIBS=$(usex shared ON OFF)
|
||||
-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST dbeaver-bin-22.1.0-amd64.tar.gz 74072196 BLAKE2B 2e76b7bc3846e2f77c7635e927098da0bf1513278ed78208faf7b00b01ee0a6017e3d21282b3a58de2994834260d003355f34eb66626d142b782291b279d97ab SHA512 7c48f6371fef4d4834956b52653260c2d257d1ef5e49db2120db5c8ba4cc688585baa2b2759f1fe92cf482490680f8a28d70bce2f7ff38505f46e8892d7d9ef0
|
||||
DIST dbeaver-bin-22.1.0-arm64.tar.gz 74015645 BLAKE2B 7d5bfa9c1c2948119baa6c8ca8c97d4430f8dc40d197319993a2410eeff3c37eeb7847308e95905ca544caca67d61e7c89ce276c9621804bdec4e5da3090e1fd SHA512 747fcd120bb33d1ffccb876744a902d81bee68bd47341ff271babf3548e4c537818249c4c50fd3cd14f5bbc47633fbcb676b660418e0e7f05909e11c0322fc21
|
||||
DIST dbeaver-bin-22.3.1-amd64.tar.gz 80773777 BLAKE2B 9bf5a6cc01d57c391ac740285a7be28ecffce918a7b7707d20f52832dcc4b60ee752adfeff1aafe01fec68331784c6b052673bb6e46ef312ebb1d4503cdff536 SHA512 9ee348401200a8245dae2a398f2f7b4d5717d42e72a18fbcc2dde262e6e1256858d9e110e15f7ed748957c4e1e92014756d7ced25b25be71a7a20f01bb79545a
|
||||
DIST dbeaver-bin-22.3.1-arm64.tar.gz 80711861 BLAKE2B 833a7b4d87bbb7edcdae99c97b9d5679e28cccc90cbc5bb1c099ba969efbcf71b2edd04429ce8023331e395456b5fcbae1e40e81924939259a8b0f4fea8b5ef7 SHA512 795ad53c374e30139632c69820397cac02c32cf397a60700615fcc3a46c2f666f8af3750d71af11713cd7a817ca585ffcab1067333c6646536efc85a5baf92df
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
44
dev-db/dbeaver-bin/dbeaver-bin-22.3.1.ebuild
Normal file
44
dev-db/dbeaver-bin/dbeaver-bin-22.3.1.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit desktop wrapper xdg
|
||||
|
||||
DESCRIPTION="Free universal database tool (community edition)."
|
||||
HOMEPAGE="https://dbeaver.io/"
|
||||
MY_PN="${PN%-bin*}-ce"
|
||||
SRC_URI="amd64? ( https://dbeaver.io/files/${PV}/${MY_PN}-${PV}-linux.gtk.x86_64-nojdk.tar.gz -> ${P}-amd64.tar.gz )
|
||||
arm64? ( https://dbeaver.io/files/${PV}/${MY_PN}-${PV}-linux.gtk.aarch64-nojdk.tar.gz -> ${P}-arm64.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0 EPL-1.0 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="dev-java/openjdk-bin:11"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
MY_PN="${PN%-bin*}"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/^Icon=.*/Icon=${MY_PN}/" \
|
||||
-e 's:/usr/share/dbeaver:/opt/dbeaver:g' \
|
||||
-e '/^WMCLASS.*/d' \
|
||||
-e "s:^Exec=.*:Exec=${EPREFIX}/usr/bin/${MY_PN}:" \
|
||||
-i "${MY_PN}-ce.desktop"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doicon -s 128 "${MY_PN}.png"
|
||||
newicon icon.xpm "${MY_PN}.xpm"
|
||||
domenu "${MY_PN}-ce.desktop"
|
||||
einstalldocs
|
||||
rm "${MY_PN}-ce.desktop" "${MY_PN}.png" icon.xpm readme.txt
|
||||
insinto "/opt/${MY_PN}-ce"
|
||||
doins -r *
|
||||
fperms 0755 "/opt/${MY_PN}-ce/${MY_PN}"
|
||||
make_wrapper "${MY_PN}" "/opt/${MY_PN}-ce/${MY_PN}" "/opt/${MY_PN}-ce"
|
||||
sed -e "s:^exec /opt/${MY_PN}-ce/${MY_PN}:exec /opt/${MY_PN}-ce/${MY_PN} -vm ${EPREFIX}/opt/openjdk-bin-11/bin:" \
|
||||
-i "${D}/usr/bin/${MY_PN}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST r5.3.1.tar.gz 58205525 BLAKE2B 78d2663170f128d97b2a2cd377ff21f4792e64282e93f98ceea64e4e25accdb23562394436baf75063c20d43f576dd876392377e2a0f62757e65150ef4977fd8 SHA512 826dabd026bdc61b160d5a0f92f13a100da66cadde28d80c1c85c2a3e18130411dcfd51cd33d0a004fde3025aa27bd0a8d8a51605a124bc60a77a6bf9b7122c6
|
||||
DIST r6.2.0-rc4.tar.gz 92750969 BLAKE2B ac36d5c2b2c19310d7eadfd14d99c5474a53228f4b66183d374389c6ea98c5fdd30f66ea625e8717ba6703a5e1be03c1f90d4fedff8cdb325caf5a0253964b50 SHA512 8cc027e66505ede151e20ecee2538fd7304ccdc80b71cb8841bd8c63438e790d5de7fa6ff6b4f0ed7324c854fab42cbdb0a473b7e63a59e4c97feaff80a2aa86
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
256
dev-db/mongodb/mongodb-6.2.0-r4.ebuild
Normal file
256
dev-db/mongodb/mongodb-6.2.0-r4.ebuild
Normal file
@ -0,0 +1,256 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
CHECKREQS_DISK_BUILD="27000M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="4092M"
|
||||
|
||||
inherit check-reqs multiprocessing pax-utils python-any-r1 systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="rapid"
|
||||
KEYWORDS="~amd64"
|
||||
CPU_FLAGS="cpu_flags_x86_avx"
|
||||
IUSE="debug kerberos lto mongosh ssl gold +tools ocsp-stapling server-js tcmalloc tcmalloc-experimental"
|
||||
IUSE+=" free-mon http-client runtime-hardening experimental-optimization experimental-runtime-hardening"
|
||||
IUSE+=" ${CPU_FLAGS}"
|
||||
SRC_URI="https://github.com/mongodb/mongo/archive/r${PV}-rc4.tar.gz"
|
||||
|
||||
REQUIRED_USE="
|
||||
experimental-runtime-hardening? ( runtime-hardening )
|
||||
tcmalloc? ( !tcmalloc-experimental )
|
||||
"
|
||||
|
||||
# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server
|
||||
# resmoke needs python packages not yet present in Gentoo
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
>=dev-libs/boost-1.70:=[threads(+),nls]
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
http-client? ( net-misc/curl )
|
||||
gold? ( sys-devel/binutils:=[gold] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
>=dev-util/scons-4.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )
|
||||
!dev-db/mongodb:0
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
mongosh? ( app-admin/mongosh-bin )
|
||||
tools? ( >=app-admin/mongo-tools-100 )
|
||||
"
|
||||
|
||||
#PATCHES=( ${FILESDIR}/mongodb-5.0.2-skip-reqs-check.patch )
|
||||
|
||||
python_check_deps() {
|
||||
has_version ">=dev-util/scons-4.3.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/packaging[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
S=${WORKDIR}/mongo-r${PV}
|
||||
|
||||
pkg_pretend() {
|
||||
if ! use cpu_flags_x86_avx; then
|
||||
eerror "MongoDB ${PV} requires use of the AVX instruction set"
|
||||
eerror "https://docs.mongodb.com/v5.0/administration/production-notes/"
|
||||
die "MongoDB requires AVX"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
scons_opts=(
|
||||
AR="ar"
|
||||
CC="gcc"
|
||||
CXX="g++"
|
||||
CCFLAGS="-march=native -pipe -DBOOST_LOG_DYN_LINK ${CCFLAGS}"
|
||||
MONGO_VERSION=${PV}
|
||||
|
||||
--jobs=$(makeopts_jobs)
|
||||
--release
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
--use-diagnostic-latches=on
|
||||
--use-hardware-crc32=on
|
||||
--wiredtiger=on
|
||||
--link-model=auto
|
||||
--opt=on
|
||||
--use-libunwind=auto
|
||||
--build-tools=next
|
||||
--cxx-std=20
|
||||
--visibility-support=on
|
||||
--enable-usdt-probes=off
|
||||
)
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=( --ssl=on )
|
||||
else
|
||||
scons_opts+=( --ssl=off )
|
||||
fi
|
||||
|
||||
if use free-mon; then
|
||||
scons_opts+=( --enable-free-mon=on )
|
||||
else
|
||||
scons_opts+=( --enable-free-mon=off )
|
||||
fi
|
||||
|
||||
if use gold; then
|
||||
scons_opts+=( --linker=gold )
|
||||
else
|
||||
scons_opts+=( --linker=bfd )
|
||||
fi
|
||||
|
||||
if use http-client; then
|
||||
scons_opts+=( --enable-http-client=on )
|
||||
else
|
||||
scons_opts+=( --enable-http-client=off )
|
||||
fi
|
||||
|
||||
if use ocsp-stapling; then
|
||||
scons_opts+=( --ocsp-stapling=on )
|
||||
else
|
||||
scons_opts+=( --ocsp-stapling=off )
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=( --use-sasl-client )
|
||||
fi
|
||||
|
||||
if use tcmalloc; then
|
||||
scons_opts+=( --allocator=tcmalloc )
|
||||
elif use tcmalloc-experimental; then
|
||||
scons_opts+=( --allocator=tcmalloc-experimental )
|
||||
else
|
||||
scons_opts+=( --allocator=system )
|
||||
fi
|
||||
|
||||
if use server-js; then
|
||||
scons_opts+=(
|
||||
--js-engine=mozjs
|
||||
--server-js=on
|
||||
)
|
||||
else
|
||||
scons_opts+=(
|
||||
--js-engine=none
|
||||
--server-js=off
|
||||
)
|
||||
fi
|
||||
|
||||
if use lto; then
|
||||
scons_opts+=( --lto=on )
|
||||
else
|
||||
scons_opts+=( --lto=off )
|
||||
fi
|
||||
|
||||
if use experimental-optimization; then
|
||||
scons_opts+=(
|
||||
--experimental-optimization="*"
|
||||
--experimental-optimization="-sandybridge"
|
||||
)
|
||||
fi
|
||||
|
||||
if use runtime-hardening; then
|
||||
scons_opts+=( --runtime-hardening=on )
|
||||
if use experimental-runtime-hardening; then
|
||||
scons_opts+=( --experimental-runtime-hardening="*" )
|
||||
fi
|
||||
else
|
||||
scons_opts+=( --runtime-hardening=off )
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=( --dbg=on )
|
||||
else
|
||||
scons_opts+=( --dbg=off )
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
PREFIX="${EPREFIX}/usr" ./buildscripts/scons.py "${scons_opts[@]}" install-core
|
||||
|
||||
$(tc-getSTRIP) "--strip-unneeded" "${S}/build/install/bin/mongo"
|
||||
$(tc-getSTRIP) "--strip-unneeded" "${S}/build/install/bin/mongod"
|
||||
$(tc-getSTRIP) "--strip-unneeded" "${S}/build/install/bin/mongos"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/install/bin/{mongo,mongod,mongos}
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc build/install/README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -1 +1,2 @@
|
||||
DIST 20140208.tar.gz 1686436 BLAKE2B 6ffefd5ba2948b6f13a6b64bbe5bcff994f3664a98341e8e2a141bfc5ea9bf093cfe8e075ef9f3bdabb5805e02122f78b43f0eecb6435b33124a0d5f83ce426e SHA512 861234146bf5a5458a6e7801bf8761413acbb334aaa6157cc2ea2666e94e3b32f87c509836bbdaca12ac9abdfa933c7ac26166f17a152f24f9877c4e5fedc1ab
|
||||
DIST 20150507.tar.gz 1334094 BLAKE2B 490d85dc0040d19bc29ee5c750c93266b2e2a5fa0409acef351dae2689a4864e310b60329612da5a6360b7cc1fb0baf403b43404eb81ae122e79c4d07316b7db SHA512 4619be006bd5b7d8ac8ce43544fb1b8b38461eee9dac21dc00e20476ca2f2a9266e70c94adcab06159d58dbc9cd88e17b19947010662165646b862af1b045e43
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
37
dev-libs/libdwarf/libdwarf-20150507.ebuild
Normal file
37
dev-libs/libdwarf/libdwarf-20150507.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Library to deal with DWARF Debugging Information Format"
|
||||
HOMEPAGE="https://github.com/Distrotech/libdwarf"
|
||||
SRC_URI="https://github.com/Distrotech/${PN}/archive/${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
# dirty hack, since I can't properly patch buildsystem
|
||||
QA_PREBUILT="*/${PN}.so"
|
||||
|
||||
src_configure() {
|
||||
econf --enable-shared
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use static-libs && dolib.a libdwarf.a
|
||||
dolib.so libdwarf.so
|
||||
|
||||
insinto /usr/include
|
||||
doins libdwarf.h
|
||||
|
||||
dodoc NEWS README CHANGES
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST clash-verge_1.1.1_amd64.deb 25983490 BLAKE2B 61ce17d4f81650f666ab7a8d693afdd482e5704142d64d8f661a5295a272d7c8d8408373225f7b63a98557694844a26f8a16ca021a6487f4bd1874bc283cbe19 SHA512 66254894bfacd71e691a540453820c7265e2e425686c2a273695782748466cc07611decd2cec41d4187ef84106820f770338596a195771a4df243eac014a77c5
|
||||
DIST clash-verge_1.2.0_amd64.deb 30752798 BLAKE2B b97948bd92cdcd35973f759d3f1ce56b744c7d28c5356018a50238e287f4cd06c642b9276714f0a9edec0965c702ec2ad8b969ac1d2b17c9c793360d7ad246e2 SHA512 70d2afc44a9e6a8553bf25b608777c7af4dd4cb211a542663d6730b19f0e7d2267b6b781ccb71a572408bf98e7be5e4ba85c17e3890cb580c4d44b292dad3722
|
||||
DIST clash-verge_1.2.1_amd64.deb 31169170 BLAKE2B 104549e35cd43740ca7782d6da46b0417d0a5978630c169dcd7a2dd931787c73bf73c8a641c1d697327169493f0cbf2b45de157096cd0c00022a7e3cc8e527cb SHA512 c73cfe2b1fbf2b60a4819413db37684c1a1b3813d8e3acb77822ca0edb8ec10253da360a994a3e89960ff1a1f6b5406c0dde47cb5d6d3ea57ef691a21d7394df
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -3,6 +3,7 @@
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/zzzgydi/clash-verge/issues</bugs-to>
|
||||
<remote-id type="github">zzzgydi/clash-verge</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>hougelangley1987@gmail.com</email>
|
||||
@ -11,7 +12,4 @@
|
||||
<use>
|
||||
<flag name="system-clash">Use net-proxy/clash instead of clash-premium</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">zzzgydi/clash-verge</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Loading…
x
Reference in New Issue
Block a user