Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-08-10 20:48:46 +00:00
24 changed files with 294 additions and 200 deletions

View File

@@ -14,8 +14,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs"
BDEPEND=""
DEPEND="x11-libs/gtk+:3"
BDEPEND="
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
DEPEND="
virtual/libintl
x11-libs/gtk+:3
"
RDEPEND="${DEPEND}"
src_prepare() {

View File

@@ -1,2 +1,3 @@
DIST tinyfetch-5.2.gh.tar.gz 21077 BLAKE2B 73a9107721edd5c559af229af3e9ff1a2c373efe3195e662f1a482631f6f5250eeaf20fba7143ce423244bc135d7699f7cdc77a2d557e11aaf84183fcaa04664 SHA512 5add99be93ad43319022e85cb1a294ea80d36ac4f075f317c1e030209e5759bb6916a11cd343fb7abb570006f32adc520e6ee43eea41ba43e285418b01a311a1
DIST tinyfetch-6.1.gh.tar.gz 23543 BLAKE2B 3bcb7f31760819b69e62f69dbc141eecabbb895c7c584a19f5079a169415963e14dd5ec790e22831b7fc3202956b1edbf74dfa19612599ea948362b06d3526e6 SHA512 9c67bf8eacc6451a670b4cf83092b1a1da924e0e05b45cb63c4de8e350efca7c033f5c04b6a2602b91d6a9fa3e49cf3725e99487ae992d0eb3fd6a03d9a687d2
DIST tinyfetch-6.2.gh.tar.gz 23909 BLAKE2B afa94531233cbab054254adb0d1fee6df38e66849e8e87e65dc900d8feed44cc33389651f863da9801dd719523d817ae1d4259fc1f56f42c7d23895b68285686 SHA512 c5e37fa71679757ea1a88f4360ce5f3a5ac6bbea5fa291db3b3b9b33b43e70e70359980d795614cdc5810aca940db4b393cde43b48189a544fc683b166ca7a6d

View File

@@ -0,0 +1,23 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="fetch program written in pure C"
HOMEPAGE="https://github.com/kernaltrap8/tinyfetch"
SRC_URI="https://github.com/kernaltrap8/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
IUSE="+pci"
RDEPEND="
pci? (
sys-apps/pciutils
)
"
DEPEND="${RDEPEND}"

View File

@@ -1,5 +1,4 @@
DIST Yams-5.0.1.tar.gz 658324 BLAKE2B 8e95d96df85115b59334c9e20e03120040f6095c3a3f00110c2cd890077dd17f2f79a22452d380e05e463860c367db39b4df13815ee00ea80964707ef038c9ee SHA512 91feecb95d1997235e443dea925ff11fa665e94c12c8eca2ed066ef340a51ec0253df2545d91184c31423cb4b039e1f89ac8f743cf3f154c9d93495eecc45432
DIST icu-69.1.tar.gz 62824536 BLAKE2B 591ba9b790e24c824cf5e1108f3ee14bee6c9bbc2379db2e3062970331bb633aefd926e1d407782ccfa754e953d390a9bb9dae5c8a8f7883373a224b0ca010a7 SHA512 4bfe07fb2ce647961ada18b1c5bfa10f38b4b95b8801c9720b3e223f92e6eddabdfc9b9f8553cc092bed309ec663e7f63873e370e390a1de9f7779c6bfe133c1
DIST indexstore-db-5.10.1.tar.gz 909365 BLAKE2B fde150aff5a46970aafc872be8f9a57e338c648e2d3f5ea49a223d72d3cd402496a1045716551fd07c9954ea123a87070593d6fdd315a825f57d9d513f01d6b3 SHA512 1fc62360a5cd4701da314774b4c5c6a6a9cc2a8d46881962fc80331006c255d173f8ace8d743a09b3fcdbf1e92570248666396a0b78ce8be19eeff65ab6c3235
DIST llvm-project-5.10.1.tar.gz 171145818 BLAKE2B e314f2e8716cb36b43e1ec23fe2fe212e4ab79e711f4544d54788338067f75b87abe84ecc60b1b5f073f0349d45363346d8a6b89b85f2ae6801cd09709293f52 SHA512 c659041234da1fed29a7186f0e436b0867576096483333d71f11e72828b45e2c7bd9b15db7d3da348a114af48a649f8a484ba3bd4de84d2f5cdb8a7035c5ad30
DIST sourcekit-lsp-5.10.1.tar.gz 301167 BLAKE2B a1ff3b22c4ab2583d39687aae385fc52dcbb02237035ace8bc0fc6c705db1cd6734dae1656078080c7599ad4b75f5e03def7f60b0e0361bcb25e45bc9ea3c676 SHA512 4a2f7c2129a69c05c8d158877efb1538f092f8eb2d1b1194661cb7c6f201330ecf7fd33bb0d06dd595bc6966e19b739d103478db6c9b2a4c2d7ae351bfb398a8

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{6..13} )
PYTHON_COMPAT=( python3_{10..13} )
inherit python-single-r1
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
@@ -46,13 +46,12 @@ SRC_URI="
https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz
https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz
https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz
https://github.com/unicode-org/icu/archive/refs/tags/release-69-1.tar.gz -> icu-69.1.tar.gz
"
PATCHES="
${FILESDIR}/${P}-link-with-lld.patch
${FILESDIR}/${P}-llbuild-link-ncurses-tinfo-gentoo.patch
"
PATCHES=(
"${FILESDIR}/${P}-link-with-lld.patch"
"${FILESDIR}/${P}-llbuild-link-ncurses-tinfo-gentoo.patch"
)
S="${WORKDIR}"
LICENSE="Apache-2.0"
@@ -64,13 +63,10 @@ RESTRICT="strip"
RDEPEND="
${PYTHON_DEPS}
>=dev-build/cmake-3.24.2
>=dev-build/ninja-1.11
>=dev-db/sqlite-3
>=dev-libs/icu-69
>=dev-libs/libedit-20221030
>=dev-libs/libxml2-2.11.5
>=dev-vcs/git-2.39
>=net-misc/curl-8.4
>=sys-devel/lld-15
>=sys-libs/ncurses-6
@@ -79,8 +75,21 @@ RDEPEND="
"
BDEPEND="
${PYTHON_DEPS}
>=dev-build/cmake-3.24.2
>=dev-build/ninja-1.11
>=dev-db/sqlite-3
>=dev-libs/icu-69
>=dev-libs/libedit-20221030
>=dev-libs/libxml2-2.11.5
>=dev-util/patchelf-0.18
>=dev-vcs/git-2.39
>=sys-apps/coreutils-9
>=sys-devel/clang-15
>=sys-devel/lld-15
>=sys-libs/ncurses-6
>=sys-libs/zlib-1.3
dev-lang/python
"
src_unpack() {
@@ -97,7 +106,6 @@ src_unpack() {
# Some one-off fixups:
pushd "${S}" \
&& mv 'icu-release-69' 'icu' \
&& mv 'swift-cmark' 'cmark' \
&& mv 'swift-llbuild' 'llbuild' \
&& mv 'swift-package-manager' 'swiftpm' \
@@ -223,11 +231,6 @@ src_compile() {
}
src_install() {
# `libicudataswift.so.69.1` has an empty `DT_RUNPATH`, which fails
# `rpath_security_checks`. It contains only data, so we can remove its rpath
# altogether.
patchelf --remove-rpath "${S}/stage2/usr/lib/swift/linux/libicudataswift.so.69.1"
# The Swift build output is intended to be self-contained, and is
# _significantly_ easier to leave as-is than attempt to splat onto the
# filesystem; we'll install the output versioned into `/usr/lib64` and
@@ -241,6 +244,7 @@ src_install() {
# exposed externally, so we'll just symlink Swift-specific binaries into
# `/usr/bin`. (The majority of executables don't need to be exposed as
# `swift <command>` calls `swift-<command>` directly.)
local bin
for bin in swift swiftc sourcekit-lsp; do
dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}"
done

View File

@@ -19,6 +19,8 @@ KEYWORDS="~amd64"
RDEPEND="virtual/jdk"
distutils_enable_tests pytest
# WORKAROUND: Overload function to nullify blocking QA check.
# To be deleted after resolution of
# https://bugs.gentoo.org/937642

View File

@@ -1,2 +1,2 @@
DIST tidal-hifi-bin-5.14.1.tar.gz 113454019 BLAKE2B ee5b1bd0554376fa1e0e753e44ee9d5e0b6b8cf3e7e1c445d0962ef284df384662725dd4da960868c3d9f360b7bae2e18fdb3c3c05e7692faf31b3e964200cef SHA512 c50788b874bc61822d5eeb63a3ba8d67b6fb086c305d85b4c003fdb2ea9ff0f16a9c547cfb5d76a71fe7f9022e2bdc8167cdf6127a6931614581935c9de1f498
DIST tidal-hifi-bin-5.15.0.tar.gz 113447478 BLAKE2B 2f1b7ee95ca1b7faed391634c8849d90c2c7c7307e828e762023281f478aa52b468c96b1df3dafdef79ae5706e8069ba1e65f38863646563d3e7b47a15a30c84 SHA512 b76a4c9ffa26645665c815b96ceb5dde33d73bb6e0e6b2a524738dcbdf0a00f9c7fdd2e72debb91e54175392c902a2bc71606e6fcdb9d96d356edc2a3edbd2e2
DIST tidal-hifi-bin-5.16.0.tar.gz 113448747 BLAKE2B 5c0721de2d6997c158e2f850d01129eea4c7b5ef3e3ea48c216dc68fec5f05565f0d9bcf6b70744c106b2408999e91bf19da5b11ec1773b80a123972095c9d49 SHA512 edde0e60330ed9071be28d0a255c801c32382e5f7b5c3eefe802d16474f27af2e8a55790e9a71bf049c1cd3ea6ef05c5fc1f9e1390c3a3d58e53f83d76430427

View File

@@ -1,3 +1,2 @@
DIST mautrix-telegram-0.14.1.gh.tar.gz 811724 BLAKE2B 92cc600c5838c9bf65e9aa76a499b63d9474087d998d764f4e0f146cbcc7f9e7d10e7c0f3a7a6d31c3c9d9ff5e75070ea0fe35526455a66a342d96d2fb47cb4b SHA512 7615dc811558119f0e54184af057fba399824b5d753b9dd45ea25c943d710fa66b0dd5bbcbf9162840ee53f771cbf07f3017d563ecbf34b911ff3e28398e54b3
DIST mautrix-telegram-0.14.2.gh.tar.gz 813171 BLAKE2B 286015b2854b5c2649f27e32e9d87faf852b42227864415692b78a306c85691786e6992d6137ccc30b3c947294b3c417c455c1b433384ddcbeab6aaf10586898 SHA512 0745beb448afaefcd7bafa6425e5fe8469729d208cb8eb6c248c35bc83ce75c6c916434b7d1e6671a37215cab041eaa61c5a6b0b5ee367f9ac5f83b1cfc651a9
DIST mautrix-telegram-0.15.1.tar.gz 253573 BLAKE2B f27e5d97e9f225d8464e2002c02895072c0ddff7cad388bde08716a9337c3fd72291d0e087677fc69f9b298f297418f931e12e536695c30300b1526f1960a579 SHA512 f9a8898e8bfcc79b4e6ddc0cc9473e195f9c772ccc621275c688927e35a7f0801edea3a053b462c155757e4231465670ab5dc305d7fb39438590d953eb6b163b
DIST mautrix-telegram-0.15.2.tar.gz 255865 BLAKE2B 841f1f0872505f12f45b2a0862314eb057952b8b4a2ba55d314ccf71bbe4957a602bfeb061a1137c4af320f9900b6862b4ee9c754c367818e369e6044a8e776e SHA512 a2df56d58905044e8eb2303e5d6377248ca8911bdfc982e8bd290cc897dbfcde8798e3f1b1c1ad84243febdfb387aae312d83c93443320efc1fa56f95903a486

View File

@@ -0,0 +1,8 @@
# Configuration file
#MAUTRIX_TELEGRAM_CONFIG="/etc/mautrix/mautrix_telegram.yaml"
# Log file
#MAUTRIX_TELEGRAM_LOG="/var/log/mautrix/mautrix-telegram_daemon.log"
# Extra command-line options
#MAUTRIX_TELEGRAM_OPTS=""

View File

@@ -0,0 +1,29 @@
#!/sbin/openrc-run
# shellcheck shell=sh
#
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${MAUTRIX_TELEGRAM_CONFIG:=/etc/mautrix/mautrix_telegram.yaml}
: ${MAUTRIX_TELEGRAM_LOG:=/var/log/mautrix/mautrix-telegram_daemon.log}
description="A Matrix-Telegram Messenger puppeting bridge"
command="/usr/bin/python"
command_args="-m mautrix_telegram -c ${MAUTRIX_TELEGRAM_CONFIG} ${MAUTRIX_TELEGRAM_OPTS}"
command_background=true
command_user="mautrix-telegram:mautrix"
pidfile="/run/${RC_SVCNAME}.pid"
output_log="${MAUTRIX_TELEGRAM_LOG}"
error_log="${output_log}"
depend() {
need net
use dns postgresql
}
start_pre() {
checkpath -d -m 0755 -o "${command_user}" /var/lib/mautrix/telegram
checkpath -f -m 0644 -o "${command_user}" "${output_log}"
}

View File

@@ -1,80 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 optfeature systemd
DESCRIPTION="A Matrix-Telegram Messenger puppeting bridge "
HOMEPAGE="https://github.com/mautrix/telegram/"
SRC_URI="https://github.com/mautrix/telegram/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/telegram-${PV}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-user/${PN}
app-arch/brotli[python]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/asyncpg[${PYTHON_USEDEP}]
dev-python/commonmark[${PYTHON_USEDEP}]
dev-python/cryptg[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/mautrix[${PYTHON_USEDEP}]
dev-python/python-olm[${PYTHON_USEDEP}]
dev-python/phonenumbers[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
>=dev-python/tulir-telethon-1.28.0_alpha9[${PYTHON_USEDEP}]
dev-python/unpaddedbase64[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_install() {
distutils-r1_src_install
keepdir /var/log/mautrix
fowners root:mautrix /var/log/mautrix
fperms 770 /var/log/mautrix
sed -i -e "s/\.\/${PN}.log/\/var\/log\/mautrix\/${PN}.log/" "${ED}/usr/example-config.yaml" || die
insinto "/etc/mautrix"
newins "${ED}/usr/example-config.yaml" "${PN/-/_}.yaml"
rm "${ED}/usr/example-config.yaml" || die
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
fowners -R root:mautrix /etc/mautrix
fperms -R 770 /etc/mautrix
}
pkg_postinst() {
optfeature "Prometheus statistics" dev-python/prometheus_client
optfeature "Sqlite backend" dev-python/aiosqlite
einfo
elog ""
elog "Before you can use ${PN}, you must configure it correctly"
elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\""
elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}"
elog "Then, you must register the bridge with your homeserver"
elog "Refer your homeserver's documentation for instructions"
elog "The registration file is located at /var/lib/${PN/-/\/}/registration.yaml"
elog "Finally, you may start the ${PN} daemon"
einfo
}
pkg_config() {
su - "${PN}" -s /bin/sh -c \
"/usr/bin/python -m ${PN/-/_} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml"
}

View File

@@ -1,80 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 optfeature systemd
DESCRIPTION="A Matrix-Telegram Messenger puppeting bridge "
HOMEPAGE="https://github.com/mautrix/telegram/"
SRC_URI="https://github.com/mautrix/telegram/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/telegram-${PV}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-user/${PN}
app-arch/brotli[python]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/asyncpg[${PYTHON_USEDEP}]
dev-python/commonmark[${PYTHON_USEDEP}]
dev-python/cryptg[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/mautrix[${PYTHON_USEDEP}]
dev-python/python-olm[${PYTHON_USEDEP}]
dev-python/phonenumbers[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
>=dev-python/tulir-telethon-1.28.0_alpha9[${PYTHON_USEDEP}]
dev-python/unpaddedbase64[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_install() {
distutils-r1_src_install
keepdir /var/log/mautrix
fowners root:mautrix /var/log/mautrix
fperms 770 /var/log/mautrix
sed -i -e "s/\.\/${PN}.log/\/var\/log\/mautrix\/${PN}.log/" "${ED}/usr/example-config.yaml" || die
insinto "/etc/mautrix"
newins "${ED}/usr/example-config.yaml" "${PN/-/_}.yaml"
rm "${ED}/usr/example-config.yaml" || die
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
fowners -R root:mautrix /etc/mautrix
fperms -R 770 /etc/mautrix
}
pkg_postinst() {
optfeature "Prometheus statistics" dev-python/prometheus_client
optfeature "Sqlite backend" dev-python/aiosqlite
einfo
elog ""
elog "Before you can use ${PN}, you must configure it correctly"
elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\""
elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}"
elog "Then, you must register the bridge with your homeserver"
elog "Refer your homeserver's documentation for instructions"
elog "The registration file is located at /var/lib/${PN/-/\/}/registration.yaml"
elog "Finally, you may start the ${PN} daemon"
einfo
}
pkg_config() {
su - "${PN}" -s /bin/sh -c \
"/usr/bin/python -m ${PN/-/_} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml"
}

View File

@@ -0,0 +1,90 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 optfeature pypi systemd
DESCRIPTION="A Matrix-Telegram Messenger puppeting bridge "
HOMEPAGE="https://github.com/mautrix/telegram/"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="crypt minimal +qrcode socks5 sqlite"
RDEPEND="
acct-user/mautrix-telegram
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/asyncpg[${PYTHON_USEDEP}]
dev-python/commonmark[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/mautrix[crypt?,${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/tulir-telethon-1.37.0_alpha1[${PYTHON_USEDEP}]
dev-python/yarl[${PYTHON_USEDEP}]
|| (
dev-python/python-magic[${PYTHON_USEDEP}]
sys-apps/file[python,${PYTHON_USEDEP}]
)
!minimal? (
app-arch/brotli[python,${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/cryptg[${PYTHON_USEDEP}]
dev-python/phonenumbers[${PYTHON_USEDEP}]
)
qrcode? (
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
)
socks5? ( dev-python/python-socks[${PYTHON_USEDEP}] )
sqlite? ( dev-python/aiosqlite[${PYTHON_USEDEP}] )
"
src_install() {
distutils-r1_src_install
keepdir /var/log/mautrix
fowners root:mautrix /var/log/mautrix
fperms 770 /var/log/mautrix
mkdir -p "${ED}"/etc/mautrix || die
sed -i "${ED}/usr/example-config.yaml" \
-e "s:\./mautrix-telegram.log:/var/log/mautrix/${PN}.log:" || die
mv "${ED}"/usr/example-config.yaml "${ED}"/etc/mautrix/mautrix_telegram.yaml || die
newinitd "${FILESDIR}"/mautrix-telegram.initd-r1 mautrix-telegram
newconfd "${FILESDIR}"/mautrix-telegram.confd mautrix-telegram
systemd_dounit "${FILESDIR}"/mautrix-telegram.service
fowners -R root:mautrix /etc/mautrix
fperms -R 770 /etc/mautrix
}
pkg_postinst() {
optfeature "Prometheus statistics support" dev-python/prometheus_client
einfo
elog "Before you can use mautrix-telegram, you need to configure it correctly."
elog "The configuration file is located at \"/etc/mautrix/mautrix_telegram.yaml\""
elog
elog "When done, run the following command:"
elog " # emerge --config ${CATEGORY}/${PN}"
elog
elog "Then, you need to register the bridge with your homeserver."
elog "Refer your homeserver's documentation for instructions."
elog "The registration file is located at /var/lib/mautrix_telegram/registration.yaml"
elog
elog "Finally, you may start the mautrix-telegram daemon."
einfo
}
pkg_config() {
su - mautrix-telegram -s /bin/sh -c \
"/usr/bin/python -m mautrix_telegram -c /etc/mautrix/mautrix_telegram.yaml -g -r /var/lib/mautrix_telegram/registration.yaml"
}

View File

@@ -16,4 +16,7 @@
<remote-id type="github">mautrix/telegram</remote-id>
<remote-id type="pypi">mautrix-telegram</remote-id>
</upstream>
<use>
<flag name="qrcode">Enables logging in via QR code support</flag>
</use>
</pkgmetadata>

View File

@@ -3,19 +3,23 @@
EAPI=8
WANT_AUTOCONF="2.5"
inherit autotools desktop xdg-utils flag-o-matic git-r3
inherit autotools desktop flag-o-matic git-r3 xdg-utils
DESCRIPTION="Dogecoin Core Qt for desktop. Downloaded blockchain is under 2.2GB. Much secure."
HOMEPAGE="https://github.com/dogecoin"
EGIT_REPO_URI="https://github.com/dogecoin/dogecoin.git"
WORKDIR_="${WORKDIR}/${P}"
S="${WORKDIR_}"
LICENSE="MIT"
SLOT="0"
DB_VER="5.3"
IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse2 intel-avx2 dogecoind experimental +gui +pie +prune scrypt-sse2 +ssp tests utils +wallet zmq"
REQUIRED_USE="!gui? ( dogecoind utils ) dogecoind? ( utils ) intel-avx2? ( experimental ) scrypt-sse2? ( experimental ) experimental? ( || ( intel-avx2 scrypt-sse2 ) )"
REQUIRED_USE="
!gui? ( dogecoind utils )
dogecoind? ( utils )
intel-avx2? ( experimental )
scrypt-sse2? ( experimental )
experimental? ( || ( intel-avx2 scrypt-sse2 ) )
"
DOGEDIR="/opt/${PN}"
DEPEND="
dev-libs/libevent:=
@@ -23,7 +27,14 @@ DEPEND="
dev-libs/openssl
dev-build/libtool
dev-build/automake:=
gui? ( dev-qt/qtcore dev-qt/qtgui dev-qt/qtwidgets dev-qt/qtdbus dev-qt/qtnetwork dev-qt/qtprintsupport dev-qt/linguist-tools:= )
gui? ( dev-qt/qtcore
dev-qt/qtgui
dev-qt/qtwidgets
dev-qt/qtdbus
dev-qt/qtnetwork
ev-qt/qtprintsupport
dev-qt/linguist-tools:=
)
>=dev-libs/boost-1.84.0
wallet? ( sys-libs/db:"${DB_VER}"=[cxx]
gui? ( media-gfx/qrencode )
@@ -45,7 +56,6 @@ BDEPEND="
"
pkg_pretend() {
if use intel-avx2 && [[ ! -e "${ROOT}"/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch ]]; then
eerror "${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch does not exist!"
eerror "To build with avx2 intel support, please create ${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb directory"
@@ -68,7 +78,7 @@ src_prepare() {
default
einfo "Generating autotools files..."
eaclocal -I "${WORKDIR_}"
eaclocal -I "${S}"
eautoreconf
}

View File

@@ -1,2 +1,2 @@
DIST yggdrasil-go-0.5.6-vendor.tar.xz 1434944 BLAKE2B 7abeea0b8a50ec2d2a9dd99842e50912d0e9d4f327dbf5c66c69d2848d219264bef068183e5e80e400f3b187d733cbe708fbc3493f27af1e1922a078f31e1202 SHA512 de555d765155f20e47c742b5dba330ab2659c0a414cbe6c7a3103328f21c8d6a45bb35755c9a1b7c190d4c0aeb2495ca8e1f0ea350b55bec7de405f7b35ecc86
DIST yggdrasil-go-0.5.6.tar.gz 106181 BLAKE2B 01302cb2a4e08f84bcc33b01e86315a948d0bf6900c2e592edc6cc618ef8d09ea20793ea41ae1ed61ef094a9266a2ff3df840a8ca59c0ba496a03519b8869497 SHA512 1c6f8767000a41d4b4f62c3e6df1e562289b3e699542a2fa99781b74eed2eda7e3c5968f50d068360d72b9308e8e27dfd14f42fd7ff2c63982dd48cc5afd85c2
DIST yggdrasil-go-0.5.7-vendor.tar.xz 1474632 BLAKE2B c10f72f6bc94f07a51af70e55ce693ad140b4b4a1e9a7336bd80e46d6aca759f69c3d339a883732371dc4862e2da6bc4618ba046afe1a1c2efd72b2f5859482d SHA512 64ab1b29686d2c555c7f4fc8a20ea1b4bb40f05e795b010c5536cee5173647c2bcd4fff3b03ff0d8e196b33ffb814a60bdbf7d315fda7d986fdaaa6255d356cb
DIST yggdrasil-go-0.5.7.tar.gz 107794 BLAKE2B 2baf4689e1ec70362c292a62b67dc944880f6e2ece4f35725b665dc11341c9ccce93433dd085bd41351dd11562c93fd070001b1c83f6b626a5d0606c9ab8c61f SHA512 aeb6668a30043ed1ae695702d21a51faa4acd1dc4c93cbafaf5afd902fdca9a8196ed6e0e2e05b63eba4ea64906b6e43680c79a19f97be8837aa61f161fb48fa

View File

@@ -34,15 +34,15 @@ CONFIG_CHECK="~TUN"
ERROR_TUN="Your kernel lacks TUN support."
src_compile() {
local ver_config="github.com/yggdrasil-network/yggdrasil-go/src/version"
local version_disable_detect_flags="-X ${ver_config}.buildName=${PN}"
version_disable_detect_flags+=" -X ${ver_config}.buildVersion=v${PV}"
GOFLAGS+=" -mod=vendor -trimpath"
local ver_config="github.com/yggdrasil-network/yggdrasil-go/src/version"
local custom_name_version_flags="-X ${ver_config}.buildName=${PN}"
custom_name_version_flags+=" -X ${ver_config}.buildVersion=git-${EGIT_VERSION}"
local GO_LDFLAGS
GO_LDFLAGS="-s -linkmode external -extldflags \"${LDFLAGS}\" ${version_disable_detect_flags}"
GO_LDFLAGS="-s -linkmode external -extldflags \"${LDFLAGS}\" ${custom_name_version_flags}"
local cmd
for cmd in yggdrasil{,ctl}; do

View File

@@ -18,7 +18,9 @@ DEPEND="
acct-group/yggdrasil
"
BDEPEND=">=dev-lang/go-1.20.0"
BDEPEND=">=dev-lang/go-1.21"
DOCS=( README.md CHANGELOG.md )
FILECAPS=(
cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
@@ -51,8 +53,7 @@ src_compile() {
src_install() {
dobin yggdrasil{,ctl}
dodoc README.md
dodoc CHANGELOG.md
einstalldocs
systemd_dounit "contrib/systemd/yggdrasil.service"
systemd_dounit "contrib/systemd/yggdrasil-default-config.service"

View File

@@ -0,0 +1 @@
DIST byedpi-0.12.tar.gz 33283 BLAKE2B da1d9bbc80c868fb16c4f6e24c3fe00d5d03d5bb0a6d71dac16999b652e81fc9c2a5f0f57e350260b9295d953cb0c3fe316440279dd26b09ee895bf81771cc2b SHA512 9f15afc821b53bd1fba71ab9a37640c8f35f22efcfc6cd079800f9abd4286232fb29850aebe9168e54396f912362e012448940d32471bfe0586600fcd2591e22

View File

@@ -0,0 +1,30 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd toolchain-funcs
DESCRIPTION="Bypass DPI SOCKS proxy"
HOMEPAGE="https://github.com/hufrea/byedpi/"
SRC_URI="https://github.com/hufrea/byedpi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
tc-export CC
export CFLAGS
sed -i 's/ -O.\b/ /' Makefile
# workaround for compiling without -O2
# https://github.com/hufrea/byedpi/commit/3fee8d5aed122f34ec13637f5f4b1502d13cc923
sed -i 's/inline bool check_port/static inline bool check_port/' extend.c
default
}
src_install() {
dobin ciadpi
systemd_dounit "${FILESDIR}/${PN}.service"
}

View File

@@ -0,0 +1,26 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 systemd toolchain-funcs
DESCRIPTION="Bypass DPI SOCKS proxy"
HOMEPAGE="https://github.com/hufrea/byedpi/"
EGIT_REPO_URI="https://github.com/hufrea/byedpi.git"
LICENSE="MIT"
SLOT="0"
src_compile() {
tc-export CC
export CFLAGS LDFLAGS
sed -i 's/ -O.\b/ /' Makefile
default
}
src_install() {
dobin ciadpi
systemd_dounit "${FILESDIR}/${PN}.service"
}

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Bypass DPI SOCKS proxy
Documentation=https://github.com/hufrea/byedpi/blob/main/readme.txt
After=network-online.target
[Service]
ExecStart=/usr/bin/ciadpi --disorder 1 --auto=torst --tlsrec 1+s
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>misha.zavertkin@mail.ru</email>
<name>Misha Zavertkin</name>
</maintainer>
<upstream>
<remote-id type="github">hufrea/byedpi</remote-id>
</upstream>
</pkgmetadata>