diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-p2p | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'net-p2p')
350 files changed, 0 insertions, 18596 deletions
diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest deleted file mode 100644 index 605e7aab645b..000000000000 --- a/net-p2p/airdcpp-webclient/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST airdcpp-webclient-2.12.2.tar.gz 793005 BLAKE2B 777a8aa3e5425566ae15f6ae616796953c653890aac607f8c3799c7a959335a0c7bed9380e85a9f6174d989392d909056faff582d42292174c2609de4b7451dc SHA512 29ad24d1714e86123ed0d3ef226934682001202c0197df9d83c4a225503786a5853cd4bf31f90eb30a98351fba0d246e02ca4ba9ffe71f6bda760021f095b9b2 -DIST airdcpp-webclient-2.13.3.tar.gz 829955 BLAKE2B 990463a3c3cf05a6f503e385dc371353bc4a17703a4cfa9784167bdbd6ef49b557b7ccd230a2cd7fd0832115a6bfcbde4da5711b755305101280e5fe2fc1d99a SHA512 c74c6ab57325a39b470e8cdfc99f59fd4e163df3b2a2d7bad8a2a9e07fd3b9372cf310dbc228a7f547adc5d9de54269b3cb19b7a710ab96ecb0fd2da0022e615 -DIST airdcpp-webclient-2.14.0.tar.gz 833876 BLAKE2B 5f2c1384026bd02e3e1168c18f259250df6a2fe20dc44b3aab5b8ba5bb2354a06a72a14bd696c3c00d2a415eb9af95da1d4e9a1084cca6a020b81b4e5ba36e6d SHA512 3d5e9f0fa12fd588f899902c7f84c41f27a6c18363e69dbcd365f4f8c4dc47e0d6bf5959e970597c57c3d7ebd30e11e6c8d7d216b8b8c0d07a412efedd711f24 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild deleted file mode 100644 index ee9f5ccf435b..000000000000 --- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake python-any-r1 systemd - -DESCRIPTION="Cross-platform Direct Connect client" -HOMEPAGE="https://airdcpp-web.github.io/" -SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="debug nat-pmp +tbb +webui" - -RDEPEND=" - acct-user/airdcppd - acct-group/airdcppd - app-arch/bzip2 - dev-cpp/websocketpp - dev-libs/boost:= - dev-libs/leveldb:= - dev-libs/libmaxminddb:= - dev-libs/openssl:0=[-bindist(-)] - net-libs/miniupnpc:= - virtual/zlib:= - virtual/libiconv - nat-pmp? ( net-libs/libnatpmp:= ) - tbb? ( dev-cpp/tbb:= ) -" -DEPEND=" - dev-cpp/nlohmann_json - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" -PDEPEND="webui? ( www-apps/airdcpp-webui )" - -src_configure() { - local mycmakeargs=( - -DENABLE_NATPMP=$(usex nat-pmp) - -DENABLE_TBB=$(usex tbb) - -DINSTALL_WEB_UI=OFF - ) - CMAKE_BUILD_TYPE=$(usex debug Debug RelWithDebInfo) cmake_src_configure -} - -src_install() { - cmake_src_install - newconfd "${FILESDIR}/airdcppd.confd" airdcppd - newinitd "${FILESDIR}/airdcppd.initd" airdcppd - systemd_dounit "${FILESDIR}/airdcppd.service" -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "Run 'airdcppd --configure' to set up ports and authentication" - fi -} diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild deleted file mode 100644 index b83d163fb5bb..000000000000 --- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake python-any-r1 systemd - -DESCRIPTION="Cross-platform Direct Connect client" -HOMEPAGE="https://airdcpp-web.github.io/" -SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="nat-pmp +tbb +webui" - -RDEPEND=" - acct-user/airdcppd - acct-group/airdcppd - app-arch/bzip2 - dev-cpp/websocketpp - dev-libs/boost:= - dev-libs/leveldb:= - dev-libs/libmaxminddb:= - dev-libs/openssl:0=[-bindist(-)] - net-libs/miniupnpc:= - virtual/zlib:= - virtual/libiconv - nat-pmp? ( net-libs/libnatpmp:= ) - tbb? ( dev-cpp/tbb:= ) -" -DEPEND=" - dev-cpp/nlohmann_json - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" -PDEPEND="webui? ( www-apps/airdcpp-webui )" - -src_configure() { - local mycmakeargs=( - -DENABLE_NATPMP=$(usex nat-pmp) - -DENABLE_TBB=$(usex tbb) - -DINSTALL_WEB_UI=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - newconfd "${FILESDIR}/airdcppd.confd" airdcppd - newinitd "${FILESDIR}/airdcppd.initd" airdcppd - systemd_dounit "${FILESDIR}/airdcppd.service" -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "Run 'airdcppd --configure' to set up ports and authentication" - fi -} diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild deleted file mode 100644 index 2c0f4437d99e..000000000000 --- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake python-any-r1 systemd - -DESCRIPTION="Cross-platform Direct Connect client" -HOMEPAGE="https://airdcpp-web.github.io/" -SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="nat-pmp +tbb +webui" - -RDEPEND=" - acct-user/airdcppd - acct-group/airdcppd - app-arch/bzip2 - dev-cpp/websocketpp - dev-libs/boost:= - dev-libs/leveldb:= - dev-libs/libmaxminddb:= - dev-libs/openssl:0=[-bindist(-)] - net-libs/miniupnpc:= - virtual/zlib:= - virtual/libiconv - nat-pmp? ( net-libs/libnatpmp:= ) - tbb? ( dev-cpp/tbb:= ) -" -DEPEND=" - dev-cpp/nlohmann_json - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" -PDEPEND="webui? ( www-apps/airdcpp-webui )" - -src_configure() { - local mycmakeargs=( - -DENABLE_NATPMP=$(usex nat-pmp) - -DENABLE_TBB=$(usex tbb) - -DINSTALL_WEB_UI=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - newconfd "${FILESDIR}/airdcppd.confd" airdcppd - newinitd "${FILESDIR}/airdcppd.initd" airdcppd - systemd_dounit "${FILESDIR}/airdcppd.service" -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "Run 'airdcppd --configure' to set up ports and authentication" - fi -} diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.confd b/net-p2p/airdcpp-webclient/files/airdcppd.confd deleted file mode 100644 index af140cb6d3bf..000000000000 --- a/net-p2p/airdcpp-webclient/files/airdcppd.confd +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/conf.d/airdcppd: config file for /etc/init.d/airdcppd - -# User and group as which to run -#AIRDCPPD_USER="airdcppd" -#AIRDCPPD_GROUP="airdcppd" - -# umask used to create files -#AIRDCPPD_UMASK=007 diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.initd b/net-p2p/airdcpp-webclient/files/airdcppd.initd deleted file mode 100644 index ed322b3e35a7..000000000000 --- a/net-p2p/airdcpp-webclient/files/airdcppd.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -AIRDCPPD_USER="${AIRDCPPD_USER:-${RC_SVCNAME}}" -AIRDCPPD_GROUP="${AIRDCPPD_GROUP:-${RC_SVCNAME}}" -AIRDCPPD_UMASK="${AIRDCPPD_UMASK:-007}" -AIRDCPPD_HOME="$(getent passwd "${AIRDCPPD_USER}" | cut -d: -f6)" - -command="/usr/bin/airdcppd" -pidfile="${AIRDCPPD_HOME}/.airdc++/${RC_SVCNAME}.pid" -command_args="-d" -start_stop_daemon_args="\ - --user ${AIRDCPPD_USER} \ - --group ${AIRDCPPD_GROUP} \ - --umask ${AIRDCPPD_UMASK} \ -" - -depend() { - need localmount net -} diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.service b/net-p2p/airdcpp-webclient/files/airdcppd.service deleted file mode 100644 index 00d4ea071865..000000000000 --- a/net-p2p/airdcpp-webclient/files/airdcppd.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Cross-platform Direct Connect client -After=network-online.target - -[Service] -Type=forking -User=airdcppd -Group=airdcppd -# Grant write access to group members -UMask=007 -PIDFile=/var/lib/airdcppd/.airdc++/airdcppd.pid -ExecStart=/usr/bin/airdcppd -d - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/airdcpp-webclient/metadata.xml b/net-p2p/airdcpp-webclient/metadata.xml deleted file mode 100644 index ac64326dd2a2..000000000000 --- a/net-p2p/airdcpp-webclient/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sbraz@gentoo.org</email> - <name>Louis Sautier</name> - </maintainer> - <upstream> - <remote-id type="github">airdcpp-web/airdcpp-webclient</remote-id> - <bugs-to>https://github.com/airdcpp-web/airdcpp-webclient/issues</bugs-to> - </upstream> - <longdescription lang="en"> - AirDC++ Web Client is a cross-platform peer-to-peer file sharing client which allows sharing files with groups of people. - </longdescription> - <use> - <flag name="nat-pmp">Enable support for the NAT-PMP protocol</flag> - <flag name="tbb">Enable support of the TBB library to improve performance</flag> - <flag name="webui">Enable the Web UI</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest deleted file mode 100644 index 0b9d01e1aa4e..000000000000 --- a/net-p2p/amule/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST aMule-2.3.3.tar.xz 3699376 BLAKE2B 4b1fb98bd52e4c75f81773020d4fc258f8e7c4d7a5d40a7aadabc8fd27b3079705761650fdcd7cd089da77575a74f1950f02039ee14bf4b9894550b8b3d9191b SHA512 a5a80c5ddd1e107d92070c1d8e232c2762c4c54791abc067c739eef7c690062ed164dd7733808f80c762719261162aeb3d602308964dda2670a0bb059d87b74e diff --git a/net-p2p/amule/amule-2.3.3-r8.ebuild b/net-p2p/amule/amule-2.3.3-r8.ebuild deleted file mode 100644 index e63c4c61e256..000000000000 --- a/net-p2p/amule/amule-2.3.3-r8.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WX_GTK_VER="3.2-gtk3" - -inherit autotools eapi9-ver flag-o-matic wxwidgets xdg-utils - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/amule-project/amule" - inherit git-r3 -else - MY_P="${PN/m/M}-${PV}" - SRC_URI="https://download.sourceforge.net/${PN}/${MY_P}.tar.xz" - S="${WORKDIR}/${MY_P}" - KEYWORDS="~alpha amd64 ~arm ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -DESCRIPTION="aMule, the all-platform eMule p2p client" -HOMEPAGE="https://www.amule.org/" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="daemon debug geoip +gui nls remote stats upnp" - -RDEPEND=" - dev-libs/boost:= - dev-libs/crypto++:= - sys-libs/binutils-libs:0= - sys-libs/readline:0= - virtual/zlib:= - x11-libs/wxGTK:${WX_GTK_VER}= - daemon? ( acct-user/amule ) - geoip? ( dev-libs/geoip ) - gui? ( x11-libs/wxGTK:${WX_GTK_VER}=[X] ) - nls? ( virtual/libintl ) - remote? ( - acct-user/amule - media-libs/libpng:0= - ) - stats? ( media-libs/gd:=[jpeg,png] ) - upnp? ( net-libs/libupnp:0= ) -" -DEPEND="${RDEPEND} - gui? ( dev-util/desktop-file-utils ) -" -BDEPEND=" - virtual/pkgconfig - >=dev-build/boost-m4-0.4_p20221019 - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.3.2-disable-version-check.patch" - "${FILESDIR}/${PN}-2.3.3-fix-exception.patch" - "${FILESDIR}/${P}-autoconf-2.70.patch" - "${FILESDIR}/${PN}-2.3.3-backport-pr368.patch" - "${FILESDIR}/${PN}-2.3.3-wx3.2.patch" - "${FILESDIR}/${PN}-2.3.3-use-xdg-open-as-preview-default.patch" - "${FILESDIR}/${P}-boost-1.87.patch" - "${FILESDIR}/${P}-boost-1.89.patch" # bug 963550 - "${FILESDIR}/${P}-libupnp-1.18.patch" # bug 969816 -) - -src_prepare() { - default - rm m4/boost.m4 || die - - if [[ ${PV} == 9999 ]]; then - ./autogen.sh || die - else - eautoreconf - fi -} - -src_configure() { - setup-wxwidgets - - use debug || append-cppflags -DwxDEBUG_LEVEL=0 - append-cxxflags -std=gnu++14 - # Workaround for gettext-0.11.5 - # https://bugs.gentoo.org/945720 - append-cflags -std=gnu17 - - local myconf=( - --with-denoise-level=0 - --with-wx-config="${WX_CONFIG}" - --enable-amulecmd - --with-boost - $(use_enable debug) - $(use_enable daemon amule-daemon) - $(use_enable geoip) - $(use_enable nls) - $(use_enable remote webserver) - $(use_enable stats cas) - $(use_enable stats alcc) - $(use_enable upnp) - ) - - if use gui; then - myconf+=( - $(use_enable remote amule-gui) - $(use_enable stats alc) - $(use_enable stats wxcas) - ) - else - myconf+=( - --disable-monolithic - --disable-amule-gui - --disable-alc - --disable-wxcas - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check -} - -src_install() { - default - - if use daemon; then - newconfd "${FILESDIR}"/amuled.confd-r1 amuled - newinitd "${FILESDIR}"/amuled.initd amuled - fi - if use remote; then - newconfd "${FILESDIR}"/amuleweb.confd-r1 amuleweb - newinitd "${FILESDIR}"/amuleweb.initd amuleweb - fi - - if use daemon || use remote; then - keepdir /var/lib/${PN} - fowners amule:amule /var/lib/${PN} - fperms 0750 /var/lib/${PN} - fi -} - -pkg_postinst() { - if use daemon || use remote && ver_replacing -lt "2.3.2-r4"; then - elog "Default user under which amuled and amuleweb daemons are started" - elog "have been changed from p2p to amule. Default home directory have been" - elog "changed as well." - echo - elog "If you want to preserve old download/share location, you can create" - elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust" - elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in" - elog "/etc/conf.d/{amuled,amuleweb} to the old values." - fi - - use gui && xdg_desktop_database_update -} - -pkg_postrm() { - use gui && xdg_desktop_database_update -} diff --git a/net-p2p/amule/amule-9999.ebuild b/net-p2p/amule/amule-9999.ebuild deleted file mode 100644 index af14fc1d33d9..000000000000 --- a/net-p2p/amule/amule-9999.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WX_GTK_VER="3.2-gtk3" - -inherit cmake flag-o-matic wxwidgets xdg-utils - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/amule-project/amule" - inherit git-r3 -else - MY_P="${PN/m/M}-${PV}" - SRC_URI="https://download.sourceforge.net/${PN}/${MY_P}.tar.xz" - S="${WORKDIR}/${MY_P}" - KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -DESCRIPTION="aMule, the all-platform eMule p2p client" -HOMEPAGE="https://www.amule.org/" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="daemon debug geoip +gui nls remote stats test upnp" -REQUIRED_USE="|| ( daemon gui remote )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/crypto++:= - sys-libs/binutils-libs:0= - sys-libs/readline:0= - virtual/zlib:= - x11-libs/wxGTK:${WX_GTK_VER}=[curl] - daemon? ( - acct-user/amule - dev-libs/boost:= - ) - gui? ( - dev-libs/boost:= - x11-libs/wxGTK:${WX_GTK_VER}=[X] - geoip? ( dev-libs/libmaxminddb ) - ) - nls? ( virtual/libintl ) - remote? ( - acct-user/amule - media-libs/libpng:0= - ) - stats? ( media-libs/gd:=[jpeg,png] ) - upnp? ( net-libs/libupnp:0= ) -" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.4.0-disable-version-check.patch" - "${FILESDIR}/${PN}-2.4.0-use-xdg-open-as-preview-default.patch" -) - -src_configure() { - setup-wxwidgets - - use debug || append-cppflags -DwxDEBUG_LEVEL=0 - CMAKE_BUILD_TYPE=$(usex debug Debug ${CMAKE_BUILD_TYPE}) - - local mycmakeargs=( - -DBUILD_ALCC=YES - -DBUILD_ED2K=YES - -DBUILD_ALC="$(usex gui)" - -DBUILD_AMULECMD="$(usex remote)" - -DBUILD_DAEMON="$(usex daemon)" - -DBUILD_CAS="$(usex stats)" - -DBUILD_MONOLITHIC="$(usex gui)" - -DBUILD_TESTING="$(usex test)" - -DBUILD_WEBSERVER="$(usex remote)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_UPNP="$(usex upnp)" - ) - - if use gui; then - mycmakeargs+=( - -DBUILD_REMOTEGUI="$(usex remote)" - -DBUILD_WXCAS="$(usex stats)" - -DENABLE_IP2COUNTRY="$(usex geoip)" - ) - else - mycmakeargs+=( - -DBUILD_REMOTEGUI=NO - -DBUILD_WXCAS=NO - -DENABLE_IP2COUNTRY=NO - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use daemon; then - newconfd "${FILESDIR}"/amuled.confd-r1 amuled - newinitd "${FILESDIR}"/amuled.initd amuled - fi - if use remote; then - newconfd "${FILESDIR}"/amuleweb.confd-r1 amuleweb - newinitd "${FILESDIR}"/amuleweb.initd amuleweb - fi - - if use daemon || use remote; then - keepdir /var/lib/${PN} - fowners amule:amule /var/lib/${PN} - fperms 0750 /var/lib/${PN} - fi -} - -pkg_postinst() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/net-p2p/amule/files/amule-2.3.2-disable-version-check.patch b/net-p2p/amule/files/amule-2.3.2-disable-version-check.patch deleted file mode 100644 index 74a0203a993e..000000000000 --- a/net-p2p/amule/files/amule-2.3.2-disable-version-check.patch +++ /dev/null @@ -1,12 +0,0 @@ -Disable NewVersionCheck by default ---- a/src/Preferences.cpp -+++ b/src/Preferences.cpp -@@ -1210,7 +1210,7 @@ void CPreferences::BuildItemList( const - /** - * Version check - **/ -- NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, true ))); -+ NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, false ))); - - /** - * Obfuscation diff --git a/net-p2p/amule/files/amule-2.3.3-autoconf-2.70.patch b/net-p2p/amule/files/amule-2.3.3-autoconf-2.70.patch deleted file mode 100644 index e52cfd6ae545..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-autoconf-2.70.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 0d3e85ea46b52685c5b198fbade3a82f38071ca4 Mon Sep 17 00:00:00 2001 -From: Pablo Barciela <scow@riseup.net> -Date: Sun, 19 Sep 2021 13:55:07 +0200 -Subject: [PATCH] allow to build with autoconf 2.70 and later - -Closes https://github.com/amule-project/amule/issues/232 ---- - configure.ac | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 93a918c03..9c57668c6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -30,10 +30,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) - - AC_PREREQ(2.62) - --# autoconf 2.70 introduced some incompatibilities that will make the build fail --# As a "workaround" reject 2.70 and above for now. --m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.70]), [-1],, [m4_fatal([autoconf ]m4_defn([AC_AUTOCONF_VERSION])[ is known to not work with aMule. Please use 2.69 instead.])]) -- - AC_CONFIG_SRCDIR([src/amule.cpp]) - AC_CONFIG_HEADERS([config.h]) - AC_CONFIG_MACRO_DIR([m4]) --- -2.39.3 - diff --git a/net-p2p/amule/files/amule-2.3.3-backport-pr368.patch b/net-p2p/amule/files/amule-2.3.3-backport-pr368.patch deleted file mode 100644 index 9235276943b8..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-backport-pr368.patch +++ /dev/null @@ -1,52 +0,0 @@ -https://bugs.gentoo.org/841296 -https://github.com/amule-project/amule/issues/342 -https://github.com/amule-project/amule/pull/368 - -commit 1c57ce9c688d26d95fe8f9d7b7590f4670956749 -Author: matoro <matoro@users.noreply.github.com> -Date: Thu Dec 14 00:28:50 2023 -0500 - - SafeFile: do endian-swap on float tag values - - There are comments noting that writing raw float values may not be - endian-correct and indeed it is not. WX does not provide functions for - endian-swapping floats, but since amule explicitly uses exclusively - single-precision (32-bit) floats, just cast it into a uint32_t for the - swapping. - - This is a no-op on little-endian. - -diff --git a/src/SafeFile.cpp b/src/SafeFile.cpp -index 30f9a7f23..0d9c4f8e7 100644 ---- a/src/SafeFile.cpp -+++ b/src/SafeFile.cpp -@@ -31,6 +31,7 @@ - #include <common/Format.h> // Needed for CFormat - #include "CompilerSpecific.h" // Needed for __FUNCTION__ - -+#include <cstring> // For std::memcpy - - #define CHECK_BOM(size, x) ((size >= 3) && (x[0] == (char)0xEF) && (x[1] == (char)0xBB) && (x[2] == (char)0xBF)) - -@@ -189,6 +190,10 @@ float CFileDataIO::ReadFloat() const - { - float retVal; - Read(&retVal, sizeof(float)); -+ uint32_t toswap{}; -+ std::memcpy(&toswap, &retVal, sizeof(toswap)); -+ toswap = ENDIAN_SWAP_32(toswap); -+ std::memcpy(&retVal, &toswap, sizeof(retVal)); - return retVal; - } - -@@ -306,6 +311,10 @@ void CFileDataIO::WriteHash(const CMD4Hash& value) - - void CFileDataIO::WriteFloat(float value) - { -+ uint32_t toswap{}; -+ std::memcpy(&toswap, &value, sizeof(toswap)); -+ toswap = ENDIAN_SWAP_32(toswap); -+ std::memcpy(&value, &toswap, sizeof(value)); - Write(&value, sizeof(float)); - } - diff --git a/net-p2p/amule/files/amule-2.3.3-boost-1.87.patch b/net-p2p/amule/files/amule-2.3.3-boost-1.87.patch deleted file mode 100644 index 10256c6238eb..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-boost-1.87.patch +++ /dev/null @@ -1,146 +0,0 @@ -From 212b1891da96750ca602df05b575b4d679ca6f1e Mon Sep 17 00:00:00 2001 -From: Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com> -Date: Mon, 16 Dec 2024 07:53:11 +0100 -Subject: [PATCH] Fix build with Boost 1.87 that removes deprecated asio - methods - ---- - src/LibSocketAsio.cpp | 31 +++++++++++++++---------------- - 1 file changed, 15 insertions(+), 16 deletions(-) - -diff --git a/src/LibSocketAsio.cpp b/src/LibSocketAsio.cpp -index 5f8b02652..8e15c8635 100644 ---- a/src/LibSocketAsio.cpp -+++ b/src/LibSocketAsio.cpp -@@ -70,7 +70,7 @@ - - using namespace boost::asio; - using namespace boost::system; // for error_code --static io_service s_io_service; -+static io_context s_io_service; - - // Number of threads in the Asio thread pool - const int CAsioService::m_numberOfThreads = 4; -@@ -265,7 +265,7 @@ public: - AddDebugLogLineF(logAsio, CFormat(wxT("Write %d %s")) % nbytes % m_IP); - m_sendBuffer = new char[nbytes]; - memcpy(m_sendBuffer, buf, nbytes); -- m_strand.dispatch(boost::bind(& CAsioSocketImpl::DispatchWrite, this, nbytes)); -+ dispatch(m_strand, boost::bind(& CAsioSocketImpl::DispatchWrite, this, nbytes)); - m_ErrorCode = 0; - return nbytes; - } -@@ -279,7 +279,7 @@ public: - if (m_sync || s_io_service.stopped()) { - DispatchClose(); - } else { -- m_strand.dispatch(boost::bind(& CAsioSocketImpl::DispatchClose, this)); -+ dispatch(m_strand, boost::bind(& CAsioSocketImpl::DispatchClose, this)); - } - } - } -@@ -538,7 +538,7 @@ private: - { - m_readPending = true; - m_readBufferContent = 0; -- m_strand.dispatch(boost::bind(& CAsioSocketImpl::DispatchBackgroundRead, this)); -+ dispatch(m_strand, boost::bind(& CAsioSocketImpl::DispatchBackgroundRead, this)); - } - - void PostReadEvent(int DEBUG_ONLY(from) ) -@@ -618,7 +618,7 @@ private: - uint32 m_readBufferContent; - bool m_eventPending; - char * m_sendBuffer; -- io_service::strand m_strand; // handle synchronisation in io_service thread pool -+ io_context::strand m_strand; // handle synchronisation in io_service thread pool - deadline_timer m_timer; - bool m_connected; - bool m_closed; -@@ -875,7 +875,7 @@ private: - } - // We were not successful. Try again. - // Post the request to the event queue to make sure it doesn't get called immediately. -- m_strand.post(boost::bind(& CAsioSocketServerImpl::StartAccept, this)); -+ post(m_strand, boost::bind(& CAsioSocketServerImpl::StartAccept, this)); - } - - // The wrapper object -@@ -886,7 +886,7 @@ private: - CScopedPtr<CAsioSocketImpl> m_currentSocket; - // Is there a socket available? - bool m_socketAvailable; -- io_service::strand m_strand; // handle synchronisation in io_service thread pool -+ io_context::strand m_strand; // handle synchronisation in io_service thread pool - }; - - -@@ -1021,7 +1021,7 @@ public: - // Collect data, make a copy of the buffer's content - CUDPData * recdata = new CUDPData(buf, nBytes, addr); - AddDebugLogLineF(logAsio, CFormat(wxT("UDP SendTo %d to %s")) % nBytes % addr.IPAddress()); -- m_strand.dispatch(boost::bind(& CAsioUDPSocketImpl::DispatchSendTo, this, recdata)); -+ dispatch(m_strand, boost::bind(& CAsioUDPSocketImpl::DispatchSendTo, this, recdata)); - return nBytes; - } - -@@ -1035,7 +1035,7 @@ public: - if (s_io_service.stopped()) { - DispatchClose(); - } else { -- m_strand.dispatch(boost::bind(& CAsioUDPSocketImpl::DispatchClose, this)); -+ dispatch(m_strand, boost::bind(& CAsioUDPSocketImpl::DispatchClose, this)); - } - } - -@@ -1162,7 +1162,7 @@ private: - ip::udp::socket * m_socket; - CMuleUDPSocket * m_muleSocket; - bool m_OK; -- io_service::strand m_strand; // handle synchronisation in io_service thread pool -+ io_context::strand m_strand; // handle synchronisation in io_service thread pool - deadline_timer m_timer; - amuleIPV4Address m_address; - -@@ -1254,7 +1254,7 @@ public: - void * Entry() - { - AddLogLineNS(CFormat(_("Asio thread %d started")) % m_threadNumber); -- io_service::work worker(s_io_service); // keep io_service running -+ auto worker = make_work_guard(s_io_service); // keep io_service running - s_io_service.run(); - AddDebugLogLineN(logAsio, CFormat(wxT("Asio thread %d stopped")) % m_threadNumber); - -@@ -1342,7 +1342,7 @@ bool amuleIPV4Address::Hostname(const wxString& name) - // This is usually just an IP. - std::string sname(unicode2char(name)); - error_code ec; -- ip::address_v4 adr = ip::address_v4::from_string(sname, ec); -+ ip::address_v4 adr = ip::make_address_v4(sname, ec); - if (!ec) { - m_endpoint->address(adr); - return true; -@@ -1353,17 +1353,16 @@ bool amuleIPV4Address::Hostname(const wxString& name) - error_code ec2; - ip::tcp::resolver res(s_io_service); - // We only want to get IPV4 addresses. -- ip::tcp::resolver::query query(ip::tcp::v4(), sname, ""); -- ip::tcp::resolver::iterator endpoint_iterator = res.resolve(query, ec2); -+ ip::tcp::resolver::results_type endpoint_iterator = res.resolve(sname, "", ec2); - if (ec2) { - AddDebugLogLineN(logAsio, CFormat(wxT("Hostname(\"%s\") resolve failed: %s")) % name % ec2.message()); - return false; - } -- if (endpoint_iterator == ip::tcp::resolver::iterator()) { -+ if (endpoint_iterator == ip::tcp::resolver::results_type()) { - AddDebugLogLineN(logAsio, CFormat(wxT("Hostname(\"%s\") resolve failed: no address found")) % name); - return false; - } -- m_endpoint->address(endpoint_iterator->endpoint().address()); -+ m_endpoint->address(endpoint_iterator.begin()->endpoint().address()); - AddDebugLogLineN(logAsio, CFormat(wxT("Hostname(\"%s\") resolved to %s")) % name % IPAddress()); - return true; - } --- -2.45.2 - diff --git a/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch b/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch deleted file mode 100644 index 173aad54c827..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-boost-1.89.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/amule-project/amule/issues/416 - -diff --git a/src/LibSocketAsio.cpp b/src/LibSocketAsio.cpp -index 8e15c8635..d36db0f85 100644 ---- a/src/LibSocketAsio.cpp -+++ b/src/LibSocketAsio.cpp -@@ -43,6 +43,8 @@ - #include <algorithm> // Needed for std::min - Boost up to 1.54 fails to compile with MSVC 2013 otherwise - - #include <boost/asio.hpp> -+#include <boost/asio/deadline_timer.hpp> -+#include <boost/date_time/posix_time/posix_time.hpp> - #include <boost/bind.hpp> - #include <boost/version.hpp> - diff --git a/net-p2p/amule/files/amule-2.3.3-fix-exception.patch b/net-p2p/amule/files/amule-2.3.3-fix-exception.patch deleted file mode 100644 index ef38f94cfccf..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-fix-exception.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/libs/common/MuleDebug.cpp b/src/libs/common/MuleDebug.cpp -index 4b023815c..19c172e61 100644 ---- a/src/libs/common/MuleDebug.cpp -+++ b/src/libs/common/MuleDebug.cpp -@@ -55,6 +55,7 @@ - #endif - - #include <vector> -+#include <exception> - - - /** diff --git a/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch b/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch deleted file mode 100644 index 424dec8f2c64..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch +++ /dev/null @@ -1,31 +0,0 @@ -Minimal fix for libupnp-1.18 -https://github.com/amule-project/amule/pull/448 - ---- a/src/UPnPBase.cpp -+++ b/src/UPnPBase.cpp -@@ -1129,7 +1147,9 @@ bool CUPnPControlPoint::PrivateDeletePortMapping( - - - // This function is static --#if UPNP_VERSION >= 10800 -+#if UPNP_VERSION >= 11800 -+int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, void *Event, void * /*Cookie*/) -+#elif UPNP_VERSION >= 10800 - int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, const void *Event, void * /*Cookie*/) - #else - int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*Cookie*/) ---- a/src/UPnPBase.h -+++ b/src/UPnPBase.h -@@ -491,7 +491,11 @@ public: - - // Callback function - static int Callback( --#if UPNP_VERSION >= 10800 -+#if UPNP_VERSION >= 11800 -+ Upnp_EventType_e EventType, -+ void *Event, -+ void *Cookie); -+#elif UPNP_VERSION >= 10800 - Upnp_EventType_e EventType, - const void *Event, - void *Cookie); diff --git a/net-p2p/amule/files/amule-2.3.3-use-xdg-open-as-preview-default.patch b/net-p2p/amule/files/amule-2.3.3-use-xdg-open-as-preview-default.patch deleted file mode 100644 index 816f44f00dd0..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-use-xdg-open-as-preview-default.patch +++ /dev/null @@ -1,17 +0,0 @@ -commit f54a851586ff3762e0426ea9265ffb3499f93ad5 -Author: Adeodato Simó <dato@net.com.org.es> -Date: Sun Mar 1 14:10:15 2009 +0100 - - src/DownloadListCtrl.cpp: use xdg-open as default instead of mplayer. - ---- a/src/DownloadListCtrl.cpp -+++ b/src/DownloadListCtrl.cpp -@@ -1429,7 +1429,7 @@ void CDownloadListCtrl::PreviewFile(CPar - _("File preview"), wxOK, this); - // Since newer versions for some reason mplayer does not automatically - // select video output device and needs a parameter, go figure... -- command = wxT("xterm -T \"aMule Preview\" -iconic -e mplayer ") QUOTE wxT("$file") QUOTE; -+ command = wxT("xterm -T \"aMule Preview\" -iconic -e xdg-open ") QUOTE wxT("$file") QUOTE; - } else { - command = thePrefs::GetVideoPlayer(); - } diff --git a/net-p2p/amule/files/amule-2.3.3-wx3.2.patch b/net-p2p/amule/files/amule-2.3.3-wx3.2.patch deleted file mode 100644 index 58590c60f2df..000000000000 --- a/net-p2p/amule/files/amule-2.3.3-wx3.2.patch +++ /dev/null @@ -1,461 +0,0 @@ -Description: Fixes for wxWidgets 3.2 compatibility - Largely based on patch from Mr Hyde <mrhyde@MM2018.local> in - https://github.com/amule-project/amule/pull/168 -Author: Olly Betts <olly@survex.com> -Bug: https://github.com/amule-project/amule/issues/340 -Bug-Debian: https://bugs.debian.org/1019841 -Forwarded: no -Last-Update: 2023-01-09 - ---- a/src/ColorFrameCtrl.cpp -+++ b/src/ColorFrameCtrl.cpp -@@ -61,7 +61,7 @@ - ///////////////////////////////////////////////////////////////////////////// - void CColorFrameCtrl::SetFrameBrushColour(const wxColour& colour) - { -- m_brushFrame = *(wxTheBrushList->FindOrCreateBrush(colour, wxSOLID)); -+ m_brushFrame = *(wxTheBrushList->FindOrCreateBrush(colour, wxBRUSHSTYLE_SOLID)); - - Refresh(FALSE); - } // SetFrameColor -@@ -70,7 +70,7 @@ - ///////////////////////////////////////////////////////////////////////////// - void CColorFrameCtrl::SetBackgroundBrushColour(const wxColour& colour) - { -- m_brushBack = *(wxTheBrushList->FindOrCreateBrush(colour, wxSOLID)); -+ m_brushBack = *(wxTheBrushList->FindOrCreateBrush(colour, wxBRUSHSTYLE_SOLID)); - - // clear out the existing garbage, re-start with a clean plot - Refresh(FALSE); ---- a/src/DownloadListCtrl.cpp -+++ b/src/DownloadListCtrl.cpp -@@ -850,7 +850,7 @@ - dc->SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT)); - dc->SetPen( colour.Blend(65).GetPen() ); - } else { -- dc->SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxSOLID))); -+ dc->SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxBRUSHSTYLE_SOLID))); - dc->SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT)); - dc->SetPen(*wxTRANSPARENT_PEN); - } -@@ -1413,7 +1413,7 @@ - dc->DrawLine( rect.x, rect.y + 2, rect.x + width, rect.y + 2 ); - - // Draw the green line -- dc->SetPen( *(wxThePenList->FindOrCreatePen( crProgress , 1, wxSOLID ) )); -+ dc->SetPen( *(wxThePenList->FindOrCreatePen( crProgress , 1, wxPENSTYLE_SOLID ) )); - dc->DrawLine( rect.x, rect.y + 1, rect.x + width, rect.y + 1 ); - } - } ---- a/src/GenericClientListCtrl.cpp -+++ b/src/GenericClientListCtrl.cpp -@@ -660,7 +660,7 @@ - dc->SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT)); - dc->SetPen( colour.Blend(65).GetPen() ); - } else { -- dc->SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxSOLID))); -+ dc->SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxBRUSHSTYLE_SOLID))); - dc->SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT)); - dc->SetPen(*wxTRANSPARENT_PEN); - } ---- a/src/MuleColour.cpp -+++ b/src/MuleColour.cpp -@@ -35,7 +35,7 @@ - std::map<uint32_t, wxPen*> wxPenCache; - std::map<uint32_t, wxBrush*> wxBrushCache; - --const wxPen& CMuleColour::GetPen(int width, int style) const -+const wxPen& CMuleColour::GetPen(int width, wxPenStyle style) const - { - #if USE_MULE_PEN_CACHE - wxPen* result = NULL; -@@ -61,7 +61,7 @@ - #endif - } - --const wxBrush& CMuleColour::GetBrush(int style) const -+const wxBrush& CMuleColour::GetBrush(wxBrushStyle style) const - { - #if USE_MULE_BRUSH_CACHE - wxBrush* result = NULL; ---- a/src/MuleColour.h -+++ b/src/MuleColour.h -@@ -27,6 +27,9 @@ - - #include <wx/colour.h> - #include <wx/settings.h> -+#include <wx/pen.h> // needed for wxPenStyle enum values -+#include <wx/brush.h> // needed for wxBrushStyle enum values -+#include <wx/font.h> // needed for wxFontStyle enum values - #include "Types.h" - - class wxPen; -@@ -95,8 +98,8 @@ - return wxColor(m_red, m_green, m_blue); - } - -- const wxPen& GetPen(int width = 1, int style = wxSOLID) const; -- const wxBrush& GetBrush(int style = wxSOLID) const; -+ const wxPen& GetPen(int width = 1, wxPenStyle style = wxPENSTYLE_SOLID) const; -+ const wxBrush& GetBrush(wxBrushStyle style = wxBRUSHSTYLE_SOLID) const; - - private: - uint8_t m_red; ---- a/src/MuleGifCtrl.cpp -+++ b/src/MuleGifCtrl.cpp -@@ -167,7 +167,7 @@ - int x = (clientsize.GetWidth()-gifsize.GetWidth())/2; - int y = (clientsize.GetHeight()-gifsize.GetHeight())/2; - -- dc.SetBackground(*(wxTheBrushList->FindOrCreateBrush(GetBackgroundColour(), wxSOLID))); -+ dc.SetBackground(*(wxTheBrushList->FindOrCreateBrush(GetBackgroundColour(), wxBRUSHSTYLE_SOLID))); - dc.Clear(); - dc.DrawBitmap(m_frame, x, y, true); - } ---- a/src/OScopeCtrl.cpp -+++ b/src/OScopeCtrl.cpp -@@ -74,7 +74,7 @@ - PlotData_t* ppds = pdsTrends; - for(unsigned i=0; i<nTrends; ++i, ++ppds){ - ppds->crPlot = (i<15 ? crPreset[i] : *wxWHITE); -- ppds->penPlot=*(wxThePenList->FindOrCreatePen(ppds->crPlot, 1, wxSOLID)); -+ ppds->penPlot=*(wxThePenList->FindOrCreatePen(ppds->crPlot, 1, wxPENSTYLE_SOLID)); - ppds->fPrev = ppds->fLowerLimit = ppds->fUpperLimit = 0.0; - } - -@@ -166,7 +166,7 @@ - if (ppds->crPlot == cr) - return; - ppds->crPlot = cr; -- ppds->penPlot=*(wxThePenList->FindOrCreatePen(ppds->crPlot, 1, wxSOLID)); -+ ppds->penPlot=*(wxThePenList->FindOrCreatePen(ppds->crPlot, 1, wxPENSTYLE_SOLID)); - InvalidateGraph(); - } - -@@ -179,7 +179,7 @@ - } - - m_bgColour = cr; -- brushBack= *(wxTheBrushList->FindOrCreateBrush(cr, wxSOLID)); -+ brushBack= *(wxTheBrushList->FindOrCreateBrush(cr, wxBRUSHSTYLE_SOLID)); - InvalidateCtrl() ; - } - -@@ -196,7 +196,7 @@ - - wxMemoryDC dcGrid(m_bmapGrid); - -- wxPen solidPen = *(wxThePenList->FindOrCreatePen(m_gridColour, 1, wxSOLID)); -+ wxPen solidPen = *(wxThePenList->FindOrCreatePen(m_gridColour, 1, wxPENSTYLE_SOLID)); - wxString strTemp; - - // fill the grid background -@@ -213,7 +213,7 @@ - dcGrid.SetPen(wxNullPen); - - // create some fonts (horizontal and vertical) -- wxFont axisFont(10, wxSWISS, wxNORMAL, wxNORMAL, false); -+ wxFont axisFont(10, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false); - dcGrid.SetFont(axisFont); - - // y max -@@ -320,7 +320,7 @@ - // operation, preventing us from simply blitting the plot on top of - // the grid bitmap. - -- dc.SetPen(*(wxThePenList->FindOrCreatePen(m_gridColour, 1, wxLONG_DASH))); -+ dc.SetPen(*(wxThePenList->FindOrCreatePen(m_gridColour, 1, wxPENSTYLE_LONG_DASH))); - for (unsigned j = 1; j < (nYGrids + 1); ++j) { - unsigned GridPos = (m_rectPlot.GetHeight())*j/( nYGrids + 1 ) + m_rectPlot.GetTop(); - ---- a/src/SearchListCtrl.cpp -+++ b/src/SearchListCtrl.cpp -@@ -826,7 +826,7 @@ - - // Define the border of the drawn area - if (highlighted) { -- dc->SetPen(*(wxThePenList->FindOrCreatePen(CMuleColour(dc->GetBackground().GetColour()).Blend(65), 1, wxSOLID))); -+ dc->SetPen(*(wxThePenList->FindOrCreatePen(CMuleColour(dc->GetBackground().GetColour()).Blend(65), 1, wxPENSTYLE_SOLID))); - } else { - dc->SetPen(*wxTRANSPARENT_PEN); - dc->SetTextForeground(GetItemTextColour(item)); -@@ -912,7 +912,7 @@ - const int middle = cur_rec.y + ( cur_rec.height + 1 ) / 2; - - // Set up a new pen for drawing the tree -- dc->SetPen( *(wxThePenList->FindOrCreatePen(dc->GetTextForeground(), 1, wxSOLID)) ); -+ dc->SetPen( *(wxThePenList->FindOrCreatePen(dc->GetTextForeground(), 1, wxPENSTYLE_SOLID)) ); - - if (file->GetParent()) { - // Draw the line to the filename ---- a/src/ServerListCtrl.cpp -+++ b/src/ServerListCtrl.cpp -@@ -327,7 +327,7 @@ - wxFont font = GetFont(); - - if ( highlight ) { -- font.SetWeight( wxBOLD ); -+ font.SetWeight( wxFONTWEIGHT_BOLD ); - - m_connected = server; - } ---- a/src/extern/wxWidgets/listctrl.cpp -+++ b/src/extern/wxWidgets/listctrl.cpp -@@ -1453,7 +1453,7 @@ - if ( highlighted ) - dc->SetBrush( m_owner->GetHighlightBrush() ); - else -- dc->SetBrush(*(wxTheBrushList->FindOrCreateBrush(attr->GetBackgroundColour(), wxSOLID))); -+ dc->SetBrush(*(wxTheBrushList->FindOrCreateBrush(attr->GetBackgroundColour(), wxBRUSHSTYLE_SOLID))); - - dc->SetPen( *wxTRANSPARENT_PEN ); - -@@ -2325,7 +2325,7 @@ - ( - wxSYS_COLOUR_HIGHLIGHT - ), -- wxSOLID -+ wxBRUSHSTYLE_SOLID - )); - - m_highlightUnfocusedBrush = *(wxTheBrushList->FindOrCreateBrush( -@@ -2333,7 +2333,7 @@ - ( - wxSYS_COLOUR_BTNSHADOW - ), -- wxSOLID -+ wxBRUSHSTYLE_SOLID - )); - - SetScrollbars( 0, 0, 0, 0, 0, 0 ); -@@ -2734,7 +2734,7 @@ - - // Ensure an uniform background color, as to avoid differences between - // the automatically cleared parts and the rest of the canvas. -- dc.SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxSOLID))); -+ dc.SetBackground(*(wxTheBrushList->FindOrCreateBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX), wxBRUSHSTYLE_SOLID))); - - // We need to clear the DC manually, since we intercept BG-erase events. - // Clearing must be done first thing because caching of the double-buffering causes artifacts otherwise. -@@ -2805,7 +2805,7 @@ - - if ( HasFlag(wxLC_HRULES) ) - { -- wxPen pen = *(wxThePenList->FindOrCreatePen(GetRuleColour(), 1, wxSOLID)); -+ wxPen pen = *(wxThePenList->FindOrCreatePen(GetRuleColour(), 1, wxPENSTYLE_SOLID)); - wxSize clientSize = GetClientSize(); - - size_t i = visibleFrom; -@@ -2831,7 +2831,7 @@ - // Draw vertical rules if required - if ( HasFlag(wxLC_VRULES) && !IsEmpty() ) - { -- wxPen pen = *(wxThePenList->FindOrCreatePen(GetRuleColour(), 1, wxSOLID)); -+ wxPen pen = *(wxThePenList->FindOrCreatePen(GetRuleColour(), 1, wxPENSTYLE_SOLID)); - wxRect firstItemRect, lastItemRect; - - GetItemRect(visibleFrom, firstItemRect); -@@ -4859,12 +4859,15 @@ - - void wxListMainWindow::OnScroll(wxScrollWinEvent& event) - { -+ // wxScrolledWindows::OnScroll is deprecated in wx 3.0.0 and it does not exist anymore in 3.1.0. -+ // Please also notice that call to -+ // - wxScrolledWindow::OnScroll -+ // - HandleOnScroll -+ // have been removed in code present in -+ // src/generic/listctrl.cpp, wxListMainWindow::OnScroll -+ // of wxWidgets 3.0 - // FIXME --#if ( defined(__WXGTK__) || defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__) -- wxScrolledWindow::OnScroll(event); --#else - HandleOnScroll( event ); --#endif - - // update our idea of which lines are shown when we redraw the window the - // next time ---- a/src/extern/wxWidgets/listctrl.h -+++ b/src/extern/wxWidgets/listctrl.h -@@ -16,7 +16,6 @@ - #include <wx/textctrl.h> - - #define wxLC_OWNERDRAW 0x10000 --#define WXWIN_COMPATIBILITY_2_8 1 - - #include <wx/imaglist.h> - ---- a/src/muuli_wdr.cpp -+++ b/src/muuli_wdr.cpp -@@ -77,7 +77,7 @@ - - CMuleTextCtrl *item4 = new CMuleTextCtrl( parent, -1, wxT(""), wxDefaultPosition, wxSize(-1,20), wxTE_MULTILINE ); - item4->SetName( wxT("FastEd2kLinks") ); -- item2->Add( item4, 1, wxGROW|wxALIGN_CENTER_HORIZONTAL|wxALL, 0 ); -+ item2->Add( item4, 1, wxALL|wxEXPAND, 5 ); - - wxButton *item5 = new wxButton( parent, ID_BUTTON_FAST, _("Commit"), wxDefaultPosition, wxDefaultSize, 0 ); - item5->SetToolTip( _("Click here to add the eD2k link in the text control to your download queue.") ); -@@ -474,7 +474,7 @@ - item0->Add( item1, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); - - CSourceListCtrl *item6 = new CSourceListCtrl( parent, ID_CLIENTLIST, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); -- item0->Add( item6, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item0->Add( item6, 1, wxGROW, 5 ); - - if (set_sizer) - { -@@ -1048,7 +1048,7 @@ - wxWindow *item3 = new COScopeCtrl(3,1,GRAPH_DOWN,parent); - item3->SetName(wxT("dloadScope")); - wxASSERT( item3 ); -- item1->Add( item3, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item1->Add( item3, 1, wxGROW|wxALL, 5 ); - - wxFlexGridSizer *item4 = new wxFlexGridSizer( 2, 0, 0 ); - item4->AddGrowableCol( 0 ); -@@ -1089,7 +1089,7 @@ - - item1->Add( item4, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP, 5 ); - -- item0->Add( item1, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 ); -+ item0->Add( item1, 1, wxGROW|wxBOTTOM, 5 ); - - wxStaticBox *item15 = new wxStaticBox( parent, -1, _("Upload-Speed") ); - wxStaticBoxSizer *item14 = new wxStaticBoxSizer( item15, wxVERTICAL ); -@@ -1097,7 +1097,7 @@ - wxWindow *item16 = new COScopeCtrl(3,1,GRAPH_UP,parent); - item16->SetName(wxT("uloadScope")); - wxASSERT( item16 ); -- item14->Add( item16, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item14->Add( item16, 1, wxGROW|wxALL, 5 ); - - wxFlexGridSizer *item17 = new wxFlexGridSizer( 2, 0, 0 ); - item17->AddGrowableCol( 0 ); -@@ -1138,7 +1138,7 @@ - - item14->Add( item17, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP, 5 ); - -- item0->Add( item14, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 ); -+ item0->Add( item14, 1, wxGROW|wxBOTTOM, 5 ); - - wxStaticBox *item28 = new wxStaticBox( parent, -1, _("Connections") ); - wxStaticBoxSizer *item27 = new wxStaticBoxSizer( item28, wxVERTICAL ); -@@ -1146,7 +1146,7 @@ - wxWindow *item29 = new COScopeCtrl(3,0,GRAPH_CONN,parent); - item29->SetName(wxT("otherScope")); - wxASSERT( item29 ); -- item27->Add( item29, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item27->Add( item29, 1, wxGROW|wxALL, 5 ); - - wxFlexGridSizer *item30 = new wxFlexGridSizer( 2, 0, 0 ); - item30->AddGrowableCol( 0 ); -@@ -1187,16 +1187,15 @@ - - item27->Add( item30, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP, 5 ); - -- item0->Add( item27, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item0->Add( item27, 1, wxGROW|wxALL, 5 ); - - wxStaticBox *item41 = new wxStaticBox( parent, -1, _("Statistics Tree") ); - wxStaticBoxSizer *item40 = new wxStaticBoxSizer( item41, wxVERTICAL ); - - wxTreeCtrl *item42 = new wxTreeCtrl( parent, -1, wxDefaultPosition, wxDefaultSize, wxTR_HAS_BUTTONS|wxSUNKEN_BORDER ); - item42->SetName( wxT("statTree") ); -- item40->Add( item42, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -- -- item0->Add( item40, 1, wxGROW|wxALIGN_CENTER_VERTICAL, 5 ); -+ item40->Add( item42, 1, wxGROW|wxALL, 5 ); -+ item0->Add( item40, 1, wxGROW|wxALL, 5 ); - - if (set_sizer) - { -@@ -2030,7 +2029,7 @@ - - wxStaticText *item2 = new wxStaticText( parent, -1, _("!!! WARNING !!!"), wxDefaultPosition, wxDefaultSize, 0 ); - item2->SetForegroundColour( *wxRED ); -- item2->SetFont( wxFont( 24, wxROMAN, wxNORMAL, wxNORMAL ) ); -+ item2->SetFont( wxFont( 24, wxFONTFAMILY_ROMAN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL ) ); - item1->Add( item2, 0, wxALIGN_CENTER, 5 ); - - wxStaticText *item3 = new wxStaticText( parent, IDC_AMULE_TWEAKS_WARNING, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); ---- a/src/utils/wxCas/src/wxcasframe.cpp -+++ b/src/utils/wxCas/src/wxcasframe.cpp -@@ -280,11 +280,11 @@ - #ifdef __WINDOWS__ - - memdc. -- SetFont ( wxFont ( 6, wxSWISS, wxNORMAL, wxBOLD ) ); -+ SetFont ( wxFont ( 6, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD ) ); - #else - - memdc. -- SetFont ( wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) ); -+ SetFont ( wxFont ( 8, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD ) ); - #endif - - memdc. ---- a/src/amuleDlg.cpp -+++ b/src/amuleDlg.cpp -@@ -763,7 +763,7 @@ - if ( (true == skinChanged) || (currentState != s_oldState) ) { - wxWindowUpdateLocker freezer(m_wndToolbar); - -- wxToolBarToolBase* toolbarTool = m_wndToolbar->RemoveTool(ID_BUTTONCONNECT); -+ wxToolBarToolBase* toolbarTool = m_wndToolbar->FindById(ID_BUTTONCONNECT); - - switch (currentState) { - case ECS_Connecting: -@@ -784,8 +784,6 @@ - toolbarTool->SetNormalBitmap(m_tblist.GetBitmap(0)); - } - -- m_wndToolbar->InsertTool(0, toolbarTool); -- m_wndToolbar->Realize(); - m_wndToolbar->EnableTool(ID_BUTTONCONNECT, (thePrefs::GetNetworkED2K() || thePrefs::GetNetworkKademlia()) && theApp->ipfilter->IsReady()); - - s_oldState = currentState; -@@ -1416,7 +1414,7 @@ - wxWindowUpdateLocker freezer(this); - #endif - -- wxToolBarToolBase* toolbarTool = m_wndToolbar->RemoveTool(ID_BUTTONNETWORKS); -+ wxToolBarToolBase* toolbarTool = m_wndToolbar->FindById(ID_BUTTONNETWORKS); - - // set the log windows - wxNotebook* logs_notebook = CastChild( ID_SRVLOG_NOTEBOOK, wxNotebook); -@@ -1507,12 +1505,9 @@ - - // Tool bar - -- m_wndToolbar->InsertTool(2, toolbarTool); - m_wndToolbar->EnableTool(ID_BUTTONNETWORKS, (thePrefs::GetNetworkED2K() || thePrefs::GetNetworkKademlia())); - m_wndToolbar->EnableTool(ID_BUTTONCONNECT, (thePrefs::GetNetworkED2K() || thePrefs::GetNetworkKademlia()) && theApp->ipfilter->IsReady()); - -- m_wndToolbar->Realize(); -- - ShowConnectionState(); // status in the bottom right - m_searchwnd->FixSearchTypes(); - } ---- a/src/amule-gui.cpp -+++ b/src/amule-gui.cpp -@@ -28,6 +28,7 @@ - #include <common/ClientVersion.h> - - #include <wx/clipbrd.h> // Needed for wxClipBoard -+#include <wx/sizer.h> - #include <wx/tokenzr.h> // Needed for wxStringTokenizer - - #include "SharedFilesWnd.h" // Needed for CSharedFilesWnd -@@ -98,6 +99,11 @@ - - CamuleGuiBase::CamuleGuiBase() - { -+ // Disable these checks for now. The code really needs updating to -+ // eliminate these inconsistent flag uses, but these checks are new -+ // since wx3.0, and this should just return us to what 3.0 did. -+ wxSizerFlags::DisableConsistencyChecks(); -+ - amuledlg = NULL; - } - diff --git a/net-p2p/amule/files/amule-2.4.0-disable-version-check.patch b/net-p2p/amule/files/amule-2.4.0-disable-version-check.patch deleted file mode 100644 index 100946bca485..000000000000 --- a/net-p2p/amule/files/amule-2.4.0-disable-version-check.patch +++ /dev/null @@ -1,12 +0,0 @@ -Disable NewVersionCheck by default ---- a/src/Preferences.cpp -+++ b/src/Preferences.cpp -@@ -1210,7 +1210,7 @@ void CPreferences::BuildItemList( const - /** - * Version check - **/ -- NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( "/eMule/NewVersionCheck", s_NewVersionCheck, true ))); -+ NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( "/eMule/NewVersionCheck", s_NewVersionCheck, false ))); - - /** - * Obfuscation diff --git a/net-p2p/amule/files/amule-2.4.0-use-xdg-open-as-preview-default.patch b/net-p2p/amule/files/amule-2.4.0-use-xdg-open-as-preview-default.patch deleted file mode 100644 index 4055598961fa..000000000000 --- a/net-p2p/amule/files/amule-2.4.0-use-xdg-open-as-preview-default.patch +++ /dev/null @@ -1,17 +0,0 @@ -commit f54a851586ff3762e0426ea9265ffb3499f93ad5 -Author: Adeodato Simó <dato@net.com.org.es> -Date: Sun Mar 1 14:10:15 2009 +0100 - - src/DownloadListCtrl.cpp: use xdg-open as default instead of mplayer. - ---- a/src/DownloadListCtrl.cpp -+++ b/src/DownloadListCtrl.cpp -@@ -1429,7 +1429,7 @@ void CDownloadListCtrl::PreviewFile(CPar - _("File preview"), wxOK, this); - // Since newer versions for some reason mplayer does not automatically - // select video output device and needs a parameter, go figure... -- command = "xterm -T \"aMule Preview\" -iconic -e mplayer " QUOTE "$file" QUOTE; -+ command = "xterm -T \"aMule Preview\" -iconic -e xdg-open " QUOTE "$file" QUOTE; - } else { - command = thePrefs::GetVideoPlayer(); - } diff --git a/net-p2p/amule/files/amuled.confd-r1 b/net-p2p/amule/files/amuled.confd-r1 deleted file mode 100644 index 2f018dd3b88b..000000000000 --- a/net-p2p/amule/files/amuled.confd-r1 +++ /dev/null @@ -1,9 +0,0 @@ -# owner of amuled process (must be existing) -AMULEUSER="amule" - -# home directory for amuled (must be existing) -AMULEHOME="/var/lib/amule" - -# log file (/dev/null for nowhere) -LOG=/var/log/amuled.log - diff --git a/net-p2p/amule/files/amuled.initd b/net-p2p/amule/files/amuled.initd deleted file mode 100644 index 7a1f87e31576..000000000000 --- a/net-p2p/amule/files/amuled.initd +++ /dev/null @@ -1,50 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - if ! test -f "${AMULEHOME}/.aMule/amule.conf"; then - eerror "You must start and configure amuled before launch it. Sorry." - return 1 - fi - - if pgrep -u ${AMULEUSER} amuled >/dev/null; then - eerror "An instance of aMule webserver is already running" - return 1 - fi - if [ -e /var/run/amuled.pid ]; then - rm /var/run/amuled.pid - fi - - ebegin "Starting aMule Daemon" - start-stop-daemon --start \ - --quiet --background \ - --make-pidfile --pidfile /var/run/amuled.pid \ - --env HOME="${AMULEHOME}" \ - --user ${AMULEUSER} \ - --exec /usr/bin/amuled >${LOG} - - sleep 2 - if ! pgrep -u ${AMULEUSER} amuled > /dev/null; then - eerror "aMule daemon can't be started! Check logfile: ${LOG}" - fi - eend $? -} - -stop() { - ebegin "Stopping aMule daemon -- please wait" - start-stop-daemon --stop --pidfile /var/run/amuled.pid 2>&1 >/dev/null - eend $? -} - -restart() { - svc_stop - while `pgrep -u ${AMULEUSER} amuled >/dev/null`; do - sleep 1 - done - svc_start -} diff --git a/net-p2p/amule/files/amuleweb.confd-r1 b/net-p2p/amule/files/amuleweb.confd-r1 deleted file mode 100644 index 1bb754a2f043..000000000000 --- a/net-p2p/amule/files/amuleweb.confd-r1 +++ /dev/null @@ -1,24 +0,0 @@ -# owner of amuleweb process (must be existing) -AMULEUSER="amule" - -# home directory for amuleweb (from where to read configuration) (must be existing) -AMULEHOME="/var/lib/amule" - -# log file (/dev/null for nowhere) -LOG=/var/log/amuleweb.log - -# aMule password (note: not your webserver password, but the external -# connection one) -AMULEPWD="secret" - -# Full (admin) access password for webserver -WEBPWD="secret2" - -# aMule host (this could be a remote host or usually localhost) -AMULEHOST="localhost" - -# aMule external connection port -AMULEPORT="4712" - -# aMuleweb template (default, php-default, chicane) -TEMPLATE="default" diff --git a/net-p2p/amule/files/amuleweb.initd b/net-p2p/amule/files/amuleweb.initd deleted file mode 100644 index bf00fcde5d4a..000000000000 --- a/net-p2p/amule/files/amuleweb.initd +++ /dev/null @@ -1,49 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net - use amuled -} - -start() { - if ! test -f "${AMULEHOME}/.aMule/amule.conf"; then - eerror "You must start and configure amuleweb before launch it. Sorry." - return 1 - fi - - if pgrep -u ${AMULEUSER} amuleweb >/dev/null; then - eerror "An instance of aMule webserver is already running" - return 1 - fi - - if [ -e /var/run/amuleweb.pid ]; then - rm /var/run/amuleweb.pid - fi - - OPTIONS="-h ${AMULEHOST} -p ${AMULEPORT} -P ${AMULEPWD} -A ${WEBPWD} -t ${TEMPLATE} -q" - - ebegin "Starting aMule WebServer" - start-stop-daemon --start \ - --quiet --background \ - --make-pidfile --pidfile /var/run/amuleweb.pid \ - --env HOME="${AMULEHOME}" \ - --user ${AMULEUSER} \ - --exec /usr/bin/amuleweb -- ${OPTIONS} 2>&1 >${LOG} - - sleep 1 - if ! pgrep -u ${AMULEUSER} amuleweb > /dev/null; then - eerror "aMule daemon can't be started! Check logfile: ${LOG}" - eend 1 - return 1 - fi - eend $? -} - -stop() { - ebegin "Stopping aMule WebServer" - start-stop-daemon --stop --pidfile /var/run/amuleweb.pid 2>&1 >/dev/null - eend $? -} - diff --git a/net-p2p/amule/metadata.xml b/net-p2p/amule/metadata.xml deleted file mode 100644 index 8d9b90c9f6f6..000000000000 --- a/net-p2p/amule/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>alexander@tsoy.me</email> - <name>Alexander Tsoy</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">amule-project/amule</remote-id> - <remote-id type="sourceforge">amule</remote-id> - </upstream> - <use> - <flag name="daemon">Enable amule daemon</flag> - <flag name="remote">Enable remote controlling of the client</flag> - <flag name="stats">Enable statistic reporting</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/arti/Manifest b/net-p2p/arti/Manifest deleted file mode 100644 index 2d9c370acb0f..000000000000 --- a/net-p2p/arti/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST arti-1.5.0-crates.tar.xz 46775504 BLAKE2B 9fb8b9d96ceaca305bb00d8205f735ef223e6ab2a49205937d349ae5820342f576aa2b5f6c44166819e23efb70663e908f0eb1ecc255238dac3fb86ccb0615ae SHA512 b33f791a3a239f41b708a907bad15a8750da2fbdc5a8e61affaf398fec4c3d54a353de8402ad1be8d20f53b742b43841f0243aff289748fd47d87dcf5841923e -DIST arti-1.5.0.tar.bz2 4620829 BLAKE2B 07b794d94331cc610f331b5805d86bcffacfdc3376582d3a1f1cc564486e9e249e555aa8a71eb398e7e5e771d4f088c745333e285486b2910cd647391604e770 SHA512 2472803d91aefc883a2af389529ac6e111484ffcfa24e733cbc3e91e9332bfe02bd9985301428a26403b7e083006a0b1bee858bb88ba75dfdc99dad2bc11b010 -DIST arti-1.8.0-crates.tar.xz 45638316 BLAKE2B 616966ae42195b5f6889c99840ed320f3f199f0c4a00d6be54ea3a1a015613a0f3df593f2bbfb7238e13d5d0dd95609f4f693d48b5b20285d6ffe7863fd77cdd SHA512 12c314aa419ebf6e1751829c8c36582208c655c9a5c12f6acfa30344d00cb742b4d044f125b99a9a46e7ba453df3a553834b24fc3cb461da8eaf38a991ded898 -DIST arti-1.8.0.tar.bz2 4791812 BLAKE2B 8cfe8459acd64fab98ab4692256bc7de2895eecf2ecf4ad44cb5dd277fd209009019c340a14e2b93987188463f77ccd563f743f5258d003f5fd351e6321180f8 SHA512 30fc5481b4486b7397c9fabceb33a6f29a5a16e23506962655c92584efa336716c0c2572dcbc3f8c67bc58a8c60cebf2d07eed745c79a4f3cc375416328a24ee diff --git a/net-p2p/arti/arti-1.5.0.ebuild b/net-p2p/arti/arti-1.5.0.ebuild deleted file mode 100644 index 1e911ea9c1f2..000000000000 --- a/net-p2p/arti/arti-1.5.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES="" -inherit cargo - -DESCRIPTION="Implementation of Tor in Rust" -HOMEPAGE="https://tpo.pages.torproject.net/core/arti/ https://gitlab.torproject.org/tpo/core/arti/" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.torproject.org/tpo/core/arti" -else - SRC_URI="https://gitlab.torproject.org/tpo/core/${PN}/-/archive/${PN}-v${PV}/${PN}-${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" - SRC_URI+=" https://github.com/gentoo-crate-dist/arti/releases/download/${PN}-v${PV}/${P}-crates.tar.xz" - S="${WORKDIR}/${PN}-${PN}-v${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 openssl Unicode-3.0 - Unlicense ZLIB -" -SLOT="0" - -DEPEND="app-arch/xz-utils - app-arch/zstd:= - dev-db/sqlite:3 - dev-libs/openssl:=" -RDEPEND="${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/arti" - -src_unpack() { - if [[ "${PV}" == *9999 ]]; then - git-r3_src_unpack - cargo_live_src_unpack - else - cargo_src_unpack - fi -} - -src_compile() { - export ZSTD_SYS_USE_PKG_CONFIG=1 - for crate in crates/*; do - pushd "${crate}" || die - cargo_src_compile - popd >/dev/null || die - done -} - -src_install() { - pushd crates/arti >/dev/null || die - - cargo_src_install - newdoc src/arti-example-config.toml arti.toml - - popd >/dev/null || die - - dodoc -r doc/* -} diff --git a/net-p2p/arti/arti-1.8.0.ebuild b/net-p2p/arti/arti-1.8.0.ebuild deleted file mode 100644 index fd9c4307cdcd..000000000000 --- a/net-p2p/arti/arti-1.8.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RUST_MIN_VER="1.86" -CRATES="" -inherit cargo - -DESCRIPTION="Implementation of Tor in Rust" -HOMEPAGE="https://tpo.pages.torproject.net/core/arti/ https://gitlab.torproject.org/tpo/core/arti/" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.torproject.org/tpo/core/arti" -else - SRC_URI="https://gitlab.torproject.org/tpo/core/${PN}/-/archive/${PN}-v${PV}/${PN}-${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" - SRC_URI+=" https://github.com/gentoo-crate-dist/arti/releases/download/${PN}-v${PV}/${P}-crates.tar.xz" - S="${WORKDIR}/${PN}-${PN}-v${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 openssl Unicode-3.0 - Unlicense ZLIB -" -SLOT="0" - -DEPEND="app-arch/xz-utils - app-arch/zstd:= - dev-db/sqlite:3 - dev-libs/openssl:=" -RDEPEND="${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/arti" - -src_unpack() { - if [[ "${PV}" == *9999 ]]; then - git-r3_src_unpack - cargo_live_src_unpack - else - cargo_src_unpack - fi -} - -src_compile() { - export ZSTD_SYS_USE_PKG_CONFIG=1 - for crate in crates/*; do - pushd "${crate}" || die - cargo_src_compile - popd >/dev/null || die - done -} - -src_install() { - pushd crates/arti >/dev/null || die - - cargo_src_install - newdoc src/arti-example-config.toml arti.toml - - popd >/dev/null || die - - dodoc -r doc/* -} diff --git a/net-p2p/arti/arti-9999.ebuild b/net-p2p/arti/arti-9999.ebuild deleted file mode 100644 index 1e911ea9c1f2..000000000000 --- a/net-p2p/arti/arti-9999.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES="" -inherit cargo - -DESCRIPTION="Implementation of Tor in Rust" -HOMEPAGE="https://tpo.pages.torproject.net/core/arti/ https://gitlab.torproject.org/tpo/core/arti/" - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.torproject.org/tpo/core/arti" -else - SRC_URI="https://gitlab.torproject.org/tpo/core/${PN}/-/archive/${PN}-v${PV}/${PN}-${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" - SRC_URI+=" https://github.com/gentoo-crate-dist/arti/releases/download/${PN}-v${PV}/${P}-crates.tar.xz" - S="${WORKDIR}/${PN}-${PN}-v${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 openssl Unicode-3.0 - Unlicense ZLIB -" -SLOT="0" - -DEPEND="app-arch/xz-utils - app-arch/zstd:= - dev-db/sqlite:3 - dev-libs/openssl:=" -RDEPEND="${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/arti" - -src_unpack() { - if [[ "${PV}" == *9999 ]]; then - git-r3_src_unpack - cargo_live_src_unpack - else - cargo_src_unpack - fi -} - -src_compile() { - export ZSTD_SYS_USE_PKG_CONFIG=1 - for crate in crates/*; do - pushd "${crate}" || die - cargo_src_compile - popd >/dev/null || die - done -} - -src_install() { - pushd crates/arti >/dev/null || die - - cargo_src_install - newdoc src/arti-example-config.toml arti.toml - - popd >/dev/null || die - - dodoc -r doc/* -} diff --git a/net-p2p/arti/metadata.xml b/net-p2p/arti/metadata.xml deleted file mode 100644 index 76f34a165d99..000000000000 --- a/net-p2p/arti/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ajak@gentoo.org</email> - <name>John Helmert III</name> - </maintainer> - <longdescription> - Arti is a complete rewrite of the C <pkg>net-vpn/tor</pkg> - codebase, and it is currently under active development. - It is written in Rust, and it is designed to be modular, - reusable, and easy to audit. It is mainly for testing - and experimentation now as it is not production-ready. - </longdescription> - <upstream> - <changelog>https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CHANGELOG.md</changelog> - <doc>https://tpo.pages.torproject.net/core/arti/</doc> - </upstream> -</pkgmetadata> diff --git a/net-p2p/automatic/Manifest b/net-p2p/automatic/Manifest deleted file mode 100644 index 2a09629ebad4..000000000000 --- a/net-p2p/automatic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST automatic-0.9.0.gh.tar.gz 104087 BLAKE2B d904771dce8b1f4077908389141708dd8f5dd91cab38aaae5adee37f870d42bc5da15838a5a56fd3ff429e095bf30d9e6ecbf5907428e3fe22a089fe8fb7c400 SHA512 9f26688ce67e7ab258b43159352e9615bfe72a8bc9c7a0a4129d156213196002d0809e360b5df751be7fb6cbc1a4b466e6c58edad655abba46b70642496445dc diff --git a/net-p2p/automatic/automatic-0.9.0-r1.ebuild b/net-p2p/automatic/automatic-0.9.0-r1.ebuild deleted file mode 100644 index 80f377618958..000000000000 --- a/net-p2p/automatic/automatic-0.9.0-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic readme.gentoo-r1 systemd - -COMMIT="6301c30" - -DESCRIPTION="RSS downloader for Tranmission" -HOMEPAGE="https://github.com/1100101/Automatic" -SRC_URI="https://github.com/1100101/Automatic/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="test" -PROPERTIES="test_network" - -RDEPEND="acct-group/automatic - acct-user/automatic - dev-libs/libxml2:2= - dev-libs/libpcre:3 - net-misc/curl" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/${P^}" - -# wrt #836740 -PATCHES=( "${FILESDIR}"/"${P}"-util_test-header.patch ) - -DOC_CONTENTS="To run automatic you should move /etc/automatic.conf-sample -to /etc/automatic.conf and config it.\\n -If things go wrong, increase verbose level in /etc/conf.d/automatic -and check log file in /var/log/automatic/\\n" - -src_prepare() { - default - - # remove CFLAGS and CXXFLAGS defined by upstream - sed -i -e '/CFLAGS=/s/=".*"/+=""/' \ - -e '/CXXFLAGS=/s/=".*"/+=""/' \ - configure.ac || die "sed failed for configure.ac" - - # set version - sed -i -e "/SVN_REVISION/s|'\`git rev-parse --short HEAD\`'|${COMMIT}|" \ - -e "/LONG_VERSION_STRING/s|'\`git rev-parse --short HEAD\`'|${COMMIT}|" \ - src/Makefile.am || die "sed failed for src/Makefile.am" - - # provide test api keys for tests - sed -i '/correct_key/s|""|"05b363d4561aaaa5c4c49bbb15639068b8cb6646"|' \ - src/tests/prowl_test.c || die "sed failed for prowl_test.c" - # disable pushover tests - sed -i '/check_PROGRAMS /s/ pushover_test//' src/tests/Makefile.am \ - || die "sed failed for src/tests/Makefile.am" - - eautoreconf -} - -src_configure() { - filter-lto # wrt #861842 - - econf -} - -src_install() { - default - - newinitd "${FILESDIR}"/automatic.initd automatic - newconfd "${FILESDIR}"/automatic.confd automatic - systemd_dounit "${FILESDIR}"/automatic.service - - insinto /etc/logrotate.d - newins "${FILESDIR}"/automatic.logrotate automatic - - readme.gentoo_create_doc - - diropts -o automatic -g automatic -m 0700 - keepdir /var/log/automatic/ -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/net-p2p/automatic/files/automatic-0.9.0-util_test-header.patch b/net-p2p/automatic/files/automatic-0.9.0-util_test-header.patch deleted file mode 100644 index 726140644d8c..000000000000 --- a/net-p2p/automatic/files/automatic-0.9.0-util_test-header.patch +++ /dev/null @@ -1,11 +0,0 @@ -# https://github.com/1100101/Automatic/pull/20 ---- ../src/tests/utils_test.c.org 2022-08-21 11:39:01.502847479 +0300 -+++ ../src/tests/utils_test.c 2022-08-21 11:39:18.455043931 +0300 -@@ -6,6 +6,7 @@ - */ - - -+#include <stdint.h> - #include <stdio.h> - #include <string.h> - #include <assert.h> diff --git a/net-p2p/automatic/files/automatic.confd b/net-p2p/automatic/files/automatic.confd deleted file mode 100644 index 6f27e48781a8..000000000000 --- a/net-p2p/automatic/files/automatic.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Config file for /etc/init.d/automatic - -# Various options. -# run `automatic -h` for valid cmdline options -OPTS="-v 1 -a -l /var/log/automatic/automatic.log" - -# Receiver config file -CONFIG="-c /etc/automatic.conf" diff --git a/net-p2p/automatic/files/automatic.initd b/net-p2p/automatic/files/automatic.initd deleted file mode 100644 index e299d52876aa..000000000000 --- a/net-p2p/automatic/files/automatic.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/automatic" -command_args="${OPTS} ${CONFIG}" -description="RSS downloader" -name="RSS downloader" -user="${AUTOMATIC_USER:-automatic}" -group="${AUTOMATIC_GROUP:-automatic}" -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} - -start_post() { - pgrep -n "${RC_SVCNAME%%.*}" > "${pidfile}" -} diff --git a/net-p2p/automatic/files/automatic.logrotate b/net-p2p/automatic/files/automatic.logrotate deleted file mode 100644 index 1af9c5c57cbc..000000000000 --- a/net-p2p/automatic/files/automatic.logrotate +++ /dev/null @@ -1,8 +0,0 @@ -/var/log/automatic/*.log { - daily - missingok - rotate 90 - compress - notifempty - copytruncate -} diff --git a/net-p2p/automatic/files/automatic.service b/net-p2p/automatic/files/automatic.service deleted file mode 100644 index 4b86320e4791..000000000000 --- a/net-p2p/automatic/files/automatic.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=RSS downloader that adds torrents directly to Transmission - -[Service] -Type=simple -User=automatic -ExecStart=/usr/bin/automatic -v 1 -a -l /var/log/automatic/automatic.log -c /etc/automatic.conf -ExecReload=/bin/kill -HUP $MAINPID -KillSignal=SIGINT - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/automatic/metadata.xml b/net-p2p/automatic/metadata.xml deleted file mode 100644 index 4a0536bbcae2..000000000000 --- a/net-p2p/automatic/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>spiderx@spiderx.dp.ua</email> - <name>Vladimir Pavljuchenkov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription lang="en"> - Automatic is a RSS daemon that downloads torrent files - matching regular expression patterns at certain intervals. - It is capable of adding downloaded torrents directly to Transmission. - </longdescription> - <upstream> - <remote-id type="github">1100101/Automatic</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest deleted file mode 100644 index ec7bdb295d15..000000000000 --- a/net-p2p/biglybt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST biglybt-4.0.0.0.tar.gz 56012777 BLAKE2B 58bc921058da81325c07c72bddb0f13df67e176f924978973a4b9e33145f20996949962fa70469e6eb0efbcf135d74dae9ee3b322ac585cd43430c45014b5867 SHA512 b185e55b4a491e63e99bf9a675dca4e6505094e1044c4f06894ae9fe77f06a31b18ca3ac792ce894e4d623dab98c020a4b440aa1ba11dd0d403d573a4daf3132 diff --git a/net-p2p/biglybt/biglybt-4.0.0.0.ebuild b/net-p2p/biglybt/biglybt-4.0.0.0.ebuild deleted file mode 100644 index 98cfcd1f7e85..000000000000 --- a/net-p2p/biglybt/biglybt-4.0.0.0.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="source doc test" -JAVA_TESTING_FRAMEWORKS="junit-jupiter" - -inherit desktop java-pkg-2 java-pkg-simple junit5 optfeature xdg - -DESCRIPTION="Feature-filled Bittorrent client based on Azureus" -HOMEPAGE="https://www.biglybt.com" -SRC_URI="https://github.com/BiglySoftware/BiglyBT/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/BiglyBT-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" -RESTRICT="test" # unlike upstream, tests hang for unknown reason. - -CP_DEPEND=" - >=dev-java/bcprov-1.83:0 - >=dev-java/commons-cli-1.10.0:0 - dev-java/swt:4.27[cairo] -" - -# Due to removal of AENameServiceDescriptor it would fail to start under jdk:1.8 -# StartServer ERROR: unable to bind to 127.0.0.1:6880 listening for passed torrent info: \ -# sun.net.spi.nameservice.NameServiceDescriptor: Provider com.biglybt.core.util.spi.AENameServiceDescriptor not found -# -# NOTE: BiglyBT works with [headless-awt] -# -# Restrict to max jdk:25 - see https://bugs.openjdk.org/browse/JDK-8368226 -# core/src/com/biglybt/core/security/impl/SESecurityManagerImpl.java:415: error: cannot find symbol -# t.stop(); -# ^ -# symbol: method stop() -# location: variable t of type Thread -DEPEND=" - ${CP_DEPEND} - || ( virtual/jdk:25 virtual/jdk:21 virtual/jdk:17 virtual/jdk:11 ) - test? ( dev-java/assertj-core:3 ) -" - -RDEPEND=" - ${CP_DEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( README.md ChangeLog.txt ) - -PATCHES=( - "${FILESDIR}"/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch - "${FILESDIR}"/biglybt-3.2.0.0-disable-shared-plugins.patch - "${FILESDIR}"/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch - "${FILESDIR}"/biglybt-3.8.0.2-unbundle-bcprov.patch #936549 -) - -JAVADOC_SRC_DIRS=( {core,uis}/src ) -JAVA_GENTOO_CLASSPATH_EXTRA="target/classes" -JAVA_JAR_FILENAME="BiglyBT.jar" -JAVA_MAIN_CLASS="com.${PN}.ui.Main" -JAVA_RESOURCE_DIRS=( {core,uis}/resources ) # both are needed -JAVA_SRC_DIR="uis/src" # we compile core manually to avoid bloating the jar - -# source: MethodSource [className = 'com.biglybt.core.internat.PropertyFilesTest', methodName = 'noSplitlinesInPropertyFilesForLocalizations', methodParameterTypes = ''] -# caught: java.lang.NullPointerException: Resource not found: com/biglybt/internat/MessagesBundle_he_IL.properties -# at org.assertj.core.util.Preconditions.checkNotNull(Preconditions.java:92) -# at com.biglybt.core.internat.PropertyFilesTest.noSplitlinesInPropertyFilesForLocalizations(PropertyFilesTest.java:36) -# at java.base/java.lang.reflect.Method.invoke(Method.java:565) -# at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) -# at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) -#duration: 144 ms -# status: ✘ FAILED -JAVA_TEST_EXCLUDES=( - com.biglybt.core.internat.PropertyFilesTest - com.biglybt.core.WikiTest -) - -JAVA_TEST_GENTOO_CLASSPATH="assertj-core-3 junit-5" -JAVA_TEST_SRC_DIR="core/src.test" - -declare -r ASSET_DIR="${S}"/assets/linux -src_prepare() { - default #780585 - rm -r core/src/org/gudy || die "removing bundled bouncycastle failed" #936549 - java-pkg-2_src_prepare - - find -type f -name '*.editorconfig' -delete \ - || die "Cleaning distfile artifacts failed" - - # AENameServiceDescriptor fails to compile with jdk >= 11 - # "error: package sun.net.spi.nameservice does not exist" - # https://github.com/BiglySoftware/BiglyBT/pull/2611 - rm -r core/src/com/biglybt/core/util/spi || die "deleting spi failed" - - # java-pkg-simple.eclass expects resources in a separate directory - # REVIEW: instead of copying all and deleting it would be better to copy selectively - local module - for module in core uis; do - cp -r ${module}/{src,resources} || die "copying source for resources failed" - find ${module}/resources -type f -name "*.java" -delete || die "deleting java files failed" - done - rm -r core/resources/META-INF || die "deleting copied META-INF failed" - - # patch the desktop file - sed -i \ - -e 's|${installer:dir.main}/||' \ - -e 's|.svg||' \ - "${ASSET_DIR}"/${PN}.desktop || die "patching desktop file failed" -} - -src_compile() { - # build core classes, needed for compiling uis - find core/src -type f -name '*.java' > sources.lst - ejavac -d target/classes @sources.lst \ - -cp "$(java-pkg_getjars bcprov,commons-cli,swt-4.27)" - - java-pkg-simple_src_compile - - JAVADOC_CLASSPATH="${JAVA_GENTOO_CLASSPATH}" - use doc && ejavadoc -} - -src_install() { - java-pkg-simple_src_install - - doicon -s 256 "${ASSET_DIR}"/${PN}.png - doicon -s scalable "${ASSET_DIR}"/${PN}.svg - domenu "${ASSET_DIR}"/${PN}.desktop - - if use source; then - java-pkg_dosrc "core/src/*" - java-pkg_dosrc "uis/src/*" - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature_header "If you are using plugin proxies, you might want to swap them for these native packages:" - optfeature "I2P SOCKS proxy" net-vpn/i2p net-vpn/i2pd - optfeature "Tor SOCKS proxy" net-vpn/tor -} diff --git a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch deleted file mode 100644 index b801a20c93c2..000000000000 --- a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/uis/src/com/biglybt/ui/swt/updater2/SWTUpdateChecker.java -+++ b/uis/src/com/biglybt/ui/swt/updater2/SWTUpdateChecker.java -@@ -65,7 +65,6 @@ public class SWTUpdateChecker implements UpdatableComponent - public static void - initialize() - { -- PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true); - } - - public SWTUpdateChecker() { diff --git a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch deleted file mode 100644 index fe110d590692..000000000000 --- a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/uis/src/com/biglybt/ui/swt/plugininstaller/IPWFilePanel.java -+++ b/uis/src/com/biglybt/ui/swt/plugininstaller/IPWFilePanel.java -@@ -162,12 +162,12 @@ public class IPWFilePanel extends AbstractWizardPanel<InstallPluginWizard> { - } - - public boolean -- isNextEnabled() -+ isFinishEnabled() - { - return valid; - } - -- public IWizardPanel<InstallPluginWizard> getNextPanel() { -- return new IPWInstallModePanel(wizard,this); -+ public IWizardPanel<InstallPluginWizard> getFinishPanel() { -+ return new IPWFinishPanel(wizard,this); - } - } diff --git a/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch b/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch deleted file mode 100644 index a736a191b129..000000000000 --- a/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java -+++ b/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java -@@ -99,7 +99,7 @@ PluginUpdatePlugin - - final PluginConfig plugin_config = plugin_interface.getPluginconfig(); - -- boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", true ); -+ boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", false ); - - model.setConfigSectionID(PLUGIN_CONFIGSECTION_ID); - model.getStatus().setText( enabled?"Running":"Optional checks disabled" ); -@@ -130,7 +130,7 @@ PluginUpdatePlugin - - BasicPluginConfigModel config = ui_manager.createBasicPluginConfigModel(ConfigSection.SECTION_PLUGINS, PLUGIN_CONFIGSECTION_ID); - -- config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", true ); -+ config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", false ); - - plugin_interface.addEventListener( - new PluginEventListener() -@@ -563,7 +563,7 @@ PluginUpdatePlugin - try{ - if ( (!mandatory) && - (ids_to_check == null ) && // allow custom actions through -- (!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", true ))){ -+ (!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", false ))){ - - return( num_updates_found ); - } --- -2.44.2 - diff --git a/net-p2p/biglybt/files/biglybt-3.8.0.2-unbundle-bcprov.patch b/net-p2p/biglybt/files/biglybt-3.8.0.2-unbundle-bcprov.patch deleted file mode 100644 index d3359db8aa9c..000000000000 --- a/net-p2p/biglybt/files/biglybt-3.8.0.2-unbundle-bcprov.patch +++ /dev/null @@ -1,491 +0,0 @@ -Description: Use the version of BouncyCastle packaged in Debian -Author: David Juran <djuran@redhat.com> -Forwarded: no - -Gentoo relevant: -* Bug: https://bugs.gentoo.org/936549 -* PR: https://github.com/gentoo/gentoo/pull/40734#issuecomment-3028397493 ---- a/core/src/com/biglybt/core/security/CryptoECCUtils.java -+++ b/core/src/com/biglybt/core/security/CryptoECCUtils.java -@@ -24,15 +24,15 @@ - import java.security.*; - import java.security.spec.KeySpec; - --import org.gudy.bouncycastle.jce.ECNamedCurveTable; --import org.gudy.bouncycastle.jce.interfaces.ECPrivateKey; --import org.gudy.bouncycastle.jce.interfaces.ECPublicKey; --import org.gudy.bouncycastle.jce.provider.BouncyCastleProvider; --import org.gudy.bouncycastle.jce.spec.ECNamedCurveParameterSpec; --import org.gudy.bouncycastle.jce.spec.ECParameterSpec; --import org.gudy.bouncycastle.jce.spec.ECPrivateKeySpec; --import org.gudy.bouncycastle.jce.spec.ECPublicKeySpec; --import org.gudy.bouncycastle.math.ec.ECPoint; -+import org.bouncycastle.jce.ECNamedCurveTable; -+import org.bouncycastle.jce.interfaces.ECPrivateKey; -+import org.bouncycastle.jce.interfaces.ECPublicKey; -+import org.bouncycastle.jce.provider.BouncyCastleProvider; -+import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec; -+import org.bouncycastle.jce.spec.ECParameterSpec; -+import org.bouncycastle.jce.spec.ECPrivateKeySpec; -+import org.bouncycastle.jce.spec.ECPublicKeySpec; -+import org.bouncycastle.math.ec.ECPoint; - - public class - CryptoECCUtils ---- a/core/src/com/biglybt/core/security/impl/CryptoManagerImpl.java -+++ b/core/src/com/biglybt/core/security/impl/CryptoManagerImpl.java -@@ -29,9 +29,9 @@ - import javax.crypto.spec.PBEKeySpec; - import javax.crypto.spec.PBEParameterSpec; - --import org.gudy.bouncycastle.crypto.CipherParameters; --import org.gudy.bouncycastle.crypto.engines.RC4Engine; --import org.gudy.bouncycastle.crypto.params.KeyParameter; -+import org.bouncycastle.crypto.CipherParameters; -+import org.bouncycastle.crypto.engines.RC4Engine; -+import org.bouncycastle.crypto.params.KeyParameter; - - import com.biglybt.core.config.COConfigurationManager; - import com.biglybt.core.security.*; ---- a/core/src/com/biglybt/core/security/impl/CryptoHandlerECC.java -+++ b/core/src/com/biglybt/core/security/impl/CryptoHandlerECC.java -@@ -27,9 +27,9 @@ - import javax.crypto.Cipher; - import javax.crypto.IllegalBlockSizeException; - --import org.gudy.bouncycastle.jce.provider.JCEIESCipher; --import org.gudy.bouncycastle.jce.spec.IEKeySpec; --import org.gudy.bouncycastle.jce.spec.IESParameterSpec; -+import org.bouncycastle.jce.provider.BouncyCastleProvider; -+import org.bouncycastle.jce.spec.IEKeySpec; -+import org.bouncycastle.jce.spec.IESParameterSpec; - - import com.biglybt.core.config.COConfigurationManager; - import com.biglybt.core.security.*; -@@ -64,6 +64,7 @@ - CryptoManagerImpl _manager, - int _instance_id ) - { -+ Security.addProvider(new BouncyCastleProvider()); - manager = _manager; - instance_id = _instance_id; - -@@ -227,11 +228,11 @@ - - IESParameterSpec param = new IESParameterSpec( d, e, 128); - -- InternalECIES cipher = new InternalECIES(); -+ Cipher cipher = Cipher.getInstance("ECIES"); - -- cipher.internalEngineInit( Cipher.ENCRYPT_MODE, key_spec, param, null ); -+ cipher.init( Cipher.ENCRYPT_MODE, key_spec, param, null ); - -- byte[] encrypted = cipher.internalEngineDoFinal(data, 0, data.length ); -+ byte[] encrypted = cipher.doFinal(data, 0, data.length ); - - byte[] result = new byte[32+encrypted.length]; - -@@ -271,11 +272,11 @@ - - IESParameterSpec param = new IESParameterSpec( d, e, 128); - -- InternalECIES cipher = new InternalECIES(); -+ Cipher cipher = Cipher.getInstance("ECIES"); - -- cipher.internalEngineInit( Cipher.DECRYPT_MODE, key_spec, param, null ); -+ cipher.init( Cipher.DECRYPT_MODE, key_spec, param, null ); - -- return( cipher.internalEngineDoFinal( data, 32, data.length - 32 )); -+ return( cipher.doFinal( data, 32, data.length - 32 )); - - }catch( CryptoManagerException e ){ - -@@ -886,32 +887,4 @@ - return((int)COConfigurationManager.getIntParameter( CONFIG_PREFIX + "pwtype", CryptoManagerPasswordHandler.HANDLER_TYPE_USER )); - } - -- static class InternalECIES -- extends JCEIESCipher.ECIES -- { -- // we use this class to obtain compatibility with BC -- -- public void -- internalEngineInit( -- int opmode, -- Key key, -- AlgorithmParameterSpec params, -- SecureRandom random ) -- -- throws InvalidKeyException, InvalidAlgorithmParameterException -- { -- engineInit(opmode, key, params, random); -- } -- -- protected byte[] -- internalEngineDoFinal( -- byte[] input, -- int inputOffset, -- int inputLen ) -- -- throws IllegalBlockSizeException, BadPaddingException -- { -- return engineDoFinal(input, inputOffset, inputLen); -- } -- } - } ---- a/core/src/com/biglybt/core/security/impl/SESecurityManagerBC.java -+++ b/core/src/com/biglybt/core/security/impl/SESecurityManagerBC.java -@@ -33,9 +33,9 @@ - import java.security.cert.X509Certificate; - import java.util.Calendar; - --import org.gudy.bouncycastle.asn1.x509.X509Name; --import org.gudy.bouncycastle.jce.X509V3CertificateGenerator; --import org.gudy.bouncycastle.jce.provider.BouncyCastleProvider; -+import org.bouncycastle.asn1.x509.X509Name; -+import org.bouncycastle.x509.X509V3CertificateGenerator; -+import org.bouncycastle.jce.provider.BouncyCastleProvider; - - import com.biglybt.core.util.Constants; - import com.biglybt.core.util.Debug; -@@ -49,7 +49,7 @@ - initialise() - { - try{ -- Security.addProvider(new org.gudy.bouncycastle.jce.provider.BouncyCastleProvider()); -+ Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); - - KeyFactory kf = KeyFactory.getInstance( "ECDSA", BouncyCastleProvider.PROVIDER_NAME ); - -@@ -59,7 +59,7 @@ - - try{ - -- where = BouncyCastleProvider.class.getClassLoader().getResource( "org/gudy/bouncycastle/jce/provider/BouncyCastleProvider.class" ).toExternalForm(); -+ where = BouncyCastleProvider.class.getClassLoader().getResource( "org/bouncycastle/jce/provider/BouncyCastleProvider.class" ).toExternalForm(); - - }catch( Throwable e ){ - ---- a/core/src/com/biglybt/core/security/impl/CryptoSTSEngineImpl.java -+++ b/core/src/com/biglybt/core/security/impl/CryptoSTSEngineImpl.java -@@ -22,7 +22,7 @@ - import java.nio.ByteBuffer; - import java.security.*; - --import org.gudy.bouncycastle.jce.provider.JCEECDHKeyAgreement; -+import javax.crypto.KeyAgreement; - - import com.biglybt.core.security.CryptoECCUtils; - import com.biglybt.core.security.CryptoManagerException; -@@ -46,7 +46,7 @@ - private PublicKey remotePubKey; - private byte[] sharedSecret; - -- private InternalDH ecDH; -+ private KeyAgreement ecDH; - - /** - * -@@ -65,8 +65,8 @@ - ephemeralKeyPair = CryptoECCUtils.createKeys(); - - try{ -- ecDH = new InternalDH(); -- -+ Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); -+ ecDH = KeyAgreement.getInstance("ECDH"); - //ecDH = KeyAgreement.getInstance("ECDH", BouncyCastleProvider.PROVIDER_NAME); - - ecDH.init(ephemeralKeyPair.getPrivate()); -@@ -398,40 +398,4 @@ - } - } - -- static class -- InternalDH -- extends JCEECDHKeyAgreement.DH -- { -- // we use this class to obtain compatibility with BC -- -- @Override -- public void -- init( -- Key key ) -- -- throws InvalidKeyException, InvalidAlgorithmParameterException -- { -- engineInit( key, null ); -- } -- -- @Override -- public Key -- doPhase( -- Key key, -- boolean lastPhase ) -- -- throws InvalidKeyException, IllegalStateException -- { -- return( engineDoPhase( key, lastPhase )); -- } -- -- @Override -- public byte[] -- generateSecret() -- -- throws IllegalStateException -- { -- return( engineGenerateSecret()); -- } -- } --} -\ No newline at end of file -+} ---- a/core/src/com/biglybt/core/subs/impl/SubscriptionManagerImpl.java -+++ b/core/src/com/biglybt/core/subs/impl/SubscriptionManagerImpl.java -@@ -32,7 +32,7 @@ - import java.util.zip.GZIPOutputStream; - - import com.biglybt.util.MapUtils; --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.Core; - import com.biglybt.core.CoreFactory; ---- a/core/src/com/biglybt/core/subs/impl/SubscriptionImpl.java -+++ b/core/src/com/biglybt/core/subs/impl/SubscriptionImpl.java -@@ -28,7 +28,7 @@ - import java.util.concurrent.atomic.AtomicLong; - - import com.biglybt.util.MapUtils; --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - import org.json.simple.JSONObject; - - import com.biglybt.core.internat.MessageText; ---- a/core/src/com/biglybt/core/pairing/impl/PairingManagerTunnelHandler.java -+++ b/core/src/com/biglybt/core/pairing/impl/PairingManagerTunnelHandler.java -@@ -34,9 +34,9 @@ - import javax.crypto.spec.IvParameterSpec; - import javax.crypto.spec.SecretKeySpec; - --import org.gudy.bouncycastle.crypto.agreement.srp.SRP6Server; --import org.gudy.bouncycastle.crypto.agreement.srp.SRP6VerifierGenerator; --import org.gudy.bouncycastle.crypto.digests.SHA256Digest; -+import org.bouncycastle.crypto.agreement.srp.SRP6Server; -+import org.bouncycastle.crypto.agreement.srp.SRP6VerifierGenerator; -+import org.bouncycastle.crypto.digests.SHA256Digest; - import org.json.simple.JSONObject; - - import com.biglybt.core.Core; ---- a/core/src/com/biglybt/core/networkmanager/impl/udp/UDPConnectionSet.java -+++ b/core/src/com/biglybt/core/networkmanager/impl/udp/UDPConnectionSet.java -@@ -26,9 +26,9 @@ - - import javax.crypto.spec.SecretKeySpec; - --import org.gudy.bouncycastle.crypto.CipherParameters; --import org.gudy.bouncycastle.crypto.engines.RC4Engine; --import org.gudy.bouncycastle.crypto.params.KeyParameter; -+import org.bouncycastle.crypto.CipherParameters; -+import org.bouncycastle.crypto.engines.RC4Engine; -+import org.bouncycastle.crypto.params.KeyParameter; - - import com.biglybt.core.logging.LogEvent; - import com.biglybt.core.logging.LogIDs; ---- a/core/src/com/biglybt/core/networkmanager/impl/TransportCipher.java -+++ b/core/src/com/biglybt/core/networkmanager/impl/TransportCipher.java -@@ -26,9 +26,9 @@ - import javax.crypto.Cipher; - import javax.crypto.spec.SecretKeySpec; - --import org.gudy.bouncycastle.crypto.CipherParameters; --import org.gudy.bouncycastle.crypto.engines.RC4Engine; --import org.gudy.bouncycastle.crypto.params.KeyParameter; -+import org.bouncycastle.crypto.CipherParameters; -+import org.bouncycastle.crypto.engines.RC4Engine; -+import org.bouncycastle.crypto.params.KeyParameter; - - import com.biglybt.core.util.Debug; - ---- a/core/src/com/biglybt/core/dht/control/impl/DHTControlImpl.java -+++ b/core/src/com/biglybt/core/dht/control/impl/DHTControlImpl.java -@@ -29,9 +29,9 @@ - import java.util.Map.Entry; - import java.util.concurrent.atomic.AtomicBoolean; - --import org.gudy.bouncycastle.crypto.CipherParameters; --import org.gudy.bouncycastle.crypto.engines.RC4Engine; --import org.gudy.bouncycastle.crypto.params.KeyParameter; -+import org.bouncycastle.crypto.CipherParameters; -+import org.bouncycastle.crypto.engines.RC4Engine; -+import org.bouncycastle.crypto.params.KeyParameter; - - import com.biglybt.core.dht.*; - import com.biglybt.core.dht.control.*; ---- a/core/src/com/biglybt/core/tracker/server/impl/tcp/TRTrackerServerProcessorTCP.java -+++ b/core/src/com/biglybt/core/tracker/server/impl/tcp/TRTrackerServerProcessorTCP.java -@@ -25,7 +25,7 @@ - import java.util.*; - import java.util.zip.GZIPOutputStream; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.dht.netcoords.DHTNetworkPosition; - import com.biglybt.core.dht.netcoords.DHTNetworkPositionManager; ---- a/core/src/com/biglybt/core/util/AddressUtils.java -+++ b/core/src/com/biglybt/core/util/AddressUtils.java -@@ -23,7 +23,7 @@ - import java.security.MessageDigest; - import java.util.*; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.CoreFactory; - import com.biglybt.core.config.COConfigurationManager; -@@ -786,11 +786,11 @@ - try{ - // unfortunately we have an incompatible base64 standard in i2p, they replaced / with ~ and + with - - -- char[] encoded = to_decode.toCharArray(); -+ byte[] encoded = to_decode.getBytes(); - - for ( int i=0;i<encoded.length;i++){ - -- char c = encoded[i]; -+ byte c = encoded[i]; - - if ( c == '~' ){ - encoded[i] = '/'; ---- a/core/src/com/biglybt/core/util/MD4Hasher.java -+++ b/core/src/com/biglybt/core/util/MD4Hasher.java -@@ -21,7 +21,7 @@ - - import java.security.MessageDigest; - --import org.gudy.bouncycastle.jce.provider.BouncyCastleProvider; -+import org.bouncycastle.jce.provider.BouncyCastleProvider; - - - public class ---- a/core/src/com/biglybt/core/util/UrlUtils.java -+++ b/core/src/com/biglybt/core/util/UrlUtils.java -@@ -25,7 +25,7 @@ - - import javax.net.ssl.*; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.CoreFactory; - import com.biglybt.core.config.COConfigurationManager; ---- a/core/src/com/biglybt/net/magneturi/impl/MagnetURIHandlerImpl.java -+++ b/core/src/com/biglybt/net/magneturi/impl/MagnetURIHandlerImpl.java -@@ -23,7 +23,7 @@ - import java.net.*; - import java.util.*; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.CoreFactory; - import com.biglybt.core.config.COConfigurationManager; ---- a/core/src/com/biglybt/util/JSONUtils.java -+++ b/core/src/com/biglybt/util/JSONUtils.java -@@ -20,7 +20,7 @@ - import java.io.UnsupportedEncodingException; - import java.util.*; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - import org.json.simple.JSONArray; - import org.json.simple.JSONObject; - import org.json.simple.JSONValue; ---- a/core/src/com/biglybt/util/MapUtils.java -+++ b/core/src/com/biglybt/util/MapUtils.java -@@ -23,7 +23,7 @@ - import java.util.*; - - import com.biglybt.core.util.UrlUtils; --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.util.Base32; - import com.biglybt.core.util.Constants; ---- a/uis/src/com/biglybt/ui/console/util/StringEncrypter.java -+++ b/uis/src/com/biglybt/ui/console/util/StringEncrypter.java -@@ -29,7 +29,7 @@ - import javax.crypto.spec.DESKeySpec; - import javax.crypto.spec.DESedeKeySpec; - --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - /** - * utility class to encrypt strings. this class was taken from the examples at: ---- a/uis/src/com/biglybt/ui/swt/auth/AuthenticatorWindow.java -+++ b/uis/src/com/biglybt/ui/swt/auth/AuthenticatorWindow.java -@@ -36,7 +36,7 @@ - import org.eclipse.swt.layout.GridData; - import org.eclipse.swt.layout.GridLayout; - import org.eclipse.swt.widgets.*; --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.config.COConfigurationManager; - import com.biglybt.core.internat.MessageText; ---- a/uis/src/com/biglybt/ui/swt/browser/listener/TorrentListener.java -+++ b/uis/src/com/biglybt/ui/swt/browser/listener/TorrentListener.java -@@ -28,7 +28,7 @@ - import com.biglybt.core.config.COConfigurationManager; - import com.biglybt.core.torrent.TOTorrent; - import com.biglybt.core.util.*; --import org.gudy.bouncycastle.util.encoders.Base64; -+import org.bouncycastle.util.encoders.Base64; - - import com.biglybt.core.messenger.ClientMessageContext; - import com.biglybt.core.messenger.ClientMessageContext.torrentURLHandler; ---- a/core/pom.xml -+++ b/core/pom.xml -@@ -24,6 +24,11 @@ - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - </dependency> -+ <dependency> -+ <groupId>org.bouncycastle</groupId> -+ <artifactId>bcprov</artifactId> -+ <version>debian</version> -+ </dependency> - </dependencies> - - <build> ---- a/core/src/com/biglybt/core/security/impl/SESecurityManagerImpl.java -+++ b/core/src/com/biglybt/core/security/impl/SESecurityManagerImpl.java -@@ -182,7 +182,7 @@ - String[] providers = - { "com.sun.net.ssl.internal.ssl.Provider", - "org.metastatic.jessie.provider.Jessie", -- "org.gudy.bouncycastle.jce.provider.BouncyCastleProvider"}; -+ "org.bouncycastle.jce.provider.BouncyCastleProvider"}; - - String provider = null; - ---- a/core/src/com/biglybt/net/udp/uc/impl/PRUDPPacketHandlerSupport.java -+++ b/core/src/com/biglybt/net/udp/uc/impl/PRUDPPacketHandlerSupport.java -@@ -44,7 +44,7 @@ - import java.util.Set;
- import java.util.concurrent.ConcurrentHashMap;
-
--import org.gudy.bouncycastle.util.encoders.Base64;
-+import org.bouncycastle.util.encoders.Base64;
-
- import com.biglybt.core.config.COConfigurationManager;
- import com.biglybt.core.config.ParameterListener;
-@@ -2097,4 +2097,4 @@ - return( buf );
- }
- }
--} -\ No newline at end of file -+}
diff --git a/net-p2p/biglybt/metadata.xml b/net-p2p/biglybt/metadata.xml deleted file mode 100644 index dde62ca5ee3e..000000000000 --- a/net-p2p/biglybt/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - </maintainer> - <longdescription> - BiglyBT is a BitTorrent client based on Vuze (previously Azureus) which first released in 2003. - - It's killer feature is integration with I2P and TOR anonymyzing networks. - They are available as plugins or can be used with your local node using SOCKS. - - BiglyBT and <pkg>net-p2p/qbittorrent</pkg> are two torrent clients in active development - that can work on clearnet and I2P simultaneously, cross-seeding the torrents and swarm-merging them. - </longdescription> - <upstream> - <bugs-to>https://github.com/BiglySoftware/BiglyBT/issues</bugs-to> - <changelog>https://github.com/BiglySoftware/BiglyBT/blob/master/ChangeLog.txt</changelog> - <doc>https://github.com/BiglySoftware/BiglyBT/wiki</doc> - <remote-id type="github">BiglySoftware/BiglyBT</remote-id> - </upstream> - <stabilize-allarches/> -</pkgmetadata> diff --git a/net-p2p/bisq-bin/Manifest b/net-p2p/bisq-bin/Manifest deleted file mode 100644 index e6814270c554..000000000000 --- a/net-p2p/bisq-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Bisq-64bit-1.9.14.deb 277454644 BLAKE2B 8beb136e4e1a6b8d5c81ced513ce460603b43777abf09ef69092955504c08e7986312a64881b8ca5dd0f784305bf9298c9972344c2cf7c06d178951e93ae3b08 SHA512 d66211b27df787b2eec2e200f4b60f21b3211cd492395c9e2bd3019d76c6e9fa2eb167e4eeaf0a4e229e881b79d8e9f1ac643de804d7521531a96fbb48c3f762 diff --git a/net-p2p/bisq-bin/bisq-bin-1.9.14-r1.ebuild b/net-p2p/bisq-bin/bisq-bin-1.9.14-r1.ebuild deleted file mode 100644 index c5ac942f0825..000000000000 --- a/net-p2p/bisq-bin/bisq-bin-1.9.14-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker xdg - -DESCRIPTION="The decentralized bitcoin exchange (non-atomic, with arbitration)" -HOMEPAGE="https://bisq.network/ https://github.com/bisq-network/exchange/" -SRC_URI="https://bisq.network/downloads/v${PV}/Bisq-64bit-${PV}.deb" - -S="${WORKDIR}" -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RESTRICT="mirror strip" - -DEPEND=" - dev-java/openjfx - net-libs/libnet - virtual/jre:* - x11-libs/gtk+:3" - -# Bundled java, and seems to mostly work without an old ffmpeg -QA_PREBUILT="opt/Bisq/Bisq opt/Bisq/libpackager.so opt/Bisq/runtime/*" -REQUIRES_EXCLUDE="libgstreamer-lite.so libavplugin-53.so libavplugin-54.so libavplugin-55.so libavplugin-56.so libavplugin-57.so libavplugin-ffmpeg-56.so libavplugin-ffmpeg-57.so" - -src_compile() { - : -} - -src_install() { - cp -ar "${S}"/opt/ "${ED}"/opt/ - dosym ../bisq/bin/Bisq /opt/bin/Bisq - domenu opt/bisq/lib/bisq-Bisq.desktop - doicon opt/bisq/lib/Bisq.png -} diff --git a/net-p2p/bisq-bin/metadata.xml b/net-p2p/bisq-bin/metadata.xml deleted file mode 100644 index 035ff6f1fb38..000000000000 --- a/net-p2p/bisq-bin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> -<email>benoit.dufour@mail.com</email> -<name>Benoît Dufour</name> -</maintainer> -<upstream> -<remote-id type="github">bisq-network/exchange</remote-id> -</upstream> -</pkgmetadata> diff --git a/net-p2p/bitcoin-core/Manifest b/net-p2p/bitcoin-core/Manifest deleted file mode 100644 index 3704a6279a1d..000000000000 --- a/net-p2p/bitcoin-core/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST bitcoin-core-29.0-qt6.patch 16737 BLAKE2B bf863852ad8d313ad26612f149612944949b93f3b6f4f1891587226bbf11fcfc5c29b63a59965bfd56f7edec27c82cef2209e40201963d4227e46fa87664f694 SHA512 af19a7ddee9f0cce85684149a130715df8511b9e4f38e5e3a79cf14586f1f73bde671a5ed1d44da870b3f2352d3c8e561b1ffa01e224e253019c71dfc4544476 -DIST bitcoin-core-29.3.tar.gz 12882742 BLAKE2B eac67459c29ceb38b685a5de9ebf382371f24175885e9d9ff2964746ee848bec56e71ac048e9727db5a2010dfd3c995ace05e266af00107c2af172889fd29703 SHA512 66e726eff5cca74c0baa58a4ac85ff054849567dc8b9c1dd221ca11dfbdf52887835afc5b8c9cf5c8acc1c8045c815e720cfb92ec8dfe07a06ecdf673e52294d -DIST bitcoin-core-30.2.tar.gz 12682326 BLAKE2B 426ea9126ea8ee0eb0152a0e4806d7f6920be067bf4203bf98d91bcb74544383652c9406da23aaf15d72b4fd55584bd6c5fcc66267741a3cc35a338e379f8ea7 SHA512 850d8da77875b9a385c92f3a25be10d13f5961f10867cce0811e6dbf0c22edf00caa283bdfee6771978fa00bdc3865a06fa252232366b7231fded65e6ea0b5a5 -DIST bitcoin-core-31.0.tar.gz 14636887 BLAKE2B 782b172442c527ea43da7c456b31a5f6720ca494b6bc99438942637a2d8c4907aff96c3c2758d46f2d1788782c55e684ebbed83e4fe26a0323f83f7d1c39ea6b SHA512 776273cd494dbffc25a7145cd2c6f56df163e532af3685fbbd2bbe35b0df7d97eaa7ffda7c9d51e25b1064aa3552af575ee6aebe6c79d0542a5e1d312edd324c -DIST bitcoin-core-fix-mempool_updatefromblock.patch 3361 BLAKE2B f307270c1b28d5d93815ad96c1b7b69ddd0c9e0f4a818cffdef01293a4dd8e752ae3786fe23dd8d4efacfc9bcddc582d23210df090e53aaf1e6521ec5527a5e0 SHA512 537b9998d8354fca1158970d73cfc0488e5f7a1f1eed3c0ff4956d2fe63d8cd526540c88e8750bacdb75edd9bd053eb9f4b37813e3159bea5e66b3acba3063d6 diff --git a/net-p2p/bitcoin-core/bitcoin-core-29.3.ebuild b/net-p2p/bitcoin-core/bitcoin-core-29.3.ebuild deleted file mode 100644 index fca2ab737dd7..000000000000 --- a/net-p2p/bitcoin-core/bitcoin-core-29.3.ebuild +++ /dev/null @@ -1,344 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit bash-completion-r1 check-reqs cmake db-use desktop edo multiprocessing python-any-r1 systemd toolchain-funcs xdg-utils - -DESCRIPTION="Reference implementation of the Bitcoin cryptocurrency" -HOMEPAGE="https://bitcoincore.org/" -SRC_URI=" - https://github.com/bitcoin/bitcoin/archive/v${PV/_rc/rc}.tar.gz -> ${P}.tar.gz - https://github.com/bitcoin/bitcoin/commit/6d4214925fadc36d26aa58903db5788c742e68c6.patch?full_index=1 -> ${PN}-29.0-qt6.patch -" -S="${WORKDIR}/${PN/-core}-${PV/_rc/rc}" - -LICENSE="MIT" -SLOT="0" -if [[ "${PV}" != *_rc* ]] ; then - KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" -fi -IUSE="asm +berkdb +cli +daemon dbus examples +external-signer gui qrcode +sqlite +system-libsecp256k1 systemtap test test-full zeromq" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - dbus? ( gui ) - qrcode? ( gui ) - test-full? ( test ) -" -# dev-libs/univalue is now bundled, as upstream dropped support for system copy -# and their version in the Bitcoin repo has deviated a fair bit from upstream. -# Upstream also seems very inactive. -COMMON_DEPEND=" - >=dev-libs/boost-1.81.0:= - >=dev-libs/libevent-2.1.12:= - berkdb? ( >=sys-libs/db-4.8.30:$(db_ver_to_slot 4.8)=[cxx] ) - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( - >=dev-qt/qtbase-6.2:6[dbus?,gui,network,widgets] - ) - qrcode? ( >=media-gfx/qrencode-4.1.1:= ) - sqlite? ( >=dev-db/sqlite-3.38.5:= ) - system-libsecp256k1? ( >=dev-libs/libsecp256k1-0.6.0:=[asm=,ellswift,extrakeys,recovery,schnorr] ) - zeromq? ( >=net-libs/zeromq-4.3.4:= ) -" -RDEPEND=" - ${COMMON_DEPEND} - !dev-util/bitcoin-tx - cli? ( !net-p2p/bitcoin-cli ) - daemon? ( !net-p2p/bitcoind ) - gui? ( !net-p2p/bitcoin-qt ) -" -DEPEND=" - ${COMMON_DEPEND} - systemtap? ( >=dev-debug/systemtap-4.8 ) -" -BDEPEND=" - >=dev-build/cmake-3.25 - virtual/pkgconfig - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( >=dev-qt/qttools-6.2:6[linguist] ) - test? ( - ${PYTHON_DEPS} - ) -" -IDEPEND=" - gui? ( dev-util/desktop-file-utils ) -" - -DOCS=( - doc/bips.md - doc/bitcoin-conf.md - doc/descriptors.md - doc/files.md - doc/i2p.md - doc/JSON-RPC-interface.md - doc/multisig-tutorial.md - doc/p2p-bad-ports.md - doc/psbt.md - doc/reduce-memory.md - doc/reduce-traffic.md - doc/release-notes.md - doc/REST-interface.md - doc/tor.md -) - -PATCHES=( - "${DISTDIR}/${PN}-29.0-qt6.patch" - "${FILESDIR}/29.0-cmake-syslibs.patch" - "${FILESDIR}/26.0-init.patch" -) - -efmt() { - : ${1:?} ; local l ; while read -r l ; do "${!#}" "${l}" ; done < <(fmt "${@:1:$#-1}") -} - -pkg_pretend() { - if ! use daemon && ! use gui && ! has_version "${CATEGORY}/${PN}[-daemon,-gui(-),-qt5(-)]" ; then - efmt ewarn <<-EOF - You are enabling neither USE="daemon" nor USE="gui". This is a valid - configuration, but you will be unable to run a Bitcoin node using this - installation. - EOF - fi - if use daemon && ! use cli && ! has_version "${CATEGORY}/${PN}[daemon,-bitcoin-cli(-),-cli(-)]" ; then - efmt ewarn <<-EOF - You are enabling USE="daemon" but not USE="cli". This is a valid - configuration, but you will be unable to interact with your bitcoind node - via the command line using this installation. - EOF - fi - if ! use berkdb && ! use sqlite && - { { use daemon && ! has_version "${CATEGORY}/${PN}[daemon,-berkdb,-sqlite]" ; } || - { use gui && ! has_version "${CATEGORY}/${PN}[gui,-berkdb,-sqlite]" ; } ; } - then - efmt ewarn <<-EOF - You are enabling neither USE="berkdb" nor USE="sqlite". This is a valid - configuration, but your Bitcoin node will be unable to open any wallets. - EOF - fi - - # test/functional/feature_pruning.py requires 4 GB disk space - # test/functional/wallet_pruning.py requires 1.3 GB disk space - use test && CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_pretend -} - -pkg_setup() { - if use test ; then - CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_setup - python-any-r1_pkg_setup - fi - - # check for auto-loaded wallets in the obsolete (soon to be unsupported) format - if use daemon && use berkdb && [[ -r "${EROOT}/var/lib/bitcoind/settings.json" ]] ; then - local wallet bdb_wallets=() - while read -rd '' wallet ; do - # printf interprets any C-style escape sequences in ${wallet} - wallet="${EROOT}$(printf "/var/lib/bitcoind/wallets/${wallet:+${wallet//\%/%%}/}wallet.dat")" - [[ -r "${wallet}" && "$(file -b -- "${wallet}")" == *'Berkeley DB'* ]] && bdb_wallets+=( "${wallet}" ) - done < <( - # parsing settings.json using jq would be far cleaner, but jq might not be installed - sed -Enze 'H;${x;s/^.*"wallet"\s*:\s*\[\s*("([^"\\]|\\.)*"(\s*,\s*"([^"\\]|\\.)*")*)\s*\].*$/\1/;T' \ - -e 's/"(([^"\\]|\\.)*)"\s*(,\s*)?/\1\x0/gp}' -- "${EROOT}/var/lib/bitcoind/settings.json" - ) - if (( ${#bdb_wallets[@]} )) ; then - efmt -su ewarn <<-EOF - The following auto-loaded wallets are in the legacy (Berkeley DB) format, \ - which will no longer be supported by the next major version of Bitcoin Core: - $(printf ' - %s\n' "${bdb_wallets[@]}") - EOF - use cli && efmt ewarn <<-EOF - You may want to convert them to descriptor wallets by executing - \`bitcoin-cli migratewallet "<wallet_name>" ["<passphrase>"]\` - after starting bitcoind. - EOF - fi - fi -} - -src_prepare() { - # https://bugs.gentoo.org/958361 - # https://github.com/google/crc32c/commit/2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07 - sed -e '/^cmake_minimum_required(VERSION 3\.1)$/s/)$/6)/' -i src/crc32c/CMakeLists.txt || die - - # https://bugs.gentoo.org/965371 - # https://github.com/google/leveldb/issues/1289 - sed -e '/^cmake_minimum_required(VERSION 3\.9)$/s/9)$/10)/' -i src/leveldb/CMakeLists.txt || die - - eapply_user - ! use system-libsecp256k1 || rm -r src/secp256k1 || die - cmake_src_prepare - - # we set BUILD_UTIL=OFF, so we can't test bitcoin-util - sed -ne '/^ {/{h;:0;n;H;/^ }/!b0;g;\|"exec": *"\./bitcoin-util"|d};p' \ - -i test/util/data/bitcoin-util-test.json || die - - sed -e 's/^\(complete -F _bitcoind\b\).*$/\1'"$(usev daemon ' bitcoind')$(usev gui ' bitcoin-qt')/" \ - -i contrib/completions/bash/bitcoind.bash || die -} - -src_configure() { - local wallet ; if use berkdb || use sqlite ; then wallet=ON ; else wallet=OFF ; fi - local mycmakeargs=( -# -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON # https://github.com/bitcoin/bitcoin/pull/32220 - -DBUILD_SHARED_LIBS=ON - -DENABLE_WALLET=${wallet} - -DWITH_SQLITE=$(usex sqlite) - -DWITH_BDB=$(usex berkdb) - -DWITH_USDT=$(usex systemtap) - -DBUILD_TESTS=$(usex test) - -DBUILD_BENCH=OFF - -DBUILD_{FOR_FUZZING,FUZZ_BINARY}=OFF - -DWITH_QRENCODE=$(usex qrcode) - -DWITH_CCACHE=OFF - -DWITH_ZMQ=$(usex zeromq) - -DENABLE_EXTERNAL_SIGNER=$(usex external-signer) - -DBUILD_CLI=$(usex cli) - -DBUILD_TX=ON - -DBUILD_WALLET_TOOL=${wallet} - -DBUILD_UTIL=OFF - -DBUILD_DAEMON=$(usex daemon) - -DBUILD_GUI=$(usex gui) - -DWITH_DBUS=$(usex dbus) - -DWITH_SYSTEM_LIBSECP256K1=$(usex system-libsecp256k1 ON \ - "OFF -DSECP256K1_ASM=$(usex asm AUTO OFF)") - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use daemon && ! tc-is-cross-compiler ; then - TOPDIR="${S}" BUILDDIR="${BUILD_DIR}" bash contrib/devtools/gen-bitcoin-conf.sh || die - fi - sed -e 's/ To use, copy this file$//p;Tp;:0;n;/save the file\.$/!b0;d;:p;p' \ - -ni share/examples/bitcoin.conf || die -} - -src_test() { - cmake_src_test - - if use daemon ; then - cd -- "${BUILD_DIR}" || die - edo "${PYTHON}" test/functional/test_runner.py \ - --ansi $(usev test-full --extended) --jobs="$(get_makeopts_jobs)" --timeout-factor="${TIMEOUT_FACTOR:-15}" - fi -} - -src_install() { - dodoc -r doc/release-notes - - use external-signer && DOCS+=( doc/external-signer.md ) - use berkdb || use sqlite && DOCS+=( doc/managing-wallets.md ) - use systemtap && DOCS+=( doc/tracing.md ) - use zeromq && DOCS+=( doc/zmq.md ) - - if use daemon ; then - # https://bugs.gentoo.org/757102 - DOCS+=( share/rpcauth/rpcauth.py ) - docompress -x "/usr/share/doc/${PF}/rpcauth.py" - fi - - einstalldocs - cmake_src_install - - find "${ED}" -type f -name '*.la' -delete || die - ! use test || rm -f -- "${ED}"/usr/bin/test_bitcoin{,-qt} || die - - newbashcomp contrib/completions/bash/bitcoin-tx.bash bitcoin-tx - use cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash bitcoin-cli - if use daemon ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoind - use gui && bashcomp_alias bitcoind bitcoin-qt - elif use gui ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoin-qt - fi - - if use daemon ; then - insinto /etc/bitcoin - doins share/examples/bitcoin.conf - fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf - fperms 0660 /etc/bitcoin/bitcoin.conf - - newconfd contrib/init/bitcoind.openrcconf bitcoind - newinitd "${FILESDIR}/bitcoind.openrc" bitcoind - systemd_newunit contrib/init/bitcoind.service bitcoind.service - - keepdir /var/lib/bitcoind - fperms 0750 /var/lib/bitcoind - fowners bitcoin:bitcoin /var/lib/bitcoind - dosym -r {/etc/bitcoin,/var/lib/bitcoind}/bitcoin.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/bitcoind.logrotate-r1" bitcoind - fi - - if use gui ; then - insinto /usr/share/icons/hicolor/scalable/apps - newins src/qt/res/src/bitcoin.svg bitcoin128.svg - - domenu "${FILESDIR}/org.bitcoin.bitcoin-qt.desktop" - fi - - if use examples ; then - docinto examples - dodoc -r contrib/{linearize,qos} - use zeromq && dodoc -r contrib/zmq - fi -} - -pkg_postinst() { - # we don't use xdg.eclass because it adds unconditional IDEPENDs - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - - if use daemon && [[ -z "${REPLACING_VERSIONS}" ]] ; then - efmt -su elog <<-EOF - To have ${PN} automatically use Tor when it's running, be sure your \ - 'torrc' config file has 'ControlPort' and 'CookieAuthentication' set up \ - correctly, and: - - Using an init script: add the 'bitcoin' user to the 'tor' user group. - - Running bitcoind directly: add that user to the 'tor' user group. - EOF - fi - - if use cli && use daemon ; then - efmt -su elog <<-EOF - To use bitcoin-cli with the /etc/init.d/bitcoind service: - - Add your user(s) to the 'bitcoin' group. - - Symlink ~/.bitcoin to /var/lib/bitcoind. - EOF - fi - - if use berkdb ; then - # https://github.com/bitcoin/bitcoin/pull/28597 - # https://bitcoincore.org/en/releases/26.0/#wallet - efmt ewarn <<-EOF - Creation of legacy (Berkeley DB) wallets is refused starting with Bitcoin - Core 26.0, pending the deprecation and eventual removal of support for - legacy wallets altogether in future releases. At present you can still - force support for the creation of legacy wallets by adding the following - line to your bitcoin.conf: - - deprecatedrpc=create_bdb - EOF - fi -} - -pkg_postrm() { - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/net-p2p/bitcoin-core/bitcoin-core-30.2.ebuild b/net-p2p/bitcoin-core/bitcoin-core-30.2.ebuild deleted file mode 100644 index e33cadb2fd41..000000000000 --- a/net-p2p/bitcoin-core/bitcoin-core-30.2.ebuild +++ /dev/null @@ -1,339 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit bash-completion-r1 check-reqs cmake desktop edo multiprocessing python-any-r1 systemd toolchain-funcs xdg-utils - -DESCRIPTION="Reference implementation of the Bitcoin cryptocurrency" -HOMEPAGE="https://bitcoincore.org/" -SRC_URI=" - https://github.com/bitcoin/bitcoin/archive/v${PV/_rc/rc}.tar.gz -> ${P}.tar.gz - https://github.com/bitcoin/bitcoin/commit/fac5a1b10a6979a7898c5c3555d62b593560772f.patch?full_index=1 -> ${PN}-fix-mempool_updatefromblock.patch -" -S="${WORKDIR}/${PN/-core}-${PV/_rc/rc}" - -LICENSE="MIT" -SLOT="0" -if [[ "${PV}" != *_rc* ]] ; then - KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~x86" -fi -IUSE="asm +cli +daemon dbus examples +external-signer gui qrcode +system-libsecp256k1 systemtap test test-full +wallet zeromq" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - dbus? ( gui ) - qrcode? ( gui ) - test-full? ( test ) -" -# dev-libs/univalue is now bundled, as upstream dropped support for system copy -# and their version in the Bitcoin repo has deviated a fair bit from upstream. -# Upstream also seems very inactive. -COMMON_DEPEND=" - >=dev-libs/boost-1.81.0:= - >=dev-libs/libevent-2.1.12:= - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( - >=dev-qt/qtbase-6.2:6[dbus?,gui,network,widgets] - ) - qrcode? ( >=media-gfx/qrencode-4.1.1:= ) - system-libsecp256k1? ( >=dev-libs/libsecp256k1-0.6.0:=[asm=,ellswift,extrakeys,musig,recovery,schnorr] ) - wallet? ( >=dev-db/sqlite-3.38.5:= ) - zeromq? ( >=net-libs/zeromq-4.3.4:= ) -" -RDEPEND=" - ${COMMON_DEPEND} - !dev-util/bitcoin-tx - cli? ( !net-p2p/bitcoin-cli ) - daemon? ( !net-p2p/bitcoind ) - gui? ( !net-p2p/bitcoin-qt ) -" -DEPEND=" - ${COMMON_DEPEND} - systemtap? ( >=dev-debug/systemtap-4.8 ) -" -BDEPEND=" - >=dev-build/cmake-3.25 - virtual/pkgconfig - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( >=dev-qt/qttools-6.2:6[linguist] ) - test? ( - ${PYTHON_DEPS} - ) -" -IDEPEND=" - gui? ( dev-util/desktop-file-utils ) -" - -DOCS=( - doc/bips.md - doc/bitcoin-conf.md - doc/descriptors.md - doc/files.md - doc/i2p.md - doc/JSON-RPC-interface.md - doc/multisig-tutorial.md - doc/p2p-bad-ports.md - doc/psbt.md - doc/reduce-memory.md - doc/reduce-traffic.md - doc/release-notes.md - doc/REST-interface.md - doc/tor.md -) - -PATCHES=( - "${FILESDIR}/30.0-cmake-syslibs.patch" - "${FILESDIR}/26.0-init.patch" - "${T}/${PN}-fix-mempool_updatefromblock.patch" -) - -efmt() { - : ${1:?} ; local l ; while read -r l ; do "${!#}" "${l}" ; done < <(fmt "${@:1:$#-1}") -} - -# lifted from https://gitlab.com/bitcoin/gentoo/-/blob/master/eclass/backports.eclass -backports_mod_strip() { - (( ${#} == 2 )) || die 'strip mod requires argument' - sed -ne ':0;/^diff --git a\/'"${2////\\/}"'/{:1;n;/^diff --git /!b1;b0};p' \ - -i "${1}" || die -} - -pkg_pretend() { - if ! use daemon && ! use gui && ! has_version "${CATEGORY}/${PN}[-daemon,-gui(-),-qt5(-)]" ; then - efmt ewarn <<-EOF - You are enabling neither USE="daemon" nor USE="gui". This is a valid - configuration, but you will be unable to run a Bitcoin node using this - installation. - EOF - fi - if use daemon && ! use cli && ! has_version "${CATEGORY}/${PN}[daemon,-bitcoin-cli(-),-cli(-)]" ; then - efmt ewarn <<-EOF - You are enabling USE="daemon" but not USE="cli". This is a valid - configuration, but you will be unable to interact with your bitcoind node - via the command line using this installation. - EOF - fi - - # test/functional/feature_pruning.py requires 4 GB disk space - # test/functional/wallet_pruning.py requires 1.3 GB disk space - use test && CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_pretend -} - -pkg_setup() { - if use test ; then - CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_setup - python-any-r1_pkg_setup - fi - - # check for auto-loaded wallets in the obsolete (now unsupported) format - if use daemon && use wallet && [[ -r "${EROOT}/var/lib/bitcoind/settings.json" ]] ; then - local wallet bdb_wallets=() - while read -rd '' wallet ; do - # printf interprets any C-style escape sequences in ${wallet} - wallet="${EROOT}$(printf "/var/lib/bitcoind/wallets/${wallet:+${wallet//\%/%%}/}wallet.dat")" - [[ -r "${wallet}" && "$(file -b -- "${wallet}")" == *'Berkeley DB'* ]] && bdb_wallets+=( "${wallet}" ) - done < <( - # parsing settings.json using jq would be far cleaner, but jq might not be installed - sed -Enze 'H;${x;s/^.*"wallet"\s*:\s*\[\s*("([^"\\]|\\.)*"(\s*,\s*"([^"\\]|\\.)*")*)\s*\].*$/\1/;T' \ - -e 's/"(([^"\\]|\\.)*)"\s*(,\s*)?/\1\x0/gp}' -- "${EROOT}/var/lib/bitcoind/settings.json" - ) - if (( ${#bdb_wallets[@]} )) ; then - efmt -su ewarn <<-EOF - The following auto-loaded wallets are in the legacy (Berkeley DB) format, \ - which is no longer supported by this version of Bitcoin Core: - $(printf ' - %s\n' "${bdb_wallets[@]}") - You may need to remove these wallets from your auto-load configuration \ - at ${EROOT}/var/lib/bitcoind/settings.json$(use cli && cat <<-EOS - and convert them to descriptor wallets by executing \ - \`bitcoin-cli migratewallet "<wallet_name>" ["<passphrase>"]\` \ - after starting bitcoind - EOS - ). - EOF - fi - fi -} - -src_prepare() { - # https://bugs.gentoo.org/958361 - # https://github.com/google/crc32c/commit/2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07 - sed -e '/^cmake_minimum_required(VERSION 3\.1)$/s/)$/6)/' -i src/crc32c/CMakeLists.txt || die - - # https://bugs.gentoo.org/965371 - # https://github.com/google/leveldb/issues/1289 - sed -e '/^cmake_minimum_required(VERSION 3\.9)$/s/9)$/10)/' -i src/leveldb/CMakeLists.txt || die - - # https://github.com/bitcoin/bitcoin/pull/34136 - cp -- "${DISTDIR}/${PN}-fix-mempool_updatefromblock.patch" "${T}/" || die - backports_mod_strip "${T}/${PN}-fix-mempool_updatefromblock.patch" 'ci/' - - eapply_user - ! use system-libsecp256k1 || rm -r src/secp256k1 || die - cmake_src_prepare - - sed -e 's/^\(complete -F _bitcoind\b\).*$/\1'"$(usev daemon ' bitcoind')$(usev gui ' bitcoin-qt')/" \ - -i contrib/completions/bash/bitcoind.bash || die -} - -src_configure() { - local mycmakeargs=( -# -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON # https://github.com/bitcoin/bitcoin/pull/32220 - -DBUILD_SHARED_LIBS=ON - -DENABLE_IPC=OFF - -DENABLE_WALLET=$(usex wallet) - -DWITH_USDT=$(usex systemtap) - -DBUILD_TESTS=$(usex test) - -DBUILD_BENCH=OFF - -DBUILD_{FOR_FUZZING,FUZZ_BINARY}=OFF - -DWITH_QRENCODE=$(usex qrcode) - -DWITH_CCACHE=OFF - -DWITH_ZMQ=$(usex zeromq) - -DENABLE_EXTERNAL_SIGNER=$(usex external-signer) - -DBUILD_CLI=$(usex cli) - -DBUILD_TX=ON - -DBUILD_WALLET_TOOL=$(usex wallet) - -DBUILD_UTIL=OFF - -DBUILD_DAEMON=$(usex daemon) - -DBUILD_GUI=$(usex gui) - -DWITH_DBUS=$(usex dbus) - -DWITH_SYSTEM_LIBSECP256K1=$(usex system-libsecp256k1 ON \ - "OFF -DSECP256K1_ASM=$(usex asm AUTO OFF)") - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use daemon && ! tc-is-cross-compiler ; then - TOPDIR="${S}" BUILDDIR="${BUILD_DIR}" bash contrib/devtools/gen-bitcoin-conf.sh || die - fi - sed -e 's/ To use, copy this file$//p;Tp;:0;n;/save the file\.$/!b0;d;:p;p' \ - -ni share/examples/bitcoin.conf || die -} - -src_test() { - cmake_src_test - - if use daemon ; then - cd -- "${BUILD_DIR}" || die - edo "${PYTHON}" test/functional/test_runner.py \ - --ansi $(usev test-full --extended) --jobs="$(get_makeopts_jobs)" --timeout-factor="${TIMEOUT_FACTOR:-15}" - fi -} - -src_install() { - dodoc -r doc/release-notes - - use external-signer && DOCS+=( doc/external-signer.md ) - use wallet && DOCS+=( doc/managing-wallets.md ) - use systemtap && DOCS+=( doc/tracing.md ) - use zeromq && DOCS+=( doc/zmq.md ) - - if use daemon ; then - # https://bugs.gentoo.org/757102 - DOCS+=( share/rpcauth/rpcauth.py ) - docompress -x "/usr/share/doc/${PF}/rpcauth.py" - fi - - einstalldocs - cmake_src_install - - find "${ED}" -type f -name '*.la' -delete || die - ! use test || rm -f -- "${ED}"/usr/libexec/test_bitcoin{,-qt} || die - - newbashcomp contrib/completions/bash/bitcoin-tx.bash bitcoin-tx - use cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash bitcoin-cli - if use daemon ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoind - use gui && bashcomp_alias bitcoind bitcoin-qt - elif use gui ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoin-qt - fi - - if use daemon ; then - insinto /etc/bitcoin - doins share/examples/bitcoin.conf - fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf - fperms 0660 /etc/bitcoin/bitcoin.conf - - newconfd contrib/init/bitcoind.openrcconf bitcoind - newinitd "${FILESDIR}/bitcoind.openrc" bitcoind - systemd_newunit contrib/init/bitcoind.service bitcoind.service - - keepdir /var/lib/bitcoind - fperms 0750 /var/lib/bitcoind - fowners bitcoin:bitcoin /var/lib/bitcoind - dosym -r {/etc/bitcoin,/var/lib/bitcoind}/bitcoin.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/bitcoind.logrotate-r1" bitcoind - fi - - if use gui ; then - insinto /usr/share/icons/hicolor/scalable/apps - newins src/qt/res/src/bitcoin.svg bitcoin128.svg - - domenu "${FILESDIR}/org.bitcoin.bitcoin-qt.desktop" - fi - - if use examples ; then - docinto examples - dodoc -r contrib/{linearize,qos} - use zeromq && dodoc -r contrib/zmq - fi -} - -pkg_postinst() { - # we don't use xdg.eclass because it adds unconditional IDEPENDs - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - - if use daemon && [[ -z "${REPLACING_VERSIONS}" ]] ; then - efmt -su elog <<-EOF - To have ${PN} automatically use Tor when it's running, be sure your \ - 'torrc' config file has 'ControlPort' and 'CookieAuthentication' set up \ - correctly, and: - - Using an init script: add the 'bitcoin' user to the 'tor' user group. - - Running bitcoind directly: add that user to the 'tor' user group. - EOF - fi - - if use cli && use daemon ; then - efmt -su elog <<-EOF - To use bitcoin-cli with the /etc/init.d/bitcoind service: - - Add your user(s) to the 'bitcoin' group. - - Symlink ~/.bitcoin to /var/lib/bitcoind. - EOF - fi - - if use wallet && [[ -r "${EROOT}/etc/bitcoin/bitcoin.conf" ]] && - grep -q '^\s*deprecatedrpc\s*=.*\bcreate_bdb\b' -- "${EROOT}/etc/bitcoin/bitcoin.conf" - then - # https://github.com/bitcoin/bitcoin/pull/31250 - efmt ewarn <<-EOF - Creation of legacy (Berkeley DB) wallets is no longer possible starting with - Bitcoin Core 30.0. You must remove the following line from your bitcoin.conf: - - deprecatedrpc=create_bdb - EOF - fi -} - -pkg_postrm() { - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/net-p2p/bitcoin-core/bitcoin-core-31.0.ebuild b/net-p2p/bitcoin-core/bitcoin-core-31.0.ebuild deleted file mode 100644 index 39c4515e46c4..000000000000 --- a/net-p2p/bitcoin-core/bitcoin-core-31.0.ebuild +++ /dev/null @@ -1,324 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit bash-completion-r1 check-reqs cmake desktop edo multiprocessing python-any-r1 systemd toolchain-funcs xdg-utils - -DESCRIPTION="Reference implementation of the Bitcoin cryptocurrency" -HOMEPAGE="https://bitcoincore.org/" -SRC_URI="https://github.com/bitcoin/bitcoin/archive/v${PV/_rc/rc}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN/-core}-${PV/_rc/rc}" - -LICENSE="MIT" -SLOT="0" -if [[ "${PV}" != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -fi -IUSE="asm +cli +daemon dbus examples +external-signer gui qrcode +system-libsecp256k1 systemtap test test-full +wallet zeromq" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - dbus? ( gui ) - qrcode? ( gui ) - test-full? ( test ) -" -# dev-libs/univalue is now bundled, as upstream dropped support for system copy -# and their version in the Bitcoin repo has deviated a fair bit from upstream. -# Upstream also seems very inactive. -COMMON_DEPEND=" - >=dev-libs/boost-1.81.0:= - >=dev-libs/libevent-2.1.12:= - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( - >=dev-qt/qtbase-6.2:6[dbus?,gui,network,widgets] - ) - qrcode? ( >=media-gfx/qrencode-4.1.1:= ) - system-libsecp256k1? ( >=dev-libs/libsecp256k1-0.7.1:=[asm=,ellswift,extrakeys,musig,recovery,schnorr] ) - wallet? ( >=dev-db/sqlite-3.38.5:= ) - zeromq? ( >=net-libs/zeromq-4.3.4:= ) -" -RDEPEND=" - ${COMMON_DEPEND} - !dev-util/bitcoin-tx - cli? ( !net-p2p/bitcoin-cli ) - daemon? ( !net-p2p/bitcoind ) - gui? ( !net-p2p/bitcoin-qt ) -" -DEPEND=" - ${COMMON_DEPEND} - systemtap? ( >=dev-debug/systemtap-4.8 ) -" -BDEPEND=" - >=dev-build/cmake-3.25 - virtual/pkgconfig - daemon? ( - acct-group/bitcoin - acct-user/bitcoin - ) - gui? ( >=dev-qt/qttools-6.2:6[linguist] ) - test? ( - ${PYTHON_DEPS} - ) -" -IDEPEND=" - gui? ( dev-util/desktop-file-utils ) -" - -DOCS=( - doc/bips.md - doc/bitcoin-conf.md - doc/descriptors.md - doc/files.md - doc/i2p.md - doc/JSON-RPC-interface.md - doc/multisig-tutorial.md - doc/p2p-bad-ports.md - doc/psbt.md - doc/reduce-memory.md - doc/reduce-traffic.md - doc/release-notes.md - doc/REST-interface.md - doc/tor.md -) - -PATCHES=( - "${FILESDIR}/30.0-cmake-syslibs.patch" - "${FILESDIR}/26.0-init.patch" -) - -efmt() { - : ${1:?} ; local l ; while read -r l ; do "${!#}" "${l}" ; done < <(fmt "${@:1:$#-1}") -} - -pkg_pretend() { - if ! use daemon && ! use gui && ! has_version "${CATEGORY}/${PN}[-daemon,-gui(-),-qt5(-)]" ; then - efmt ewarn <<-EOF - You are enabling neither USE="daemon" nor USE="gui". This is a valid - configuration, but you will be unable to run a Bitcoin node using this - installation. - EOF - fi - if use daemon && ! use cli && ! has_version "${CATEGORY}/${PN}[daemon,-bitcoin-cli(-),-cli(-)]" ; then - efmt ewarn <<-EOF - You are enabling USE="daemon" but not USE="cli". This is a valid - configuration, but you will be unable to interact with your bitcoind node - via the command line using this installation. - EOF - fi - - # test/functional/feature_pruning.py requires 4 GB disk space - # test/functional/wallet_pruning.py requires 1.3 GB disk space - use test && CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_pretend -} - -pkg_setup() { - if use test ; then - CHECKREQS_DISK_BUILD="6G" check-reqs_pkg_setup - python-any-r1_pkg_setup - fi - - # check for auto-loaded wallets in the obsolete (now unsupported) format - if use daemon && use wallet && [[ -r "${EROOT}/var/lib/bitcoind/settings.json" ]] ; then - local wallet bdb_wallets=() - while read -rd '' wallet ; do - # printf interprets any C-style escape sequences in ${wallet} - wallet="${EROOT}$(printf "/var/lib/bitcoind/wallets/${wallet:+${wallet//\%/%%}/}wallet.dat")" - [[ -r "${wallet}" && "$(file -b -- "${wallet}")" == *'Berkeley DB'* ]] && bdb_wallets+=( "${wallet}" ) - done < <( - # parsing settings.json using jq would be far cleaner, but jq might not be installed - sed -Enze 'H;${x;s/^.*"wallet"\s*:\s*\[\s*("([^"\\]|\\.)*"(\s*,\s*"([^"\\]|\\.)*")*)\s*\].*$/\1/;T' \ - -e 's/"(([^"\\]|\\.)*)"\s*(,\s*)?/\1\x0/gp}' -- "${EROOT}/var/lib/bitcoind/settings.json" - ) - if (( ${#bdb_wallets[@]} )) ; then - efmt -su ewarn <<-EOF - The following auto-loaded wallets are in the legacy (Berkeley DB) format, \ - which is no longer supported by this version of Bitcoin Core: - $(printf ' - %s\n' "${bdb_wallets[@]}") - You may need to remove these wallets from your auto-load configuration \ - at ${EROOT}/var/lib/bitcoind/settings.json$(use cli && cat <<-EOS - and convert them to descriptor wallets by executing \ - \`bitcoin-cli migratewallet "<wallet_name>" ["<passphrase>"]\` \ - after starting bitcoind - EOS - ). - EOF - fi - fi -} - -src_prepare() { - # https://bugs.gentoo.org/958361 - # https://github.com/google/crc32c/commit/2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07 - sed -e '/^cmake_minimum_required(VERSION 3\.1)$/s/)$/6)/' -i src/crc32c/CMakeLists.txt || die - - # https://bugs.gentoo.org/965371 - # https://github.com/google/leveldb/issues/1289 - sed -e '/^cmake_minimum_required(VERSION 3\.9)$/s/9)$/10)/' -i src/leveldb/CMakeLists.txt || die - - eapply_user - ! use system-libsecp256k1 || rm -r src/secp256k1 || die - cmake_src_prepare - - sed -e 's/^\(complete -F _bitcoind\b\).*$/\1'"$(usev daemon ' bitcoind')$(usev gui ' bitcoin-qt')/" \ - -i contrib/completions/bash/bitcoind.bash || die -} - -src_configure() { - local mycmakeargs=( -# -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON # https://github.com/bitcoin/bitcoin/pull/32220 - -DBUILD_SHARED_LIBS=ON - -DENABLE_IPC=OFF - -DENABLE_WALLET=$(usex wallet) - -DWITH_USDT=$(usex systemtap) - -DBUILD_TESTS=$(usex test) - -DBUILD_BENCH=OFF - -DBUILD_{FOR_FUZZING,FUZZ_BINARY}=OFF - -DWITH_QRENCODE=$(usex qrcode) - -DWITH_CCACHE=OFF - -DWITH_ZMQ=$(usex zeromq) - -DENABLE_EXTERNAL_SIGNER=$(usex external-signer) - -DBUILD_CLI=$(usex cli) - -DBUILD_TX=ON - -DBUILD_WALLET_TOOL=$(usex wallet) - -DBUILD_UTIL=OFF - -DBUILD_DAEMON=$(usex daemon) - -DBUILD_GUI=$(usex gui) - -DWITH_DBUS=$(usex dbus) - -DWITH_SYSTEM_LIBSECP256K1=$(usex system-libsecp256k1 ON \ - "OFF -DSECP256K1_ASM=$(usex asm AUTO OFF)") - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use daemon && ! tc-is-cross-compiler ; then - TOPDIR="${S}" BUILDDIR="${BUILD_DIR}" bash contrib/devtools/gen-bitcoin-conf.sh || die - fi - sed -e 's/ To use, copy this file$//p;Tp;:0;n;/save the file\.$/!b0;d;:p;p' \ - -ni share/examples/bitcoin.conf || die -} - -src_test() { - cmake_src_test - - if use daemon ; then - cd -- "${BUILD_DIR}" || die - edo "${PYTHON}" test/functional/test_runner.py \ - --ansi $(usev test-full --extended) --jobs="$(get_makeopts_jobs)" --timeout-factor="${TIMEOUT_FACTOR:-15}" - fi -} - -src_install() { - dodoc -r doc/release-notes - - use external-signer && DOCS+=( doc/external-signer.md ) - use wallet && DOCS+=( doc/managing-wallets.md ) - use systemtap && DOCS+=( doc/tracing.md ) - use zeromq && DOCS+=( doc/zmq.md ) - - if use daemon ; then - # https://bugs.gentoo.org/757102 - DOCS+=( share/rpcauth/rpcauth.py ) - docompress -x "/usr/share/doc/${PF}/rpcauth.py" - fi - - einstalldocs - cmake_src_install - - find "${ED}" -type f -name '*.la' -delete || die - ! use test || rm -f -- "${ED}"/usr/libexec/test_bitcoin{,-qt} || die - - newbashcomp contrib/completions/bash/bitcoin-tx.bash bitcoin-tx - use cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash bitcoin-cli - if use daemon ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoind - use gui && bashcomp_alias bitcoind bitcoin-qt - elif use gui ; then - newbashcomp contrib/completions/bash/bitcoind.bash bitcoin-qt - fi - - if use daemon ; then - insinto /etc/bitcoin - doins share/examples/bitcoin.conf - fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf - fperms 0660 /etc/bitcoin/bitcoin.conf - - newconfd contrib/init/bitcoind.openrcconf bitcoind - newinitd "${FILESDIR}/bitcoind.openrc" bitcoind - systemd_newunit contrib/init/bitcoind.service bitcoind.service - - keepdir /var/lib/bitcoind - fperms 0750 /var/lib/bitcoind - fowners bitcoin:bitcoin /var/lib/bitcoind - dosym -r {/etc/bitcoin,/var/lib/bitcoind}/bitcoin.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/bitcoind.logrotate-r1" bitcoind - fi - - if use gui ; then - insinto /usr/share/icons/hicolor/scalable/apps - newins src/qt/res/src/bitcoin.svg bitcoin128.svg - - domenu "${FILESDIR}/org.bitcoin.bitcoin-qt.desktop" - fi - - if use examples ; then - docinto examples - dodoc -r contrib/{linearize,qos} - use zeromq && dodoc -r contrib/zmq - fi -} - -pkg_postinst() { - # we don't use xdg.eclass because it adds unconditional IDEPENDs - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - - if use daemon && [[ -z "${REPLACING_VERSIONS}" ]] ; then - efmt -su elog <<-EOF - To have ${PN} automatically use Tor when it's running, be sure your \ - 'torrc' config file has 'ControlPort' and 'CookieAuthentication' set up \ - correctly, and: - - Using an init script: add the 'bitcoin' user to the 'tor' user group. - - Running bitcoind directly: add that user to the 'tor' user group. - EOF - fi - - if use cli && use daemon ; then - efmt -su elog <<-EOF - To use bitcoin-cli with the /etc/init.d/bitcoind service: - - Add your user(s) to the 'bitcoin' group. - - Symlink ~/.bitcoin to /var/lib/bitcoind. - EOF - fi - - if use wallet && [[ -r "${EROOT}/etc/bitcoin/bitcoin.conf" ]] && - grep -q '^\s*deprecatedrpc\s*=.*\bcreate_bdb\b' -- "${EROOT}/etc/bitcoin/bitcoin.conf" - then - # https://github.com/bitcoin/bitcoin/pull/31250 - efmt ewarn <<-EOF - Creation of legacy (Berkeley DB) wallets is no longer possible starting with - Bitcoin Core 30.0. You must remove the following line from your bitcoin.conf: - - deprecatedrpc=create_bdb - EOF - fi -} - -pkg_postrm() { - if use gui ; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/net-p2p/bitcoin-core/files/26.0-init.patch b/net-p2p/bitcoin-core/files/26.0-init.patch deleted file mode 100644 index d42d44f0642a..000000000000 --- a/net-p2p/bitcoin-core/files/26.0-init.patch +++ /dev/null @@ -1,196 +0,0 @@ -From 779e7c8fe188bea5b2185be0784112104be168df Mon Sep 17 00:00:00 2001 -From: Matt Whitlock <bitcoin@mattwhitlock.name> -Date: Sun, 17 Sep 2023 10:02:20 -0400 -Subject: [PATCH] contrib/init: improve OpenRC scripts and systemd service unit - ---- - contrib/init/bitcoind.openrc | 112 +++++++++++++++---------------- - contrib/init/bitcoind.openrcconf | 7 +- - contrib/init/bitcoind.service | 5 ++ - 3 files changed, 64 insertions(+), 60 deletions(-) - -diff --git a/contrib/init/bitcoind.openrc b/contrib/init/bitcoind.openrc -index 013a1a6070..7d16e975e5 100644 ---- a/contrib/init/bitcoind.openrc -+++ b/contrib/init/bitcoind.openrc -@@ -1,76 +1,72 @@ - #!/sbin/openrc-run - --# backward compatibility for existing gentoo layout --# --if [ -d "/var/lib/bitcoin/.bitcoin" ]; then -- BITCOIND_DEFAULT_DATADIR="/var/lib/bitcoin/.bitcoin" --else -- BITCOIND_DEFAULT_DATADIR="/var/lib/bitcoind" --fi -+: ${BITCOIND_CONFIGFILE:=/etc/bitcoin/bitcoin.conf} -+: ${BITCOIND_PIDDIR:=/run/bitcoind} -+: ${BITCOIND_PIDFILE:=${BITCOIND_PIDDIR}/${SVCNAME}.pid} -+: ${BITCOIND_DATADIR:=/var/lib/bitcoind} -+: ${BITCOIND_LOGDIR:=/var/log/bitcoind} -+: ${BITCOIND_USER:=${BITCOIN_USER:-bitcoin}} -+: ${BITCOIND_GROUP:=bitcoin} -+: ${BITCOIND_BIN:=/usr/bin/bitcoind} -+: ${BITCOIND_NICE:=${NICELEVEL:-0}} -+: ${BITCOIND_OPTS=${BITCOIN_OPTS}} - --BITCOIND_CONFIGFILE=${BITCOIND_CONFIGFILE:-/etc/bitcoin/bitcoin.conf} --BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/bitcoind} --BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/bitcoind.pid} --BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}} --BITCOIND_USER=${BITCOIND_USER:-${BITCOIN_USER:-bitcoin}} --BITCOIND_GROUP=${BITCOIND_GROUP:-bitcoin} --BITCOIND_BIN=${BITCOIND_BIN:-/usr/bin/bitcoind} --BITCOIND_NICE=${BITCOIND_NICE:-${NICELEVEL:-0}} --BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}" -- --name="Bitcoin Core Daemon" -+name="Bitcoin Core daemon" - description="Bitcoin cryptocurrency P2P network daemon" - --command="/usr/bin/bitcoind" --command_args="-pid=\"${BITCOIND_PIDFILE}\" \ -- -conf=\"${BITCOIND_CONFIGFILE}\" \ -- -datadir=\"${BITCOIND_DATADIR}\" \ -- -daemon \ -- ${BITCOIND_OPTS}" -- - required_files="${BITCOIND_CONFIGFILE}" --start_stop_daemon_args="-u ${BITCOIND_USER} \ -- -N ${BITCOIND_NICE} -w 2000" - pidfile="${BITCOIND_PIDFILE}" -- --# The retry schedule to use when stopping the daemon. Could be either --# a timeout in seconds or multiple signal/timeout pairs (like --# "SIGKILL/180 SIGTERM/300") --retry="${BITCOIND_SIGTERM_TIMEOUT}" -+in_background_fake="start" - - depend() { - need localmount net - } - --# verify --# 1) that the datadir exists and is writable (or create it) --# 2) that a directory for the pid exists and is writable --# 3) ownership and permissions on the config file - start_pre() { -- checkpath \ -- -d \ -- --mode 0750 \ -- --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" \ -- "${BITCOIND_DATADIR}" -- -- checkpath \ -- -d \ -- --mode 0755 \ -- --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" \ -- "${BITCOIND_PIDDIR}" -- -- checkpath -f \ -- -o "${BITCOIND_USER}:${BITCOIND_GROUP}" \ -- -m 0660 \ -- "${BITCOIND_CONFIGFILE}" -- -- checkconfig || return 1 -+ checkpath -f --mode 0660 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_CONFIGFILE}" -+ checkpath -d --mode 0750 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_DATADIR}" -+ checkpath -d --mode 0755 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_LOGDIR}" -+ checkpath -d --mode 0755 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_PIDDIR}" -+ checkconfig - } - --checkconfig() --{ -- if grep -qs '^rpcuser=' "${BITCOIND_CONFIGFILE}" && \ -- ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" ; then -+start() { -+ ebegin "Starting ${name}" -+ mark_service_inactive -+ if start-stop-daemon \ -+ --pidfile="${BITCOIND_PIDFILE}" \ -+ --chdir="${BITCOIND_DATADIR}" \ -+ --user="${BITCOIND_USER}:${BITCOIND_GROUP}" \ -+ --nice="${BITCOIND_NICE}" \ -+ --exec="${BITCOIND_BIN}" \ -+ -- \ -+ -daemonwait \ -+ -pid="${BITCOIND_PIDFILE}" \ -+ -conf="${BITCOIND_CONFIGFILE}" \ -+ -datadir="${BITCOIND_DATADIR}" \ -+ -debuglogfile="${BITCOIND_LOGDIR}/debug.log" \ -+ ${BITCOIND_OPTS} -+ then -+ chmod g+r "${BITCOIND_DATADIR}/.cookie" -+ IN_BACKGROUND=yes rc-service "${SVCNAME}" --quiet start -+ else -+ rc-service "${SVCNAME}" --quiet zap -+ fi & -+} -+ -+stop() { -+ ebegin "Stopping ${name}" -+ start-stop-daemon --stop \ -+ --pidfile="${BITCOIND_PIDFILE}" \ -+ --retry="${BITCOIND_SIGTERM_TIMEOUT}" \ -+ --exec="${BITCOIND_BIN}" -+ eend $? -+} -+ -+checkconfig() { -+ if grep -qs '^rpcuser=' "${BITCOIND_CONFIGFILE}" && -+ ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" -+ then - eerror "" - eerror "ERROR: You must set a secure rpcpassword to run bitcoind." - eerror "The setting must appear in ${BITCOIND_CONFIGFILE}" -diff --git a/contrib/init/bitcoind.openrcconf b/contrib/init/bitcoind.openrcconf -index c8a22a08d9..f5a140ab9d 100644 ---- a/contrib/init/bitcoind.openrcconf -+++ b/contrib/init/bitcoind.openrcconf -@@ -4,14 +4,17 @@ - #BITCOIND_CONFIGFILE="/etc/bitcoin/bitcoin.conf" - - # What directory to write pidfile to? (created and owned by $BITCOIND_USER) --#BITCOIND_PIDDIR="/var/run/bitcoind" -+#BITCOIND_PIDDIR="/run/bitcoind" - - # What filename to give the pidfile --#BITCOIND_PIDFILE="${BITCOIND_PIDDIR}/bitcoind.pid" -+#BITCOIND_PIDFILE="${BITCOIND_PIDDIR}/${SVCNAME}.pid" - - # Where to write bitcoind data (be mindful that the blockchain is large) - #BITCOIND_DATADIR="/var/lib/bitcoind" - -+# Where to write the debug.log file -+#BITCOIND_LOGDIR="/var/log/bitcoind" -+ - # User and group to own bitcoind process - #BITCOIND_USER="bitcoin" - #BITCOIND_GROUP="bitcoin" -diff --git a/contrib/init/bitcoind.service b/contrib/init/bitcoind.service -index 87da17f955..e1229f300a 100644 ---- a/contrib/init/bitcoind.service -+++ b/contrib/init/bitcoind.service -@@ -20,6 +20,7 @@ Wants=network-online.target - [Service] - ExecStart=/usr/bin/bitcoind -pid=/run/bitcoind/bitcoind.pid \ - -conf=/etc/bitcoin/bitcoin.conf \ -+ -debuglogfile=/var/log/bitcoind/debug.log \ - -datadir=/var/lib/bitcoind \ - -startupnotify='systemd-notify --ready' \ - -shutdownnotify='systemd-notify --stopping' -@@ -54,6 +55,10 @@ RuntimeDirectoryMode=0710 - ConfigurationDirectory=bitcoin - ConfigurationDirectoryMode=0710 - -+# /var/log/bitcoind -+LogsDirectory=bitcoind -+LogsDirectoryMode=0755 -+ - # /var/lib/bitcoind - StateDirectory=bitcoind - StateDirectoryMode=0710 --- -2.43.0 - diff --git a/net-p2p/bitcoin-core/files/29.0-cmake-syslibs.patch b/net-p2p/bitcoin-core/files/29.0-cmake-syslibs.patch deleted file mode 100644 index 3c1be2e5203a..000000000000 --- a/net-p2p/bitcoin-core/files/29.0-cmake-syslibs.patch +++ /dev/null @@ -1,81 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3ad29249e9..4d775fbb89 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,7 +7,7 @@ - # - # Centos Stream 9, https://www.centos.org/cl-vs-cs/#end-of-life, EOL in May 2027: - # - CMake 3.26.5, https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/ --cmake_minimum_required(VERSION 3.22) -+cmake_minimum_required(VERSION 3.25) - - if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) - message(FATAL_ERROR "In-source builds are not allowed.") -@@ -163,6 +163,9 @@ if(WITH_MULTIPROCESS) - ) - endif() - -+option(WITH_SYSTEM_LIBSECP256K1 "Link with system-installed libsecp256k1." OFF) -+mark_as_advanced(WITH_SYSTEM_LIBSECP256K1) -+ - cmake_dependent_option(BUILD_GUI_TESTS "Build test_bitcoin-qt executable." ON "BUILD_GUI;BUILD_TESTS" OFF) - if(BUILD_GUI) - set(qt_components Core Gui Widgets LinguistTools) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 41577b2ad6..01d601729f 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -19,6 +19,44 @@ include(../cmake/crc32c.cmake) - include(../cmake/leveldb.cmake) - include(../cmake/minisketch.cmake) - add_subdirectory(univalue) -+ -+if(WITH_SYSTEM_LIBSECP256K1) -+ -+find_package(PkgConfig REQUIRED) -+pkg_check_modules(libsecp256k1 REQUIRED IMPORTED_TARGET libsecp256k1) -+add_library(secp256k1 ALIAS PkgConfig::libsecp256k1) -+block() -+ string(APPEND CMAKE_REQUIRED_FLAGS " ${libsecp256k1_CFLAGS_OTHER}") -+ list(APPEND CMAKE_REQUIRED_INCLUDES ${libsecp256k1_INCLUDE_DIRS}) -+ list(APPEND CMAKE_REQUIRED_LINK_OPTIONS ${libsecp256k1_LDFLAGS}) -+ list(APPEND CMAKE_REQUIRED_LIBRARIES ${libsecp256k1_LIBRARIES}) -+ unset(missing_modules) -+ include(CheckSymbolExists) -+ macro(check_secp256k1_module module symbol) -+ string(TOUPPER "${symbol}" VAR) -+ set(VAR "libsecp256k1_HAS_${VAR}") -+ unset(${VAR}) -+ check_symbol_exists("${symbol}" "secp256k1_${module}.h" ${VAR}) -+ if(NOT ${VAR}) -+ list(APPEND missing_modules "${module}") -+ endif() -+ endmacro() -+ message(CHECK_START "Checking for required libsecp256k1 modules") -+ list(APPEND CMAKE_MESSAGE_INDENT " ") -+ check_secp256k1_module(ellswift secp256k1_ellswift_create) -+ check_secp256k1_module(extrakeys secp256k1_xonly_pubkey_parse) -+ check_secp256k1_module(recovery secp256k1_ecdsa_recover) -+ check_secp256k1_module(schnorrsig secp256k1_schnorrsig_verify) -+ list(POP_BACK CMAKE_MESSAGE_INDENT) -+ if(missing_modules) -+ list(JOIN missing_modules ", " missing_modules) -+ message(FATAL_ERROR "System-installed libsecp256k1 lacks these required modules: ${missing_modules}.") -+ endif() -+ message(CHECK_PASS "all were found") -+endblock() -+ -+else() # !WITH_SYSTEM_LIBSECP256K1 -+ - #============================= - # secp256k1 subtree - #============================= -@@ -68,6 +106,8 @@ set_target_properties(secp256k1 PROPERTIES - ) - set(CMAKE_EXPORT_COMPILE_COMMANDS ON) - -+endif() # !WITH_SYSTEM_LIBSECP256K1 -+ - # Set top-level target output locations. - if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY) - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) diff --git a/net-p2p/bitcoin-core/files/30.0-cmake-syslibs.patch b/net-p2p/bitcoin-core/files/30.0-cmake-syslibs.patch deleted file mode 100644 index efb415d05b95..000000000000 --- a/net-p2p/bitcoin-core/files/30.0-cmake-syslibs.patch +++ /dev/null @@ -1,78 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d6368096e5..cff9157f70 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,7 +7,7 @@ - # - # Centos Stream 9, https://www.centos.org/cl-vs-cs/#end-of-life, EOL in May 2027: - # - CMake 3.26.5, https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/ --cmake_minimum_required(VERSION 3.22) -+cmake_minimum_required(VERSION 3.25) - - if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) - message(FATAL_ERROR "In-source builds are not allowed.") -@@ -150,6 +150,9 @@ if(ENABLE_IPC AND WITH_EXTERNAL_LIBMULTIPROCESS) - ) - endif() - -+option(WITH_SYSTEM_LIBSECP256K1 "Link with system-installed libsecp256k1." OFF) -+mark_as_advanced(WITH_SYSTEM_LIBSECP256K1) -+ - cmake_dependent_option(BUILD_GUI_TESTS "Build test_bitcoin-qt executable." ON "BUILD_GUI;BUILD_TESTS" OFF) - if(BUILD_GUI) - set(qt_components Core Gui Widgets LinguistTools) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index a6fb12c009..810d793ae6 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -23,9 +23,50 @@ if (ENABLE_IPC AND NOT WITH_EXTERNAL_LIBMULTIPROCESS) - include(../cmake/libmultiprocess.cmake) - add_libmultiprocess(ipc/libmultiprocess) - endif() -+ -+if(WITH_SYSTEM_LIBSECP256K1) -+ -+find_package(PkgConfig REQUIRED) -+pkg_check_modules(libsecp256k1 REQUIRED IMPORTED_TARGET libsecp256k1) -+add_library(secp256k1 ALIAS PkgConfig::libsecp256k1) -+block() -+ string(APPEND CMAKE_REQUIRED_FLAGS " ${libsecp256k1_CFLAGS_OTHER}") -+ list(APPEND CMAKE_REQUIRED_INCLUDES ${libsecp256k1_INCLUDE_DIRS}) -+ list(APPEND CMAKE_REQUIRED_LINK_OPTIONS ${libsecp256k1_LDFLAGS}) -+ list(APPEND CMAKE_REQUIRED_LIBRARIES ${libsecp256k1_LIBRARIES}) -+ unset(missing_modules) -+ include(CheckSymbolExists) -+ macro(check_secp256k1_module module symbol) -+ string(TOUPPER "${symbol}" VAR) -+ set(VAR "libsecp256k1_HAS_${VAR}") -+ unset(${VAR}) -+ check_symbol_exists("${symbol}" "secp256k1_${module}.h" ${VAR}) -+ if(NOT ${VAR}) -+ list(APPEND missing_modules "${module}") -+ endif() -+ endmacro() -+ message(CHECK_START "Checking for required libsecp256k1 modules") -+ list(APPEND CMAKE_MESSAGE_INDENT " ") -+ check_secp256k1_module(ellswift secp256k1_ellswift_create) -+ check_secp256k1_module(extrakeys secp256k1_xonly_pubkey_parse) -+ check_secp256k1_module(musig secp256k1_musig_pubnonce_parse) -+ check_secp256k1_module(recovery secp256k1_ecdsa_recover) -+ check_secp256k1_module(schnorrsig secp256k1_schnorrsig_verify) -+ list(POP_BACK CMAKE_MESSAGE_INDENT) -+ if(missing_modules) -+ list(JOIN missing_modules ", " missing_modules) -+ message(FATAL_ERROR "System-installed libsecp256k1 lacks these required modules: ${missing_modules}.") -+ endif() -+ message(CHECK_PASS "all were found") -+endblock() -+ -+else() # !WITH_SYSTEM_LIBSECP256K1 -+ - include(../cmake/secp256k1.cmake) - add_secp256k1(secp256k1) - -+endif() # !WITH_SYSTEM_LIBSECP256K1 -+ - # Set top-level target output locations. - if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY) - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) diff --git a/net-p2p/bitcoin-core/files/bitcoind.logrotate-r1 b/net-p2p/bitcoin-core/files/bitcoind.logrotate-r1 deleted file mode 100644 index b70476cc16e4..000000000000 --- a/net-p2p/bitcoin-core/files/bitcoind.logrotate-r1 +++ /dev/null @@ -1,8 +0,0 @@ -/var/log/bitcoind/debug.log { - missingok - weekly - sharedscripts - postrotate - killall -HUP bitcoind - endscript -} diff --git a/net-p2p/bitcoin-core/files/bitcoind.openrc b/net-p2p/bitcoin-core/files/bitcoind.openrc deleted file mode 100644 index 7d16e975e5e5..000000000000 --- a/net-p2p/bitcoin-core/files/bitcoind.openrc +++ /dev/null @@ -1,89 +0,0 @@ -#!/sbin/openrc-run - -: ${BITCOIND_CONFIGFILE:=/etc/bitcoin/bitcoin.conf} -: ${BITCOIND_PIDDIR:=/run/bitcoind} -: ${BITCOIND_PIDFILE:=${BITCOIND_PIDDIR}/${SVCNAME}.pid} -: ${BITCOIND_DATADIR:=/var/lib/bitcoind} -: ${BITCOIND_LOGDIR:=/var/log/bitcoind} -: ${BITCOIND_USER:=${BITCOIN_USER:-bitcoin}} -: ${BITCOIND_GROUP:=bitcoin} -: ${BITCOIND_BIN:=/usr/bin/bitcoind} -: ${BITCOIND_NICE:=${NICELEVEL:-0}} -: ${BITCOIND_OPTS=${BITCOIN_OPTS}} - -name="Bitcoin Core daemon" -description="Bitcoin cryptocurrency P2P network daemon" - -required_files="${BITCOIND_CONFIGFILE}" -pidfile="${BITCOIND_PIDFILE}" -in_background_fake="start" - -depend() { - need localmount net -} - -start_pre() { - checkpath -f --mode 0660 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_CONFIGFILE}" - checkpath -d --mode 0750 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_DATADIR}" - checkpath -d --mode 0755 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_LOGDIR}" - checkpath -d --mode 0755 --owner "${BITCOIND_USER}:${BITCOIND_GROUP}" "${BITCOIND_PIDDIR}" - checkconfig -} - -start() { - ebegin "Starting ${name}" - mark_service_inactive - if start-stop-daemon \ - --pidfile="${BITCOIND_PIDFILE}" \ - --chdir="${BITCOIND_DATADIR}" \ - --user="${BITCOIND_USER}:${BITCOIND_GROUP}" \ - --nice="${BITCOIND_NICE}" \ - --exec="${BITCOIND_BIN}" \ - -- \ - -daemonwait \ - -pid="${BITCOIND_PIDFILE}" \ - -conf="${BITCOIND_CONFIGFILE}" \ - -datadir="${BITCOIND_DATADIR}" \ - -debuglogfile="${BITCOIND_LOGDIR}/debug.log" \ - ${BITCOIND_OPTS} - then - chmod g+r "${BITCOIND_DATADIR}/.cookie" - IN_BACKGROUND=yes rc-service "${SVCNAME}" --quiet start - else - rc-service "${SVCNAME}" --quiet zap - fi & -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop \ - --pidfile="${BITCOIND_PIDFILE}" \ - --retry="${BITCOIND_SIGTERM_TIMEOUT}" \ - --exec="${BITCOIND_BIN}" - eend $? -} - -checkconfig() { - if grep -qs '^rpcuser=' "${BITCOIND_CONFIGFILE}" && - ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" - then - eerror "" - eerror "ERROR: You must set a secure rpcpassword to run bitcoind." - eerror "The setting must appear in ${BITCOIND_CONFIGFILE}" - eerror "" - eerror "This password is security critical to securing wallets " - eerror "and must not be the same as the rpcuser setting." - eerror "You can generate a suitable random password using the following " - eerror "command from the shell:" - eerror "" - eerror "bash -c 'tr -dc a-zA-Z0-9 < /dev/urandom | head -c32 && echo'" - eerror "" - eerror "It is recommended that you also set alertnotify so you are " - eerror "notified of problems:" - eerror "" - eerror "ie: alertnotify=echo %%s | mail -s \"Bitcoin Alert\"" \ - "admin@foo.com" - eerror "" - return 1 - fi -} diff --git a/net-p2p/bitcoin-core/files/org.bitcoin.bitcoin-qt.desktop b/net-p2p/bitcoin-core/files/org.bitcoin.bitcoin-qt.desktop deleted file mode 100644 index 21ae68c21b74..000000000000 --- a/net-p2p/bitcoin-core/files/org.bitcoin.bitcoin-qt.desktop +++ /dev/null @@ -1,15 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Version=1.0 -Name=Bitcoin Core -Comment=Connect to the Bitcoin P2P Network -Comment[de]=Verbinde mit dem Bitcoin peer-to-peer Netzwerk -Comment[fr]=Bitcoin, monnaie virtuelle cryptographique pair à pair -Comment[tr]=Bitcoin, eşten eşe kriptografik sanal para birimi -Exec=bitcoin-qt %u -Terminal=false -Type=Application -Icon=bitcoin128 -MimeType=x-scheme-handler/bitcoin; -Categories=Office;Finance;P2P;Network;Qt; -StartupWMClass=Bitcoin-qt diff --git a/net-p2p/bitcoin-core/metadata.xml b/net-p2p/bitcoin-core/metadata.xml deleted file mode 100644 index 688af2bee25d..000000000000 --- a/net-p2p/bitcoin-core/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>gentoo@mattwhitlock.name</email> - <name>Matt Whitlock</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="berkdb">Support legacy wallets in Berkeley DB format</flag> - <flag name="cli">Build and install bitcoin-cli command line interface</flag> - <flag name="daemon">Build and install bitcoind daemon</flag> - <flag name="external-signer">Include support for external wallet signer programs</flag> - <flag name="gui">Build and install Bitcoin-Qt GUI</flag> - <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag> - <flag name="sqlite">Support descriptor wallets in SQLite format</flag> - <flag name="system-libsecp256k1">Link with <pkg>dev-libs/libsecp256k1</pkg> rather than embedding an internal copy</flag> - <flag name="systemtap">Enable SystemTap/DTrace tracing</flag> - <flag name="test-full">Run tests that take a long time</flag> - <flag name="wallet">Support creating and loading wallets</flag> - <flag name="zeromq">Report blocks and transactions via zeromq</flag> - </use> - <upstream> - <remote-id type="github">bitcoin/bitcoin</remote-id> - <remote-id type="cpe">cpe:/a:bitcoin:bitcoin_core</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/bitflu/Manifest b/net-p2p/bitflu/Manifest deleted file mode 100644 index deca48f64499..000000000000 --- a/net-p2p/bitflu/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bitflu-1.52.tgz 162308 BLAKE2B 0f9e0c7121b9d36d8a071b6e6a88f1649202bddcd50935433f75bc077cd43df780d250405495b6da107575b56db81cb2f2a8acc13b674021e59e01596523d93f SHA512 fff6d253b57e43a2e5a917e508a864304c19d5c12e965abb74905bee1ecea10f79a3f3b7d7d0c8112bedabe2d42288171397bd03136a1f37c439039971659ebe diff --git a/net-p2p/bitflu/bitflu-1.52-r1.ebuild b/net-p2p/bitflu/bitflu-1.52-r1.ebuild deleted file mode 100644 index f6d0d7367da5..000000000000 --- a/net-p2p/bitflu/bitflu-1.52-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="BitTorrent client, written in Perl and is designed to run as a daemon" -HOMEPAGE="http://bitflu.workaround.ch" -SRC_URI="http://bitflu.workaround.ch/bitflu/${P}.tgz" - -LICENSE="Artistic-2 GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -DEPEND=" - acct-group/bitflu - acct-user/bitflu - dev-perl/Danga-Socket - dev-perl/Sys-Syscall -" -RDEPEND="${DEPEND}" - -src_compile() { :; } - -src_install() { - local PLUGINS="/usr/lib/bitflu" - local CONFDIR="/etc/bitflu" - local LOGDIR="/var/log/bitflu" - - # executable daemon - dosbin bitflu.pl - - # plugins - insinto "${PLUGINS}" - doins -r plugins - - # config file - insinto "${CONFDIR}" - fowners bitflu:bitflu "${CONFDIR}" - fperms 775 "${CONFDIR}" - doins "${FILESDIR}"/bitflu.config - fowners bitflu:bitflu "${CONFDIR}"/bitflu.config - fperms 664 "${CONFDIR}"/bitflu.config - - # log file - keepdir "${LOGDIR}" - fowners bitflu:bitflu "${LOGDIR}" - fperms 775 "${LOGDIR}" - - # docs - dodoc bitflu.config.example ChangeLog.txt CONTRIBUTING README_IPv6.txt \ - README.txt Documentation/bitflu-internals.txt - - newinitd "${FILESDIR}"/bitflu.initd bitflu -} - -pkg_postinst() { - ewarn "Note: At startup, or at the user's request, ${PN} (re)reads its" - ewarn "configuration file and overwrites it with its own sanitized" - ewarn "version. A backup is created in the configuration directory," - ewarn "/etc/${PN}, but that file will subseqently be overwritten if" - ewarn "a further backup is made. You may want to keep your own backup." - ewarn "A prestine example with comments may be found in /usr/share/doc/${P}." -} diff --git a/net-p2p/bitflu/files/bitflu.config b/net-p2p/bitflu/files/bitflu.config deleted file mode 100644 index 760a9eb350c7..000000000000 --- a/net-p2p/bitflu/files/bitflu.config +++ /dev/null @@ -1,45 +0,0 @@ -# Written by Bitflu::Configuration@2835 on Thu Jun 30 07:53:38 2011 -autocancel = 1.5 -autocommit = 1 -autoload_dir = /var/lib/bitflu/autoload -autoload_scan = 300 -chdir = -checkversion = 1309395241 -completed_downloads = /var/lib/bitflu/seeding -downspeed = 0 -history = 1 -http_autoloadtorrent = 1 -http_maxthreads = 10 -incomplete_downloads = /var/lib/bitflu/unfinished -ipv6 = 1 -kademlia_idseed = 0 -logfile = /var/log/bitflu/bitflu.log -loglevel = 5 -min_free_mb = 0 -pidfile = /var/run/bitflu/bitflu.pid -plugindir = /usr/lib/bitflu/plugins -pluginexclude = -renice = 8 -storage = StorageVFS -telnet_bind = 127.0.0.1 -telnet_maxhist = 20 -telnet_port = 4001 -telnet_view = type,name=25,hash,peers,pieces,bytes,percent,ratio,up,down,eta,note -torrent_bind = 0 -torrent_gcpriority = 5 -torrent_importdir = /var/lib/bitflu/import -torrent_maxpeers = 80 -torrent_maxreq = 6 -torrent_port = 6688 -torrent_totalpeers = 400 -torrent_tracker_autoudp = 1 -torrent_tracker_udpport = 6689 -torrent_trackerblacklist = -torrent_upslots = 10 -unshared_downloads = /var/lib/bitflu/removed -upspeed = 35 -vfs_use_fallocate = 0 -webgui_bind = 127.0.0.1 -webgui_port = 4081 -workdir = /var/lib/bitflu -# EOF # diff --git a/net-p2p/bitflu/files/bitflu.initd b/net-p2p/bitflu/files/bitflu.initd deleted file mode 100644 index c75bdf0a23f9..000000000000 --- a/net-p2p/bitflu/files/bitflu.initd +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DAEMON=/usr/sbin/bitflu.pl -PIDDIR=/var/run/bitflu -PIDFILE=${PIDDIR}/bitflu.pid -CONFFILE=/etc/bitflu/bitflu.config - -depend() { - need net -} - -checkconfig() { - if [ ! -f ${CONFFILE} ]; then - eerror "No config file ${CONFFILE}" - return 1 - fi - - if [ ! -d ${PIDDIR} ] && ! mkdir -p ${PIDDIR}; then - eerror "Failed to create ${PIDDIR}" - return 1 - fi - - chown bitflu:bitflu ${PIDDIR} -} - -start() { - checkconfig || return 1 - ebegin "Starting bitflu" - start-stop-daemon --start --pidfile "${PIDFILE}" --user bitflu:bitflu \ - --exec "${DAEMON}" -- --config="${CONFFILE}" --daemon -q >/dev/null 2>&1 - eend $? -} - -stop() { - ebegin "Stoping bitflu" - start-stop-daemon --stop --pidfile "${PIDFILE}" --exec "${DAEMON}" - eend $? -} - -restart() { - svc_stop - sleep 2 - svc_start -} diff --git a/net-p2p/bitflu/metadata.xml b/net-p2p/bitflu/metadata.xml deleted file mode 100644 index 271461b00c1e..000000000000 --- a/net-p2p/bitflu/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - Bitflu is a free BitTorrent client. The client was written in Perl and - is designed to run as a daemon (7x24h , like mlnet) on Linux, *BSD and - maybe even OSX. - </longdescription> -</pkgmetadata> diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest deleted file mode 100644 index 8f94adfe8391..000000000000 --- a/net-p2p/cpuminer-opt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cpuminer-opt-26.1.tar.gz 1772087 BLAKE2B 30a172dfcdb4fdb42f72ea4906a9bad643780c9758a07e8d84656100917b17927fa81fdea2d3a1914d09c8abdf29af73fb947d151af9fb4f67537e7e0d63098a SHA512 0c6aa9b39f1096c0e6f3433cd106f77950fc726f79a913fb2364acc09255ce7a5830ae18c2a4547a155ae41b1120a2497df4ceb6dc6b6a49eeb602a25db77b37 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-26.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-26.1.ebuild deleted file mode 100644 index b47b1e2713c4..000000000000 --- a/net-p2p/cpuminer-opt/cpuminer-opt-26.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic systemd - -DESCRIPTION="Optimized multi algo CPU miner" -HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" -IUSE="cpu_flags_x86_sse2 curl" -LICENSE="GPL-2" -SLOT="0" -REQUIRED_USE="cpu_flags_x86_sse2" -DEPEND=" - dev-libs/gmp:= - dev-libs/jansson:= - >=net-misc/curl-7.15[ssl] -" -RDEPEND="${DEPEND}" -if [[ ${PV} == "9999" ]] ; then - SRC_URI="" - EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" - inherit git-r3 -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -fi - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-ldflags -Wl,-z,noexecstack - econf --with-crypto --with-curl -} - -src_install() { - default - systemd_dounit "${FILESDIR}"/${PN}.service - insinto "/etc/${PN}" - newins config-template.json cpuminer-conf.json -} - -src_test() { - ./cpuminer --cputest || die -} diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild deleted file mode 100644 index 7a6224bf33d8..000000000000 --- a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic systemd - -DESCRIPTION="Optimized multi algo CPU miner" -HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" -IUSE="cpu_flags_x86_sse2 curl" -LICENSE="GPL-2" -SLOT="0" -REQUIRED_USE="cpu_flags_x86_sse2" -DEPEND=" - dev-libs/gmp:= - dev-libs/jansson:= - >=net-misc/curl-7.15[ssl] -" -RDEPEND="${DEPEND}" -if [[ ${PV} == "9999" ]] ; then - SRC_URI="" - EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" - inherit git-r3 -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -fi - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-ldflags -Wl,-z,noexecstack - econf --with-crypto --with-curl -} - -src_install() { - default - systemd_dounit "${FILESDIR}"/${PN}.service - insinto "/etc/${PN}" - newins config-template.json cpuminer-conf.json -} - -src_test() { - ./cpuminer --cputest || die -} diff --git a/net-p2p/cpuminer-opt/files/cpuminer-opt.service b/net-p2p/cpuminer-opt/files/cpuminer-opt.service deleted file mode 100644 index 90ee849c5bac..000000000000 --- a/net-p2p/cpuminer-opt/files/cpuminer-opt.service +++ /dev/null @@ -1,27 +0,0 @@ -[Unit] -Description=CPU mining daemon for cryptocurrencies -After=network-online.target -AssertFileNotEmpty=/etc/cpuminer-opt/cpuminer-conf.json - -[Service] -ExecStart=/usr/bin/cpuminer --syslog --config=/etc/cpuminer-opt/cpuminer-conf.json -DynamicUser=true -CPUSchedulingPolicy=idle -PrivateTmp=true -ProtectHome=true -ProtectSystem=strict -NoNewPrivileges=true -PrivateDevices=true -CapabilityBoundingSet= -MemoryDenyWriteExecute=true -ProtectKernelModules=true -ProtectKernelTunables=true -ProtectControlGroups=true -RestrictRealtime=true -RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX -RestrictNamespaces=true -PrivateUsers=true -ConfigurationDirectory=cpuminer-opt - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/cpuminer-opt/metadata.xml b/net-p2p/cpuminer-opt/metadata.xml deleted file mode 100644 index a6c1cc380629..000000000000 --- a/net-p2p/cpuminer-opt/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>candrews@gentoo.org</email> - <name>Craig Andrews</name> - </maintainer> - <upstream> - <remote-id type="github">JayDDee/cpuminer-opt</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/ctorrent/Manifest b/net-p2p/ctorrent/Manifest deleted file mode 100644 index 95de6861ddb2..000000000000 --- a/net-p2p/ctorrent/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ctorrent-dnh3.3.2.tar.gz 219053 BLAKE2B a05958e85721b8a119a9ee9fdf80071456420b023767bda1c19d9021646236745ee6515bea1213ea3a513fad47ae0f7ecb843504e8015b5ed23b964e16b08f4c SHA512 e59b2b899b8603e42a5754d5ce65f661b135b8e107140e0472af379b2b06ee2985239ed0ebf19dcaef788e617b99eac35ad32ad2d10352e2fcf5a6dc084d27dd diff --git a/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild b/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild deleted file mode 100644 index 829ee5d725c9..000000000000 --- a/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-dnh${PV}" - -DESCRIPTION="Enhanced CTorrent is a BitTorrent console client written in C and C++" -HOMEPAGE="http://www.rahul.net/dholmes/ctorrent/" -SRC_URI="mirror://sourceforge/dtorrent/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ppc ~s390 ~sparc x86" -IUSE="" - -RDEPEND=" - - dev-libs/openssl:0= -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-CVE-2009-1759.patch - "${FILESDIR}"/${P}-negative-ints.patch - "${FILESDIR}"/${P}-empty-path-components.patch - "${FILESDIR}"/${P}-sys-types_h.patch -) diff --git a/net-p2p/ctorrent/files/ctorrent-3.3.2-empty-path-components.patch b/net-p2p/ctorrent/files/ctorrent-3.3.2-empty-path-components.patch deleted file mode 100644 index fce41d4feff5..000000000000 --- a/net-p2p/ctorrent/files/ctorrent-3.3.2-empty-path-components.patch +++ /dev/null @@ -1,38 +0,0 @@ -rTorrent sometimes creates invalid torrents which has empty path components. -the bitorrent spec allows for "" strings, but they make no sense in paths. -so instead of always adding a / in between, skip them. ugh. - -for example: -dict { - 'info' => dict { - 'name' => str = "some dir" (len = 8) - 'files' => list [ - dict { - 'length' => int = 12345567 - 'path' => list [ - str = "" (len = 0) - str = "foo.bin" (len = 7) - ] - } - ... - ] - ... - } - ... -} - -ctorrent will then try to fetch the file "/some dir/foo.bin" instead of -"some dir/foo.bin" (relative to $PWD). - ---- a/bencode.cpp -+++ b/bencode.cpp -@@ -258,7 +258,8 @@ - n -= r; - if( 'e' == *pb ) break; - if( pathname >= endmax ) return 0; -- *pathname++ = PATH_SP; -+ if (q) -+ *pathname++ = PATH_SP; - } - *pathname = '\0'; - return (pb - b + 1); diff --git a/net-p2p/ctorrent/files/ctorrent-3.3.2-negative-ints.patch b/net-p2p/ctorrent/files/ctorrent-3.3.2-negative-ints.patch deleted file mode 100644 index c3f98c713d01..000000000000 --- a/net-p2p/ctorrent/files/ctorrent-3.3.2-negative-ints.patch +++ /dev/null @@ -1,17 +0,0 @@ -allow negative integers ... should fix random "error, initial meta info failed" - -https://sourceforge.net/tracker/?func=detail&aid=3159066&group_id=202532&atid=981959 - ---- ctorrent-dnh3.3.2/bencode.cpp -+++ ctorrent-dnh3.3.2/bencode.cpp -@@ -44,6 +44,10 @@ - p++; len--; - } - -+ if( *p == '-'){ -+ p++; len--; -+ } -+ - for(psave = p; len && isdigit(*p); p++,len--) ; - - if(!len || MAX_INT_SIZ < (p - psave) || *p != endchar) return 0; diff --git a/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch b/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch deleted file mode 100644 index bf93cb2a3bb3..000000000000 --- a/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/compat.c -+++ b/compat.c -@@ -8,6 +8,8 @@ - #include <sys/param.h> - #endif - -+#include <sys/types.h> -+ - #include "compat.h" - - #ifndef HAVE_CLOCK_GETTIME diff --git a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch b/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch deleted file mode 100644 index f732278a18d0..000000000000 --- a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch +++ /dev/null @@ -1,364 +0,0 @@ -Patch for CVE-2009-1759. -Source: Upstream SVN, rev 302 from the drorrent-3 branch. - -Index: bencode.h -=================================================================== ---- a/bencode.h (revision 300) -+++ b/bencode.h (revision 302) -@@ -25,7 +25,7 @@ - size_t decode_list(const char *b,size_t len,const char *keylist); - size_t decode_rev(const char *b,size_t len,const char *keylist); - size_t decode_query(const char *b,size_t len,const char *keylist,const char **ps,size_t *pi,int64_t *pl,int method); --size_t decode_list2path(const char *b, size_t n, char *pathname); -+size_t decode_list2path(const char *b, size_t n, char *pathname, size_t maxlen); - size_t bencode_buf(const char *str,size_t len,FILE *fp); - size_t bencode_str(const char *str, FILE *fp); - size_t bencode_int(const uint64_t integer, FILE *fp); -Index: bencode.cpp -=================================================================== ---- a/bencode.cpp (revision 300) -+++ b/bencode.cpp (revision 302) -@@ -233,22 +233,28 @@ - return bencode_end_dict_list(fp); - } - --size_t decode_list2path(const char *b, size_t n, char *pathname) -+size_t decode_list2path(const char *b, size_t n, char *pathname, size_t maxlen) - { - const char *pb = b; - const char *s = (char *) 0; -+ const char *endmax = pathname + maxlen - 1; - size_t r,q; - - if( 'l' != *pb ) return 0; - pb++; - n--; - if( !n ) return 0; -- for(; n;){ -+ while( n && pathname < endmax ){ - if(!(r = buf_str(pb, n, &s, &q)) ) return 0; -+ if( q >= maxlen ) return 0; - memcpy(pathname, s, q); - pathname += q; -- pb += r; n -= r; -- if( 'e' != *pb ){*pathname = PATH_SP, pathname++;} else break; -+ maxlen -= q; -+ pb += r; -+ n -= r; -+ if( 'e' == *pb ) break; -+ if( pathname >= endmax ) return 0; -+ *pathname++ = PATH_SP; - } - *pathname = '\0'; - return (pb - b + 1); -Index: btfiles.cpp -=================================================================== ---- a/btfiles.cpp (revision 300) -+++ b/btfiles.cpp (revision 302) -@@ -449,7 +449,8 @@ - return 0; - } - --int btFiles::BuildFromMI(const char *metabuf, const size_t metabuf_len, const char *saveas) -+int btFiles::BuildFromMI(const char *metabuf, const size_t metabuf_len, -+ const char *saveas, unsigned char exam_only) - { - char path[MAXPATHLEN]; - const char *s, *p; -@@ -458,11 +459,19 @@ - int f_warned = 0; - - if( !decode_query(metabuf, metabuf_len, "info|name", &s, &q, (int64_t*)0, -- QUERY_STR) || MAXPATHLEN <= q ) -+ QUERY_STR) || MAXPATHLEN <= q ){ -+ errno = EINVAL; - return -1; -+ } - - memcpy(path, s, q); - path[q] = '\0'; -+ if( !exam_only && -+ (PATH_SP == path[0] || '/' == path[0] || 0==strncmp("..", path, 2)) ){ -+ CONSOLE.Warning(1, "error, unsafe path \"%s\" in torrent data", path); -+ errno = EINVAL; -+ return -1; -+ } - - r = decode_query(metabuf, metabuf_len, "info|files", (const char**)0, &q, - (int64_t*)0, QUERY_POS); -@@ -471,21 +480,31 @@ - BTFILE *pbf_last = (BTFILE*) 0; - BTFILE *pbf = (BTFILE*) 0; - size_t dl; -+ unsigned long nfiles = 0; -+ - if( decode_query(metabuf,metabuf_len,"info|length", -- (const char**) 0,(size_t*) 0,(int64_t*) 0,QUERY_LONG) ) -+ (const char**) 0,(size_t*) 0,(int64_t*) 0,QUERY_LONG) ){ -+ errno = EINVAL; - return -1; -+ } - - if( saveas ){ - m_directory = new char[strlen(saveas) + 1]; - #ifndef WINDOWS -- if(!m_directory) return -1; -+ if( !m_directory ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_directory,saveas); - }else{ - int f_conv; - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ - if( arg_flg_convert_filenames ){ -@@ -493,6 +512,7 @@ - #ifndef WINDOWS - if( !m_directory ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -507,7 +527,10 @@ - if( !f_conv || !arg_flg_convert_filenames ){ - m_directory = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if( !m_directory ) return -1; -+ if( !m_directory ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_directory,path); - } -@@ -517,24 +540,50 @@ - p = metabuf + r + 1; - q--; - for(; q && 'e' != *p; p += dl, q -= dl){ -- if(!(dl = decode_dict(p, q, (const char*) 0)) ) return -1; -- if( !decode_query(p, dl, "length", (const char**) 0, -- (size_t*) 0,&t,QUERY_LONG) ) return -1; -+ if( !(dl = decode_dict(p, q, (const char*) 0)) || -+ !decode_query(p, dl, "length", (const char**) 0, (size_t*) 0, &t, -+ QUERY_LONG) ){ -+ errno = EINVAL; -+ return -1; -+ } - pbf = _new_bfnode(); - #ifndef WINDOWS -- if( !pbf ) return -1; -+ if( !pbf ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif -+ nfiles++; - pbf->bf_length = t; - m_total_files_length += t; - r = decode_query(p, dl, "path", (const char **)0, &n, (int64_t*)0, - QUERY_POS); -- if( !r ) return -1; -- if(!decode_list2path(p + r, n, path)) return -1; -+ if( !r || !decode_list2path(p + r, n, path, sizeof(path)) ){ -+ CONSOLE.Warning(1, -+ "error, invalid path in torrent data for file %lu at offset %llu", -+ nfiles, m_total_files_length - t); -+ delete pbf; -+ errno = EINVAL; -+ return -1; -+ } -+ if( !exam_only && -+ (PATH_SP == path[0] || '/' == path[0] || 0==strncmp("..", path, 2)) ){ -+ CONSOLE.Warning(1, -+ "error, unsafe path \"%s\" in torrent data for file %lu", -+ path, nfiles); -+ delete pbf; -+ errno = EINVAL; -+ return -1; -+ } - -+ - int f_conv; - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ - if( arg_flg_convert_filenames ){ -@@ -542,6 +591,7 @@ - #ifndef WINDOWS - if( !pbf->bf_filename ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -556,7 +606,10 @@ - if( !f_conv || !arg_flg_convert_filenames ){ - pbf->bf_filename = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if( !pbf->bf_filename ) return -1; -+ if( !pbf->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(pbf->bf_filename, path); - } -@@ -564,30 +617,42 @@ - pbf_last = pbf; - } - }else{ -- if( !decode_query(metabuf,metabuf_len,"info|length", -- (const char**) 0,(size_t*) 0,&t,QUERY_LONG) ) -+ if( !decode_query(metabuf,metabuf_len, "info|length", -+ (const char**)0, (size_t*) 0, &t, QUERY_LONG) ){ -+ errno = EINVAL; - return -1; -+ } - m_btfhead = _new_bfnode(); - #ifndef WINDOWS -- if( !m_btfhead) return -1; -+ if( !m_btfhead ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - m_btfhead->bf_length = m_total_files_length = t; - if( saveas ){ - m_btfhead->bf_filename = new char[strlen(saveas) + 1]; - #ifndef WINDOWS -- if(!m_btfhead->bf_filename ) return -1; -+ if( !m_btfhead->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_btfhead->bf_filename, saveas); - }else if( arg_flg_convert_filenames ){ - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - ConvertFilename(tmpfn, path, strlen(path)*2+5); - m_btfhead->bf_filename = new char[strlen(tmpfn) + 1]; - #ifndef WINDOWS - if( !m_btfhead->bf_filename ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -596,7 +661,10 @@ - }else{ - m_btfhead->bf_filename = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if(!m_btfhead->bf_filename ) return -1; -+ if( !m_btfhead->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_btfhead->bf_filename, path); - } -@@ -694,6 +762,32 @@ - size_t btFiles::FillMetaInfo(FILE* fp) - { - BTFILE *p; -+ const char *refname, *s; -+ char path[MAXPATHLEN]; -+ -+ refname = m_directory ? m_directory : m_btfhead->bf_filename; -+ while( (s = strchr(refname, PATH_SP)) && *(s + 1) ){ -+ refname = s + 1; -+ } -+ if( m_directory && '.' == *refname ){ -+ char dir[MAXPATHLEN]; -+ if( getcwd(dir, sizeof(dir)) && 0==chdir(m_directory) ){ -+ if( getcwd(path, sizeof(path)) ){ -+ refname = path; -+ while( (s = strchr(refname, PATH_SP)) && *(s + 1) ){ -+ refname = s + 1; -+ } -+ } -+ chdir(dir); -+ } -+ } -+ if( '/' == *refname || '\0' == *refname || '.' == *refname ){ -+ CONSOLE.Warning(1, "error, inappropriate file or directory name \"%s\"", -+ m_directory ? m_directory : m_btfhead->bf_filename); -+ errno = EINVAL; -+ return 0; -+ } -+ - if( m_directory ){ - // multi files - if( bencode_str("files", fp) != 1 ) return 0; -@@ -715,16 +809,15 @@ - if(bencode_end_dict_list(fp) != 1 ) return 0; - - if(bencode_str("name", fp) != 1) return 0; -- return bencode_str(m_directory, fp); -- -+ return bencode_str(refname, fp); - }else{ - if( bencode_str("length", fp) != 1 ) return 0; - if( bencode_int(m_btfhead->bf_length, fp) != 1) return 0; - - if( bencode_str("name", fp) != 1 ) return 0; -- return bencode_str(m_btfhead->bf_filename, fp); -+ return bencode_str(refname, fp); - } -- return 1; -+ return 0; - } - - -Index: btcontent.cpp -=================================================================== ---- a/btcontent.cpp (revision 300) -+++ b/btcontent.cpp (revision 302) -@@ -357,7 +357,11 @@ - - cfg_req_queue_length = (m_piece_length / cfg_req_slice_size) * 2 - 1; - -- if( m_btfiles.BuildFromMI(b, flen, saveas) < 0 ) ERR_RETURN(); -+ if( m_btfiles.BuildFromMI(b, flen, saveas, arg_flg_exam_only) < 0 ){ -+ if( EINVAL == errno ) -+ CONSOLE.Warning(1, "Torrent metainfo file data is invalid or unusable."); -+ ERR_RETURN(); -+ } - - delete []b; - b = (char *)0; -Index: btfiles.h -=================================================================== ---- a/btfiles.h (revision 300) -+++ b/btfiles.h (revision 302) -@@ -61,7 +61,7 @@ - - int BuildFromFS(const char *pathname); - int BuildFromMI(const char *metabuf, const size_t metabuf_len, -- const char *saveas); -+ const char *saveas, unsigned char exam_only); - - char *GetDataName() const; - uint64_t GetTotalLength() const { return m_total_files_length; } diff --git a/net-p2p/ctorrent/metadata.xml b/net-p2p/ctorrent/metadata.xml deleted file mode 100644 index 36acccda7221..000000000000 --- a/net-p2p/ctorrent/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/net-p2p/dbhub/Manifest b/net-p2p/dbhub/Manifest deleted file mode 100644 index f7a19eb61495..000000000000 --- a/net-p2p/dbhub/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dbhub-0.451.tbz2 239911 BLAKE2B 064ab63f22ed3e0314ea7007acd63212bef33905079c342a8aad90f009a35ab874efb605320cce9a90d97c0fda3be96af97d6c44a5dffcd9d87d79cd07853fc8 SHA512 c596205b24204d0b319117aa0005cedb143a5d4859c2ea702a6141e82793ab6396c6e1903a3d0db7a164e8b9947471722b252be89df8ab05d36ffee5a1ac7a27 diff --git a/net-p2p/dbhub/dbhub-0.451-r3.ebuild b/net-p2p/dbhub/dbhub-0.451-r3.ebuild deleted file mode 100644 index c9e4522d6b46..000000000000 --- a/net-p2p/dbhub/dbhub-0.451-r3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GENTOO_DEPEND_ON_PERL=no -inherit autotools flag-o-matic perl-module - -DESCRIPTION="Hub software for Direct Connect, fork of opendchub" -HOMEPAGE="https://sourceforge.net/projects/dbhub/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tbz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="debug nls perl switch-user ${GENTOO_PERL_USESTRING}" - -DEPEND=" - virtual/libcrypt:= - perl? ( - ${GENTOO_PERL_DEPSTRING} - dev-lang/perl:= - ) - switch-user? ( sys-libs/libcap ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-gentoo.patch - "${FILESDIR}"/${PN}-no-dynaloader.patch - "${FILESDIR}"/${PN}-fix-buffer-overflows.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-flags -fcommon - - # bashism in perl check - CONFIG_SHELL="${BROOT}"/bin/bash econf \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable perl) \ - $(use_enable switch-user switch_user) -} - -src_compile() { - # Avoid perl-module_src_compile (bug #963096) - default -} - -src_test() { - # Avoid perl-module_src_test (bug #963096) - default -} - -src_install() { - # Avoid perl-module_src_install (bug #963096) - default -} diff --git a/net-p2p/dbhub/files/dbhub-fix-buffer-overflows.patch b/net-p2p/dbhub/files/dbhub-fix-buffer-overflows.patch deleted file mode 100644 index 8c4395d75d0a..000000000000 --- a/net-p2p/dbhub/files/dbhub-fix-buffer-overflows.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 6d52acedf13eba875ab064d1a3b6a0ac3afb24f3 Mon Sep 17 00:00:00 2001 -From: Stanislav Ochotnicky <sochotnicky@gentoo.org> -Date: Wed, 19 Jan 2011 21:06:05 +0100 -Subject: [PATCH] Fix buffer overflows - ---- - src/commands.c | 2 +- - src/main.c | 2 +- - src/main.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/commands.c b/src/commands.c -index f66ad68..e0bc6a8 100644 ---- a/src/commands.c -+++ b/src/commands.c -@@ -313,7 +313,7 @@ void chat(char *buf, struct user_t *user) - char kg2user[51]; - char largestring[501]; - char msgl[801]; -- char bigstring[1001]; -+ char bigstring[4096]; - char tempstring[151]; - char nick[51]; - char phrase[51]; -diff --git a/src/main.c b/src/main.c -index dec3ef8..85dad68 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -506,7 +506,7 @@ void alarm_signal(int z){ - void alarm_handler(void) - { - struct sock_t *human_user; -- char sometxt[151]; -+ char sometxt[250]; - char somerec[21]; - char showrec[251]; - char recpath[MAX_FDP_LEN+1]; -diff --git a/src/main.h b/src/main.h -index 886312e..da1ead5 100644 ---- a/src/main.h -+++ b/src/main.h -@@ -430,7 +430,7 @@ int brokensr; /* 1 means share record was broken */ - char recordshstr[120]; - char recordusstr[120]; - --char clocknick[21]; -+char clocknick[50]; - - //DB// Pointers that count various things and display them in !ui command to admins/owners - long long blocked_pm; --- -1.7.3.4 - diff --git a/net-p2p/dbhub/files/dbhub-gentoo.patch b/net-p2p/dbhub/files/dbhub-gentoo.patch deleted file mode 100644 index 509db33e61a9..000000000000 --- a/net-p2p/dbhub/files/dbhub-gentoo.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -115,7 +115,7 @@ - AC_MSG_CHECKING([Perl LD Objs]) - AC_MSG_RESULT([$perl_ldd]) - CPPFLAGS="$CPPFLAGS $perl_ccflags" -- LDFLAGS="$LDFLAGS $perl_ld" -+ LIBS="$LIBS $perl_ld" - MISSING_PERL_HEADERS="" - AC_CHECK_HEADERS([EXTERN.h perl.h],,HAVE_PERL="false"; MISSING_PERL_HEADERS="$ac_header $MISSING_PERL_HEADERS",[[#if HAVE_EXTERN_H - #include <EXTERN.h> -@@ -141,13 +141,6 @@ - - AM_CONDITIONAL([BNLS],[test "$want_nls" = "yes"]) - --dnl Check if config directory exists. --if test ! -d $HOME/.dbhub; then -- echo "creating config directory: $HOME/.dbhub" -- mkdir $HOME/.dbhub -- chmod 700 $HOME/.dbhub; --fi -- - AC_OUTPUT(Makefile src/Makefile) - - echo -e "\n\e@<:@1m-------------------------------------------------\e@<:@0m" diff --git a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch b/net-p2p/dbhub/files/dbhub-no-dynaloader.patch deleted file mode 100644 index f71bb19a0a64..000000000000 --- a/net-p2p/dbhub/files/dbhub-no-dynaloader.patch +++ /dev/null @@ -1,12 +0,0 @@ -http://bugs.gentoo.org/276928 - ---- a/configure.ac -+++ b/configure.ac -@@ -122,7 +122,6 @@ - #endif - ]]) - AC_CHECK_LIB([perl],[perl_run],,LIBPERL_MISSING="true";HAVE_PERL="false") -- AC_CHECK_FILE("$perl_loader", [AC_SUBST(perl_ldd) HAVE_DYNLOAD="yes"], HAVE_DYNLOAD="no";HAVE_PERL="false") - else - HAVE_PERL="false" - fi diff --git a/net-p2p/dbhub/metadata.xml b/net-p2p/dbhub/metadata.xml deleted file mode 100644 index 9859937309aa..000000000000 --- a/net-p2p/dbhub/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="switch-user">Enable support for switching user</flag> - </use> - <upstream> - <remote-id type="sourceforge">dbhub</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/deluge/Manifest b/net-p2p/deluge/Manifest deleted file mode 100644 index a393a1666324..000000000000 --- a/net-p2p/deluge/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST deluge-2.1.1.tar.xz 2541968 BLAKE2B 3fe59ad8b402281dd0e19504d10a8d9e2967911e9967613a0d5a146d9ca261cb59d2208f8bd529e7f1da824e125ffb590d12b337dd9655e78b54252b021ae8da SHA512 e94208981aee45f42b88e1c544b07e7b0d0f2c4ade6b7f37257b69d4a3394c89aff217cde699e79ad59de6d2ee4eca7a558f2b85505d2140ba73f1f76f184455 -DIST deluge-2.2.0.tar.xz 1872472 BLAKE2B 19c2de451359b3da2909fe5842ad6271c2670a9884874643d3e6496a4a2e9ecec441f671b59682a131483c2c454d6ece679d15972771ef56458948660117b5dc SHA512 92322dc230150204af7f969ccff7011269336c87dd7450b648b760265da135022614a632e25879cae3a2e0817bc21e7a5bf52cca0c4fc16aff775b9e876af52c diff --git a/net-p2p/deluge/deluge-2.1.1-r8.ebuild b/net-p2p/deluge/deluge-2.1.1-r8.ebuild deleted file mode 100644 index f2638eaadb26..000000000000 --- a/net-p2p/deluge/deluge-2.1.1-r8.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd xdg - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" -else - SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="console gui libnotify sound webinterface" -REQUIRED_USE=" - libnotify? ( gui ) - sound? ( gui ) -" - -BDEPEND=" - dev-util/intltool -" - -RDEPEND=" - acct-group/deluge - acct-user/deluge - net-libs/libtorrent-rasterbar:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - gui? ( - sound? ( dev-python/pygame[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[${PYTHON_USEDEP}] - gnome-base/librsvg - libnotify? ( x11-libs/libnotify ) - ) - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pkg-resources[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ') -" - -PATCHES=( - "${FILESDIR}/${P}-twisted-22.10.patch" - # https://dev.deluge-torrent.org/ticket/3598 - "${FILESDIR}/${P}-ayatana.patch" - # https://dev.deluge-torrent.org/ticket/3582 - "${FILESDIR}/${P}-consoleui-deferred.patch" - "${FILESDIR}/${P}-email-module-replace.patch" -) - -EPYTEST_PLUGINS=( pytest-twisted ) -distutils_enable_tests pytest - -python_prepare_all() { - local args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=( - # Upstream CI/CD skips these and they seem to intentionally segfault to collect core dumps... - deluge/plugins/Stats/deluge_stats/tests/test_stats.py - # Skipped upstream - deluge/tests/test_security.py - ) - local EPYTEST_DESELECT=( - # Skipped upstream - 'deluge/plugins/WebUi/deluge_webui/tests/test_plugin_webui.py::TestWebUIPlugin::test_enable_webui' - 'deluge/tests/test_torrent.py::TestTorrent::test_torrent_error_resume_data_unaltered' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_seo_svg_with_sni' - # never returns - 'deluge/tests/test_ui_entry.py::TestConsoleScriptEntryWithDaemon' - # failing network(?)-related tests, even with sandbox disabled - 'deluge/tests/test_common.py::TestCommon::test_is_interface' - # fails - 'deluge/tests/test_core.py::TestCore::test_pause_torrents' - # fails because of network sandbox - 'deluge/tests/test_core.py::TestCore::test_test_listen_port' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_deluge_png' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_hebrew' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_with_redirect' - # segfaults with FEATURES="network-sandbox" - 'deluge/tests/test_core.py::TestCore::test_pause_torrent' - ) - - epytest -m "not (todo or gtkui)" -v -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/console/" || die - rm "${ED}/usr/bin/deluge-console" || die - rm "${ED}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gui ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/gtk3/" || die - rm -r "${ED}/usr/share/icons/" || die - rm "${ED}/usr/bin/deluge-gtk" || die - rm "${ED}/usr/share/man/man1/deluge-gtk.1" || die - else - mkdir -p "${ED}/usr/share/applications/" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die - mkdir -p "${ED}/usr/share/metainfo" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/appdata/deluge.appdata.xml" "${ED}/usr/share/metainfo/" || die - fi - - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init-2" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die - rm "${ED}/usr/bin/deluge-web" || die - rm "${ED}/usr/share/man/man1/deluge-web.1" || die - fi - - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf - - python_optimize -} - -pkg_postinst() { - xdg_pkg_postinst - - elog - elog "If, after upgrading, deluge doesn't work please back up and then" - elog "remove your '~/.config/deluge' directory and try again" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "'/etc/init.d/deluged start' as root if you use OpenRC" - elog "or" - elog "'systemctl start deluged.service' as root if you use systemd" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information see https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-2.1.1-r9.ebuild b/net-p2p/deluge/deluge-2.1.1-r9.ebuild deleted file mode 100644 index bc9633e4f3c5..000000000000 --- a/net-p2p/deluge/deluge-2.1.1-r9.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd xdg - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" -else - SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="appindicator console gui libnotify sound webinterface" -REQUIRED_USE=" - appindicator? ( gui ) - libnotify? ( gui ) - sound? ( gui ) -" - -BDEPEND=" - dev-util/intltool -" - -RDEPEND=" - acct-group/deluge - acct-user/deluge - net-libs/libtorrent-rasterbar:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - gui? ( - sound? ( dev-python/pygame[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[${PYTHON_USEDEP}] - ) - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pkg-resources[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ') - appindicator? ( dev-libs/libayatana-appindicator ) - gui? ( - gnome-base/librsvg - libnotify? ( x11-libs/libnotify ) - ) -" - -PATCHES=( - "${FILESDIR}/${P}-twisted-22.10.patch" - # https://dev.deluge-torrent.org/ticket/3598 - "${FILESDIR}/${P}-ayatana.patch" - # https://dev.deluge-torrent.org/ticket/3582 - "${FILESDIR}/${P}-consoleui-deferred.patch" - "${FILESDIR}/${P}-email-module-replace.patch" -) - -EPYTEST_PLUGINS=( pytest-twisted ) -distutils_enable_tests pytest - -python_prepare_all() { - local args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=( - # Upstream CI/CD skips these and they seem to intentionally segfault to collect core dumps... - deluge/plugins/Stats/deluge_stats/tests/test_stats.py - # Skipped upstream - deluge/tests/test_security.py - ) - local EPYTEST_DESELECT=( - # Skipped upstream - 'deluge/plugins/WebUi/deluge_webui/tests/test_plugin_webui.py::TestWebUIPlugin::test_enable_webui' - 'deluge/tests/test_torrent.py::TestTorrent::test_torrent_error_resume_data_unaltered' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_seo_svg_with_sni' - # never returns - 'deluge/tests/test_ui_entry.py::TestConsoleScriptEntryWithDaemon' - # failing network(?)-related tests, even with sandbox disabled - 'deluge/tests/test_common.py::TestCommon::test_is_interface' - # fails - 'deluge/tests/test_core.py::TestCore::test_pause_torrents' - # fails because of network sandbox - 'deluge/tests/test_core.py::TestCore::test_test_listen_port' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_deluge_png' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_hebrew' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_with_redirect' - # segfaults with FEATURES="network-sandbox" - 'deluge/tests/test_core.py::TestCore::test_pause_torrent' - ) - - epytest -m "not (todo or gtkui)" -v -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/console/" || die - rm "${ED}/usr/bin/deluge-console" || die - rm "${ED}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gui ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/gtk3/" || die - rm -r "${ED}/usr/share/icons/" || die - rm "${ED}/usr/bin/deluge-gtk" || die - rm "${ED}/usr/share/man/man1/deluge-gtk.1" || die - else - mkdir -p "${ED}/usr/share/applications/" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die - mkdir -p "${ED}/usr/share/metainfo" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/appdata/deluge.appdata.xml" "${ED}/usr/share/metainfo/" || die - fi - - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init-2" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die - rm "${ED}/usr/bin/deluge-web" || die - rm "${ED}/usr/share/man/man1/deluge-web.1" || die - fi - - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf - - python_optimize -} - -pkg_postinst() { - xdg_pkg_postinst - - elog - elog "If, after upgrading, deluge doesn't work please back up and then" - elog "remove your '~/.config/deluge' directory and try again" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "'/etc/init.d/deluged start' as root if you use OpenRC" - elog "or" - elog "'systemctl start deluged.service' as root if you use systemd" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information see https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-2.2.0-r1.ebuild b/net-p2p/deluge/deluge-2.2.0-r1.ebuild deleted file mode 100644 index e8667487af9b..000000000000 --- a/net-p2p/deluge/deluge-2.2.0-r1.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd xdg - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" -else - SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="appindicator console gui libnotify sound webinterface" -REQUIRED_USE=" - appindicator? ( gui ) - libnotify? ( gui ) - sound? ( gui ) -" - -BDEPEND=" - dev-util/intltool -" - -RDEPEND=" - acct-group/deluge - acct-user/deluge - net-libs/libtorrent-rasterbar:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - gui? ( - sound? ( dev-python/pygame[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[${PYTHON_USEDEP}] - ) - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pkg-resources[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ') - appindicator? ( dev-libs/libayatana-appindicator ) - gui? ( - gnome-base/librsvg - libnotify? ( x11-libs/libnotify ) - ) -" - -EPYTEST_PLUGINS=( pytest-twisted ) -distutils_enable_tests pytest - -python_prepare_all() { - local args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=( - # Upstream CI/CD skips these and they seem to intentionally segfault to collect core dumps... - deluge/plugins/Stats/deluge_stats/tests/test_stats.py - # Skipped upstream - deluge/tests/test_security.py - ) - local EPYTEST_DESELECT=( - # Skipped upstream - 'deluge/plugins/WebUi/deluge_webui/tests/test_plugin_webui.py::TestWebUIPlugin::test_enable_webui' - 'deluge/tests/test_torrent.py::TestTorrent::test_torrent_error_resume_data_unaltered' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_seo_svg_with_sni' - # never returns - 'deluge/tests/test_ui_entry.py::TestConsoleScriptEntryWithDaemon' - # failing network(?)-related tests, even with sandbox disabled - 'deluge/tests/test_common.py::TestCommon::test_is_interface' - # fails - 'deluge/tests/test_core.py::TestCore::test_pause_torrents' - # fails because of network sandbox - 'deluge/tests/test_core.py::TestCore::test_test_listen_port' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_deluge_png' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_hebrew' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_with_redirect' - # segfaults with FEATURES="network-sandbox" - 'deluge/tests/test_core.py::TestCore::test_pause_torrent' - ) - - epytest -m "not (todo or gtkui)" -v -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/console/" || die - rm "${ED}/usr/bin/deluge-console" || die - rm "${ED}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gui ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/gtk3/" || die - rm -r "${ED}/usr/share/icons/" || die - rm "${ED}/usr/bin/deluge-gtk" || die - rm "${ED}/usr/share/man/man1/deluge-gtk.1" || die - else - mkdir -p "${ED}/usr/share/applications/" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die - mkdir -p "${ED}/usr/share/metainfo" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/metainfo/deluge.metainfo.xml" "${ED}/usr/share/metainfo/" || die - fi - - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init-2" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die - rm "${ED}/usr/bin/deluge-web" || die - rm "${ED}/usr/share/man/man1/deluge-web.1" || die - fi - - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf - - python_optimize -} - -pkg_postinst() { - xdg_pkg_postinst - - elog - elog "If, after upgrading, deluge doesn't work please back up and then" - elog "remove your '~/.config/deluge' directory and try again" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "'/etc/init.d/deluged start' as root if you use OpenRC" - elog "or" - elog "'systemctl start deluged.service' as root if you use systemd" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information see https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-2.2.0-r2.ebuild b/net-p2p/deluge/deluge-2.2.0-r2.ebuild deleted file mode 100644 index 0a46aef69594..000000000000 --- a/net-p2p/deluge/deluge-2.2.0-r2.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 greadme systemd xdg - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" -else - SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="appindicator console gui libnotify sound webinterface" -REQUIRED_USE=" - appindicator? ( gui ) - libnotify? ( gui ) - sound? ( gui ) -" - -BDEPEND=" - dev-util/intltool -" - -RDEPEND=" - acct-group/deluge - acct-user/deluge - net-libs/libtorrent-rasterbar:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - gui? ( - sound? ( dev-python/pygame[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] - ) - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pkg-resources[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ') - appindicator? ( dev-libs/libayatana-appindicator ) - gui? ( - gnome-base/librsvg:2 - libnotify? ( x11-libs/libnotify ) - ) -" - -EPYTEST_PLUGINS=( pytest-twisted ) -distutils_enable_tests pytest - -python_prepare_all() { - local args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=( - # Upstream CI/CD skips these and they seem to intentionally segfault to collect core dumps... - deluge/plugins/Stats/deluge_stats/tests/test_stats.py - # Skipped upstream - deluge/tests/test_security.py - # Broken - deluge/tests/test_ui_entry.py - deluge/tests/test_webserver.py - ) - local EPYTEST_DESELECT=( - # Skipped upstream - 'deluge/plugins/WebUi/deluge_webui/tests/test_plugin_webui.py::TestWebUIPlugin::test_enable_webui' - 'deluge/tests/test_torrent.py::TestTorrent::test_torrent_error_resume_data_unaltered' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_seo_svg_with_sni' - # never returns - 'deluge/tests/test_ui_entry.py::TestConsoleScriptEntryWithDaemon' - # failing network(?)-related tests, even with sandbox disabled - 'deluge/tests/test_common.py::TestCommon::test_is_interface' - # fails - 'deluge/tests/test_core.py::TestCore::test_pause_torrents' - # fails because of network sandbox - 'deluge/tests/test_core.py::TestCore::test_test_listen_port' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_deluge_png' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_hebrew' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_with_redirect' - # segfaults with FEATURES="network-sandbox" - 'deluge/tests/test_core.py::TestCore::test_pause_torrent' - ) - - epytest -m "not (todo or gtkui)" -v -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/console/" || die - rm "${ED}/usr/bin/deluge-console" || die - rm "${ED}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gui ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/gtk3/" || die - rm -r "${ED}/usr/share/icons/" || die - rm "${ED}/usr/bin/deluge-gtk" || die - rm "${ED}/usr/share/man/man1/deluge-gtk.1" || die - else - mkdir -p "${ED}/usr/share/applications/" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die - mkdir -p "${ED}/usr/share/metainfo" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/metainfo/deluge.metainfo.xml" "${ED}/usr/share/metainfo/" || die - fi - - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init-2" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die - rm "${ED}/usr/bin/deluge-web" || die - rm "${ED}/usr/share/man/man1/deluge-web.1" || die - fi - - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf - - python_optimize - - greadme_stdin <<-EOF - To start only the daemon either run 'deluged' as user or modify - /etc/conf.d/deluged and run '/etc/init.d/deluged start' as root - if you use OpenRC or 'systemctl start deluged.service' if you use systemd. - - Systemd unit files for deluged and deluge-web no longer source - /etc/conf.d/deluge* files. Environment variable customization now happens in - /etc/systemd/system/deluged.service.d/00gentoo.conf and - /etc/systemd/system/deluge-web.service.d/00gentoo.conf - - For more information see https://deluge-torrent.org/faq/ -EOF -} - -pkg_preinst() { - xdg_pkg_preinst - greadme_pkg_preinst -} - -pkg_postinst() { - xdg_pkg_postinst - greadme_pkg_postinst -} diff --git a/net-p2p/deluge/deluge-9999.ebuild b/net-p2p/deluge/deluge-9999.ebuild deleted file mode 100644 index 906474a83324..000000000000 --- a/net-p2p/deluge/deluge-9999.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 greadme systemd xdg - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" -else - SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="appindicator console gui libnotify sound webinterface" -REQUIRED_USE=" - appindicator? ( gui ) - libnotify? ( gui ) - sound? ( gui ) -" - -BDEPEND=" - dev-util/intltool -" - -RDEPEND=" - acct-group/deluge - acct-user/deluge - net-libs/libtorrent-rasterbar:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - gui? ( - sound? ( dev-python/pygame[${PYTHON_USEDEP}] ) - dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] - ) - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pkg-resources[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ') - appindicator? ( dev-libs/libayatana-appindicator ) - gui? ( - gnome-base/librsvg:2 - libnotify? ( x11-libs/libnotify ) - ) -" - -EPYTEST_PLUGINS=( pytest-twisted ) -distutils_enable_tests pytest - -python_prepare_all() { - local args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=( - # Upstream CI/CD skips these and they seem to intentionally segfault to collect core dumps... - deluge/plugins/Stats/deluge_stats/tests/test_stats.py - # Skipped upstream - deluge/tests/test_security.py - # Broken - deluge/tests/test_ui_entry.py - deluge/tests/test_webserver.py - ) - local EPYTEST_DESELECT=( - # Skipped upstream - 'deluge/plugins/WebUi/deluge_webui/tests/test_plugin_webui.py::TestWebUIPlugin::test_enable_webui' - 'deluge/tests/test_torrent.py::TestTorrent::test_torrent_error_resume_data_unaltered' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_seo_svg_with_sni' - # never returns - 'deluge/tests/test_ui_entry.py::TestConsoleScriptEntryWithDaemon' - # failing network(?)-related tests, even with sandbox disabled - 'deluge/tests/test_common.py::TestCommon::test_is_interface' - # fails - 'deluge/tests/test_core.py::TestCore::test_pause_torrents' - # fails because of network sandbox - 'deluge/tests/test_core.py::TestCore::test_test_listen_port' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_deluge_png' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_hebrew' - 'deluge/tests/test_tracker_icons.py::TestTrackerIcons::test_get_google_ico_with_redirect' - # segfaults with FEATURES="network-sandbox" - 'deluge/tests/test_core.py::TestCore::test_pause_torrent' - ) - - epytest -m "not (todo or gtkui)" -v -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/console/" || die - rm "${ED}/usr/bin/deluge-console" || die - rm "${ED}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gui ; then - rm -r "${D}/$(python_get_sitedir)/deluge/ui/gtk3/" || die - rm -r "${ED}/usr/share/icons/" || die - rm "${ED}/usr/bin/deluge-gtk" || die - rm "${ED}/usr/share/man/man1/deluge-gtk.1" || die - else - mkdir -p "${ED}/usr/share/applications/" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die - mkdir -p "${ED}/usr/share/metainfo" || die - cp "${WORKDIR}/${P}/deluge/ui/data/share/metainfo/deluge.metainfo.xml" "${ED}/usr/share/metainfo/" || die - fi - - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init-2" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die - rm "${ED}/usr/bin/deluge-web" || die - rm "${ED}/usr/share/man/man1/deluge-web.1" || die - fi - - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf - - python_optimize - - greadme_stdin <<-EOF - To start only the daemon either run 'deluged' as user or modify - /etc/conf.d/deluged and run '/etc/init.d/deluged start' as root - if you use OpenRC or 'systemctl start deluged.service' if you use systemd. - - Systemd unit files for deluged and deluge-web no longer source - /etc/conf.d/deluge* files. Environment variable customization now happens in - /etc/systemd/system/deluged.service.d/00gentoo.conf and - /etc/systemd/system/deluge-web.service.d/00gentoo.conf - - For more information see https://deluge-torrent.org/faq/ -EOF -} - -pkg_preinst() { - xdg_pkg_preinst - greadme_pkg_preinst -} - -pkg_postinst() { - xdg_pkg_postinst - greadme_pkg_postinst -} diff --git a/net-p2p/deluge/files/deluge-2.1.1-ayatana.patch b/net-p2p/deluge/files/deluge-2.1.1-ayatana.patch deleted file mode 100644 index 72f6378ada88..000000000000 --- a/net-p2p/deluge/files/deluge-2.1.1-ayatana.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: deluge/ui/gtk3/preferences.py
-===================================================================
---- a/deluge/ui/gtk3/preferences.py (revision 930cf87103284941514283c2a5f6c55cdc56294d)
-+++ b/deluge/ui/gtk3/preferences.py (revision dbedf7f639931afb635c68ac42194b1816155b54)
-@@ -31,6 +31,10 @@
-
- try:
-- require_version('AppIndicator3', '0.1')
-- from gi.repository import AppIndicator3 # noqa: F401
-+ try:
-+ require_version('AyatanaAppIndicator3', '0.1')
-+ from gi.repository import AyatanaAppIndicator3 # noqa: F401
-+ except (ValueError, ImportError):
-+ require_version('AppIndicator3', '0.1')
-+ from gi.repository import AppIndicator3 # noqa: F401
- except (ImportError, ValueError):
- appindicator = False
diff --git a/net-p2p/deluge/files/deluge-2.1.1-consoleui-deferred.patch b/net-p2p/deluge/files/deluge-2.1.1-consoleui-deferred.patch deleted file mode 100644 index 55917cca6762..000000000000 --- a/net-p2p/deluge/files/deluge-2.1.1-consoleui-deferred.patch +++ /dev/null @@ -1,13 +0,0 @@ -Bug: https://dev.deluge-torrent.org/ticket/3582 -git: https://github.com/deluge-torrent/deluge/pull/408 - -diff -ru a/deluge/ui/console/__init__.py b/deluge/ui/console/__init__.py ---- a/deluge/ui/console/__init__.py 2022-06-28 11:57:49.000000000 -0700 -+++ b/deluge/ui/console/__init__.py 2023-05-01 18:32:19.261457877 -0700 -@@ -12,5 +12,4 @@ - - - def start(): -- -- return Console().start() -+ Console().start() diff --git a/net-p2p/deluge/files/deluge-2.1.1-email-module-replace.patch b/net-p2p/deluge/files/deluge-2.1.1-email-module-replace.patch deleted file mode 100644 index eefcd2b8d52a..000000000000 --- a/net-p2p/deluge/files/deluge-2.1.1-email-module-replace.patch +++ /dev/null @@ -1,95 +0,0 @@ -From https://github.com/deluge-torrent/deluge/commit/5d96cfc72f0bfa36d90afd2725aa2216b8073d66 -From: Mamoru TASAKA <mtasaka@fedoraproject.org> -Date: Thu, 29 Aug 2024 15:31:25 +0900 -Subject: [PATCH] [UI] Replace deprecated cgi module with email - -As PEP 594 says, cgi module is marked as deprecated -in python 3.11, and will be removed in 3.13 -(actually removed at least in 3.13 rc1). - -As suggested on PEP 594, replace cgi.parse_header -with email.message.EmailMessage introduced in python 3.6. - -Updated test modify test_download_with_rename_sanitised -- With RFC2045 specification, Content-Disposition filenames -parameter containing slash (directory separator) must be -quoted, so changing as such. - -Ref: https://peps.python.org/pep-0594/#deprecated-modules -Ref: https://peps.python.org/pep-0594/#cgi - -Closes: https://github.com/deluge-torrent/deluge/pull/462 ---- a/deluge/httpdownloader.py -+++ b/deluge/httpdownloader.py -@@ -6,7 +6,7 @@ - # See LICENSE for more details. - # - --import cgi -+import email.message - import logging - import os.path - import zlib -@@ -133,9 +133,10 @@ def request_callback(self, response): - content_disp = headers.getRawHeaders(b'content-disposition')[0].decode( - 'utf-8' - ) -- content_disp_params = cgi.parse_header(content_disp)[1] -- if 'filename' in content_disp_params: -- new_file_name = content_disp_params['filename'] -+ message = email.message.EmailMessage() -+ message['content-disposition'] = content_disp -+ new_file_name = message.get_filename() -+ if new_file_name: - new_file_name = sanitise_filename(new_file_name) - new_file_name = os.path.join( - os.path.split(self.filename)[0], new_file_name -@@ -152,7 +153,10 @@ def request_callback(self, response): - self.filename = new_file_name - - cont_type_header = headers.getRawHeaders(b'content-type')[0].decode() -- cont_type, params = cgi.parse_header(cont_type_header) -+ message = email.message.EmailMessage() -+ message['content-type'] = cont_type_header -+ cont_type = message.get_content_type() -+ params = message['content-type'].params - # Only re-ecode text content types. - encoding = None - if cont_type.startswith('text/'): ---- a/deluge/tests/test_httpdownloader.py -+++ b/deluge/tests/test_httpdownloader.py -@@ -206,10 +206,10 @@ async def test_download_with_rename_exists(self): - self.assert_contains(filename, 'This file should be called renamed') - - async def test_download_with_rename_sanitised(self): -- url = self.get_url('rename?filename=/etc/passwd') -+ url = self.get_url('rename?filename="/etc/passwd"') - filename = await download_file(url, fname('original')) - assert filename == fname('passwd') -- self.assert_contains(filename, 'This file should be called /etc/passwd') -+ self.assert_contains(filename, 'This file should be called "/etc/passwd"') - - async def test_download_with_attachment_no_filename(self): - url = self.get_url('attachment') ---- a/deluge/ui/web/json_api.py -+++ b/deluge/ui/web/json_api.py -@@ -6,7 +6,7 @@ - # See LICENSE for more details. - # - --import cgi -+import email.message - import json - import logging - import os -@@ -191,7 +191,9 @@ def _on_json_request(self, request): - Handler to take the json data as a string and pass it on to the - _handle_request method for further processing. - """ -- content_type, _ = cgi.parse_header(request.getHeader(b'content-type').decode()) -+ message = email.message.EmailMessage() -+ message['content-type'] = request.getHeader(b'content-type').decode() -+ content_type = message.get_content_type() - if content_type != 'application/json': - message = 'Invalid JSON request content-type: %s' % content_type - raise JSONException(message) diff --git a/net-p2p/deluge/files/deluge-2.1.1-twisted-22.10.patch b/net-p2p/deluge/files/deluge-2.1.1-twisted-22.10.patch deleted file mode 100644 index 689721e76266..000000000000 --- a/net-p2p/deluge/files/deluge-2.1.1-twisted-22.10.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 29dd0fcf8a6b6256d111b2ceb67798ae73c3e0b1 Mon Sep 17 00:00:00 2001 -From: DjLegolas <djlegolas@protonmail.com> -Date: Mon, 7 Nov 2022 01:05:55 +0200 -Subject: [PATCH] [WebUI] Fix `TypeError` in DelugeWeb constractor - -In `twisted 22.10`, a check new for passing the `path` variable as -`bytes` in the `putChild` method. -We were enforcing this on every other place but the `__init__` of -`DelugeWeb` itself. - -Ref: https://github.com/twisted/twisted/pull/11718 -Closes: https://dev.deluge-torrent.org/ticket/3566 ---- - deluge/ui/web/server.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py -index f391a78d27..020cf9ef4f 100644 ---- a/deluge/ui/web/server.py -+++ b/deluge/ui/web/server.py -@@ -682,7 +682,9 @@ def __init__(self, options=None, daemon=True): - - if self.base != '/': - # Strip away slashes and serve on the base path as well as root path -- self.top_level.putChild(self.base.strip('/'), self.top_level) -+ self.top_level.putChild( -+ self.base.strip('/').encode('utf-8'), self.top_level -+ ) - - setup_translation() - diff --git a/net-p2p/deluge/files/deluge-web.conf b/net-p2p/deluge/files/deluge-web.conf deleted file mode 100644 index a08f9b74fe61..000000000000 --- a/net-p2p/deluge/files/deluge-web.conf +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/conf.d/deluge-web -# Change this to the user you want to run deluged as. -# You may specify a group too, after a colon -DELUGE_WEB_USER="deluge:deluge" -DELUGE_WEB_HOME="/var/lib/deluge" -#DELUGE_WEB_OPTS="" diff --git a/net-p2p/deluge/files/deluge-web.init-2 b/net-p2p/deluge/files/deluge-web.init-2 deleted file mode 100644 index 2617e1b30d9e..000000000000 --- a/net-p2p/deluge/files/deluge-web.init-2 +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need net -} - -checkconfig() { - if [ "${DELUGE_WEB_USER}" = "" ] ; then - eerror "Please edit /etc/conf.d/deluge-web" - eerror "You have to specify a user to run deluge-web as, as we will not run it as root!" - eerror "Modify DELUGE_WEB_USER to your needs (you can also add a group, after a colon)" - return 1 - fi - if ! getent passwd "${DELUGE_WEB_USER%:*}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluge-web" - eerror "Your user has to exist!" - return 1 - fi - if [ "${DELUGE_WEB_USER%:*}" = "${DELUGE_WEB_USER}" ] ; then - return 0 - else - if ! getent group "${DELUGE_WEB_USER#*:}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluge-web" - eerror "Your group has to exist too!" - return 1 - fi - fi - return 0 -} - -start() { - checkconfig || return $? - if [ "${DELUGE_WEB_HOME}" = "" ] ; then - DELUGE_WEB_USER_HOME=$(getent passwd "${DELUGE_WEB_USER%:*}" | cut -d ':' -f 6) - else - DELUGE_WEB_USER_HOME=${DELUGE_WEB_HOME} - fi - ebegin "Starting Deluge-Web" - start-stop-daemon --start --background --pidfile \ - /run/deluge-web.pid --make-pidfile \ - --exec /usr/bin/deluge-web --user "${DELUGE_WEB_USER%:*}" \ - -e HOME="${DELUGE_WEB_USER_HOME}" -- --do-not-daemonize ${DELUGE_WEB_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Deluge-Web" - start-stop-daemon --stop --user "${DELUGE_WEB_USER%:*}" \ - --pidfile /run/deluge-web.pid - eend $? -} diff --git a/net-p2p/deluge/files/deluge-web.service-4 b/net-p2p/deluge/files/deluge-web.service-4 deleted file mode 100644 index 9ebfcbc84745..000000000000 --- a/net-p2p/deluge/files/deluge-web.service-4 +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Deluge WebUI -Documentation=man:deluge-web -After=deluged.service - -[Service] -ExecStart=/usr/bin/deluge-web -d -c ${DELUGE_WEB_HOME} ${DELUGE_WEB_OPTS} - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/deluge/files/deluge-web.service.conf b/net-p2p/deluge/files/deluge-web.service.conf deleted file mode 100644 index 2c594cdf8f7b..000000000000 --- a/net-p2p/deluge/files/deluge-web.service.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Service] -User=deluge -Group=deluge -Environment="DELUGE_WEB_HOME=/var/lib/deluge" "DELUGE_WEB_OPTS=" diff --git a/net-p2p/deluge/files/deluged.conf-2 b/net-p2p/deluge/files/deluged.conf-2 deleted file mode 100644 index ac0c4cd0db51..000000000000 --- a/net-p2p/deluge/files/deluged.conf-2 +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/conf.d/deluged -# Change this to the user you want to run deluged as. -# You may specify a group too, after a colon -DELUGED_USER="deluge:deluge" -# DELUGED_UMASK="0002" -DELUGED_OPTS="-p 58846" -DELUGED_HOME="/var/lib/deluge" diff --git a/net-p2p/deluge/files/deluged.init-2 b/net-p2p/deluge/files/deluged.init-2 deleted file mode 100644 index 1f76298d1877..000000000000 --- a/net-p2p/deluge/files/deluged.init-2 +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need net -} - -checkconfig() { - if [ "${DELUGED_USER}" = "" ] ; then - eerror "Please edit /etc/conf.d/deluged" - eerror "You have to specify a user to run deluged as, as we will not run it as root!" - eerror "Modify DELUGED_USER to your needs (you can also add a group, after a colon)" - return 1 - fi - if ! getent passwd "${DELUGED_USER%:*}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluged" - eerror "Your user has to exist!" - return 1 - fi - if [ "${DELUGED_USER%:*}" = "${DELUGED_USER}" ] ; then - return 0 - else - if ! getent group "${DELUGED_USER#*:}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluged" - eerror "Your group has to exist too!" - return 1 - fi - fi - return 0 -} - -start() { - checkconfig || return $? - if [ "${DELUGED_HOME}" = "" ] ; then - DELUGED_USER_HOME=$(getent passwd "${DELUGED_USER%:*}" | cut -d ':' -f 6) - else - DELUGED_USER_HOME=${DELUGED_HOME} - fi - ebegin "Starting Deluged" - start-stop-daemon --start --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /run/deluged.pid --background --make-pidfile \ - ${DELUGED_UMASK:+--umask ${DELUGED_UMASK}} \ - --exec /usr/bin/deluged -e HOME="${DELUGED_USER_HOME}" -- --do-not-daemonize ${DELUGED_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Deluged" - start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /run/deluged.pid - eend $? -} diff --git a/net-p2p/deluge/files/deluged.service-2 b/net-p2p/deluge/files/deluged.service-2 deleted file mode 100644 index 049cd025b534..000000000000 --- a/net-p2p/deluge/files/deluged.service-2 +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Deluge BitTorrent client -Documentation=man:deluged -After=network.target local-fs.target -Wants=local-fs.target - -[Service] -ExecStart=/usr/bin/deluged -d -c ${DELUGED_HOME} ${DELUGED_OPTS} - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/deluge/files/deluged.service.conf b/net-p2p/deluge/files/deluged.service.conf deleted file mode 100644 index 2d74e23582cb..000000000000 --- a/net-p2p/deluge/files/deluged.service.conf +++ /dev/null @@ -1,5 +0,0 @@ -[Service] -User=deluge -Group=deluge -#UMask=0002 -Environment="DELUGED_HOME=/var/lib/deluge" "DELUGED_OPTS=-p 58846" diff --git a/net-p2p/deluge/metadata.xml b/net-p2p/deluge/metadata.xml deleted file mode 100644 index 7b68e8a01656..000000000000 --- a/net-p2p/deluge/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>paolo.pedroni@iol.it</email> - <name>Paolo Pedroni</name> - </maintainer> - <maintainer type="person"> - <email>candrews@gentoo.org</email> - <name>Craig Andrews</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Gentoo Proxy Maintainers Project</name> - </maintainer> - <use> - <flag name="webinterface">Install dependencies needed for the web interface</flag> - <flag name="console">Enable default console UI</flag> - </use> - <upstream> - <remote-id type="github">deluge-torrent/deluge</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/dogecoin-qt/Manifest b/net-p2p/dogecoin-qt/Manifest deleted file mode 100644 index dbf356d0b6ea..000000000000 --- a/net-p2p/dogecoin-qt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dogecoin-qt-v1.14.9.tar.gz 11572180 BLAKE2B 99ccdd65e6876a77e3b64bd73c333edbe541e02b825d6d5712adeaea969f2c4116c337ba1b0206a4298447070aa29472a35e841dd9d4169974ddc702d291abd4 SHA512 e43de2efb52b7926af0b19f39143bda4c12e5a3e2b0f25966a7745764117422261a34c2cbbf63576270b387a7e9826c509249d81723d4e58ea4b5f7db9808508 diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.9.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.9.ebuild deleted file mode 100644 index 09163b1b6694..000000000000 --- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.9.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WANT_AUTOCONF="2.71" -inherit autotools desktop xdg-utils -DESCRIPTION="Dogecoin Core Qt for desktop. Downloaded blockchain is under 2.2GB. Much secure." -HOMEPAGE="https://github.com/dogecoin" -SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" - -S="${WORKDIR}/dogecoin-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -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 ) ) -" - -DOGEDIR="/opt/${PN}" -DEPEND=" - dev-libs/libevent:= - dev-libs/protobuf - dev-libs/openssl - dev-build/libtool - dev-build/automake:= - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtdbus:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/linguist-tools:5= - ) - >=dev-libs/boost-1.84.0 - wallet? ( sys-libs/db:"${DB_VER}"=[cxx] - gui? ( media-gfx/qrencode ) - ) - zmq? ( net-libs/cppzmq ) -" - -RDEPEND="${DEPEND} - dev-cpp/abseil-cpp - cpu_flags_x86_avx2? ( - intel-avx2? ( ~app-crypt/intel-ipsec-mb-1.3 ) - ) -" - -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" - eerror "and copy patch from package net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch into that directory" - die - fi -} - -src_prepare() { - PATCHES=( "${FILESDIR}"/1.14.9-boost-system.patch ) - if use pie && use ssp ; then - PATCHES+=( "${FILESDIR}"/hardened-all.patch ) - elif use pie && ! use ssp ; then - PATCHES+=( "${FILESDIR}"/hardened-no-ssp.patch ) - elif use ssp && ! use pie ; then - PATCHES+=( "${FILESDIR}"/hardened-no-pie.patch ) - else - PATCHES+=( "${FILESDIR}"/hardened-minimal.patch ) - fi - - default - - einfo "Generating autotools files..." - eaclocal -I "${S}" - eautoreconf -} - -src_configure() { - local my_econf=( - --bindir="${DOGEDIR}/bin" - --disable-bench - --enable-c++17 - $(use_with gui qt5) - $(use_with intel-avx2 intel-avx2) - $(use_with dogecoind daemon) - $(use_with utils utils) - $(use_enable wallet) - $(use_enable zmq) - $(use_enable tests tests) - $(use_enable scrypt-sse2 scrypt-sse2) - $(use_enable experimental experimental) - ) - - econf "${my_econf[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - insinto "${DOGEDIR}/bin" - - if use gui ; then - insinto /usr/share/pixmaps - doins src/qt/res/icons/dogecoin.png - dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" - - if use prune ; then - domenu "${FILESDIR}"/"${PN}-prune.desktop" - else - domenu "${FILESDIR}"/"${PN}.desktop" - fi - fi - - if use dogecoind ; then - dosym "${DOGEDIR}/bin/dogecoind" "/usr/bin/dogecoind" - dosym "${DOGEDIR}/bin/dogecoin-cli" "/usr/bin/dogecoin-cli" - fi - - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - - if use gui ; then - elog "Dogecoin Core (Qt) ${PV} has been installed." - elog "Dogecoin Core (Qt) binaries have been placed in ${DOGEDIR}/bin." - elog "${PN} has been symlinked with /usr/bin/${PN}." - else - elog "Dogecoin Core ${PV} has been installed." - elog "Dogecoin Core binaries have been placed in ${DOGEDIR}/bin." - fi - - if use dogecoind ; then - elog "dogecoin daemon has been symlinked with /usr/bin/dogecoind." - elog "dogecoin client utils have been symlinked with /usr/bin/dogecoin-cli." - fi - - if ( ( use cpu_flags_x86_avx2 && ! use intel-avx2 ) && ( use cpu_flags_x86_sse2 && ! use scrypt-sse2 ) ); then - einfo "NOTE: Experimental avx2 and sse2 CPU support in ${PV} can be" - einfo "activated using 'intel-avx2' and/or 'scrypt-sse2' USE flags, " - einfo "together with 'experimental' USE flag for this version." - fi -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-9999.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-9999.ebuild deleted file mode 100644 index 5d3b5b1041fa..000000000000 --- a/net-p2p/dogecoin-qt/dogecoin-qt-9999.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WANT_AUTOCONF="2.71" -inherit autotools desktop 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" - -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 ) ) -" - -DOGEDIR="/opt/${PN}" -DEPEND=" - dev-libs/libevent:= - dev-libs/protobuf - dev-libs/openssl - dev-build/libtool - dev-build/automake:= - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtdbus:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/linguist-tools:5= - ) - >=dev-libs/boost-1.84.0 - wallet? ( sys-libs/db:"${DB_VER}"=[cxx] - gui? ( media-gfx/qrencode ) - ) - zmq? ( net-libs/cppzmq ) -" - -RDEPEND="${DEPEND} - dev-vcs/git - dev-cpp/abseil-cpp - cpu_flags_x86_avx2? ( - intel-avx2? ( ~app-crypt/intel-ipsec-mb-1.3 ) - ) -" - -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" - eerror "and copy patch from package net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch into that directory" - die - fi -} - -src_prepare() { - if use pie && use ssp ; then - PATCHES+=( "${FILESDIR}"/hardened-all.patch ) - elif use pie && ! use ssp ; then - PATCHES+=( "${FILESDIR}"/hardened-no-ssp.patch ) - elif use ssp && ! use pie ; then - PATCHES+=( "${FILESDIR}"/hardened-no-pie.patch ) - else - PATCHES+=( "${FILESDIR}"/hardened-minimal.patch ) - fi - - default - - einfo "Generating autotools files..." - eaclocal -I "${S}" - eautoreconf -} - -src_configure() { - local my_econf=( - --bindir="${DOGEDIR}/bin" - --disable-bench - --enable-c++17 - $(use_with gui qt5) - $(use_with intel-avx2 intel-avx2) - $(use_with dogecoind daemon) - $(use_with utils utils) - $(use_enable wallet) - $(use_enable zmq) - $(use_enable tests tests) - $(use_enable scrypt-sse2 scrypt-sse2) - $(use_enable experimental experimental) - ) - - econf "${my_econf[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - insinto "${DOGEDIR}/bin" - - if use gui ; then - insinto /usr/share/pixmaps - doins src/qt/res/icons/dogecoin.png - dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" - - if use prune ; then - domenu "${FILESDIR}"/"${PN}-prune.desktop" - else - domenu "${FILESDIR}"/"${PN}.desktop" - fi - fi - - if use dogecoind ; then - dosym "${DOGEDIR}/bin/dogecoind" "/usr/bin/dogecoind" - dosym "${DOGEDIR}/bin/dogecoin-cli" "/usr/bin/dogecoin-cli" - fi - - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - - if use gui ; then - elog "Dogecoin Core (Qt) ${PV} has been installed." - elog "Dogecoin Core (Qt) binaries have been placed in ${DOGEDIR}/bin." - elog "${PN} has been symlinked with /usr/bin/${PN}." - else - elog "Dogecoin Core ${PV} has been installed." - elog "Dogecoin Core binaries have been placed in ${DOGEDIR}/bin." - fi - - if use dogecoind ; then - elog "dogecoin daemon has been symlinked with /usr/bin/dogecoind." - elog "dogecoin client utils have been symlinked with /usr/bin/dogecoin-cli." - fi - - if ( ( use cpu_flags_x86_avx2 && ! use intel-avx2 ) && ( use cpu_flags_x86_sse2 && ! use scrypt-sse2 ) ); then - einfo "NOTE: Experimental avx2 and sse2 CPU support in ${PV} can be" - einfo "activated using 'intel-avx2' and/or 'scrypt-sse2' USE flags, " - einfo "together with 'experimental' USE flag for this version." - fi -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/net-p2p/dogecoin-qt/files/1.14.9-boost-system.patch b/net-p2p/dogecoin-qt/files/1.14.9-boost-system.patch deleted file mode 100644 index 846ceae491fd..000000000000 --- a/net-p2p/dogecoin-qt/files/1.14.9-boost-system.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index d8df3d1..a95b068 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -692,7 +692,34 @@ define(MINIMUM_REQUIRED_BOOST, 1.60.0) - - dnl Check for boost libs - AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST], AC_MSG_RESULT(ok), AC_MSG_ERROR(Need at least boost 1.60.0)) --AX_BOOST_SYSTEM -+ -+dnl As of boost 1.69.0, boost_system is header-only and -+dnl as of version 1.89.0 it is fully removed. -+dnl We conditionally check whether to include boost_system -+dnl based on the value specified in version.hpp -+ -+AC_MSG_CHECKING([for boost >= 1.69.0]) -+CHECK_BOOST_SYSTEM=yes -+TEMP_CPPFLAGS="$CPPFLAGS" -+CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" -+AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[ -+ @%:@include <boost/version.hpp> -+ ]], [[ -+ #if BOOST_VERSION >= 106900 -+ // No boost_system needed -+ #else -+ # error we need to include boost_system -+ #endif -+ ]])], -+ [ AC_MSG_RESULT(yes); CHECK_BOOST_SYSTEM=no ], -+ [ AC_MSG_RESULT(no); CHECK_BOOST_SYSTEM=yes ] -+) -+CPPFLAGS="$TEMP_CPPFLAGS" -+ -+if test x$CHECK_BOOST_SYSTEM = xyes; then -+ AX_BOOST_SYSTEM -+fi -+ - AX_BOOST_FILESYSTEM - AX_BOOST_PROGRAM_OPTIONS - AX_BOOST_THREAD diff --git a/net-p2p/dogecoin-qt/files/dogecoin-qt-prune.desktop b/net-p2p/dogecoin-qt/files/dogecoin-qt-prune.desktop deleted file mode 100644 index b9a902da4f37..000000000000 --- a/net-p2p/dogecoin-qt/files/dogecoin-qt-prune.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=Dogecoin Core -Comment=Connect to the Dogecoin P2P Network -Comment[de]=Verbinde mit dem Dogecoin peer-to-peer Netzwerk -Comment[fr]=Dogecoin, monnaie virtuelle cryptographique pair à pair -Comment[ru]=Подключиться к Dogecoin пиринговой сети -Comment[tr]=Dogecoin, eşten eşe kriptografik sanal para birimi -Terminal=false -Exec=dogecoin-qt --prune=2201 %u -Type=Application -Icon=dogecoin -MimeType=x-scheme-handler/dogecoin; -Categories=Office; diff --git a/net-p2p/dogecoin-qt/files/dogecoin-qt.desktop b/net-p2p/dogecoin-qt/files/dogecoin-qt.desktop deleted file mode 100644 index 197f782a0ad9..000000000000 --- a/net-p2p/dogecoin-qt/files/dogecoin-qt.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=Dogecoin Core -Comment=Connect to the Dogecoin P2P Network -Comment[de]=Verbinde mit dem Dogecoin peer-to-peer Netzwerk -Comment[fr]=Dogecoin, monnaie virtuelle cryptographique pair à pair -Comment[ru]=Подключиться к Dogecoin пиринговой сети -Comment[tr]=Dogecoin, eşten eşe kriptografik sanal para birimi -Terminal=false -Exec=dogecoin-qt %u -Type=Application -Icon=dogecoin -MimeType=x-scheme-handler/dogecoin; -Categories=Office; diff --git a/net-p2p/dogecoin-qt/files/hardened-all.patch b/net-p2p/dogecoin-qt/files/hardened-all.patch deleted file mode 100644 index e625d8c6f94e..000000000000 --- a/net-p2p/dogecoin-qt/files/hardened-all.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 653fe71..a93502c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -506,13 +506,6 @@ if test x$use_hardening != xno; then - AX_CHECK_COMPILE_FLAG([-Wstack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"]) - AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"]) - -- AX_CHECK_PREPROC_FLAG([-D_FORTIFY_SOURCE=2],[ -- AX_CHECK_PREPROC_FLAG([-U_FORTIFY_SOURCE],[ -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -U_FORTIFY_SOURCE" -- ]) -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -D_FORTIFY_SOURCE=2" -- ]) -- - AX_CHECK_LINK_FLAG([[-Wl,--dynamicbase]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--dynamicbase"]) - AX_CHECK_LINK_FLAG([[-Wl,--nxcompat]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--nxcompat"]) - AX_CHECK_LINK_FLAG([[-Wl,--high-entropy-va]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--high-entropy-va"]) diff --git a/net-p2p/dogecoin-qt/files/hardened-minimal.patch b/net-p2p/dogecoin-qt/files/hardened-minimal.patch deleted file mode 100644 index 3642e06402c9..000000000000 --- a/net-p2p/dogecoin-qt/files/hardened-minimal.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 653fe71..1d60d30 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -504,14 +504,6 @@ fi - - if test x$use_hardening != xno; then - AX_CHECK_COMPILE_FLAG([-Wstack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"]) -- AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"]) -- -- AX_CHECK_PREPROC_FLAG([-D_FORTIFY_SOURCE=2],[ -- AX_CHECK_PREPROC_FLAG([-U_FORTIFY_SOURCE],[ -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -U_FORTIFY_SOURCE" -- ]) -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -D_FORTIFY_SOURCE=2" -- ]) - - AX_CHECK_LINK_FLAG([[-Wl,--dynamicbase]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--dynamicbase"]) - AX_CHECK_LINK_FLAG([[-Wl,--nxcompat]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--nxcompat"]) -@@ -519,11 +511,6 @@ if test x$use_hardening != xno; then - AX_CHECK_LINK_FLAG([[-Wl,-z,relro]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,relro"]) - AX_CHECK_LINK_FLAG([[-Wl,-z,now]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,now"]) - -- if test x$TARGET_OS != xwindows; then -- AX_CHECK_COMPILE_FLAG([-fPIE],[PIE_FLAGS="-fPIE"]) -- AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"]) -- fi -- - case $host in - *mingw*) - AC_CHECK_LIB([ssp], [main],, AC_MSG_ERROR(lib missing)) diff --git a/net-p2p/dogecoin-qt/files/hardened-no-pie.patch b/net-p2p/dogecoin-qt/files/hardened-no-pie.patch deleted file mode 100644 index 076f8655b22d..000000000000 --- a/net-p2p/dogecoin-qt/files/hardened-no-pie.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 653fe71..a49d74c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -506,24 +506,12 @@ if test x$use_hardening != xno; then - AX_CHECK_COMPILE_FLAG([-Wstack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"]) - AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"]) - -- AX_CHECK_PREPROC_FLAG([-D_FORTIFY_SOURCE=2],[ -- AX_CHECK_PREPROC_FLAG([-U_FORTIFY_SOURCE],[ -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -U_FORTIFY_SOURCE" -- ]) -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -D_FORTIFY_SOURCE=2" -- ]) -- - AX_CHECK_LINK_FLAG([[-Wl,--dynamicbase]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--dynamicbase"]) - AX_CHECK_LINK_FLAG([[-Wl,--nxcompat]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--nxcompat"]) - AX_CHECK_LINK_FLAG([[-Wl,--high-entropy-va]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--high-entropy-va"]) - AX_CHECK_LINK_FLAG([[-Wl,-z,relro]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,relro"]) - AX_CHECK_LINK_FLAG([[-Wl,-z,now]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,now"]) - -- if test x$TARGET_OS != xwindows; then -- AX_CHECK_COMPILE_FLAG([-fPIE],[PIE_FLAGS="-fPIE"]) -- AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"]) -- fi -- - case $host in - *mingw*) - AC_CHECK_LIB([ssp], [main],, AC_MSG_ERROR(lib missing)) diff --git a/net-p2p/dogecoin-qt/files/hardened-no-ssp.patch b/net-p2p/dogecoin-qt/files/hardened-no-ssp.patch deleted file mode 100644 index 324451ad079d..000000000000 --- a/net-p2p/dogecoin-qt/files/hardened-no-ssp.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 653fe71..bd4bd78 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -504,14 +504,6 @@ fi - - if test x$use_hardening != xno; then - AX_CHECK_COMPILE_FLAG([-Wstack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"]) -- AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"]) -- -- AX_CHECK_PREPROC_FLAG([-D_FORTIFY_SOURCE=2],[ -- AX_CHECK_PREPROC_FLAG([-U_FORTIFY_SOURCE],[ -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -U_FORTIFY_SOURCE" -- ]) -- HARDENED_CPPFLAGS="$HARDENED_CPPFLAGS -D_FORTIFY_SOURCE=2" -- ]) - - AX_CHECK_LINK_FLAG([[-Wl,--dynamicbase]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--dynamicbase"]) - AX_CHECK_LINK_FLAG([[-Wl,--nxcompat]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,--nxcompat"]) diff --git a/net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch b/net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch deleted file mode 100644 index 0a8a5f3ba97d..000000000000 --- a/net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -dur a/lib/include/sha_generic.h b/lib/include/sha_generic.h -index 3752546..77efd91 100644 ---- a/lib/include/sha_generic.h -+++ b/lib/include/sha_generic.h -@@ -308,7 +308,7 @@ void sha_generic_1block(const void *data, void *digest, - if (data == NULL || digest == NULL) - return; - #endif -- sha_generic_init(digest, sha_type); -+// sha_generic_init(digest, sha_type); - sha_generic_one_block(data, digest, is_avx, sha_type); - #ifdef SAFE_DATA - clear_scratch_gps(); diff --git a/net-p2p/dogecoin-qt/metadata.xml b/net-p2p/dogecoin-qt/metadata.xml deleted file mode 100644 index 134905dd8cd7..000000000000 --- a/net-p2p/dogecoin-qt/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <bugs-to>https://github.com/dogecoin/dogecoin/issues</bugs-to> - <changelog>https://github.com/dogecoin/dogecoin/tree/master/doc/release-notes</changelog> - <doc>https://github.com/dogecoin/dogecoin/tree/master/doc</doc> - <remote-id type="github">dogecoin/dogecoin</remote-id> - </upstream> - <maintainer type="person"> - <email>victor3.14@yandex.com</email> - <name>Victor Skovorodnikov</name> - </maintainer> - <use> - <flag name="dogecoind">Build with dogecoind daemon</flag> - <flag name="experimental">Allow experimental features to be configured</flag> - <flag name="gui">Toggle graphical user interface features</flag> - <flag name="intel-avx2">Build with intel avx2</flag> - <flag name="pie">Position Independent Executables - attempt to harden resulting executables, for extra security</flag> - <flag name="prune">Enables automatic pruning of old blocks to stay below 2.2GB target size (if ran from desktop)</flag> - <flag name="scrypt-sse2">Build with scrypt sse2 implementation</flag> - <flag name="ssp">Apply stack protector to all functions, for extra security</flag> - <flag name="tests">Build Dogecoin Core Qt with tests option</flag> - <flag name="utils">Build with client utilities dogecoin-cli and dogecoin-tx</flag> - <flag name="wallet">Build Dogecoin Core Qt with wallet</flag> - <flag name="zmq">Enables ZeroMQ notifications</flag> - </use> - <longdescription lang="en"> - Dogecoin Core Qt for desktop environment. Fun-loving, highly secure, peer-to-peer digital currency with ultra-low transaction fees featuring Graphical User Interface with statistical analysis, console interaction and wallet support. Fast and lightweight; the default installation for desktop keeps downloaded blockchain size below 2.2GB, making it ideal for daily transactions, even on systems where disk space could be limited. - </longdescription> -</pkgmetadata> diff --git a/net-p2p/ed2k_hash/Manifest b/net-p2p/ed2k_hash/Manifest deleted file mode 100644 index 718f6c0e00b8..000000000000 --- a/net-p2p/ed2k_hash/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ed2k_hash-0.4.0.tar.gz 113158 BLAKE2B f553ffde9fe2287247b063a4eb5d30cdd22484979063561652efb4b5a2574ac0a13ef039d2b1d3ab60ab0c37dae5620b5ded80566be959236a061f0170167477 SHA512 f924c6b39bf82fe0d4e68decb5ae9fb5ce2999e8b1d3083ba97c178f3f716634603982962947cecb2ef20de56672b10e833d104bae9627ae180ba629c9e1b4c6 diff --git a/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r3.ebuild b/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r3.ebuild deleted file mode 100644 index 019bcb9aec30..000000000000 --- a/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -#inherit flag-o-matic - -DESCRIPTION="Tool for generating eDonkey2000 links" -HOMEPAGE="http://ed2k-tools.sourceforge.net/ed2k_hash.shtml" -SRC_URI="https://downloads.sourceforge.net/ed2k-tools/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ~sparc x86" -IUSE="" # fltk support is broken, bug #359643 - -RESTRICT="mirror" - -#DEPEND="fltk? ( x11-libs/fltk:1= )" -#RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/ed2k_64bit.patch" - "${FILESDIR}/${PN}-0.4.0-missing-includes.patch" -) - -src_configure() { - #if use fltk; then - # append-ldflags "$(fltk-config --ldflags)" - # export CPPFLAGS="$(fltk-config --cxxflags)" - #else - export ac_cv_lib_fltk_main='no' - #fi - - econf -} - -src_install() { - emake install DESTDIR="${D}" mydocdir=/usr/share/doc/${PF}/html - einstalldocs -} diff --git a/net-p2p/ed2k_hash/files/ed2k_64bit.patch b/net-p2p/ed2k_hash/files/ed2k_64bit.patch deleted file mode 100644 index 2f1520e137ec..000000000000 --- a/net-p2p/ed2k_hash/files/ed2k_64bit.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/ed2k_hash/md4.h -+++ b/ed2k_hash/md4.h -@@ -66,7 +66,8 @@ - typedef unsigned short int UINT2; - - /* UINT4 defines a four byte word */ --typedef unsigned long int UINT4; -+/* unsigned long int on 64bit is 8 bits */ -+typedef unsigned int UINT4; - - /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. - If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it diff --git a/net-p2p/ed2k_hash/files/ed2k_hash-0.4.0-missing-includes.patch b/net-p2p/ed2k_hash/files/ed2k_hash-0.4.0-missing-includes.patch deleted file mode 100644 index 4b9fcc109a38..000000000000 --- a/net-p2p/ed2k_hash/files/ed2k_hash-0.4.0-missing-includes.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/ed2k_hash/cl_ui.c -+++ b/ed2k_hash/cl_ui.c -@@ -18,6 +18,7 @@ - #include <stdlib.h> - #include <stdio.h> - #include <stdarg.h> -+#include <string.h> - - #include "global.h" - ---- a/ed2k_hash/options.c -+++ b/ed2k_hash/options.c -@@ -16,6 +16,7 @@ - ***************************************************************************/ - - #include <stdlib.h> -+#include <string.h> - - #include "global.h" - diff --git a/net-p2p/ed2k_hash/metadata.xml b/net-p2p/ed2k_hash/metadata.xml deleted file mode 100644 index 2d9009386a20..000000000000 --- a/net-p2p/ed2k_hash/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">ed2k-tools</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/energi3/Manifest b/net-p2p/energi3/Manifest deleted file mode 100644 index e3ef16d98452..000000000000 --- a/net-p2p/energi3/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST energi3-3.0.8.tar.gz 10303024 BLAKE2B 5f3ab8de6320d7a1cc8a19e35387c3d6c9e4033b124f3457f8a09d19792eed895ae7738bf72bbd0bcb5c49d369b94bb433b7556aba42134fcd36e89f66985671 SHA512 4c62d41db637130b20dad309c6857149a17f14a6b9d12da9951fc5824c7f7215ff6b866e7c5f3d014b5b605512ca088be80bfbb169283e3d88029338034c4daa -DIST energi3-3.1.0.tar.gz 10342226 BLAKE2B cd83db282753dcbc48b7c6d7eb4410b41f9abdc8079f119900abcbb6be1066d8b4d7486a96a34847f6814dc873193a8b1048e4d5cff8689985c84b2fb39cbe0d SHA512 f7fa826f87241f750d35ab3fe64a7d43ff3a4158da5a743760d05a5f75d2d606dc71f8205fbd5d9675c543e5cb47db2ac8d7d542ab088d1ad1c91a50dba80f4f diff --git a/net-p2p/energi3/energi3-3.0.8.ebuild b/net-p2p/energi3/energi3-3.0.8.ebuild deleted file mode 100644 index 0e67da73ca48..000000000000 --- a/net-p2p/energi3/energi3-3.0.8.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module systemd - -DESCRIPTION="Official golang implementation of the Energi Core" -HOMEPAGE="https://www.energi.world/" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/energicryptocurrency/${PN}.git" - EGIT_SUBMODULES=() - inherit git-r3 -else - SRC_URI="https://github.com/energicryptocurrency/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -IUSE="" -RDEPEND="acct-user/energi3" - -# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... -RESTRICT+=" test" - -src_compile() { - GOPATH="${WORKDIR}/${P}/vendor/" emake geth -} - -src_install() { - einstalldocs - dobin build/bin/energi3 - systemd_dounit "${FILESDIR}/energi3.service" -} - -pkg_postinst() { - elog "Run the service: systemctl start energi3" - elog "Attach to the service: energi3 attach --datadir /var/lib/energi3/" - elog "The user attaching must be a member of the 'energi3' group" -} diff --git a/net-p2p/energi3/energi3-3.1.0.ebuild b/net-p2p/energi3/energi3-3.1.0.ebuild deleted file mode 100644 index 8276accfde84..000000000000 --- a/net-p2p/energi3/energi3-3.1.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module systemd - -DESCRIPTION="Official golang implementation of the Energi Core" -HOMEPAGE="https://www.energi.world/" - -PATCHES=( - "${FILESDIR}/${PV}-tidy.patch" -) - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/energicryptocurrency/${PN}.git" - EGIT_SUBMODULES=() - inherit git-r3 -else - SRC_URI="https://github.com/energicryptocurrency/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3 LGPL-3" -SLOT="0" - -RDEPEND="acct-user/energi3" - -# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... -RESTRICT+=" test" - -src_compile() { - GOPATH="${WORKDIR}/${P}/vendor/" emake geth -} - -src_install() { - einstalldocs - dobin build/bin/energi3 - systemd_dounit "${FILESDIR}/energi3.service" -} - -pkg_postinst() { - elog "Run the service: systemctl start energi3" - elog "Attach to the service: energi3 attach --datadir /var/lib/energi3/" - elog "The user attaching must be a member of the 'energi3' group" -} diff --git a/net-p2p/energi3/energi3-9999.ebuild b/net-p2p/energi3/energi3-9999.ebuild deleted file mode 100644 index b0b40379de3a..000000000000 --- a/net-p2p/energi3/energi3-9999.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module systemd - -DESCRIPTION="Official golang implementation of the Energi Core" -HOMEPAGE="https://www.energi.world/" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/energicryptocurrency/${PN}.git" - EGIT_SUBMODULES=() - inherit git-r3 -else - SRC_URI="https://github.com/energicryptocurrency/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3 LGPL-3" -SLOT="0" - -RDEPEND="acct-user/energi3" - -# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... -RESTRICT+=" test" - -src_compile() { - GOPATH="${WORKDIR}/${P}/vendor/" emake geth -} - -src_install() { - einstalldocs - dobin build/bin/energi3 - systemd_dounit "${FILESDIR}/energi3.service" -} - -pkg_postinst() { - elog "Run the service: systemctl start energi3" - elog "Attach to the service: energi3 attach --datadir /var/lib/energi3/" - elog "The user attaching must be a member of the 'energi3' group" -} diff --git a/net-p2p/energi3/files/3.1.0-tidy.patch b/net-p2p/energi3/files/3.1.0-tidy.patch deleted file mode 100644 index 047bc36afcf3..000000000000 --- a/net-p2p/energi3/files/3.1.0-tidy.patch +++ /dev/null @@ -1,472 +0,0 @@ -https://github.com/energicryptocurrency/energi3/pull/8 - -From 3ebedbdd924cbc07b745140c4c7fed82c45f178f Mon Sep 17 00:00:00 2001 -From: Craig Andrews <candrews@integralblue.com> -Date: Tue, 24 Aug 2021 09:06:53 -0400 -Subject: [PATCH] tidy up go.mod and vendor/modules.txt - -Provides compatibility with go 1.17 -Fixes warnings in earlier versions of go - -See https://github.com/golang/go/issues/47823 ---- - go.mod | 69 +++++++++++++++ - vendor/modules.txt | 204 ++++++++++++++++++++++++++++++++++----------- - 2 files changed, 224 insertions(+), 49 deletions(-) - -diff --git a/go.mod b/go.mod -index 887cb8fc6..7ada2d1be 100644 ---- a/go.mod -+++ b/go.mod -@@ -1,3 +1,72 @@ - go 1.15 - -+require ( -+ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898 -+ github.com/Azure/azure-pipeline-go v0.1.9 // indirect -+ github.com/Azure/azure-storage-blob-go v0.0.0-20180712005634-eaae161d9d5e -+ github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect -+ github.com/allegro/bigcache v1.2.0 -+ github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847 -+ github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6 -+ github.com/cespare/cp v0.1.0 -+ github.com/davecgh/go-spew v1.1.1 -+ github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea -+ github.com/docker/docker v0.0.0-20180625184442-8e610b2b55bf -+ github.com/edsrzf/mmap-go v1.0.0 -+ github.com/elastic/gosigar v0.0.0-20180330100440-37f05ff46ffa -+ github.com/fatih/color v1.9.0 -+ github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc -+ github.com/gizak/termui v2.3.0+incompatible -+ github.com/go-kit/kit v0.11.0 // indirect -+ github.com/go-ole/go-ole v1.2.4 // indirect -+ github.com/go-stack/stack v1.8.0 -+ github.com/golang/protobuf v1.5.2 -+ github.com/golang/snappy v0.0.1 -+ github.com/hashicorp/golang-lru v0.5.1 -+ github.com/huin/goupnp v1.0.0 -+ github.com/influxdata/influxdb v1.7.3 -+ github.com/influxdata/platform v0.0.0-20190117200541-d500d3cf5589 // indirect -+ github.com/jackpal/go-nat-pmp v1.0.1 -+ github.com/julienschmidt/httprouter v1.3.0 -+ github.com/karalabe/hid v1.0.0 -+ github.com/kylelemons/godebug v1.1.0 // indirect -+ github.com/maruel/panicparse v1.2.1 // indirect -+ github.com/mattn/go-colorable v0.1.6 -+ github.com/mattn/go-isatty v0.0.12 -+ github.com/mitchellh/go-wordwrap v1.0.0 // indirect -+ github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 -+ github.com/naoina/go-stringutil v0.1.0 // indirect -+ github.com/naoina/toml v0.1.1 -+ github.com/nsf/termbox-go v0.0.0-20190325093121-288510b9734e // indirect -+ github.com/olekukonko/tablewriter v0.0.1 -+ github.com/opentracing/opentracing-go v1.2.0 -+ github.com/pborman/uuid v1.2.0 -+ github.com/peterh/liner v1.1.0 -+ github.com/prometheus/prometheus v2.1.0+incompatible -+ github.com/prometheus/tsdb v0.10.0 // indirect -+ github.com/rjeczalik/notify v0.9.1 -+ github.com/robertkrimen/otto v0.0.0-20170205013659-6a77b7cbc37d -+ github.com/rs/cors v1.3.0 -+ github.com/shengdoushi/base58 v1.0.0 -+ github.com/stretchr/testify v1.7.0 -+ github.com/syndtr/goleveldb v1.0.0 -+ github.com/uber-go/atomic v0.0.0-00010101000000-000000000000 // indirect -+ github.com/uber/jaeger-client-go v2.16.0+incompatible -+ github.com/uber/jaeger-lib v2.0.0+incompatible // indirect -+ golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b -+ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 -+ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c -+ golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 -+ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 -+ gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce -+ gopkg.in/olebedev/go-duktape.v3 v3.0.0-20180302121509-abf0ba0be5d5 -+ gopkg.in/sourcemap.v1 v1.0.5 // indirect -+ gopkg.in/urfave/cli.v1 v1.20.0 -+) -+ - module energi.world/core/gen3 -+ -+replace github.com/codahale/hdrhistogram => github.com/HdrHistogram/hdrhistogram-go v0.9.0 -+ -+replace github.com/uber-go/atomic => github.com/uber-go/atomic v1.4.0 -+ -diff --git a/vendor/modules.txt b/vendor/modules.txt -index 192df8944..3142c7337 100644 ---- a/vendor/modules.txt -+++ b/vendor/modules.txt -@@ -1,56 +1,80 @@ - # bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898 -+## explicit - bazil.org/fuse - bazil.org/fuse/fs - bazil.org/fuse/fuseutil - # github.com/Azure/azure-pipeline-go v0.1.9 -+## explicit - github.com/Azure/azure-pipeline-go/pipeline - # github.com/Azure/azure-storage-blob-go v0.0.0-20180712005634-eaae161d9d5e -+## explicit - github.com/Azure/azure-storage-blob-go/2018-03-28/azblob - # github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d -+## explicit - github.com/StackExchange/wmi - # github.com/allegro/bigcache v1.2.0 -+## explicit - github.com/allegro/bigcache - github.com/allegro/bigcache/queue - # github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847 -+## explicit - github.com/aristanetworks/goarista/monotime - # github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6 -+## explicit - github.com/btcsuite/btcd/btcec - # github.com/cespare/cp v0.1.0 -+## explicit - github.com/cespare/cp - # github.com/davecgh/go-spew v1.1.1 -+## explicit - github.com/davecgh/go-spew/spew - # github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea -+## explicit - github.com/deckarep/golang-set - # github.com/docker/docker v0.0.0-20180625184442-8e610b2b55bf -+## explicit - github.com/docker/docker/pkg/reexec --# github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c -+# github.com/edsrzf/mmap-go v1.0.0 -+## explicit - github.com/edsrzf/mmap-go - # github.com/elastic/gosigar v0.0.0-20180330100440-37f05ff46ffa -+## explicit - github.com/elastic/gosigar - github.com/elastic/gosigar/sys/windows --# github.com/fatih/color v1.7.0 -+# github.com/fatih/color v1.9.0 -+## explicit - github.com/fatih/color - # github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc --github.com/fjl/memsize/memsizeui -+## explicit - github.com/fjl/memsize -+github.com/fjl/memsize/memsizeui - # github.com/gizak/termui v2.3.0+incompatible -+## explicit - github.com/gizak/termui -+# github.com/go-kit/kit v0.11.0 -+## explicit - # github.com/go-ole/go-ole v1.2.4 -+## explicit - github.com/go-ole/go-ole - github.com/go-ole/go-ole/oleutil - # github.com/go-stack/stack v1.8.0 -+## explicit - github.com/go-stack/stack --# github.com/golang/protobuf v1.2.0 -+# github.com/golang/protobuf v1.5.2 -+## explicit - github.com/golang/protobuf/proto - github.com/golang/protobuf/protoc-gen-go/descriptor - # github.com/golang/snappy v0.0.1 -+## explicit - github.com/golang/snappy --# github.com/google/uuid v1.0.0 -+# github.com/google/uuid v1.1.2 - github.com/google/uuid - # github.com/hashicorp/golang-lru v0.5.1 -+## explicit - github.com/hashicorp/golang-lru - github.com/hashicorp/golang-lru/simplelru - # github.com/huin/goupnp v1.0.0 -+## explicit - github.com/huin/goupnp - github.com/huin/goupnp/dcps/internetgateway1 - github.com/huin/goupnp/dcps/internetgateway2 -@@ -59,60 +83,84 @@ github.com/huin/goupnp/scpd - github.com/huin/goupnp/soap - github.com/huin/goupnp/ssdp - # github.com/influxdata/influxdb v1.7.3 -+## explicit - github.com/influxdata/influxdb/client - github.com/influxdata/influxdb/models - github.com/influxdata/influxdb/pkg/escape - # github.com/influxdata/platform v0.0.0-20190117200541-d500d3cf5589 -+## explicit - github.com/influxdata/platform/models - github.com/influxdata/platform/pkg/escape - # github.com/jackpal/go-nat-pmp v1.0.1 -+## explicit - github.com/jackpal/go-nat-pmp --# github.com/julienschmidt/httprouter v1.2.0 -+# github.com/julienschmidt/httprouter v1.3.0 -+## explicit - github.com/julienschmidt/httprouter - # github.com/karalabe/hid v1.0.0 -+## explicit - github.com/karalabe/hid --# github.com/kr/pretty v0.1.0 -+# github.com/kr/pretty v0.2.0 - github.com/kr/pretty - # github.com/kr/text v0.1.0 - github.com/kr/text -+# github.com/kylelemons/godebug v1.1.0 -+## explicit - # github.com/maruel/panicparse v1.2.1 -+## explicit - github.com/maruel/panicparse/stack --# github.com/mattn/go-colorable v0.1.1 -+# github.com/mattn/go-colorable v0.1.6 -+## explicit - github.com/mattn/go-colorable --# github.com/mattn/go-isatty v0.0.7 -+# github.com/mattn/go-isatty v0.0.12 -+## explicit - github.com/mattn/go-isatty - # github.com/mattn/go-runewidth v0.0.3 - github.com/mattn/go-runewidth - # github.com/mitchellh/go-wordwrap v1.0.0 -+## explicit - github.com/mitchellh/go-wordwrap - # github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 -+## explicit - github.com/mohae/deepcopy - # github.com/naoina/go-stringutil v0.1.0 -+## explicit - github.com/naoina/go-stringutil - # github.com/naoina/toml v0.1.1 -+## explicit - github.com/naoina/toml - github.com/naoina/toml/ast - # github.com/nsf/termbox-go v0.0.0-20190325093121-288510b9734e -+## explicit - github.com/nsf/termbox-go - # github.com/olekukonko/tablewriter v0.0.1 -+## explicit - github.com/olekukonko/tablewriter --# github.com/opentracing/opentracing-go v1.1.0 -+# github.com/opentracing/opentracing-go v1.2.0 -+## explicit - github.com/opentracing/opentracing-go --github.com/opentracing/opentracing-go/log - github.com/opentracing/opentracing-go/ext -+github.com/opentracing/opentracing-go/log - # github.com/pborman/uuid v1.2.0 -+## explicit - github.com/pborman/uuid - # github.com/peterh/liner v1.1.0 -+## explicit - github.com/peterh/liner --# github.com/pkg/errors v0.8.1 -+# github.com/pkg/errors v0.9.1 - github.com/pkg/errors - # github.com/pmezard/go-difflib v1.0.0 - github.com/pmezard/go-difflib/difflib - # github.com/prometheus/prometheus v2.1.0+incompatible -+## explicit - github.com/prometheus/prometheus/util/flock -+# github.com/prometheus/tsdb v0.10.0 -+## explicit - # github.com/rjeczalik/notify v0.9.1 -+## explicit - github.com/rjeczalik/notify - # github.com/robertkrimen/otto v0.0.0-20170205013659-6a77b7cbc37d -+## explicit - github.com/robertkrimen/otto - github.com/robertkrimen/otto/ast - github.com/robertkrimen/otto/dbg -@@ -121,101 +169,159 @@ github.com/robertkrimen/otto/parser - github.com/robertkrimen/otto/registry - github.com/robertkrimen/otto/token - # github.com/rs/cors v1.3.0 -+## explicit - github.com/rs/cors - # github.com/shengdoushi/base58 v1.0.0 -+## explicit - github.com/shengdoushi/base58 --# github.com/stretchr/testify v1.3.0 -+# github.com/stretchr/testify v1.7.0 -+## explicit - github.com/stretchr/testify/assert - github.com/stretchr/testify/require - # github.com/syndtr/goleveldb v1.0.0 --github.com/syndtr/goleveldb/leveldb/util -+## explicit - github.com/syndtr/goleveldb/leveldb -+github.com/syndtr/goleveldb/leveldb/cache -+github.com/syndtr/goleveldb/leveldb/comparer - github.com/syndtr/goleveldb/leveldb/errors - github.com/syndtr/goleveldb/leveldb/filter - github.com/syndtr/goleveldb/leveldb/iterator --github.com/syndtr/goleveldb/leveldb/opt --github.com/syndtr/goleveldb/leveldb/storage --github.com/syndtr/goleveldb/leveldb/cache --github.com/syndtr/goleveldb/leveldb/comparer - github.com/syndtr/goleveldb/leveldb/journal - github.com/syndtr/goleveldb/leveldb/memdb -+github.com/syndtr/goleveldb/leveldb/opt -+github.com/syndtr/goleveldb/leveldb/storage - github.com/syndtr/goleveldb/leveldb/table -+github.com/syndtr/goleveldb/leveldb/util -+# github.com/uber-go/atomic v0.0.0-00010101000000-000000000000 => github.com/uber-go/atomic v1.4.0 -+## explicit - # github.com/uber/jaeger-client-go v2.16.0+incompatible -+## explicit - github.com/uber/jaeger-client-go - github.com/uber/jaeger-client-go/config - github.com/uber/jaeger-client-go/internal/baggage -+github.com/uber/jaeger-client-go/internal/baggage/remote - github.com/uber/jaeger-client-go/internal/spanlog - github.com/uber/jaeger-client-go/internal/throttler -+github.com/uber/jaeger-client-go/internal/throttler/remote - github.com/uber/jaeger-client-go/log -+github.com/uber/jaeger-client-go/rpcmetrics - github.com/uber/jaeger-client-go/thrift -+github.com/uber/jaeger-client-go/thrift-gen/agent -+github.com/uber/jaeger-client-go/thrift-gen/baggage - github.com/uber/jaeger-client-go/thrift-gen/jaeger - github.com/uber/jaeger-client-go/thrift-gen/sampling - github.com/uber/jaeger-client-go/thrift-gen/zipkincore --github.com/uber/jaeger-client-go/utils --github.com/uber/jaeger-client-go/internal/baggage/remote --github.com/uber/jaeger-client-go/internal/throttler/remote --github.com/uber/jaeger-client-go/rpcmetrics - github.com/uber/jaeger-client-go/transport --github.com/uber/jaeger-client-go/thrift-gen/agent --github.com/uber/jaeger-client-go/thrift-gen/baggage -+github.com/uber/jaeger-client-go/utils - # github.com/uber/jaeger-lib v2.0.0+incompatible -+## explicit - github.com/uber/jaeger-lib/metrics --# golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc --golang.org/x/crypto/pbkdf2 --golang.org/x/crypto/scrypt --golang.org/x/crypto/ssh --golang.org/x/crypto/ssh/terminal --golang.org/x/crypto/sha3 --golang.org/x/crypto/ripemd160 --golang.org/x/crypto/openpgp -+# golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b -+## explicit -+golang.org/x/crypto/blowfish -+golang.org/x/crypto/cast5 -+golang.org/x/crypto/chacha20 - golang.org/x/crypto/curve25519 - golang.org/x/crypto/ed25519 --golang.org/x/crypto/internal/chacha20 --golang.org/x/crypto/poly1305 -+golang.org/x/crypto/ed25519/internal/edwards25519 -+golang.org/x/crypto/internal/subtle -+golang.org/x/crypto/openpgp - golang.org/x/crypto/openpgp/armor -+golang.org/x/crypto/openpgp/elgamal - golang.org/x/crypto/openpgp/errors - golang.org/x/crypto/openpgp/packet - golang.org/x/crypto/openpgp/s2k --golang.org/x/crypto/ed25519/internal/edwards25519 --golang.org/x/crypto/internal/subtle --golang.org/x/crypto/cast5 --golang.org/x/crypto/openpgp/elgamal --# golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 --golang.org/x/net/websocket -+golang.org/x/crypto/pbkdf2 -+golang.org/x/crypto/poly1305 -+golang.org/x/crypto/ripemd160 -+golang.org/x/crypto/scrypt -+golang.org/x/crypto/sha3 -+golang.org/x/crypto/ssh -+golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -+golang.org/x/crypto/ssh/terminal -+# golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 -+## explicit - golang.org/x/net/context --golang.org/x/net/html/charset - golang.org/x/net/html - golang.org/x/net/html/atom --# golang.org/x/sync v0.0.0-20181108010431-42b317875d0f -+golang.org/x/net/html/charset -+golang.org/x/net/websocket -+# golang.org/x/sync v0.0.0-20210220032951-036812b2e83c -+## explicit - golang.org/x/sync/syncmap --# golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 -+# golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 -+## explicit - golang.org/x/sys/cpu -+golang.org/x/sys/internal/unsafeheader -+golang.org/x/sys/plan9 - golang.org/x/sys/unix - golang.org/x/sys/windows --# golang.org/x/text v0.3.0 -+# golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 -+golang.org/x/term -+# golang.org/x/text v0.3.5 - golang.org/x/text/encoding - golang.org/x/text/encoding/charmap - golang.org/x/text/encoding/htmlindex --golang.org/x/text/transform --golang.org/x/text/encoding/internal/identifier - golang.org/x/text/encoding/internal -+golang.org/x/text/encoding/internal/identifier - golang.org/x/text/encoding/japanese - golang.org/x/text/encoding/korean - golang.org/x/text/encoding/simplifiedchinese - golang.org/x/text/encoding/traditionalchinese - golang.org/x/text/encoding/unicode --golang.org/x/text/language -+golang.org/x/text/internal/language -+golang.org/x/text/internal/language/compact -+golang.org/x/text/internal/tag - golang.org/x/text/internal/utf8internal -+golang.org/x/text/language - golang.org/x/text/runes --golang.org/x/text/internal/tag --# gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 -+golang.org/x/text/transform -+# google.golang.org/protobuf v1.27.1 -+google.golang.org/protobuf/encoding/prototext -+google.golang.org/protobuf/encoding/protowire -+google.golang.org/protobuf/internal/descfmt -+google.golang.org/protobuf/internal/descopts -+google.golang.org/protobuf/internal/detrand -+google.golang.org/protobuf/internal/encoding/defval -+google.golang.org/protobuf/internal/encoding/messageset -+google.golang.org/protobuf/internal/encoding/tag -+google.golang.org/protobuf/internal/encoding/text -+google.golang.org/protobuf/internal/errors -+google.golang.org/protobuf/internal/filedesc -+google.golang.org/protobuf/internal/filetype -+google.golang.org/protobuf/internal/flags -+google.golang.org/protobuf/internal/genid -+google.golang.org/protobuf/internal/impl -+google.golang.org/protobuf/internal/order -+google.golang.org/protobuf/internal/pragma -+google.golang.org/protobuf/internal/set -+google.golang.org/protobuf/internal/strs -+google.golang.org/protobuf/internal/version -+google.golang.org/protobuf/proto -+google.golang.org/protobuf/reflect/protodesc -+google.golang.org/protobuf/reflect/protoreflect -+google.golang.org/protobuf/reflect/protoregistry -+google.golang.org/protobuf/runtime/protoiface -+google.golang.org/protobuf/runtime/protoimpl -+google.golang.org/protobuf/types/descriptorpb -+# gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 -+## explicit - gopkg.in/check.v1 - # gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce -+## explicit - gopkg.in/natefinch/npipe.v2 - # gopkg.in/olebedev/go-duktape.v3 v3.0.0-20180302121509-abf0ba0be5d5 -+## explicit - gopkg.in/olebedev/go-duktape.v3 - # gopkg.in/sourcemap.v1 v1.0.5 -+## explicit - gopkg.in/sourcemap.v1 - gopkg.in/sourcemap.v1/base64vlq - # gopkg.in/urfave/cli.v1 v1.20.0 -+## explicit - gopkg.in/urfave/cli.v1 -+# gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b -+gopkg.in/yaml.v3 -+# github.com/codahale/hdrhistogram => github.com/HdrHistogram/hdrhistogram-go v0.9.0 -+# github.com/uber-go/atomic => github.com/uber-go/atomic v1.4.0 -+ diff --git a/net-p2p/energi3/files/energi3.service b/net-p2p/energi3/files/energi3.service deleted file mode 100644 index c1aca146c838..000000000000 --- a/net-p2p/energi3/files/energi3.service +++ /dev/null @@ -1,42 +0,0 @@ -[Unit] -Description=Energi Core Node Service -After=syslog.target network.target - -[Service] -SyslogIdentifier=energi3 -Type=simple -User=energi3 -Group=energi3 -ExecStart=/usr/bin/energi3 \ ---datadir ${STATE_DIRECTORY} \ ---masternode \ ---mine=1 \ ---rpc \ ---rpcport 39796 \ ---rpcaddr "127.0.0.1" \ ---rpcapi admin,eth,web3,rpc,personal,energi \ ---ws \ ---wsaddr "127.0.0.1" \ ---wsport 39795 \ ---wsapi admin,eth,net,web3,personal,energi \ ---verbosity 0 -PrivateTmp=true -ProtectHome=true -ProtectSystem=strict -NoNewPrivileges=true -PrivateDevices=true -CapabilityBoundingSet= -ProtectClock=true -ProtectKernelModules=true -ProtectKernelTunables=true -ProtectKernelLogs=true -ProtectControlGroups=true -RestrictRealtime=true -RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX -RestrictNamespaces=true -PrivateUsers=true -StateDirectory=energi3 - -[Install] -WantedBy=multi-user.target - diff --git a/net-p2p/energi3/metadata.xml b/net-p2p/energi3/metadata.xml deleted file mode 100644 index dd813503aced..000000000000 --- a/net-p2p/energi3/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>candrews@gentoo.org</email> - <name>Craig Andrews</name> - </maintainer> - <upstream> - <remote-id type="github">energicryptocurrency/energi3</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/feather/Manifest b/net-p2p/feather/Manifest deleted file mode 100644 index 3fd8745ce5be..000000000000 --- a/net-p2p/feather/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST feather-2.8.1.tar.gz 25878783 BLAKE2B 02f7ec447c8962dce689a7c679eb407aaf406f7a970146ba7c2551abfae7d69077817087b83e1b3f6064d789c78e48b1788af8a9f7f0d7c760f098e359248e60 SHA512 3852e412e43abdce271a441c9ed2deb38f9c755b63e2caaf903e70c0291bfa1a9c8fa64a453f136c53fd16c35e5844d3d8884f917ea34feca4e0e3e3d844d6bb -DIST feather-2.8.1.tar.gz.asc 833 BLAKE2B 727ab2049323d03d839fb8f570cbb687829aa2a8abe1e8d5d7abecd1689559389696707da7bc570b6f6d17256c6785f5071c75f0ec89f96ad3d30e3b69e6b915 SHA512 2a082d467c95cb7757dc5261e93a1ecfbec5a4881cab3c88c25b7869af76892965904a9e3d8fc250e57c3f2210002aa695960f3bc32c97b59313504a6e0e2eef diff --git a/net-p2p/feather/feather-2.8.1-r3.ebuild b/net-p2p/feather/feather-2.8.1-r3.ebuild deleted file mode 100644 index e921f4dcd6d4..000000000000 --- a/net-p2p/feather/feather-2.8.1-r3.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# RavFX (2025) Bump version and remove deprecated plugins - -EAPI=8 - -inherit cmake desktop verify-sig xdg - -DESCRIPTION="A free, open-source Monero wallet" -HOMEPAGE="https://featherwallet.org" -SRC_URI=" - https://featherwallet.org/files/releases/source/${P}.tar.gz - verify-sig? ( https://featherwallet.org/files/releases/source/${P}.tar.gz.asc ) -" - -# Feather is released under the terms of the BSD license, but it vendors -# code from Monero and Tor too. -LICENSE="BSD MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="bounties calc crowdfunding home qrcode revuo tickers xmrig wayland" -DEPEND=" - dev-libs/libsodium:= - media-gfx/qrencode:= - media-gfx/zbar:=[v4l] - ~dev-libs/polyseed-2.0.0 - dev-libs/libzip:= - dev-libs/boost:=[nls] - >=dev-qt/qtbase-6.9.1:6[wayland=] - >=dev-qt/qtsvg-6.9.1:6 - >=dev-qt/qtmultimedia-6.9.1:6 - >=dev-qt/qtwebsockets-6.9.1:6 - dev-libs/libgcrypt:= - virtual/zlib:= - dev-libs/openssl:= - net-dns/unbound:= - net-libs/czmq:= - qrcode? ( media-libs/zxing-cpp dev-util/bc-ur ) -" -RDEPEND=" - ${DEPEND} - net-vpn/tor - xmrig? ( net-misc/xmrig ) -" -BDEPEND=" - virtual/pkgconfig - verify-sig? ( sec-keys/openpgp-keys-featherwallet ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/featherwallet.asc - -src_prepare() { - eapply "${FILESDIR}/fix-epee-missing-include.patch" - default - echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die - echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die - rm -r "${WORKDIR}"/${P}/src/third-party || die - if ! use wayland; then - eapply "${FILESDIR}/feather-no-wayland.patch" - fi - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_BUILD_TYPE=Release - -DBUILD_SHARED_LIBS=OFF - -DARCH=x86-64 - -DBUILD_TAG="linux-x64" - -DBUILD_64=ON - -DSELF_CONTAINED=OFF - -DWITH_PLUGIN_HOME=$(usex home) - -DWITH_PLUGIN_TICKERS=$(usex tickers) - -DWITH_PLUGIN_CROWDFUNDING=$(usex crowdfunding) - -DWITH_PLUGIN_BOUNTIES=$(usex bounties) - -DWITH_PLUGIN_REVUO=$(usex revuo) - -DWITH_PLUGIN_CALC=$(usex calc) - -DWITH_PLUGIN_XMRIG=$(usex xmrig) - -DCHECK_UPDATES=OFF - -DPLATFORM_INSTALLER=OFF - -DUSE_DEVICE_TREZOR=OFF - -DDONATE_BEG=OFF - -DWITH_SCANNER=$(usex qrcode) - ) - cmake_src_configure -} - -src_compile() { - cmake_build feather -} - -src_install() { - dobin "${BUILD_DIR}/bin/feather" - - newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png - newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png - newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png - newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png - newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png - newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png - domenu "${WORKDIR}"/${P}/src/assets/feather.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - - einfo "Ensure that Tor is running with 'rc-service tor start' before" - einfo "using Feather." - einfo "" - einfo "Donation popup has been disabled in this build." - einfo "Consider donating to upstream developers here:" - einfo "https://docs.featherwallet.org/guides/donate" -} diff --git a/net-p2p/feather/feather-9999.ebuild b/net-p2p/feather/feather-9999.ebuild deleted file mode 100644 index 64cae5901304..000000000000 --- a/net-p2p/feather/feather-9999.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop git-r3 xdg - -DESCRIPTION="A free, open-source Monero wallet" -HOMEPAGE="https://featherwallet.org" -EGIT_REPO_URI="https://github.com/feather-wallet/feather.git" - -# Feather is released under the terms of the BSD license, but it vendors -# code from Monero and Tor too. -LICENSE="BSD MIT" -SLOT="0" -IUSE="bounties calc crowdfunding home qrcode revuo tickers xmrig" -DEPEND=" - dev-libs/libsodium:= - media-gfx/qrencode:= - media-gfx/zbar:=[v4l] - ~dev-libs/polyseed-2.0.0 - dev-libs/libzip:= - dev-libs/boost:=[nls] - >=dev-qt/qtbase-6.7.3:6 - >=dev-qt/qtsvg-6.7.3:6 - >=dev-qt/qtmultimedia-6.7.3:6 - >=dev-qt/qtwebsockets-6.7.3:6 - dev-libs/libgcrypt:= - virtual/zlib:= - dev-libs/openssl:= - net-dns/unbound:= - net-libs/czmq:= - qrcode? ( media-libs/zxing-cpp dev-util/bc-ur ) -" -RDEPEND=" - ${DEPEND} - net-vpn/tor - xmrig? ( net-misc/xmrig ) -" -BDEPEND=" - virtual/pkgconfig -" - -src_prepare() { - rm -r "${WORKDIR}"/${P}/src/third-party || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_BUILD_TYPE=Release - -DBUILD_SHARED_LIBS=OFF - -DARCH=x86-64 - -DBUILD_TAG="linux-x64" - -DBUILD_64=ON - -DSELF_CONTAINED=OFF - -DWITH_PLUGIN_HOME=$(usex home) - -DWITH_PLUGIN_TICKERS=$(usex tickers) - -DWITH_PLUGIN_CROWDFUNDING=$(usex crowdfunding) - -DWITH_PLUGIN_BOUNTIES=$(usex bounties) - -DWITH_PLUGIN_REVUO=$(usex revuo) - -DWITH_PLUGIN_CALC=$(usex calc) - -DWITH_PLUGIN_XMRIG=$(usex xmrig) - -DCHECK_UPDATES=OFF - -DPLATFORM_INSTALLER=OFF - -DUSE_DEVICE_TREZOR=OFF - -DDONATE_BEG=OFF - -DWITH_SCANNER=$(usex qrcode) - ) - cmake_src_configure -} - -src_compile() { - cmake_build feather -} - -src_install() { - dobin "${BUILD_DIR}/bin/feather" - - newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png - newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png - newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png - newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png - newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png - newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png - domenu "${WORKDIR}"/${P}/src/assets/feather.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - - einfo "Ensure that Tor is running with 'rc-service tor start' before" - einfo "using Feather." - einfo "" - einfo "Donation popup has been disabled in this build." - einfo "Consider donating to upstream developers here:" - einfo "https://docs.featherwallet.org/guides/donate" -} diff --git a/net-p2p/feather/files/feather-no-wayland.patch b/net-p2p/feather/files/feather-no-wayland.patch deleted file mode 100644 index 36e2ec0f222e..000000000000 --- a/net-p2p/feather/files/feather-no-wayland.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff '--color=auto' -Naur a/src/CMakeLists.txt b/src/CMakeLists.txt ---- a/src/CMakeLists.txt 2025-04-12 18:06:53.000000000 -0600 -+++ b/src/CMakeLists.txt 2025-09-17 13:30:45.000000000 -0600 -@@ -18,10 +18,6 @@ - MultimediaWidgets) - endif() - --IF (UNIX AND NOT APPLE) -- list(APPEND QT_COMPONENTS WaylandClient) --endif() -- - find_package(Qt6 REQUIRED COMPONENTS ${QT_COMPONENTS}) - - if (CHECK_UPDATES) -@@ -309,17 +305,12 @@ - ) - endif() - --if(UNIX AND NOT APPLE) -- target_link_libraries(feather PRIVATE Qt::WaylandClient) --endif() -- - if(STATIC AND APPLE) - target_link_libraries(feather PRIVATE Qt6::QDarwinCameraPermissionPlugin) - endif() - - if(STATIC AND UNIX AND NOT APPLE) - target_link_libraries(feather PRIVATE Qt6::QComposePlatformInputContextPlugin) -- target_link_libraries(feather PRIVATE Qt6::QWaylandIntegrationPlugin) - endif() - - if(DEPENDS AND UNIX AND NOT APPLE) -@@ -328,10 +319,8 @@ - message(STATUS "libXau: libraries at ${LIBXAU_LIBRARY}") - target_link_libraries(XCB::XCB INTERFACE ${LIBXAU_LIBRARY}) - -- # make sure Wayland::Client links to libffi - find_library(LIBFFI_LIBRARY ffi REQUIRED) - message(STATUS "libffi: libraries at ${LIBFFI_LIBRARY}") -- target_link_libraries(Wayland::Client INTERFACE ${LIBFFI_LIBRARY}) - endif() - - if(STACK_TRACE AND CMAKE_C_COMPILER_ID STREQUAL "GNU") diff --git a/net-p2p/feather/files/fix-epee-missing-include.patch b/net-p2p/feather/files/fix-epee-missing-include.patch deleted file mode 100644 index 74d5b315cded..000000000000 --- a/net-p2p/feather/files/fix-epee-missing-include.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff '--color=auto' -Naur orig/monero/contrib/epee/src/abstract_http_client.cpp final/monero/contrib/epee/src/abstract_http_client.cpp ---- orig/monero/contrib/epee/src/abstract_http_client.cpp 2025-04-12 18:06:53.000000000 -0600 -+++ final/monero/contrib/epee/src/abstract_http_client.cpp 2026-03-03 16:03:26.000000000 -0600 -@@ -1,3 +1,4 @@ -+#include <math.h> - #include "net/abstract_http_client.h" - #include "net/http_base.h" - #include "net/net_parse_helpers.h" diff --git a/net-p2p/feather/metadata.xml b/net-p2p/feather/metadata.xml deleted file mode 100644 index 6ecf99c30403..000000000000 --- a/net-p2p/feather/metadata.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>adam.pimentel46@gmail.com</email> - <name>Adam Pimentel</name> - </maintainer> - <maintainer type="person"> - <email>ravfx@xmr.mx</email> - <name>RavFX</name> - </maintainer> - <upstream> - <remote-id type="github">feather-wallet/feather</remote-id> - </upstream> - <longdescription lang="en"> - Feather is a free, open-source Monero wallet for Linux, Tails, - Windows and macOS. It is: - - easy-to-use, small and fast - Feather runs well on any modern - hardware, including virtual machines and live operating systems. - - beginner friendly, but also caters to advanced Monero users by - providing a feature set that is on par with the official CLI. - - ships with sane defaults that suit most users, but can also be - configured for high or uncommon threat models. - - serves as a testing grounds for experimental features that may - later be adopted in the reference wallets. - </longdescription> - <use> - <flag name="bounties"> - Enable bounties page plugin - </flag> - <flag name="calc"> - Enable price calculator page plugin - </flag> - <flag name="crowdfunding"> - Enable crowdfunding page plugin - </flag> - <flag name="home"> - Enable home page plugin - </flag> - <flag name="qrcode"> - Enable QR code scanning with media-gfx/zbar - </flag> - <flag name="revuo"> - Enable revuo plugin - </flag> - <flag name="tickers"> - Enable price tickers plugin - </flag> - <flag name="xmrig"> - Enable mining support using a user specified xmrig binary - </flag> - </use> -</pkgmetadata> diff --git a/net-p2p/fopnu/Manifest b/net-p2p/fopnu/Manifest deleted file mode 100644 index b8aab73147fa..000000000000 --- a/net-p2p/fopnu/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fopnu-1.68.tar.gz 18540847 BLAKE2B 450a8e08dd20d9c5225f0bb40bed2040d8c024dfb5ff423de2fd05fb2e46ca86a4d136810b76c38e27e2e6c68800f176ec473572f197d5a978c605429d1acee9 SHA512 70a80788c32bd9f8590de6e40393c3283baa4e45df93bc9424e7423006a2600cba7cc092e969f574c701c489907a55b2662deebccfcd097aade616dbf067ef73 diff --git a/net-p2p/fopnu/fopnu-1.68.ebuild b/net-p2p/fopnu/fopnu-1.68.ebuild deleted file mode 100644 index d086546fc2ae..000000000000 --- a/net-p2p/fopnu/fopnu-1.68.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg - -DESCRIPTION="P2P file sharing system" -HOMEPAGE="https://www.fopnu.com" -SRC_URI=" - amd64? ( https://download2.fopnu.com/download/${P}-1.x86_64.manualinstall.tar.gz -> ${P}.tar.gz ) -" - -S="${WORKDIR}/${P}-1.x86_64.manualinstall" - -LICENSE="Fopnu" -SLOT="0" -KEYWORDS="-* ~amd64" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/dbus-glib - dev-libs/glib - sys-apps/dbus - sys-libs/glibc - virtual/zlib - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/pango -" -DEPEND="${RDEPEND}" - -QA_PREBUILT="usr/bin/fopnu" - -src_install() { - sed -i "/^Categories/ s/Internet;//" fopnu.desktop - - dobin fopnu - domenu fopnu.desktop - doicon -s 48 fopnu.png -} diff --git a/net-p2p/fopnu/metadata.xml b/net-p2p/fopnu/metadata.xml deleted file mode 100644 index ccb29283dc48..000000000000 --- a/net-p2p/fopnu/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@paveloom.dev</email> - <name>Pavel Sobolev</name> - </maintainer> -</pkgmetadata> diff --git a/net-p2p/fragments/Manifest b/net-p2p/fragments/Manifest deleted file mode 100644 index 38ea719c586c..000000000000 --- a/net-p2p/fragments/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fragments-3.0.1.tar.xz 35732112 BLAKE2B 47d2060f984575d0ba93efb20dd09fda2bc5eb8af51475cf7c2044c8f3253ac4844d404c1ba1366080bce4cae919e3711858da3ae94557cab7155d3745ff37d8 SHA512 96cb6253c8b19c761a73b456801de3f4a4b33eb71a6513e93bdf646d7c6e12b9f1f7d28f3f9bc0cf31882498758008923976f8bef073e8ba2f9e7345eb9b723a diff --git a/net-p2p/fragments/files/meson-fixes.patch b/net-p2p/fragments/files/meson-fixes.patch deleted file mode 100644 index e1182cb9e9b3..000000000000 --- a/net-p2p/fragments/files/meson-fixes.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/src/meson.build b/src/meson.build -index 96f692d..62a79e3 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -21,37 +21,4 @@ run_command( - join_paths(meson.project_build_root(), 'src', 'config.rs'), - join_paths(meson.project_source_root(), 'src', 'config.rs'), - check: true --) -- --# Setup cargo --cargo = find_program('cargo') --cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home' ] --cargo_options = [ '--manifest-path', meson.project_source_root() / 'Cargo.toml' ] --cargo_options += [ '--target-dir', meson.project_build_root() / 'target' ] -- --if get_option('profile') == 'default' -- cargo_options += [ '--release' ] -- rust_target = 'release' -- message('Building in release mode') --else -- rust_target = 'debug' -- message('Building in debug mode') --endif -- --cargo_release = custom_target( -- 'cargo-build', -- build_by_default: true, -- build_always_stale: true, -- output: meson.project_name(), -- console: true, -- install: true, -- install_dir: bindir, -- command: [ -- 'env', -- cargo_env, -- cargo, 'build', -- cargo_options, -- '&&', -- 'cp', 'target' / rust_target / meson.project_name(), '@OUTPUT@', -- ] - ) -\ No newline at end of file diff --git a/net-p2p/fragments/fragments-3.0.1-r1.ebuild b/net-p2p/fragments/fragments-3.0.1-r1.ebuild deleted file mode 100644 index db5197a60e4f..000000000000 --- a/net-p2p/fragments/fragments-3.0.1-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome2-utils meson rust xdg - -UPLOADHASH="4a5dcb11cec0b0438ad575db08aa755c" -DESCRIPTION="Fragments is an easy to use BitTorrent client" -HOMEPAGE="https://gitlab.gnome.org/World/Fragments" -SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${UPLOADHASH}/${P}.tar.xz" -BUILD_DIR="${S}/build" - -LICENSE="GPL-3+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-libs/glib-2.76.0:2 - >=dev-libs/openssl-1.0.0:= - >=gui-libs/gtk-4.12.0:4[wayland] - >=gui-libs/libadwaita-1.5.0:1 - net-p2p/transmission - sys-apps/dbus - virtual/zlib:= - x11-libs/pango -" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/gettext -" - -# Rust package -QA_FLAGS_IGNORED="usr/bin/${PN}" - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/net-p2p/fragments/fragments-3.0.1-r2.ebuild b/net-p2p/fragments/fragments-3.0.1-r2.ebuild deleted file mode 100644 index 76e35e03351f..000000000000 --- a/net-p2p/fragments/fragments-3.0.1-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome2-utils meson rust xdg - -UPLOADHASH="4a5dcb11cec0b0438ad575db08aa755c" -DESCRIPTION="Fragments is an easy to use BitTorrent client" -HOMEPAGE="https://gitlab.gnome.org/World/Fragments" -SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${UPLOADHASH}/${P}.tar.xz" -BUILD_DIR="${S}/build" - -LICENSE="GPL-3+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-libs/glib-2.76.0:2 - >=dev-libs/openssl-1.0.0:= - >=gui-libs/gtk-4.12.0:4[wayland] - >=gui-libs/libadwaita-1.5.0:1 - net-p2p/transmission - sys-apps/dbus - virtual/zlib:= - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/pango -" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/gettext -" - -# Rust package -QA_FLAGS_IGNORED="usr/bin/${PN}" - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/net-p2p/fragments/metadata.xml b/net-p2p/fragments/metadata.xml deleted file mode 100644 index c1d7fea496cb..000000000000 --- a/net-p2p/fragments/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <name>Julien Roy</name> - <email>julien@jroy.ca</email> - </maintainer> - <upstream> - <maintainer> - <name>Felix Häcker</name> - <email>haeckerfelix@gnome.org</email> - </maintainer> - <bugs-to>https://gitlab.gnome.org/World/Fragments/-/issues</bugs-to> - <changelog>https://gitlab.gnome.org/World/Fragments/-/releases</changelog> - <remote-id type="gnome-gitlab">World/Fragments</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest deleted file mode 100644 index 8e15cd2e0eba..000000000000 --- a/net-p2p/freenet/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST freenet-build01506-source.tar.bz2 6845159 BLAKE2B b67515683fa3ccb87986dcd51bb4914bdbeda8b69c69ccc974615f1f3fd1b5549e7058e62c28400fbb10e6e6be3e33b0415729626cbcd4146cc52a67a4e4ea78 SHA512 209a52bd093c7ee43327de6ca34cf030d74953edbc325866b19c8bb7cf76d35f0d606ee5665c580c3e499900b14d94c384e22bec5e1b6884b7db0e0da07f7c2c -DIST freenet-build01506-source.tar.bz2.sig 566 BLAKE2B 7a6fc7f7495672c3305abac593c0ce870e3038f23d342476ebd4d7579e8fbab58a2c09b1bc2812a94610c7fffa253a8c612ef25d8d199cb257293b4641f03bb2 SHA512 6b54a603359d0b0c4ff5a62e7f2ac1a1b2956746ac2f70b06375a798c016642082501b1fa6df6081562a5e45ab5819739eb397ce82c302d99a5c4650fde064b8 -DIST freenet-ext-29.tar.gz 4328779 BLAKE2B a9dc6dc34d6dbccc9f89c955f35b35024a7067aa8e89cf195492e77a8ebc92b73cc98e779c7f75ba6a430e994e856937be018a6505e1cda07eeea275925ee0e7 SHA512 11cf0942042483403cf526684a18c2b1766d3f6fb15c2ca4bdb59d95382ed86fcdb71a66d9f43a504abf3ca5c53f9da749086e462bbb56826beb95a2a7f1cbfa -DIST seednodes-0.7.5_p1480.tar.gz 12364 BLAKE2B edb4e2a5c7424b51f0afb8234c7e486d56fe92e9201ab7ed7658366f070225f8def1b5412a31367e434ab4afae393caa16e7bdd7307f1d870607105fd5076638 SHA512 a2662a29f5721cd1523eb68b8787b074baec990327207b9ff444c91e644738a610e5216064aef00c62d6aca8ba66b2035a3175f63d45c1e0e8efc816b2a38660 diff --git a/net-p2p/freenet/files/freenet b/net-p2p/freenet/files/freenet deleted file mode 100644 index cfbfa767732e..000000000000 --- a/net-p2p/freenet/files/freenet +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -start() { - start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null - eend 0 -} - -status() { - start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh status 2>/dev/null - eend 0 -} - -stop() { - start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh stop 2>/dev/null - eend 0 -} diff --git a/net-p2p/freenet/files/freenet-0.7.5_p1503-ignore-failing-tests.patch b/net-p2p/freenet/files/freenet-0.7.5_p1503-ignore-failing-tests.patch deleted file mode 100644 index df98b9dc0f04..000000000000 --- a/net-p2p/freenet/files/freenet-0.7.5_p1503-ignore-failing-tests.patch +++ /dev/null @@ -1,57 +0,0 @@ -There were 2 failures: -1) generatedAtomContainsTitle(freenet.node.useralerts.UserAlertManagerTest) -java.lang.AssertionError: -Expected: "UserAlertManager.feedTitle" - but: was "Freenet" - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) - at freenet.node.useralerts.UserAlertManagerTest.verifyStringPropertyInAtom(UserAlertManagerTest.java:186) - at freenet.node.useralerts.UserAlertManagerTest.verifyStringPropertyInGeneratedAtom(UserAlertManagerTest.java:181) - at freenet.node.useralerts.UserAlertManagerTest.generatedAtomContainsTitle(UserAlertManagerTest.java:40) -2) testGetStringOverridden(freenet.l10n.BaseL10nTest) -org.junit.ComparisonFailure: expected:<[O]verridden> but was:<[Not o]verridden> - at org.junit.Assert.assertEquals(Assert.java:117) - at org.junit.Assert.assertEquals(Assert.java:146) - at freenet.l10n.BaseL10nTest.testGetStringOverridden(BaseL10nTest.java:188) - -FAILURES!!! -Tests run: 1131, Failures: 2 - ---- a/test/freenet/l10n/BaseL10nTest.java -+++ b/test/freenet/l10n/BaseL10nTest.java -@@ -6,6 +6,7 @@ import java.io.File; - import java.util.Iterator; - - import org.junit.Test; -+import org.junit.Ignore; - - import freenet.l10n.BaseL10n.LANGUAGE; - import freenet.support.HTMLNode; -@@ -181,7 +182,7 @@ public class BaseL10nTest { - assertEquals("Sane", value); - } - -- @Test -+ @Test @Ignore - public void testGetStringOverridden() { - BaseL10n l10n = createTestL10n(LANGUAGE.ENGLISH); - String value = l10n.getString("test.override"); ---- a/test/freenet/node/useralerts/UserAlertManagerTest.java -+++ b/test/freenet/node/useralerts/UserAlertManagerTest.java -@@ -26,6 +26,7 @@ import org.hamcrest.Description; - import org.hamcrest.Matcher; - import org.hamcrest.TypeSafeDiagnosingMatcher; - import org.junit.Test; -+import org.junit.Ignore; - import org.w3c.dom.Document; - import org.w3c.dom.Node; - import org.w3c.dom.NodeList; -@@ -35,7 +36,7 @@ import freenet.node.NodeClientCore; - - public class UserAlertManagerTest { - -- @Test -+ @Test @Ignore - public void generatedAtomContainsTitle() throws Exception { - verifyStringPropertyInGeneratedAtom("/feed/title", equalTo("UserAlertManager.feedTitle")); - } diff --git a/net-p2p/freenet/files/freenet-0.7.5_p1503-wrapper.conf b/net-p2p/freenet/files/freenet-0.7.5_p1503-wrapper.conf deleted file mode 100644 index 51109eb6c3dd..000000000000 --- a/net-p2p/freenet/files/freenet-0.7.5_p1503-wrapper.conf +++ /dev/null @@ -1,28 +0,0 @@ -wrapper.java.command=java -wrapper.working.dir=/var/freenet/ -wrapper.java.mainclass=freenet.node.NodeStarter -wrapper.java.library.path.1=/usr/lib -wrapper.java.initmemory=60 -wrapper.java.maxmemory=1024 -wrapper.java.additional.1=-Dnetworkaddress.cache.ttl=0 -wrapper.java.additional.2=-Dnetworkaddress.cache.negative.ttl=0 -wrapper.java.additional.3=-enableassertions:freenet -# Required since JNA 5.0.0, which changed the default JNI library search path -# https://github.com/java-native-access/jna/issues/384 -wrapper.java.additional.4=-Djna.nosys=false - -wrapper.app.parameter.1=freenet.ini -wrapper.console.format=PM -wrapper.console.loglevel=INFO -wrapper.logfile=wrapper.log -wrapper.logfile.format=LPTM -wrapper.logfile.loglevel=INFO -wrapper.logfile.maxsize=2M -wrapper.logfile.maxfiles=3 -wrapper.syslog.loglevel=NONE -wrapper.console.title=Freenet 0.7 -wrapper.jvm_exit.timeout=120 -wrapper.restart.reload_configuration=TRUE -wrapper.filter.trigger.1=java.lang.OutOfMemoryError -wrapper.filter.action.1=RESTART - diff --git a/net-p2p/freenet/files/freenet.service b/net-p2p/freenet/files/freenet.service deleted file mode 100644 index 17df1373dc34..000000000000 --- a/net-p2p/freenet/files/freenet.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=An encrypted network without censorship and monitoring. -After=network.target - -[Service] -User=freenet -Type=forking -ExecStart=/var/freenet/run.sh start -ExecStop=/var/freenet/run.sh stop -WorkingDirectory=/var/freenet - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/freenet/files/run.sh-20090501 b/net-p2p/freenet/files/run.sh-20090501 deleted file mode 100644 index 3f9723ff3e76..000000000000 --- a/net-p2p/freenet/files/run.sh-20090501 +++ /dev/null @@ -1,585 +0,0 @@ -#! /bin/sh - -# -# Copyright (c) 1999, 2006 Tanuki Software Inc. -# -# Java Service Wrapper sh script. Suitable for starting and stopping -# wrapped Java applications on UNIX platforms. -# - -#----------------------------------------------------------------------------- -# These settings can be modified to fit the needs of your application - -# Application -APP_NAME="Freenet" -APP_LONG_NAME="Freenet 0.7" - -# Wrapper -WRAPPER_CMD="/usr/bin/wrapper" -WRAPPER_CONF="/etc/freenet-wrapper.conf" - -# Priority at which to run the wrapper. See "man nice" for valid priorities. -# nice is only used if a priority is specified. - -# Note that Freenet will scale its usage within the specifed niceness, some -# threads will have a lower priority (higher nice value) than this. Also please -# don't renice Freenet once it's started. -PRIORITY=10 - -# Location of the pid file. -PIDDIR="/var/freenet/" - -# If uncommented, causes the Wrapper to be shutdown using an anchor file. -# When launched with the 'start' command, it will also ignore all INT and -# TERM signals. -IGNORE_SIGNALS=true - -# If specified, the Wrapper will be run as the specified user. -# IMPORTANT - Make sure that the user has the required privileges to write -# the PID file and wrapper.log files. Failure to be able to write the log -# file will cause the Wrapper to exit without any way to write out an error -# message. -# NOTE - This will set the user which is used to run the Wrapper as well as -# the JVM and is not useful in situations where a privileged resource or -# port needs to be allocated prior to the user being changed. -RUN_AS_USER=freenet - -# The following two lines are used by the chkconfig command. Change as is -# appropriate for your application. They should remain commented. -# chkconfig: 2345 20 80 -# description: @app.long.name@ - -# Do not modify anything beyond this point -#----------------------------------------------------------------------------- - -if [ "X`id -u`" = "X0" -a -z "$RUN_AS_USER" ] -then - echo "Do not run this script as root." - exit 1 -fi - -# and get java implementation too, Sun JDK or Kaffe -JAVA_IMPL=`java -version 2>&1 | head -n 1 | cut -f1 -d' '` - -# sun specific options -LDPROP="" -#if [ "$JAVA_IMPL" = "java" ] -#then -# echo Sun java detected. -# # Tell it not to use NPTL. -# # BAD THINGS happen if it uses NPTL. -# # Specifically, at least on 1.4.1. and 1.5.0b2, we get hangs -# # where many threads are stuck waiting for a lock to be -# # unlocked but no thread owns it. -# -# ## won't work on libc2.4 ... let's hope it's fixed -# if [[ -z "$(/lib/libc.so.6 | head -n 1 | grep 'release version 2.4')" ]] -# then -# if [[ -d /lib/tls ]] -# then -# LDPROP="set.LD_ASSUME_KERNEL=2.4.1" -# fi -# fi -#fi - - -# Get the fully qualified path to the script -case $0 in - /*) - SCRIPT="$0" - ;; - *) - PWD=`pwd` - SCRIPT="$PWD/$0" - ;; -esac - -# Resolve the true real path without any sym links. -CHANGED=true -while [ "X$CHANGED" != "X" ] -do - # Change spaces to ":" so the tokens can be parsed. - SCRIPT=`echo $SCRIPT | sed -e 's; ;:;g'` - # Get the real path to this script, resolving any symbolic links - TOKENS=`echo $SCRIPT | sed -e 's;/; ;g'` - REALPATH= - for C in $TOKENS; do - REALPATH="$REALPATH/$C" - while [ -h "$REALPATH" ] ; do - LS="`ls -ld "$REALPATH"`" - LINK="`expr "$LS" : '.*-> \(.*\)$'`" - if expr "$LINK" : '/.*' > /dev/null; then - REALPATH="$LINK" - else - REALPATH="`dirname "$REALPATH"`""/$LINK" - fi - done - done - - # Change ":" chars back to spaces. - REALPATH="`echo $REALPATH | sed -e 's;:; ;g'`" - SCRIPT="`echo $SCRIPT | sed -e 's;:; ;g'`" - - if [ "$REALPATH" = "$SCRIPT" ] - then - CHANGED="" - else - SCRIPT="$REALPATH" - fi -done - -# Change the current directory to the location of the script -cd "`dirname \"$REALPATH\"`" -REALDIR="`pwd`" -# If the PIDDIR is relative, set its value relative to the full REALPATH to avoid problems if -# the working directory is later changed. -FIRST_CHAR="`echo $PIDDIR | cut -c1,1`" -if [ "$FIRST_CHAR" != "/" ] -then - PIDDIR="$REALDIR/$PIDDIR" -fi -# Same test for WRAPPER_CMD -FIRST_CHAR="`echo $WRAPPER_CMD | cut -c1,1`" -if [ "$FIRST_CHAR" != "/" ] -then - WRAPPER_CMD="$REALDIR/$WRAPPER_CMD" -fi -# Same test for WRAPPER_CONF -FIRST_CHAR="`echo $WRAPPER_CONF | cut -c1,1`" -if [ "$FIRST_CHAR" != "/" ] -then - WRAPPER_CONF="$REALDIR/$WRAPPER_CONF" -fi - -# Process ID -ANCHORFILE="$PIDDIR/$APP_NAME.anchor" -PIDFILE="$PIDDIR/$APP_NAME.pid" -LOCKDIR="$REALDIR" -LOCKFILE="$LOCKDIR/$APP_NAME" -pid="" - -# Resolve the os -DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` -case "$DIST_OS" in - 'sunos') - DIST_OS="solaris" - ;; - 'hp-ux' | 'hp-ux64') - DIST_OS="hpux" - ;; - 'darwin' | 'oarwin') - DIST_OS="macosx" - - #We use the 1.5 jvm if it exists - if [ -d /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ ] - then - export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home" - fi - ;; - 'unix_sv') - DIST_OS="unixware" - ;; -esac - -# Resolve the architecture -DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]` -case "$DIST_ARCH" in - 'amd64' | 'ia32' | 'ia64' | 'i386' | 'i486' | 'i586' | 'i686' | 'x86_64') - DIST_ARCH="x86" - ;; - 'ip27' | 'mips') - DIST_ARCH="mips" - ;; - 'power' | 'powerpc' | 'power_pc' | 'ppc64') - DIST_ARCH="ppc" - ;; - 'pa_risc' | 'pa-risc') - DIST_ARCH="parisc" - ;; - 'sun4u' | 'sparcv9') - DIST_ARCH="sparc" - ;; - '9000/800') - DIST_ARCH="parisc" - ;; -esac - -# Check if we are running on 64bit platform, seems like a workaround for now... -DIST_BIT=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]` -case "$DIST_BIT" in - 'amd64' | 'ia64' | 'x86_64' | 'ppc64') - DIST_BIT="64" - ;; -# 'pa_risc' | 'pa-risc') # Are some of these 64bit? Least not all... -# BIT="64" -# ;; - 'sun4u' | 'sparcv9') # Are all sparcs 64? - DIST_BIT="64" - ;; -# '9000/800') -# DIST_BIT="64" -# ;; - *) # In any other case default to 32 - DIST_BIT="32" - ;; -esac - -# Decide on the wrapper binary to use. -# 64bit wrapper by default on 64bit platforms, because -# they might not have 32bit emulation libs installed. -# For macosx, we also want to look for universal binaries. - -WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-$DIST_BIT" - -if [ -x "$WRAPPER_TEST_CMD" ] -then - WRAPPER_CMD="$WRAPPER_TEST_CMD" -else - if [ "$DIST_OS" = "macosx" ] # Some osx weirdness, someone please check that this still works - then - WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-$DIST_BIT" - if [ -x "$WRAPPER_TEST_CMD" ] - then - WRAPPER_CMD="$WRAPPER_TEST_CMD" - else - WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-$DIST_BIT" - if [ -x "$WRAPPER_TEST_CMD" ] - then - WRAPPER_CMD="$WRAPPER_TEST_CMD" - else - WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-$DIST_BIT" - if [ -x "$WRAPPER_TEST_CMD" ] - then - WRAPPER_CMD="$WRAPPER_TEST_CMD" - else - if [ ! -x "$WRAPPER_CMD" ] - then - echo "Unable to locate any of the following binaries:" - echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-$DIST_BIT" - echo " $WRAPPER_CMD-$DIST_OS-universal-$DIST_BIT" - echo " $WRAPPER_CMD" - # - # We need -Djava.net.preferIPv4Stack=true on FreeBSD, otherwise recent jvms thow an IllegalArgumentException when we create the socket - # - NO_WRAPPER="java -Djava.net.preferIPv4Stack=true -cp freenet-ext.jar:freenet.jar freenet.node.NodeStarter" - fi - fi - fi - fi - else - if [ ! -x "$WRAPPER_CMD" ] - then - echo "Unable to locate any of the following binaries:" - echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-$DIST_BIT" - echo " $WRAPPER_CMD" - NO_WRAPPER="java -cp freenet-ext.jar:freenet.jar freenet.node.NodeStarter" - fi - fi -fi - -# Build the nice clause -if [ "X$PRIORITY" = "X" ] -then - CMDNICE="" -else - CMDNICE="nice -$PRIORITY" -fi - -# Build the anchor file clause. -if [ "X$IGNORE_SIGNALS" = "X" ] -then - ANCHORPROP= - IGNOREPROP= -else - ANCHORPROP=wrapper.anchorfile=\"$ANCHORFILE\" - IGNOREPROP=wrapper.ignore_signals=TRUE -fi - -# Build the lock file clause. Only create a lock file if the lock directory exists on this platform. -if [ -d "$LOCKDIR" ] -then - LOCKPROP=wrapper.lockfile=\"$LOCKFILE\" -else - LOCKPROP= -fi - -checkUser() { - # Check the configured user. If necessary rerun this script as the desired user. - if [ "X$RUN_AS_USER" != "X" ] - then - # Resolve the location of the 'id' command - IDEXE="/usr/xpg4/bin/id" - if [ ! -x $IDEXE ] - then - IDEXE="/usr/bin/id" - if [ ! -x $IDEXE ] - then - echo "Unable to locate 'id'." - echo "Please report this message along with the location of the command on your system." - exit 1 - fi - fi - - if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ] - then - # Already running as the configured user. Avoid password prompts by not calling su. - RUN_AS_USER="" - fi - fi - if [ "X$RUN_AS_USER" != "X" ] - then - # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be - # able to create the lock file. The Wrapper will be able to update this file once it - # is created but will not be able to delete it on shutdown. If $2 is defined then - # the lock file should be created for the current command - if [ "X$LOCKPROP" != "X" ] - then - if [ "X$2" != "X" ] - then - # Resolve the primary group - RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1` - if [ "X$RUN_AS_GROUP" = "X" ] - then - RUN_AS_GROUP=$RUN_AS_USER - fi - touch "$LOCKFILE" - chown $RUN_AS_USER:$RUN_AS_GROUP "$LOCKFILE" - fi - fi - - # Still want to change users, recurse. This means that the user will only be - # prompted for a password once. - su -m $RUN_AS_USER -c "$REALPATH $1" - - # Now that we are the original user again, we may need to clean up the lock file. - if [ "X$LOCKPROP" != "X" ] - then - getpid - if [ "X$pid" = "X" ] - then - # Wrapper is not running so make sure the lock file is deleted. - if [ -f "$LOCKFILE" ] - then - rm "$LOCKFILE" - fi - fi - fi - - exit 0 - fi -} - -getpid() { - if [ -f "$PIDFILE" ] - then - if [ -r "$PIDFILE" ] - then - pid="`cat \"$PIDFILE\"`" - if [ "X$pid" != "X" ] - then - # It is possible that 'a' process with the pid exists but that it is not the - # correct process. This can happen in a number of cases, but the most - # common is during system startup after an unclean shutdown. - # So make sure the process is one of "ours" -- that we can send - # a signal to it. (We don't use ps(1) because that's neither - # safe nor portable. - if ! kill -0 $pid 2>/dev/null - then - # This is a stale pid file. - rm -f "$PIDFILE" - echo "Removed stale pid file: $PIDFILE" - pid="" - fi - # Sometimes the pid exists and it's ours! - if ! test -f /proc/$pid/cwd/Freenet.pid - then - # This is a stale pid file. - rm -f "$PIDFILE" - echo "Removed stale pid file2: $PIDFILE" - pid="" - - fi - fi - else - echo "Cannot read $PIDFILE." - exit 1 - fi - fi -} - -testpid() { - if ! kill -0 $pid 2>/dev/null - then - # Process is gone so remove the pid file. - rm -f "$PIDFILE" - pid="" - fi -} - -console() { - echo "Running $APP_LONG_NAME..." - getpid - if [ "X$pid" = "X" ] - then - COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=\"$APP_NAME\" wrapper.pidfile=\"$PIDFILE\" $LDPROP $ANCHORPROP $LOCKPROP" - eval $COMMAND_LINE - else - echo "$APP_LONG_NAME is already running." - exit 1 - fi -} - -start() { - echo "Starting $APP_LONG_NAME..." - getpid - if [ "X$pid" = "X" ] - then - if [ "$NO_WRAPPER" ] # Check if we don't have usable wrapper, and run without it - then - echo "" - echo "Let's start the node without the wrapper, you'll have to daemonize it yourself." - eval $NO_WRAPPER - else # Otherwise use the wrapper - COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=\"$APP_NAME\" wrapper.pidfile=\"$PIDFILE\" $LDPROP wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP" - eval $COMMAND_LINE - fi - else - echo "$APP_LONG_NAME is already running." - exit 1 - fi -} - -stopit() { - echo "Stopping $APP_LONG_NAME..." - getpid - if [ "X$pid" = "X" ] - then - echo "$APP_LONG_NAME was not running." - else - if [ "X$IGNORE_SIGNALS" = "X" ] - then - # Running so try to stop it. - kill $pid - if [ $? -ne 0 ] - then - # An explanation for the failure should have been given - echo "Unable to stop $APP_LONG_NAME." - exit 1 - fi - else - rm -f "$ANCHORFILE" - if [ -f "$ANCHORFILE" ] - then - # An explanation for the failure should have been given - echo "Unable to stop $APP_LONG_NAME." - exit 1 - fi - fi - - # We can not predict how long it will take for the wrapper to - # actually stop as it depends on settings in wrapper.conf. - # Loop until it does. - savepid=$pid - CNT=0 - TOTCNT=0 - while [ "X$pid" != "X" ] - do - # Show a waiting message every 5 seconds. - if [ "$CNT" -lt "5" ] - then - CNT=`expr $CNT + 1` - else - echo "Waiting for $APP_LONG_NAME to exit..." - CNT=0 - fi - TOTCNT=`expr $TOTCNT + 1` - - sleep 1 - - testpid - done - - pid=$savepid - testpid - if [ "X$pid" != "X" ] - then - echo "Failed to stop $APP_LONG_NAME." - exit 1 - else - echo "Stopped $APP_LONG_NAME." - fi - fi -} - -status() { - getpid - if [ "X$pid" = "X" ] - then - echo "$APP_LONG_NAME is not running." - exit 1 - else - echo "$APP_LONG_NAME is running ($pid)." - exit 0 - fi -} - -dump() { - echo "Dumping $APP_LONG_NAME..." - getpid - if [ "X$pid" = "X" ] - then - echo "$APP_LONG_NAME was not running." - - else - kill -QUIT $pid - - if [ $? -ne 0 ] - then - echo "Failed to dump $APP_LONG_NAME." - exit 1 - else - echo "Dumped $APP_LONG_NAME." - fi - fi -} - -case "$1" in - - 'console') - checkUser $1 touchlock - console - ;; - - 'start') - checkUser $1 touchlock - start - ;; - - 'stop') - checkUser $1 - stopit - ;; - - 'restart') - checkUser $1 touchlock - stopit - start - ;; - - 'status') - checkUser $1 - status - ;; - - 'dump') - checkUser $1 - dump - ;; - - *) - echo "Usage: $0 { console | start | stop | restart | status | dump }" - exit 1 - ;; -esac - -exit 0 diff --git a/net-p2p/freenet/freenet-0.7.5_p1506.ebuild b/net-p2p/freenet/freenet-0.7.5_p1506.ebuild deleted file mode 100644 index f7c574c3271d..000000000000 --- a/net-p2p/freenet/freenet-0.7.5_p1506.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple systemd toolchain-funcs verify-sig - -DESCRIPTION="Freenet REference Daemon" -HOMEPAGE="https://www.hyphanet.org" -FEV="29" -SRC_URI="https://github.com/hyphanet/fred/releases/download/build0${PV#*p}/freenet-build0${PV#*p}-source.tar.bz2 - https://github.com/hyphanet/seedrefs/archive/build01480.tar.gz -> seednodes-0.7.5_p1480.tar.gz - https://github.com/hyphanet/contrib/archive/v${FEV}.tar.gz -> freenet-ext-${FEV}.tar.gz - verify-sig? ( - https://github.com/hyphanet/fred/releases/download/build0${PV#*p}/freenet-build0${PV#*p}-source.tar.bz2.sig - )" -S="${WORKDIR}/freenet-build0${PV#*p}" - -LICENSE="GPL-2+ GPL-2 MIT BSD-2 Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="+nss" - -# Since 0.7.5_p1505-r1 we drop dev-java/mersennetwister which was -# built from a tarball hosted in "mirror://gentoo/${P}.tar.bz2". -# More information is provided on HOMEPAGE of that package: -# http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html -# It is now built by using more sources of dev-java/freenet-ext. -CP_DEPEND=" - dev-java/bcprov:0 - dev-java/commons-compress:0 - >=dev-java/commons-io-2.19.0:0 - >=dev-java/freenet-ext-29-r3:29 - dev-java/java-service-wrapper:0 - dev-java/jbitcollider-core:0 - >=dev-java/jna-5.17.0:0 - >=dev-java/lzma-24.09:0 - dev-java/lzmajio:0 - dev-java/pebble:0 -" - -DEPEND=" - dev-java/unbescape:0 - >=virtual/jdk-1.8:* - ${CP_DEPEND} - test? ( - dev-java/hamcrest:0 - dev-java/mockito:1 - dev-java/objenesis:0 - ) -" - -RDEPEND=" - acct-user/freenet - acct-group/freenet - >=virtual/jre-1.8:* - ${CP_DEPEND} - nss? ( dev-libs/nss ) -" - -BDEPEND=" - app-arch/unzip - verify-sig? ( sec-keys/openpgp-keys-freenet ) -" - -DOCS=( - AUTHORS - CONTRIBUTING.md - NEWS.md - README.md - SECURITY.md -) - -PATCHES=( "${FILESDIR}/freenet-0.7.5_p1503-ignore-failing-tests.patch" ) - -JAVADOC_ARGS="-source 8" # bug #967404 -JAVA_CLASSPATH_EXTRA="java-service-wrapper,unbescape" -JAVA_RESOURCE_DIRS="res" -JAVA_SRC_DIR="src" -JAVA_TEST_GENTOO_CLASSPATH="hamcrest,junit-4,mockito-1,objenesis" - -# Yes, both variables point to the same directory -# https://github.com/hyphanet/fred/blob/build01497/build.gradle#L169-L173 -JAVA_TEST_RESOURCE_DIRS="test" -JAVA_TEST_SRC_DIR="test" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/freenetproject.org.asc" -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached \ - "${DISTDIR}"/freenet-build0${PV#*p}-source.tar.bz2 \ - "${DISTDIR}"/freenet-build0${PV#*p}-source.tar.bz2.sig - fi - unpack freenet-build0${PV#*p}-source.tar.bz2 - unpack seednodes-0.7.5_p1480.tar.gz - - # we need NativeThread.c - unpack freenet-ext-${FEV}.tar.gz - mkdir "${S}/NativeThread" || die "mkdir NativeThread" - mv "${WORKDIR}/contrib-${FEV}/NativeThread/NativeThread.c" \ - "${S}/NativeThread" || die "move NativeThread.c" -} - -src_prepare() { - default # bug #780585 - java-pkg-2_src_prepare - - # Could not get resource : freenet/l10n/freenet.l10n.pt-PT.properties - # https://github.com/hyphanet/fred/pull/500 - mv src/freenet/l10n/freenet.l10n.pt{_,-}PT.properties || die - - # java-pkg-simple wants resources in JAVA_RESOURCE_DIRS - mkdir res || die - pushd src > /dev/null || die - find -type f \ - ! -name '*.java' \ - ! -name 'package.html' \ - ! -path '*/simulator/readme.txt' \ - | xargs cp --parent -t ../res || die - popd > /dev/null || die - - mkdir "${JAVA_RESOURCE_DIRS}/META-INF" || die - cat > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" <<- EOF || die - Add-opens: java.base/java.lang java.base/java.util java.base/java.io - EOF - - cat "${WORKDIR}"/seedrefs-build01480/* > "${S}"/seednodes.fref - cp "${FILESDIR}"/freenet-0.7.5_p1503-wrapper.conf freenet-wrapper.conf || die - cp "${FILESDIR}"/run.sh-20090501 run.sh || die - - sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" \ - freenet-wrapper.conf || die "sed failed" - - echo "wrapper.java.classpath.1=/usr/share/freenet/lib/freenet.jar" >> freenet-wrapper.conf || die - if use nss; then - echo "wrapper.java.additional.11=-Dfreenet.jce.use.NSS=true" >> freenet-wrapper.conf || die - fi -} - -src_compile() { - java-pkg-simple_src_compile - - # Moved here because of using JAVA_GENTOO_CLASSPATH which is populated by java-pkg_gen-cp. - local i=2 pkg jars jar - local ifs_original=${IFS} - IFS="," - for pkg in ${JAVA_GENTOO_CLASSPATH} ; do - jars="$(java-pkg_getjars ${pkg})" - for jar in ${jars} ; do - echo "wrapper.java.classpath.$((i++))=${jar}" >> freenet-wrapper.conf || die - done - done - IFS=${ifs_original} - echo "wrapper.java.library.path.2=/usr/$(get_libdir)/java-service-wrapper" >> freenet-wrapper.conf || die - echo "wrapper.java.library.path.3=/usr/$(get_libdir)/jna" >> freenet-wrapper.conf || die - - einfo "NativeThread" - cd NativeThread || die "cd NativeThread" - - einfo "Generate header" - ejavac -h . -classpath ../target/classes:"$(java-pkg_getjars jna)" \ - ../src/freenet/support/io/NativeThread.java - - mv {freenet_support_io_NativeThread_Linux,}NativeThread.h || die - - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \ - $(java-pkg_get-jni-cflags) -Ibuild/. \ - -c -o libNativeThread.o NativeThread.c || die - - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \ - -shared -Wl,-soname,libNativeThread.so \ - -o libNativeThread.so libNativeThread.o || die -} - -src_test() { - JAVA_TEST_EXTRA_ARGS=( - -Djava.library.path="${EPREFIX}/usr/$(get_libdir)/jna/" - -Djna.nosys=false - -Dnetworkaddress.cache.negative.ttl=0 - -Dnetworkaddress.cache.ttl=0 - # https://github.com/hyphanet/fred/blob/build01497/build.gradle#L194-L196 - # "test.l10npath_main" reads from the JAR file. - -Dtest.l10npath_test="freenet/l10n/" - -Dtest.l10npath_main="freenet/l10n/" - --enable-native-access=ALL-UNNAMED - ) - local vm_version="$(java-config -g PROVIDES_VERSION)" - if ver_test "${vm_version}" -ge 17; then - JAVA_TEST_EXTRA_ARGS+=( - --add-opens=java.base/java.{io,lang,util}=ALL-UNNAMED - ) - fi - - local JAVA_TEST_RUN_ONLY=$(find test -type f -name "*Test.java" -printf '%P\n') - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_install() { - java-pkg-simple_src_install - - doinitd "${FILESDIR}"/freenet - - systemd_dounit "${FILESDIR}"/freenet.service - - insinto /etc - doins freenet-wrapper.conf - insinto /var/freenet - doins run.sh seednodes.fref - fperms +x /var/freenet/run.sh - - cd NativeThread || die "cd NativeThread" - dolib.so libNativeThread.so - dosym libNativeThread.so /usr/$(get_libdir)/libnative.so -} - -pkg_postinst() { - elog " " - elog "1. Start freenet with rc-service freenet start." - elog "2. Open localhost:8888 in your browser for the web interface." - #workaround for previously existing freenet user - [[ $(stat --format="%U" /var/freenet) == "freenet" ]] || chown \ - freenet:freenet /var/freenet -} - -pkg_postrm() { - if ! [[ -e /usr/share/freenet/lib/freenet.jar ]] ; then - elog " " - elog "If you dont want to use freenet any more" - elog "and dont want to keep your identity/other stuff" - elog "remember to do 'rm -rf /var/freenet' to remove everything" - fi -} diff --git a/net-p2p/freenet/metadata.xml b/net-p2p/freenet/metadata.xml deleted file mode 100644 index b39a7becbac8..000000000000 --- a/net-p2p/freenet/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">hyphanet/fred</remote-id> - </upstream> - <use> - <flag name="nss">Use nss for crypto operations, if it is the fastest way</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest deleted file mode 100644 index b2d2f32bb4d3..000000000000 --- a/net-p2p/go-ethereum/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST go-ethereum-1.16.7.tar.xz 240367976 BLAKE2B 83b9a0b6fc6216ad415032b322275c7877cfe760c457023f35bb4d046460a2c8057ede310dab5b2ab285280ec3f6b1f06ddeee5641172c484e6fd1baec4de0d7 SHA512 c572fb12dcae316dc00c0499c472b744e0037ac6f65b51ad8c4306337bf8c3aacadab872371d56fb58fe5a21a8fa67152f1cc729b8a9f779b3f3d0db58c3341f diff --git a/net-p2p/go-ethereum/files/go-ethereum-1.16.7-dont-strip.patch b/net-p2p/go-ethereum/files/go-ethereum-1.16.7-dont-strip.patch deleted file mode 100644 index b4e989154c51..000000000000 --- a/net-p2p/go-ethereum/files/go-ethereum-1.16.7-dont-strip.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/build/ci.go b/build/ci.go -index 59c948a..752f440 100644 ---- a/build/ci.go -+++ b/build/ci.go -@@ -322,7 +322,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) ( - // regarding the options --build-id=none and --strip-all. It is needed for - // reproducible builds; removing references to temporary files in C-land, and - // making build-id reproducibly absent. -- extld := []string{"-Wl,-z,stack-size=0x800000,--build-id=none,--strip-all"} -+ extld := []string{"-Wl,-z,stack-size=0x800000,--build-id=none"} - if staticLinking { - extld = append(extld, "-static") - // Under static linking, use of certain glibc features must be diff --git a/net-p2p/go-ethereum/go-ethereum-1.16.7.ebuild b/net-p2p/go-ethereum/go-ethereum-1.16.7.ebuild deleted file mode 100644 index 0213ad4fee39..000000000000 --- a/net-p2p/go-ethereum/go-ethereum-1.16.7.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-env go-module - -LONG_VERSION="${PV}+build4239+plucky" -DESCRIPTION="Official golang implementation of the Ethereum protocol" -HOMEPAGE="https://github.com/ethereum/go-ethereum" -SRC_URI="https://ppa.launchpadcontent.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/ethereum_${LONG_VERSION}.tar.xz -> ${P}.tar.xz" -# Above PPA is listed as an official source here: -# https://geth.ethereum.org/docs/getting-started/installing-geth#ubuntu-via-ppas -S="${WORKDIR}/ethereum-${LONG_VERSION}" - -LICENSE="GPL-3+ LGPL-3+ MIT || ( BSD GPL-2 ) BSD-2 LGPL-2.1+ Apache-2.0 ISC MIT MPL-2.0 Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="devtools" - -# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... -RESTRICT+=" test" - -BDEPEND=">=dev-lang/go-1.25.0" - -PATCHES=( "${FILESDIR}/go-ethereum-1.16.7-dont-strip.patch" ) - -src_unpack() { - default - mv "${S}/.mod" "${WORKDIR}/go-mod" || die -} - -src_compile() { - go-env_set_compile_environment - emake $(usex devtools all geth) -} - -src_install() { - einstalldocs - - dobin build/bin/geth - - # TODO: replace with wildcard - if use devtools; then - dobin build/bin/abidump - dobin build/bin/abigen - dobin build/bin/blsync - dobin build/bin/clef - dobin build/bin/devp2p - dobin build/bin/era - dobin build/bin/ethkey - dobin build/bin/evm - dobin build/bin/rlpdump - fi -} diff --git a/net-p2p/go-ethereum/metadata.xml b/net-p2p/go-ethereum/metadata.xml deleted file mode 100644 index b0c01938fca5..000000000000 --- a/net-p2p/go-ethereum/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>sam@binarycake.ca</email> - <name>Sam Wilson</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="devtools">Build Ethereum development tools (evm, abigen, puppeth, ...)</flag> - </use> - <upstream> - <remote-id type="github">ethereum/go-ethereum</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/gridcoin/Manifest b/net-p2p/gridcoin/Manifest deleted file mode 100644 index a5a0d500d94c..000000000000 --- a/net-p2p/gridcoin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gridcoin-5.5.0.0.tar.gz 44109432 BLAKE2B 4e7d1e4e36f6ecab44a181e99bf4e71934db145b7b5e31aa4b8736419d12a40f85391542f01c0c26f199f3d591798dc3c342c7e295fc0ec84c8c235211e4f6f8 SHA512 b0927b11499d8ff6f16cafe54393b2ace1a9b73966e26790e86919f6c29b0a85a45fb3329019c640c6ee945f28d8cae4556bdb2ec4c5df8d6efaca17824e9082 diff --git a/net-p2p/gridcoin/gridcoin-5.5.0.0.ebuild b/net-p2p/gridcoin/gridcoin-5.5.0.0.ebuild deleted file mode 100644 index 6c002327ecd6..000000000000 --- a/net-p2p/gridcoin/gridcoin-5.5.0.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake db-use multilib xdg-utils - -MY_PV="${PV/_p/-hotfix-}" -DESCRIPTION="Proof-of-Stake based cryptocurrency that rewards BOINC computation" -HOMEPAGE="https://gridcoin.us/" -SRC_URI="https://github.com/${PN}-community/${PN^}-Research/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN^}-Research-${MY_PV}" - -LICENSE="BSD BSD-2 Boost-1.0 MIT SSLeay" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+asm dbus gui qrcode test +upnp" -IUSE+=" cpu_flags_arm_neon cpu_flags_x86_avx2 cpu_flags_x86_sha cpu_flags_x86_sse4_1" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - dbus? ( gui ) - qrcode? ( gui ) -" - -BDB_SLOT="5.3" -RDEPEND=" - >=dev-libs/boost-1.66.0:=[zlib(+)] - >=dev-libs/libsecp256k1-0.2.0:=[recovery(+)] - >=dev-libs/leveldb-1.21:= - dev-libs/libzip:= - dev-libs/openssl:= - dev-libs/univalue - net-misc/curl[ssl] - sys-libs/db:${BDB_SLOT}[cxx] - gui? ( - dev-qt/qt5compat:6[gui] - dev-qt/qtbase:6[concurrent,dbus?,gui,network,widgets] - dev-qt/qtsvg:6 - qrcode? ( media-gfx/qrencode:= ) - ) - upnp? ( net-libs/miniupnpc:= ) -" -DEPEND="${RDEPEND} - virtual/zlib -" -BDEPEND=" - virtual/pkgconfig - gui? ( dev-qt/qttools:6[linguist] ) - test? ( dev-util/xxd ) -" -IDEPEND="gui? ( dev-util/desktop-file-utils )" - -src_configure() { - local mycmakeargs=( - -DENABLE_DAEMON=$(usex !gui) - -DENABLE_GUI=$(usex gui) - -DENABLE_TESTS=$(usex test) - - -DENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) - -DENABLE_AVX2=$(usex cpu_flags_x86_avx2) - -DENABLE_X86_SHANI=$(usex cpu_flags_x86_sha) - -DENABLE_ARM_SHANI=$(usex cpu_flags_arm_neon) - -DUSE_ASM=$(usex asm) - - -DENABLE_QRENCODE=$(usex qrcode) - -DENABLE_UPNP=$(usex upnp) - -DDEFAULT_UPNP=$(usex upnp) - -DUSE_DBUS=$(usex dbus) - -DUSE_QT6=ON - - -DSYSTEM_BDB=ON - -DBerkeleyDB_INCLUDE_DIR="$(db_includedir ${BDB_SLOT})" - -DBerkeleyDB_CXX_LIBRARY="${ESYSROOT}/usr/$(get_libdir)/libdb_cxx-${BDB_SLOT}$(get_libname)" - -DSYSTEM_LEVELDB=ON - -DSYSTEM_SECP256K1=ON - -DSYSTEM_UNIVALUE=ON - -DSYSTEM_XXD=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - if use gui; then - rm "${ED}"/usr/bin/gridcoin.icns || die - fi -} - -pkg_postinst() { - # we don't use xdg.eclass because it adds unconditional IDEPENDs - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/net-p2p/gridcoin/metadata.xml b/net-p2p/gridcoin/metadata.xml deleted file mode 100644 index 103e92fcd11c..000000000000 --- a/net-p2p/gridcoin/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> - </maintainer> - <upstream> - <remote-id type="github">gridcoin-community/Gridcoin-Research</remote-id> - </upstream> - <use> - <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/gtk-gnutella/Manifest b/net-p2p/gtk-gnutella/Manifest deleted file mode 100644 index 93f7ef3b97b1..000000000000 --- a/net-p2p/gtk-gnutella/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gtk-gnutella-1.2.2.tar.gz 26708793 BLAKE2B 9b8c1600914f5679c017929afa6d1f508734b21d95231c15588c64d9b1e9185ddb82ee26478d5d5d34c715fd475ccfe1e65b4b96ed4acc271444d21317013630 SHA512 d4825bb765d9b73b24d1dc7238a31c5e78c9adb7c765b0b913d4fce1467fb3655ac3214381748bca20fd3e02345ba0583d591e2177299d5130951808cd7bd325 -DIST gtk-gnutella-1.2.3.tar.gz 28346798 BLAKE2B a502ed7bc8cae8355df3c4b7f0e85c06076d9e6703060299f4b6d01680c0822a5269faa4854e6044134d9cc3f3819ea2a3a2fccdf2e44e49b357f29191271e55 SHA512 fbd7aa528aff95dfcfc4b4620fb0b788301e31286208accbb6eada93cc8ad83c4f7ed3275a5af6e91b49aebe6ba836b4094036e79602235d5fd6161ba797339a diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild deleted file mode 100644 index 3b2854702a53..000000000000 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic strip-linguas toolchain-funcs - -DESCRIPTION="GTK+ Gnutella client" -HOMEPAGE="https://gtk-gnutella.sourceforge.net/" -SRC_URI="https://github.com/gtk-gnutella/gtk-gnutella/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC-BY-SA-4.0 GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" - -IUSE="nls dbus ssl +gtk" - -RDEPEND=" - sys-libs/binutils-libs:= - dev-libs/glib:2 - virtual/zlib:= - gtk? ( >=x11-libs/gtk+-2.2.1:2 ) - dbus? ( >=sys-apps/dbus-0.35.2 ) - ssl? ( >=net-libs/gnutls-2.2.5 ) - nls? ( >=sys-devel/gettext-0.11.5 )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - filter-lto - # bug https://bugs.gentoo.org/944982 - # we have custom bool we interoperate with gboolean - append-cflags -std=gnu17 - - strip-linguas -i po - - echo "# Gentoo-selected LINGUAS" > po/LINGUAS - local ling - for ling in ${LINGUAS}; do - echo $ling >> po/LINGUAS - done - - # bug #738504 - sed -i -e 's|share/appdata|share/metainfo|g' extra_files/Makefile.SH || die - - default -} - -src_configure() { - # There is no option to turn off optimization through the build.sh - # script. - sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die - - # The build script does not support the equivalent --enable - # options so we must construct the configuration by hand. - - local myconf - - if ! use nls; then - myconf="${myconf} --disable-nls" - fi - - if ! use dbus; then - myconf="${myconf} --disable-dbus" - fi - - if ! use ssl; then - myconf="${myconf} --disable-gnutls" - fi - - if use gtk; then - myconf="${myconf} --gtk2" - else - myconf="${myconf} --topless" - fi - - ./build.sh \ - --configure-only \ - --prefix="/usr" \ - --cc="$(tc-getCC)" \ - ${myconf} -} - -src_compile() { - # Build system is not parallel-safe, bug 500760 - emake -j1 AR="$(tc-getAR) rc" NM="$(tc-getNM)" -} - -src_install() { - dodir /usr/bin - emake INSTALL_PREFIX="${D}" install - dodoc AUTHORS ChangeLog README TODO - - # Touch the symbols file into the future to avoid warnings from - # gtk-gnutella later on, since we will most likely strip the binary. - touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die -} diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild deleted file mode 100644 index 7074f5089b3a..000000000000 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic strip-linguas toolchain-funcs - -DESCRIPTION="GTK+ Gnutella client" -HOMEPAGE="https://gtk-gnutella.sourceforge.io/" -SRC_URI="https://github.com/gtk-gnutella/gtk-gnutella/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC-BY-SA-4.0 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -IUSE="nls dbus ssl +gtk" - -RDEPEND=" - sys-libs/binutils-libs:= - dev-libs/glib:2 - virtual/zlib:= - gtk? ( >=x11-libs/gtk+-2.2.1:2 ) - dbus? ( >=sys-apps/dbus-0.35.2 ) - ssl? ( >=net-libs/gnutls-2.2.5 ) - nls? ( >=sys-devel/gettext-0.11.5 )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - filter-lto - # bug https://bugs.gentoo.org/944982 - # we have custom bool we interoperate with gboolean - append-cflags -std=gnu17 - - strip-linguas -i po - - echo "# Gentoo-selected LINGUAS" > po/LINGUAS - local ling - for ling in ${LINGUAS}; do - echo $ling >> po/LINGUAS - done - - # bug #738504 - sed -i -e 's|share/appdata|share/metainfo|g' extra_files/Makefile.SH || die - - default -} - -src_configure() { - # There is no option to turn off optimization through the build.sh - # script. - sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die - - # The build script does not support the equivalent --enable - # options so we must construct the configuration by hand. - - local myconf - - if ! use nls; then - myconf="${myconf} --disable-nls" - fi - - if ! use dbus; then - myconf="${myconf} --disable-dbus" - fi - - if ! use ssl; then - myconf="${myconf} --disable-gnutls" - fi - - if use gtk; then - myconf="${myconf} --gtk2" - else - myconf="${myconf} --topless" - fi - - ./build.sh \ - --configure-only \ - --prefix="/usr" \ - --cc="$(tc-getCC)" \ - ${myconf} -} - -src_compile() { - # Build system is not parallel-safe, bug 500760 - emake -j1 AR="$(tc-getAR) rc" NM="$(tc-getNM)" -} - -src_install() { - dodir /usr/bin - emake INSTALL_PREFIX="${D}" install - dodoc AUTHORS ChangeLog README TODO - - # Touch the symbols file into the future to avoid warnings from - # gtk-gnutella later on, since we will most likely strip the binary. - touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die -} diff --git a/net-p2p/gtk-gnutella/metadata.xml b/net-p2p/gtk-gnutella/metadata.xml deleted file mode 100644 index b16c006e00b9..000000000000 --- a/net-p2p/gtk-gnutella/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">gtk-gnutella</remote-id> - <remote-id type="github">gtk-gnutella/gtk-gnutella</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/gtorrentviewer/Manifest b/net-p2p/gtorrentviewer/Manifest deleted file mode 100644 index 48e05f47600f..000000000000 --- a/net-p2p/gtorrentviewer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST GTorrentViewer-0.2b.tar.gz 247584 BLAKE2B 52f9e011e22d543a79e9eea4bb4686a8b966a0bac91cf66c111ce3553b23cbe7b6db3603da770d8840c7eb1941d10fab4b322191380ae88a007442d5cd9dcb8e SHA512 4e8a0181d0492e9a88de09fe6399b9c6e4ca16913550b53597c00c2a413cd4c332b305b4b24735fa2b84bea87618ce7c22b111779f452a8d977470830d145b10 diff --git a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-curl-headers.patch b/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-curl-headers.patch deleted file mode 100644 index e95880eb107e..000000000000 --- a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-curl-headers.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/main.c -+++ b/src/main.c -@@ -40,7 +40,6 @@ - #include <errno.h> - - #include <curl/curl.h> --#include <curl/types.h> - #include <curl/easy.h> - - #include "bencode.h" diff --git a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-desktop.patch b/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-desktop.patch deleted file mode 100644 index 8d2d9ae9c464..000000000000 --- a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-desktop.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/data/gtorrentviewer.desktop.in -+++ b/data/gtorrentviewer.desktop.in -@@ -3,11 +3,9 @@ - _GenericName=Torrent Viewer - _Comment=Viewer and Editor for .torrent files - Exec=gtorrentviewer %U --Icon=gtorrentviewer.png -+Icon=gtorrentviewer - StartupNotify=false - Terminal=false - Type=Application --Encoding=UTF-8 --Categories=Application;Network; -+Categories=Network; - MimeType=application/x-bittorrent; --Version=0.2 diff --git a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-underlinking.patch b/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-underlinking.patch deleted file mode 100644 index d2ac9a1051ca..000000000000 --- a/net-p2p/gtorrentviewer/files/gtorrentviewer-0.2b-underlinking.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -51,6 +51,11 @@ - # Checks for libraries. - # - -+dnl Check for libm for ceil() -+AC_SEARCH_LIBS([ceil], [m], [], [ -+ AC_MSG_ERROR([unable to find the ceil() function]) -+]) -+ - # check for libcurl. - AC_ARG_WITH([curl-config], - AC_HELP_STRING([--with-curl-config=PATH], [path to curl-config (e.g. /opt/bin)]), diff --git a/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild b/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild deleted file mode 100644 index 62eaed022485..000000000000 --- a/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -GNOME2_EAUTORECONF="yes" - -inherit gnome2 - -MY_PN="GTorrentViewer" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A GTK2-based viewer and editor for BitTorrent meta files" -HOMEPAGE="http://gtorrentviewer.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="amd64 ~ppc x86" -SLOT="0" - -S="${WORKDIR}"/${MY_P} - -RDEPEND=" - net-misc/curl - >=x11-libs/gtk+-2.4:2 - >=dev-libs/glib-2.4:2 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-curl-headers.patch - "${FILESDIR}"/${P}-underlinking.patch - "${FILESDIR}"/${P}-desktop.patch -) - -src_prepare() { - # Bug #426262 - mv configure.in configure.ac || die - - # Fix tests - echo "data/gtorrentviewer.desktop.in" >> po/POTFILES.in || die - - gnome2_src_prepare -} diff --git a/net-p2p/gtorrentviewer/metadata.xml b/net-p2p/gtorrentviewer/metadata.xml deleted file mode 100644 index e2e12cd24980..000000000000 --- a/net-p2p/gtorrentviewer/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">gtorrentviewer</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/ipfs-desktop-bin/Manifest b/net-p2p/ipfs-desktop-bin/Manifest deleted file mode 100644 index f47ae593952a..000000000000 --- a/net-p2p/ipfs-desktop-bin/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST ipfs-desktop-0.39.0-linux-amd64.deb 126937128 BLAKE2B 53ab176bb87a81cef9e9e5b968ff8ed2207be691aa19ce95cd45664590cea3a6ce071b67b67883bf3de1cb7e2b4a1fad4df8c64e5590dc8f06f46dd2fc66d543 SHA512 200bbf5289a0f1b091afd6ea102303aba9831da2fb926bb7adf5c22099cf5cee68ae1c533de81c1a11ab7af837fc4609d7caf60b97361ceedc7a2220423ac3e5 -DIST ipfs-desktop-0.40.0-linux-amd64.deb 127060680 BLAKE2B b6eec9afa2ee15bff33464c0e7bfa4b852b4a0b92fb81eec5625e993790554236cba7a5b7787e79eb6c86e44a4875accfaa19e0835c323ca7dbea94c3cdb8075 SHA512 5ffa971bfa0050bf4381389e3fe0426661fe7bdae92e6d7c3b3d3f458395324a48225b400be09f206dc973879784eced88572684786388f323a16942a3600f97 -DIST ipfs-desktop-0.43.0-linux-amd64.deb 132963496 BLAKE2B 78a232e7394ae7f3b5679dba478f770aab44b4da8fe525ae0283c0b4eb152c93412bdbd6e11cf0bda757eb8ee0f8b71d962244f52bd2c43a393fbee1fe0177b3 SHA512 675db2e4c2c1872787194869c483c731cbeca901b3fca94d07c22e4b4f5af986695c08bc9a46bed46e07218b5706ec76e9543f68f6c393cfb068fa5cc212ddc6 diff --git a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.39.0.ebuild b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.39.0.ebuild deleted file mode 100644 index 246196426fc0..000000000000 --- a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.39.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop xdg unpacker wrapper -DESCRIPTION="A desktop client for IPFS. The IPFS's Native Application" -HOMEPAGE="https://github.com/ipfs/ipfs-desktop" -SRC_URI="https://github.com/ipfs/ipfs-desktop/releases/download/v${PV}/ipfs-desktop-${PV}-linux-amd64.deb" - -S="${WORKDIR}" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - x11-libs/gtk+:3 - x11-libs/libnotify - dev-libs/nss - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-misc/xdg-utils - app-accessibility/at-spi2-core - sys-apps/util-linux - app-crypt/libsecret - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - media-libs/alsa-lib - media-libs/mesa - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango - net-p2p/kubo -" -QA_PREBUILT="*" -src_prepare(){ - default - unpacker "${S}/usr/share/doc/ipfs-desktop/changelog.gz" - sed -i 's|/opt/IPFS Desktop/ipfs-desktop|/usr/bin/ipfs-desktop|g' "${S}/usr/share/applications/ipfs-desktop.desktop" || die -} -src_install(){ - # clean up build-in kubo - rm -r "${S}/opt/IPFS Desktop/resources/app.asar.unpacked/node_modules/kubo/kubo" || die - - insinto "/opt" - doins -r "${S}/opt/IPFS Desktop" - make_wrapper ipfs-desktop "env KUBO_BINARY=$(which ipfs) /opt/IPFS\\ Desktop/ipfs-desktop" - domenu "${S}/usr/share/applications/ipfs-desktop.desktop" - dodoc "${S}/changelog" - insinto "/usr/share" - # doins -r "${S}/usr/share/icons" - local size - for size in 16 32 48 64 128 256 512; do - doicon -s ${size} "${S}/usr/share/icons/hicolor/${size}x${size}/apps/ipfs-desktop.png" - done - fperms +x "/opt/IPFS Desktop/ipfs-desktop" - fperms +x "/opt/IPFS Desktop/chrome-sandbox" - fperms +x "/opt/IPFS Desktop/chrome_crashpad_handler" -} diff --git a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild deleted file mode 100644 index 246196426fc0..000000000000 --- a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.40.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop xdg unpacker wrapper -DESCRIPTION="A desktop client for IPFS. The IPFS's Native Application" -HOMEPAGE="https://github.com/ipfs/ipfs-desktop" -SRC_URI="https://github.com/ipfs/ipfs-desktop/releases/download/v${PV}/ipfs-desktop-${PV}-linux-amd64.deb" - -S="${WORKDIR}" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - x11-libs/gtk+:3 - x11-libs/libnotify - dev-libs/nss - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-misc/xdg-utils - app-accessibility/at-spi2-core - sys-apps/util-linux - app-crypt/libsecret - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - media-libs/alsa-lib - media-libs/mesa - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango - net-p2p/kubo -" -QA_PREBUILT="*" -src_prepare(){ - default - unpacker "${S}/usr/share/doc/ipfs-desktop/changelog.gz" - sed -i 's|/opt/IPFS Desktop/ipfs-desktop|/usr/bin/ipfs-desktop|g' "${S}/usr/share/applications/ipfs-desktop.desktop" || die -} -src_install(){ - # clean up build-in kubo - rm -r "${S}/opt/IPFS Desktop/resources/app.asar.unpacked/node_modules/kubo/kubo" || die - - insinto "/opt" - doins -r "${S}/opt/IPFS Desktop" - make_wrapper ipfs-desktop "env KUBO_BINARY=$(which ipfs) /opt/IPFS\\ Desktop/ipfs-desktop" - domenu "${S}/usr/share/applications/ipfs-desktop.desktop" - dodoc "${S}/changelog" - insinto "/usr/share" - # doins -r "${S}/usr/share/icons" - local size - for size in 16 32 48 64 128 256 512; do - doicon -s ${size} "${S}/usr/share/icons/hicolor/${size}x${size}/apps/ipfs-desktop.png" - done - fperms +x "/opt/IPFS Desktop/ipfs-desktop" - fperms +x "/opt/IPFS Desktop/chrome-sandbox" - fperms +x "/opt/IPFS Desktop/chrome_crashpad_handler" -} diff --git a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.43.0.ebuild b/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.43.0.ebuild deleted file mode 100644 index 246196426fc0..000000000000 --- a/net-p2p/ipfs-desktop-bin/ipfs-desktop-bin-0.43.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop xdg unpacker wrapper -DESCRIPTION="A desktop client for IPFS. The IPFS's Native Application" -HOMEPAGE="https://github.com/ipfs/ipfs-desktop" -SRC_URI="https://github.com/ipfs/ipfs-desktop/releases/download/v${PV}/ipfs-desktop-${PV}-linux-amd64.deb" - -S="${WORKDIR}" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - x11-libs/gtk+:3 - x11-libs/libnotify - dev-libs/nss - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-misc/xdg-utils - app-accessibility/at-spi2-core - sys-apps/util-linux - app-crypt/libsecret - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - media-libs/alsa-lib - media-libs/mesa - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango - net-p2p/kubo -" -QA_PREBUILT="*" -src_prepare(){ - default - unpacker "${S}/usr/share/doc/ipfs-desktop/changelog.gz" - sed -i 's|/opt/IPFS Desktop/ipfs-desktop|/usr/bin/ipfs-desktop|g' "${S}/usr/share/applications/ipfs-desktop.desktop" || die -} -src_install(){ - # clean up build-in kubo - rm -r "${S}/opt/IPFS Desktop/resources/app.asar.unpacked/node_modules/kubo/kubo" || die - - insinto "/opt" - doins -r "${S}/opt/IPFS Desktop" - make_wrapper ipfs-desktop "env KUBO_BINARY=$(which ipfs) /opt/IPFS\\ Desktop/ipfs-desktop" - domenu "${S}/usr/share/applications/ipfs-desktop.desktop" - dodoc "${S}/changelog" - insinto "/usr/share" - # doins -r "${S}/usr/share/icons" - local size - for size in 16 32 48 64 128 256 512; do - doicon -s ${size} "${S}/usr/share/icons/hicolor/${size}x${size}/apps/ipfs-desktop.png" - done - fperms +x "/opt/IPFS Desktop/ipfs-desktop" - fperms +x "/opt/IPFS Desktop/chrome-sandbox" - fperms +x "/opt/IPFS Desktop/chrome_crashpad_handler" -} diff --git a/net-p2p/ipfs-desktop-bin/metadata.xml b/net-p2p/ipfs-desktop-bin/metadata.xml deleted file mode 100644 index 2356e8ddc51b..000000000000 --- a/net-p2p/ipfs-desktop-bin/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dawn_xu_helloworld@163.com</email> - <name>Dawn Xu</name> - </maintainer> - <upstream> - <remote-id type="github">ipfs/ipfs-desktop</remote-id> - <maintainer> - <name>ipfs</name> - <email>ipfs@github.com</email> - </maintainer> - </upstream> -</pkgmetadata> diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest deleted file mode 100644 index eab79d6e589b..000000000000 --- a/net-p2p/ktorrent/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST ktorrent-25.12.2-qtmultimedia-1.tar.xz 10716 BLAKE2B 1205e7d835fbe82ca6b04365cbb93765215dcc5de04d6568b9e91a0ea50fea297f0be5c58a458e134338184c7d1e34d3bca10baa348c9345c3bc649493d64b57 SHA512 1e63209a63852aeee45b940562cb81540c437971a48537d3e0b7a3fa546c0271fb160fce1777d0ba2a88ea81bfaa4ac0402df9b96cd57f185e592e03eb69245b -DIST ktorrent-25.12.3.tar.xz 2230652 BLAKE2B c6fa86ad8d333cc26dc7ea1e0ceed11e35482e1d5973c454659476e609a0ee2e7d22ce2ec7f53ff3498c9c904f24f749bd910488d17226a298399de15947289d SHA512 aeeb556ce5778942bae58fedede826aaa5e4c195cae908e9f36ce3ead7c02acc10d829fdbbd7f33b798a11b2be8d20cffcbc4a4ad140595c624f9778ee36cc11 -DIST ktorrent-26.04.1.tar.xz 2249856 BLAKE2B e468738af51a28a80ec37160dbd5aedb869eaea42fdff38528c051350ed3b36977ebd259f547c33dec54f3048052848744f54469906ee0453b21cfdd8f5fc79b SHA512 5459ec7cf3f59201deedd65345a247488cc96a5ecb4ebf7e782d81b83035f76cfb393eb157db10e073015f8ac1656e58a920af1f7f87d76597f6cdf13f85b4ab diff --git a/net-p2p/ktorrent/ktorrent-25.12.3.ebuild b/net-p2p/ktorrent/ktorrent-25.12.3.ebuild deleted file mode 100644 index 1e4fd4248851..000000000000 --- a/net-p2p/ktorrent/ktorrent-25.12.3.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PATCHSET=${PN}-25.12.2-qtmultimedia-1 -ECM_HANDBOOK="optional" -ECM_TEST="true" -KFMIN=6.19.0 -PVCUT=$(ver_cut 1-3) -QTMIN=6.10.1 -inherit ecm gear.kde.org xdg - -DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks" -HOMEPAGE="https://apps.kde.org/ktorrent/" -SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz" - -LICENSE="GPL-2" -SLOT="6" -KEYWORDS="amd64 arm64 ~ppc64 ~x86" -IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer +magnetgenerator -+mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf" - -COMMON_DEPEND=" - >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml] - >=kde-frameworks/kcmutils-${KFMIN}:6 - >=kde-frameworks/kconfig-${KFMIN}:6 - >=kde-frameworks/kconfigwidgets-${KFMIN}:6 - >=kde-frameworks/kcoreaddons-${KFMIN}:6 - >=kde-frameworks/kcrash-${KFMIN}:6 - >=kde-frameworks/kdbusaddons-${KFMIN}:6 - >=kde-frameworks/kglobalaccel-${KFMIN}:6 - >=kde-frameworks/ki18n-${KFMIN}:6 - >=kde-frameworks/kiconthemes-${KFMIN}:6 - >=kde-frameworks/kio-${KFMIN}:6 - >=kde-frameworks/knotifications-${KFMIN}:6 - >=kde-frameworks/knotifyconfig-${KFMIN}:6 - >=kde-frameworks/kparts-${KFMIN}:6 - >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 - >=kde-frameworks/kwindowsystem-${KFMIN}:6 - >=kde-frameworks/kxmlgui-${KFMIN}:6 - >=net-libs/libktorrent-${PVCUT}:6 - infowidget? ( dev-libs/geoip ) - ipfilter? ( >=kde-frameworks/karchive-${KFMIN}:6 ) - mediaplayer? ( - >=dev-qt/qtmultimedia-${QTMIN}:6 - >=media-libs/taglib-1.5:= - ) - rss? ( - >=dev-qt/qtwebengine-${QTMIN}:6 - >=kde-frameworks/syndication-${KFMIN}:6 - ) - stats? ( >=kde-frameworks/kplotting-${KFMIN}:6 ) - upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:6 ) - webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6 ) - zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:6 ) -" -DEPEND="${COMMON_DEPEND} - >=dev-libs/boost-1.71 -" -RDEPEND="${COMMON_DEPEND} - ipfilter? ( - app-arch/bzip2 - app-arch/unzip - kde-apps/kio-extras:6 - >=kde-frameworks/ktextwidgets-${KFMIN}:6 - ) -" -BDEPEND="sys-devel/gettext" - -PATCHES=( "${WORKDIR}"/${PATCHSET} ) - -src_configure() { - local mycmakeargs=( - -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler) - -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder) - -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget) - -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter) - -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer) - -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator) - $(cmake_use_find_package mediaplayer Taglib) - $(cmake_use_find_package mediaplayer Qt6Multimedia) - $(cmake_use_find_package rss KF6Syndication) - -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) - -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) - -DENABLE_STATS_PLUGIN=$(usex stats) - -DENABLE_UPNP_PLUGIN=$(usex upnp) - -DENABLE_SEARCH_PLUGIN=$(usex webengine) - -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) - ) -# add back when ported -# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) - ecm_src_configure -} diff --git a/net-p2p/ktorrent/ktorrent-26.04.1.ebuild b/net-p2p/ktorrent/ktorrent-26.04.1.ebuild deleted file mode 100644 index f4383f72915b..000000000000 --- a/net-p2p/ktorrent/ktorrent-26.04.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="optional" -ECM_TEST="true" -KFMIN=6.22.0 -PVCUT=$(ver_cut 1-3) -QTMIN=6.10.1 -inherit ecm gear.kde.org xdg - -DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks" -HOMEPAGE="https://apps.kde.org/ktorrent/" - -LICENSE="GPL-2" -SLOT="6" -KEYWORDS="amd64 arm64 ~ppc64 ~x86" -IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer +magnetgenerator -+mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf" - -COMMON_DEPEND=" - >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml] - >=kde-frameworks/kcmutils-${KFMIN}:6 - >=kde-frameworks/kconfig-${KFMIN}:6 - >=kde-frameworks/kconfigwidgets-${KFMIN}:6 - >=kde-frameworks/kcoreaddons-${KFMIN}:6 - >=kde-frameworks/kcrash-${KFMIN}:6 - >=kde-frameworks/kdbusaddons-${KFMIN}:6 - >=kde-frameworks/kglobalaccel-${KFMIN}:6 - >=kde-frameworks/ki18n-${KFMIN}:6 - >=kde-frameworks/kiconthemes-${KFMIN}:6 - >=kde-frameworks/kio-${KFMIN}:6 - >=kde-frameworks/knotifications-${KFMIN}:6 - >=kde-frameworks/knotifyconfig-${KFMIN}:6 - >=kde-frameworks/kparts-${KFMIN}:6 - >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 - >=kde-frameworks/kwindowsystem-${KFMIN}:6 - >=kde-frameworks/kxmlgui-${KFMIN}:6 - >=net-libs/libktorrent-${PVCUT}:6 - infowidget? ( dev-libs/geoip ) - ipfilter? ( >=kde-frameworks/karchive-${KFMIN}:6 ) - mediaplayer? ( - >=dev-qt/qtmultimedia-${QTMIN}:6 - >=media-libs/taglib-1.5:= - ) - rss? ( - >=dev-qt/qtwebengine-${QTMIN}:6 - >=kde-frameworks/syndication-${KFMIN}:6 - ) - stats? ( >=kde-frameworks/kplotting-${KFMIN}:6 ) - upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:6 ) - webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6 ) - zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:6 ) -" -DEPEND="${COMMON_DEPEND} - >=dev-libs/boost-1.71 -" -RDEPEND="${COMMON_DEPEND} - ipfilter? ( - app-arch/bzip2 - app-arch/unzip - kde-apps/kio-extras:6 - >=kde-frameworks/ktextwidgets-${KFMIN}:6 - ) -" -BDEPEND="sys-devel/gettext" - -src_configure() { - local mycmakeargs=( - -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler) - -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder) - -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget) - -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter) - -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer) - -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator) - $(cmake_use_find_package mediaplayer Taglib) - $(cmake_use_find_package mediaplayer Qt6Multimedia) - $(cmake_use_find_package rss KF6Syndication) - -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) - -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) - -DENABLE_STATS_PLUGIN=$(usex stats) - -DENABLE_UPNP_PLUGIN=$(usex upnp) - -DENABLE_SEARCH_PLUGIN=$(usex webengine) - -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) - ) -# add back when ported -# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) - ecm_src_configure -} diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml deleted file mode 100644 index 3c32b25175bf..000000000000 --- a/net-p2p/ktorrent/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <upstream> - <bugs-to>https://bugs.kde.org/enter_bug.cgi?product=ktorrent</bugs-to> - <remote-id type="cpe">cpe:/a:ktorrent:ktorrent</remote-id> - <remote-id type="kde-invent">network/ktorrent</remote-id> - </upstream> - <use> - <flag name="bwscheduler">Schedule upload and download limits over a period of a week</flag> - <flag name="downloadorder">Specify the download order of a multi-file torrent</flag> - <flag name="infowidget">Displays general information about a torrent in several tabs</flag> - <flag name="ipfilter">Filter IP addresses through a blocklist</flag> - <flag name="logviewer">Displays the logging output</flag> - <flag name="magnetgenerator">Generates magnet URI's</flag> - <flag name="mediaplayer">Enable <pkg>dev-qt/qtmultimedia</pkg> based media player</flag> - <flag name="rss">Syndication plugin for KTorrent, supporting RSS and Atom feeds</flag> - <flag name="scanfolder">Scan folders for torrent files and load them</flag> - <flag name="shutdown">Shutdown when done</flag> - <flag name="stats">Shows statistics about torrents in several graphs</flag> - <flag name="upnp">Forward ports using UPnP</flag> - <flag name="webengine">Embedded search for torrents using <pkg>dev-qt/qtwebengine</pkg></flag> - <flag name="zeroconf">Discover peers on the local network using the Zeroconf protocol</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/kubo/Manifest b/net-p2p/kubo/Manifest deleted file mode 100644 index 87dace05daa1..000000000000 --- a/net-p2p/kubo/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -DIST kubo-0.36.0-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c -DIST kubo-0.36.0-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 -DIST kubo-0.36.0.tar.gz 18698761 BLAKE2B d8cf66b8a1e26ad8facb07f8dd0e9b580d6b3c705292ad2c30b2af3423b3d96e4a4ac30157e63dec35bba37d52d08a6c13223a4ce951671cc4b7eccbe965d9c5 SHA512 48337cac57ac0e331debf34ec59dc856426ede9db3c53b7f3568605052d812befe32d4c29be1af54b2f1d74802fe002f0764341cf9108dd93af023ecb94c1a81 -DIST kubo-0.37.0-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c -DIST kubo-0.37.0-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 -DIST kubo-0.37.0.tar.gz 18756989 BLAKE2B e596b2de53089a55ee7cce51f78387f2414f0cbdb380ace07818c301c485fb3f6c7cef7f04f03cd283792679ff955917346679dcd3e3b5711e127ad304eff223 SHA512 9de7b8a3e7813f300602a4476c3e884acc7f8a3db347f0110adaf87ee4b3ba0ce4f6cceb6897130fbc9f0bae8dda94fcfd2a706c97f0303dbc00b61e993be083 -DIST kubo-0.40.1-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c -DIST kubo-0.40.1-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 -DIST kubo-0.40.1.tar.gz 19112771 BLAKE2B 83e2c565b77d2fc65fcc28385c8b3038a6661a3bb28f4ef3ff4b7b356375fdd1cf98187ce533317fe7dd92bac6ef53f20bc0cec8fdb8d42ea2b93d6b45c90764 SHA512 cd33113d6b592d736335799ca10f08451abec9fb1b3083e6c6436c4597ef8a88bfb0d2c08ed1e35ad3bdec53ae2e1d630829e53f0a41597f033afdaf2816bc44 -DIST kubo-0.38.2-fs-repo-15-to-16-v1.0.1-vendor.tar.xz 1643384 BLAKE2B 6c51d34ab06e662213075cdc73fce0d3dad8c9acbfd2af6cd68ee50e90c33b91f06a68bbe40f4f3de867dd2862fb3cc0a09cb377f4d1ae70750906236059de5d SHA512 f3d9fbfc93fa714491eb7b8c995b686b8af86a65c56e7f14034b0dedb36b2b9a4d489852d7988acce30dcfd53f1637e1dca42ffdaa785bc6104864fc19c45a0c -DIST kubo-0.38.2-fs-repo-15-to-16-v1.0.1.tar.gz 25942003 BLAKE2B 48eb3f50c8d0064561a99dd834cfc73482003bed70be93342bb30e993b509cca6aea0d44658ea981bb1063c458ce98e796293172b01109265e431f7a6ae279ae SHA512 bf631d402ecbee75e5a49e19e31c40172aeef81a13325bbf557841ba9e765caf39df42370a20d6e4039e7bd98e27dc5bd7a42f4490f30928a5614aca2214aea1 -DIST kubo-0.38.2.tar.gz 19439219 BLAKE2B ad45f67c754dcfc19f46407b844bc7276d23eee3f548d451bf188eec3bfc5b6a6827cf6bd3e69a7ad74f6b45e6d409df56786f43675472c22c88d96ff875b1bf SHA512 8b54292af40ecf161394ed475fbc303d574c47eaff5793f97566ea90804b9143b8f05cf2962a4292d31c133f2292f64f9b987e7aca7d0cc8b49a059d7a4f0de2 diff --git a/net-p2p/kubo/files/ipfs-at.service b/net-p2p/kubo/files/ipfs-at.service deleted file mode 100644 index c9ce91294177..000000000000 --- a/net-p2p/kubo/files/ipfs-at.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=InterPlanetary File System -After=network.target - -[Service] -CPUSchedulingPolicy=batch -Environment=IPFS_PATH= -ExecStart=/usr/bin/ipfs daemon --enable-gc --migrate -ExecStop=/usr/bin/ipfs shutdown -LimitNOFILE=8192 -PrivateTmp=yes -ProtectSystem=full -Restart=on-failure -Type=simple -User=%i - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/kubo/files/ipfs.confd b/net-p2p/kubo/files/ipfs.confd deleted file mode 100644 index f1e8eb77adf5..000000000000 --- a/net-p2p/kubo/files/ipfs.confd +++ /dev/null @@ -1 +0,0 @@ -IPFS_PATH=/var/lib/ipfs/.ipfs diff --git a/net-p2p/kubo/files/ipfs.init b/net-p2p/kubo/files/ipfs.init deleted file mode 100644 index 91dac12f4810..000000000000 --- a/net-p2p/kubo/files/ipfs.init +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -export IPFS_PATH=${IPFS_PATH:-/var/lib/ipfs/.ipfs} - -pidfile="/run/ipfs.pid" -command="/usr/bin/ipfs" -command_args="daemon --enable-gc --migrate" -command_background=yes -output_log="/var/log/ipfs/ipfs.log" -error_log="/var/log/ipfs/ipfs.err" -command_user="ipfs:ipfs" -start_stop_daemon_args="--wait 1000" - -depend() { - need net -} diff --git a/net-p2p/kubo/files/ipfs.service b/net-p2p/kubo/files/ipfs.service deleted file mode 100644 index 12e9d19fd965..000000000000 --- a/net-p2p/kubo/files/ipfs.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=InterPlanetary File System -After=network.target - -[Service] -CPUSchedulingPolicy=batch -Environment=IPFS_PATH=/var/lib/ipfs/.ipfs -ExecStart=/usr/bin/ipfs daemon --enable-gc --migrate -ExecStop=/usr/bin/ipfs shutdown -Group=ipfs -LimitNOFILE=8192 -PrivateTmp=yes -ProtectSystem=full -Restart=on-failure -Type=simple -User=ipfs - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/kubo/kubo-0.36.0.ebuild b/net-p2p/kubo/kubo-0.36.0.ebuild deleted file mode 100644 index d547fec2ec3c..000000000000 --- a/net-p2p/kubo/kubo-0.36.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -# Upstreams has a directory for each migration, for example fs-repo-15-to-16, -# each directory is a program by itself. When an upstream tag is created, -# they use they the name of the last migration program + version, for example -# fs-repo-15-to-16/v1.0.1. Accordingly, we have a variable for the name and -# another for the version. Even though the tag uses the name of the last migration, -# the repository contains source code for all migrations, not only the tagged one. -FS_MIG_V="1.0.1" -FS_MIG_N="fs-repo-15-to-16" -MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" -FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" -SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" - -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_prepare() { - default - - sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die -} - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die - - cd "${FS_MIG_DIR}" || die - emake -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs.fish - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs - - find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/kubo-0.37.0.ebuild b/net-p2p/kubo/kubo-0.37.0.ebuild deleted file mode 100644 index 9e8f0f1d46c3..000000000000 --- a/net-p2p/kubo/kubo-0.37.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -# Upstreams has a directory for each migration, for example fs-repo-15-to-16, -# each directory is a program by itself. When an upstream tag is created, -# they use they the name of the last migration program + version, for example -# fs-repo-15-to-16/v1.0.1. Accordingly, we have a variable for the name and -# another for the version. Even though the tag uses the name of the last migration, -# the repository contains source code for all migrations, not only the tagged one. -FS_MIG_V="1.0.1" -FS_MIG_N="fs-repo-15-to-16" -MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" -FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" -SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" - -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_prepare() { - default - - sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die -} - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die - - cd "${FS_MIG_DIR}" || die - emake -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs.fish - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs - - find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/kubo-0.38.2.ebuild b/net-p2p/kubo/kubo-0.38.2.ebuild deleted file mode 100644 index 3db2a3012c83..000000000000 --- a/net-p2p/kubo/kubo-0.38.2.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -# Starting at v0.37.0 migrations are builtin. Older versions still needs -# external programs to migrate so we should let the deprecated method for a -# couple of releases more. - -# Upstreams has a directory for each migration, for example fs-repo-15-to-16, -# each directory is a program by itself. When an upstream tag is created, -# they use they the name of the last migration program + version, for example -# fs-repo-15-to-16/v1.0.1. Accordingly, we have a variable for the name and -# another for the version. Even though the tag uses the name of the last migration, -# the repository contains source code for all migrations, not only the tagged one. -FS_MIG_V="1.0.1" -FS_MIG_N="fs-repo-15-to-16" -MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" -FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" -SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" - -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_prepare() { - default - - sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die -} - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die - - cd "${FS_MIG_DIR}" || die - emake -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs.fish - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs - - find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/kubo-0.40.1.ebuild b/net-p2p/kubo/kubo-0.40.1.ebuild deleted file mode 100644 index 640cb511b267..000000000000 --- a/net-p2p/kubo/kubo-0.40.1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion systemd - -# Starting at v0.37.0 migrations are builtin. Older versions still needs -# external programs to migrate so we should let the deprecated method for a -# couple of releases more. - -# Upstreams has a directory for each migration, for example fs-repo-15-to-16, -# each directory is a program by itself. When an upstream tag is created, -# they use they the name of the last migration program + version, for example -# fs-repo-15-to-16/v1.0.1. Accordingly, we have a variable for the name and -# another for the version. Even though the tag uses the name of the last migration, -# the repository contains source code for all migrations, not only the tagged one. -FS_MIG_V="1.0.1" -FS_MIG_N="fs-repo-15-to-16" -MY_FS_MIG="${FS_MIG_N}-v${FS_MIG_V}" -FS_MIG_DIR="fs-repo-migrations-${MY_FS_MIG}" - -DESCRIPTION="Main implementation of IPFS" -HOMEPAGE="https://ipfs.tech https://github.com/ipfs/kubo/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/ipfs/fs-repo-migrations/archive/refs/tags/${FS_MIG_N}/v${FS_MIG_V}.tar.gz -> ${P}-${MY_FS_MIG}.tar.gz" -SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${MY_FS_MIG}-vendor.tar.xz -> ${P}-${MY_FS_MIG}-vendor.tar.xz" - -S="${WORKDIR}" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" - -DEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -src_prepare() { - default - - sed -i '/fs-repo-1[0-9]-to-*/d' "${FS_MIG_DIR}/ignored-migrations" || die -} - -src_compile() { - local mygoargs - mygoargs=( - -tags release - ) - - ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs - ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die - IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die - IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die - - cd "${FS_MIG_DIR}" || die - emake -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash ipfs - newfishcomp ipfs-completion.fish ipfs.fish - newzshcomp ipfs-completion.zsh _ipfs - einstalldocs - - systemd_dounit "${FILESDIR}/ipfs.service" - systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service" - - newinitd "${FILESDIR}/ipfs.init" ipfs - newconfd "${FILESDIR}/ipfs.confd" ipfs - - keepdir /var/log/ipfs - fowners -R ipfs:ipfs /var/log/ipfs - - find "${FS_MIG_DIR}" -executable -type f -name "fs-repo-*" -exec dobin {} \; || die -} - -pkg_postinst() { - elog 'To be able to use the ipfs service you will need to create the ipfs repository' - elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)' - elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.' - - # See https://bugs.gentoo.org/838238 - ewarn 'In case kubo CPU usage is too high run the next workaround' - ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs' - ewarn 'Be aware that this will make your node less visible to other peers' -} diff --git a/net-p2p/kubo/metadata.xml b/net-p2p/kubo/metadata.xml deleted file mode 100644 index 4bac46979dc2..000000000000 --- a/net-p2p/kubo/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>stkw0@disroot.org</email> - <name>David Roman</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>hurikhan77+bgo@gmail.com</email> - <name>Kai Krakow</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">ipfs/kubo</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/metadata.xml b/net-p2p/metadata.xml deleted file mode 100644 index 7e5b2bb86aa1..000000000000 --- a/net-p2p/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription lang="en"> - The net-p2p category contains peer-to-peer networking applications. - </longdescription> - <longdescription lang="de"> - Die Kategorie net-p2p enthält Peer-to-Peer-Software. - </longdescription> - <longdescription lang="es"> - La categoría net-p2p contiene aplicaciones peer-to-peer. - </longdescription> - <longdescription lang="ja"> - net-p2pカテゴリーにはピア・トゥ・ピアの - ネットワーキング・アプリケーションが含まれています。 - </longdescription> - <longdescription lang="nl"> - De net-p2p categorie bevat peer-to-peer netwerkapplicaties. - </longdescription> - <longdescription lang="vi"> - Nhóm net-p2p chứa các phần mềm mạng ngang hàng (peer-to-peer). - </longdescription> - <longdescription lang="it"> - La categoria net-p2p contiene applicazioni peer-to-peer. - </longdescription> - <longdescription lang="pt"> - A categoria net-p2p contém aplicações de rede peer-to-peer. - </longdescription> - <longdescription lang="pl"> - Kategoria net-p2p zawiera programy służące do wymiany plików w sieciach - peer-to-peer. - </longdescription> -</catmetadata> diff --git a/net-p2p/mktorrent/Manifest b/net-p2p/mktorrent/Manifest deleted file mode 100644 index 0237d50def74..000000000000 --- a/net-p2p/mktorrent/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mktorrent-de7d011b35458de1472665f50b96c9cf6c303f39.tar.gz 27939 BLAKE2B 3fbf2c98829be21394b6517f2548925fdc83c9199a209aed39a6ba5f31174e34a3290b8c01eaf55e13acd2f15100cf9ecb20073d5fa9d4d1e3b2fb7641f3418d SHA512 4194d73958ba0d43e88a167c46a24e2a92e94b43682f96079a7317fb77f9e48477eddc1556a9785e5c7e5e1745efa7679d1b6b2b41c0ba2aa6df9dae4d3eb489 diff --git a/net-p2p/mktorrent/metadata.xml b/net-p2p/mktorrent/metadata.xml deleted file mode 100644 index 7594d7627d11..000000000000 --- a/net-p2p/mktorrent/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="person"> - <email>holgersson@posteo.de</email> - <name>Nils Freydank</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/net-p2p/mktorrent/mktorrent-1.1_p20180912.ebuild b/net-p2p/mktorrent/mktorrent-1.1_p20180912.ebuild deleted file mode 100644 index a47c9e653aca..000000000000 --- a/net-p2p/mktorrent/mktorrent-1.1_p20180912.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" -HOMEPAGE="https://github.com/Rudde/mktorrent" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Rudde/mktorrent.git" -else - COMMIT_ID="4c221a05d949a3767a2671de139c6014909daf6b" - SRC_URI="https://github.com/Rudde/${PN}/archive/${COMMIT_ID}.tar.gz -> ${PN}-${COMMIT_ID}.tar.gz" - KEYWORDS="amd64 ~arm x86" - S="${WORKDIR}/${PN}-${COMMIT_ID}" -fi - -LICENSE="GPL-2+" -SLOT="0" -IUSE="threads +ssl debug" - -RDEPEND=" - ssl? ( - dev-libs/openssl:0= - - ) -" - -DEPEND="${RDEPEND}" - -src_compile() { - tc-export CC - - local myemakeargs=( - USE_LONG_OPTIONS=1 - USE_LARGE_FILES=1 - DEBUG=$(usex debug) - USE_OPENSSL=$(usex ssl) - USE_PTHREADS=$(usex threads) - ) - emake "${myemakeargs[@]}" -} - -src_install() { - dobin ${PN} - dodoc README -} diff --git a/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild b/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild deleted file mode 100644 index 7a1b199aff92..000000000000 --- a/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" -HOMEPAGE="https://github.com/Rudde/mktorrent" -COMMIT_ID="de7d011b35458de1472665f50b96c9cf6c303f39" -SRC_URI="https://github.com/Rudde/${PN}/archive/${COMMIT_ID}.tar.gz -> ${PN}-${COMMIT_ID}.tar.gz" -KEYWORDS="amd64 ~arm x86" -S="${WORKDIR}/${PN}-${COMMIT_ID}" -LICENSE="GPL-2+" -SLOT="0" -IUSE="threads +ssl debug" - -RDEPEND=" - ssl? ( - dev-libs/openssl:0= - - ) -" - -DEPEND="${RDEPEND}" - -src_compile() { - tc-export CC - - local myemakeargs=( - USE_LONG_OPTIONS=1 - USE_LARGE_FILES=1 - DEBUG=$(usex debug) - USE_OPENSSL=$(usex ssl) - USE_PTHREADS=$(usex threads) - ) - emake "${myemakeargs[@]}" -} - -src_install() { - dobin ${PN} - dodoc README -} diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest deleted file mode 100644 index d304d3df1326..000000000000 --- a/net-p2p/mldonkey/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mldonkey-3.2.1.tar.bz2 2839613 BLAKE2B 87d02fb4dd81a894b241793cfe872a0e0860ca33c2dceae7c6a6b2e17b2dc8bf0352e5a8a573dc0088b62acc1e9b7ff8608514355dc96397b997117bcf7e06bf SHA512 7f2657ea3e5eedf2429b157f8157178d8357c19d323f812f3bf1cd965ee209aaa760b8af6983603eeccf53efea7321f41910eca1c5649ce1baf5bc6cf0284f0c diff --git a/net-p2p/mldonkey/files/mldonkey.confd b/net-p2p/mldonkey/files/mldonkey.confd deleted file mode 100644 index 509409b02232..000000000000 --- a/net-p2p/mldonkey/files/mldonkey.confd +++ /dev/null @@ -1,22 +0,0 @@ -# /etc/conf.d/mldonkey -# Config file for mldonkey control script - -# Change the following vars only if you know -# what you're doing, there's no checking for -# invalid data yet! - -# owner of mlnet process (don't change, must be existing) -USER="p2p" - -# mldonkey's working dir (must be existing) -MLDONKEY_DIR="/var/lib/mldonkey" - -# logfile (/dev/null for nowhere) -LOG="/var/log/mldonkey.log" - -# set to true, if you have enabled logging to syslog in MLDonkey with -# set log_to_syslog true -USE_LOGGER=false - -# nice level, 0<x<19, more nice -> less cpuspeed consumed -NICE="19" diff --git a/net-p2p/mldonkey/files/mldonkey.initd b/net-p2p/mldonkey/files/mldonkey.initd deleted file mode 100644 index c7fa3d5051c5..000000000000 --- a/net-p2p/mldonkey/files/mldonkey.initd +++ /dev/null @@ -1,49 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload slow fast info" - -MLDONKEY_BINARY=${MLDONKEY_BINARY:-/usr/bin/mlnet} - -depend() { - need localmount net - ${USE_LOGGER} && use logger -} - -start() { - if [ -n "${BASEDIR}${SUBDIR}${LOW_DOWN}${LOW_UP}${HIGH_DOWN}${HIGH_UP}${SERVER}${PORT}${TELNET_PORT}${USERNAME}${PASSWORD}${MLDONKEY_TIMEOUT}" ]; then - ewarn "The following settings are deprecated and will be ignored," - ewarn "please remove them from /etc/conf.d/mldonkey:" - ewarn "LOW_DOWN LOW_UP HIGH_DOWN HIGH_UP SERVER PORT TELNET_PORT USERNAME PASSWORD MLDONKEY_TIMEOUT" - fi - - if [ -z "${MLDONKEY_DIR}" ]; then - eerror "Please set MLDONKEY_DIR in /etc/conf.d/mldonkey to the directory" - eerror "where you want MLDonkey to save its files" - return 1 - fi - - if [ ! -d "${MLDONKEY_DIR}" ]; then - ebegin "Directory ${MLDONKEY_DIR} not existing, trying to create..." - mkdir -p "${MLDONKEY_DIR}" && chown ${USER}:users "${MLDONKEY_DIR}" - eend $? || return 1 - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --user "${USER}" --nice "${NICE}" \ - --exec "${MLDONKEY_BINARY}" --pidfile /var/run/"${SVCNAME}".pid \ - --env "MLDONKEY_DIR=${MLDONKEY_DIR}" --background --make-pidfile - eend $? -} - -stop() { - start-stop-daemon --stop --exec "${MLDONKEY_BINARY}" \ - --pidfile /var/run/"${SVCNAME}".pid - eend $? -} - -reload() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --stop --signal HUP --oknodo \ - --exec "${MLDONKEY_BINARY}" --pidfile /var/run/"${SVCNAME}".pid - eend $? -} diff --git a/net-p2p/mldonkey/files/mldonkey.service b/net-p2p/mldonkey/files/mldonkey.service deleted file mode 100644 index 4cc0b7fc945b..000000000000 --- a/net-p2p/mldonkey/files/mldonkey.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=MLDonkey multi-network P2P client service -After=network.target - -[Service] -User=p2p -LimitNICE=+19 -Environment=MLDONKEY_DIR=/var/lib/mldonkey -ExecStart=/usr/bin/mlnet -ExecReload=/bin/kill -HUP $MAINPID -KillMode=process - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/mldonkey/metadata.xml b/net-p2p/mldonkey/metadata.xml deleted file mode 100644 index 008364d84f74..000000000000 --- a/net-p2p/mldonkey/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>gentoo@chuso.net</email> - <name>Jesus Perez Rey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="bittorrent">enable bittorrent support</flag> - <flag name="fasttrack">enable fasttrack support</flag> - <flag name="gnutella">enable gnutella and gnutella2 support</flag> - </use> - <upstream> - <remote-id type="github">ygrek/mldonkey</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/mldonkey/mldonkey-3.2.1.ebuild b/net-p2p/mldonkey/mldonkey-3.2.1.ebuild deleted file mode 100644 index 1ca34f706527..000000000000 --- a/net-p2p/mldonkey/mldonkey-3.2.1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit autotools flag-o-matic systemd toolchain-funcs - -DESCRIPTION="Multi-network P2P application written in Ocaml, with Gtk, web & telnet interface" -HOMEPAGE="https://github.com/ygrek/mldonkey" -SRC_URI="https://github.com/ygrek/mldonkey/releases/download/release-${PV//./-}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -IUSE="bittorrent doc fasttrack gd gnutella magic +ocamlopt upnp" - -RDEPEND="dev-lang/perl - dev-ml/camlp4:= - gd? ( media-libs/gd:2=[truetype] ) - magic? ( sys-apps/file ) - upnp? ( - net-libs/libnatpmp - net-libs/miniupnpc:= - ) - acct-user/p2p - app-arch/bzip2 - virtual/zlib:= -" -# Can't yet use newer OCaml -# -unsafe-string usage: -# https://github.com/ygrek/mldonkey/issues/46 -DEPEND="${RDEPEND} - <dev-lang/ocaml-5:=[ocamlopt?] - bittorrent? ( dev-ml/num ) -" - -RESTRICT="!ocamlopt? ( strip )" - -pkg_setup() { - # dev-lang/ocaml creates its own objects but calls gcc for linking, which will - # results in relocations if gcc wants to create a PIE executable - if gcc-specs-pie ; then - append-ldflags -nopie - ewarn "Ocaml generates its own native asm, you're using a PIE compiler" - ewarn "We have appended -nopie to ocaml build options" - ewarn "because linking an executable with pie while the objects are not pic will not work" - fi -} - -src_prepare() { - cd config || die - eautoconf - cd .. || die - if ! use ocamlopt; then - sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt" - fi - - default -} - -src_configure() { - local myconf=() - - local my_extra_libs - if use gd; then - my_extra_libs="-lpng" - fi - - econf LIBS="${my_extra_libs}"\ - --sysconfdir=/etc/mldonkey \ - --sharedstatedir=/var/mldonkey \ - --localstatedir=/var/mldonkey \ - --enable-checks \ - --disable-batch \ - $(use_enable bittorrent) \ - $(use_enable fasttrack) \ - $(use_enable gnutella) \ - $(use_enable gnutella gnutella2) \ - $(use_enable gd) \ - $(use_enable magic) \ - $(use_enable upnp upnp-natpmp) \ - --disable-force-upnp-natpmp \ - --disable-gui - ${myconf[@]} -} - -src_compile() { - export OCAMLRUNPARAM="l=256M" - emake -j1 # Upstream bug #48 - emake utils -} - -src_install() { - local myext i - use ocamlopt || myext=".byte" - for i in mlnet mld_hash get_range copysources subconv; do - newbin "${i}${myext}" "${i}" - done - use bittorrent && newbin "make_torrent${myext}" make_torrent - - systemd_dounit "${FILESDIR}/${PN}.service" - newconfd "${FILESDIR}/mldonkey.confd" mldonkey - newinitd "${FILESDIR}/mldonkey.initd" mldonkey - - if use doc ; then - docompress -x "/usr/share/doc/${PF}/scripts" "/usr/share/doc/${PF}/html" - - dodoc distrib/ChangeLog distrib/*.txt docs/*.txt docs/*.tex docs/*.pdf docs/developers/*.{txt,tex} - - docinto scripts - dodoc distrib/{kill_mldonkey,mldonkey_command,mldonkey_previewer,make_buginfo} - - docinto html - dodoc docs/*.html - - docinto html/images - dodoc docs/images/* - fi -} - -pkg_postinst() { - if [ -f /etc/conf.d/mldonkey ] && grep -qE "^(BASEDIR|SUBDIR|LOW_DOWN|LOW_UP|HIGH_DOWN|HIGH_UP|SERVER|PORT|TELNET_PORT|USERNAME|PASSWORD|MLDONKEY_TIMEOUT)=" /etc/conf.d/mldonkey; then - ewarn "The following settings are deprecated and will be ignored," - ewarn "please remove them from /etc/conf.d/mldonkey:" - ewarn "LOW_DOWN LOW_UP HIGH_DOWN HIGH_UP SERVER PORT TELNET_PORT USERNAME PASSWORD MLDONKEY_TIMEOUT" - fi -} diff --git a/net-p2p/monero-gui-bin/Manifest b/net-p2p/monero-gui-bin/Manifest deleted file mode 100644 index 71b04e0f4569..000000000000 --- a/net-p2p/monero-gui-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST monero-gui-bin-0.18.4.3.tar.bz2 129208863 BLAKE2B edf110b78f721891f378054de490f1fcd92a797108ec2bc7eb4cd03e85287658d27c4274909de20de0b299866fa22bf5d638e3bccac26edbfba8cde0d481b12b SHA512 298818e5cb902ac9b795105fa1f7737b3b73e1c0e9ddd82158f83709a38c49b1f1f52740d9070b3ea4b41255ea13864e5cec5175c73d78a7ed425f391df74831 diff --git a/net-p2p/monero-gui-bin/files/128x128.png b/net-p2p/monero-gui-bin/files/128x128.png Binary files differdeleted file mode 100644 index 15d5dcf57ccd..000000000000 --- a/net-p2p/monero-gui-bin/files/128x128.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/16x16.png b/net-p2p/monero-gui-bin/files/16x16.png Binary files differdeleted file mode 100644 index 0d8eb3fd751c..000000000000 --- a/net-p2p/monero-gui-bin/files/16x16.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/24x24.png b/net-p2p/monero-gui-bin/files/24x24.png Binary files differdeleted file mode 100644 index 1d3d140d4942..000000000000 --- a/net-p2p/monero-gui-bin/files/24x24.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/256x256.png b/net-p2p/monero-gui-bin/files/256x256.png Binary files differdeleted file mode 100644 index 9293a3d60569..000000000000 --- a/net-p2p/monero-gui-bin/files/256x256.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/32x32.png b/net-p2p/monero-gui-bin/files/32x32.png Binary files differdeleted file mode 100644 index d547a46908d9..000000000000 --- a/net-p2p/monero-gui-bin/files/32x32.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/48x48.png b/net-p2p/monero-gui-bin/files/48x48.png Binary files differdeleted file mode 100644 index 17a5d04091d7..000000000000 --- a/net-p2p/monero-gui-bin/files/48x48.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/64x64.png b/net-p2p/monero-gui-bin/files/64x64.png Binary files differdeleted file mode 100644 index c504f89ebc5a..000000000000 --- a/net-p2p/monero-gui-bin/files/64x64.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/96x96.png b/net-p2p/monero-gui-bin/files/96x96.png Binary files differdeleted file mode 100644 index f01ea8c44097..000000000000 --- a/net-p2p/monero-gui-bin/files/96x96.png +++ /dev/null diff --git a/net-p2p/monero-gui-bin/files/monero-gui.desktop b/net-p2p/monero-gui-bin/files/monero-gui.desktop deleted file mode 100644 index 4d951b42913f..000000000000 --- a/net-p2p/monero-gui-bin/files/monero-gui.desktop +++ /dev/null @@ -1,15 +0,0 @@ -[Desktop Entry] -Name=Monero GUI -GenericName=Monero-GUI -X-GNOME-FullName=Monero-GUI -Comment=Monero GUI -Keywords=Monero; -Exec=monero-wallet-gui %u -Terminal=false -Type=Application -Icon=monero-gui -Categories=Network;GNOME;Qt; -MimeType=x-scheme-handler/monero;x-scheme-handler/moneroseed -StartupNotify=true -X-GNOME-Bugzilla-Bugzilla=GNOME -X-GNOME-UsesNotifications=true diff --git a/net-p2p/monero-gui-bin/metadata.xml b/net-p2p/monero-gui-bin/metadata.xml deleted file mode 100644 index fa49111c9457..000000000000 --- a/net-p2p/monero-gui-bin/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>justin026@protonmail.com</email> - <name>Justin Donofrio</name> - </maintainer> - <longdescription lang="en"> - Monero is a private, secure, untraceable, decentralised digital - currency. You are your bank, you control your funds, and nobody - can trace your transfers unless you allow them to do so. - </longdescription> - <use> - <flag name="daemon"> - Install the Monero daemon used to connect to the P2P network. - </flag> - <flag name="tools"> - Install tools used to manipulate the blockchain as it is stored on - disk. - </flag> - <flag name="wallet-cli"> - Install the command line wallet, monero-wallet-cli. - </flag> - <flag name="wallet-rpc"> - Install the RPC wallet, monero-wallet-rpc. - </flag> - </use> - <upstream> - <remote-id type="github">monero-project/monero-gui</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/monero-gui-bin/monero-gui-bin-0.18.4.3.ebuild b/net-p2p/monero-gui-bin/monero-gui-bin-0.18.4.3.ebuild deleted file mode 100644 index 90d463ab1d5f..000000000000 --- a/net-p2p/monero-gui-bin/monero-gui-bin-0.18.4.3.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg - -DESCRIPTION="An open-source GUI wallet developed by the Monero community." -HOMEPAGE="https://github.com/monero-project/monero-gui/ https://www.getmonero.org/" -SRC_URI="https://downloads.getmonero.org/gui/monero-gui-linux-x64-v${PV}.tar.bz2 -> ${P}.tar.bz2" - -S="${WORKDIR}/monero-gui-v${PV}" -LICENSE="BSD MIT" -SLOT="0" -KEYWORDS="-* ~amd64" - -IUSE="+daemon tools wallet-cli wallet-rpc" - -RDEPEND=" - dev-libs/glib - media-libs/libglvnd - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/xcb-util-image - x11-libs/xcb-util-keysyms - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm -" - -QA_PREBUILT="*" - -src_install() { - insinto /usr/bin - - doins monero-wallet-gui - fperms +x /usr/bin/monero-wallet-gui - - if use daemon ; then - doins monerod - fperms +x /usr/bin/monerod - fi - - if use tools ; then - doins extras/monero-blockchain-ancestry - doins extras/monero-blockchain-depth - doins extras/monero-blockchain-export - doins extras/monero-blockchain-import - doins extras/monero-blockchain-mark-spent-outputs - doins extras/monero-blockchain-prune - doins extras/monero-blockchain-prune-known-spent-data - doins extras/monero-blockchain-stats - doins extras/monero-blockchain-usage - doins extras/monero-gen-ssl-cert - doins extras/monero-gen-trusted-multisig - fperms +x /usr/bin/monero-blockchain-ancestry - fperms +x /usr/bin/monero-blockchain-depth - fperms +x /usr/bin/monero-blockchain-export - fperms +x /usr/bin/monero-blockchain-import - fperms +x /usr/bin/monero-blockchain-mark-spent-outputs - fperms +x /usr/bin/monero-blockchain-prune - fperms +x /usr/bin/monero-blockchain-prune-known-spent-data - fperms +x /usr/bin/monero-blockchain-stats - fperms +x /usr/bin/monero-blockchain-usage - fperms +x /usr/bin/monero-gen-ssl-cert - fperms +x /usr/bin/monero-gen-trusted-multisig - fi - - if use wallet-cli ; then - doins extras/monero-wallet-cli - - fperms +x /usr/bin/monero-wallet-cli - fi - - if use wallet-rpc ; then - doins extras/monero-wallet-rpc - fperms +x /usr/bin/monero-wallet-rpc - fi - - domenu "${FILESDIR}"/monero-gui.desktop - - local x - for x in 16 24 32 48 64 96 128 256; do - newicon -s ${x} "${FILESDIR}"/${x}x${x}.png monero-gui.png - done -} diff --git a/net-p2p/monero/Manifest b/net-p2p/monero/Manifest deleted file mode 100644 index 2823ab3f02f6..000000000000 --- a/net-p2p/monero/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST monero-0.18.4.4.tar.gz 14108750 BLAKE2B 9aa17f65c7837dc482bda9efd71caa17ef8379f1b791ea7932968daf7944f2b46e321471ab064cc081051eb0107651c8f200fbf3c63128eb81d80b8b4284831c SHA512 e8f0017d167d31e31ec17ab6a0a03ae9d8ddce035ac64e79a289033e004c1d3ab6e90a9f91bc4f716292bc92f6c8591ced255ec779d08b7d15ebd4b4671b7c1b -DIST monero-0.18.4.5.tar.gz 14114970 BLAKE2B 0e62b9aaf4b005a5090ad3f36bf441c94aa723e3c73062049fb898ae5deec24a810d9c257b25501b8601a703c4c5046de05317fcdd202ae30f8385ec655d96b9 SHA512 9899c53e79fad57fd66a77b2053fd2d9856b1834a041800826337110b9f8188300b67c78d5c93dbd01510f7bf6b9c682f19f154ceb9ecad6adf818474b517cfa -DIST monero-0.18.4.6.tar.gz 14120513 BLAKE2B 0b97cf0fbf76cdf74a470675e8a31a274cd75f65673e3b88782690d99f26f4bf25ebfcf88a2e02db8f198ffc6ad02f29ea1735ddc2e7f728383034653a7694bb SHA512 7304ce8a4db98bb94f5269e35b49eda6b56ba2e63fd4a270d79df8f21a64201e520a89a1cba25533fa0245111ea6214007cb8eb4bca7a43e74e1ddfe8d8ab2ad diff --git a/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch b/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch deleted file mode 100644 index d281f60ec071..000000000000 --- a/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
-index 30e3d31b9..c49783e1c 100644
---- a/src/p2p/net_node.inl
-+++ b/src/p2p/net_node.inl
-@@ -2989,7 +2989,12 @@ namespace nodetool
- UPNPUrls urls;
- IGDdatas igdData;
- char lanAddress[64];
-+#if MINIUPNPC_API_VERSION > 17
-+ char wanAddress[64];
-+ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress));
-+#else
- result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress);
-+#endif
- freeUPNPDevlist(deviceList);
- if (result > 0) {
- if (result == 1) {
-@@ -3057,7 +3062,12 @@ namespace nodetool
- UPNPUrls urls;
- IGDdatas igdData;
- char lanAddress[64];
-+#if MINIUPNPC_API_VERSION > 17
-+ char wanAddress[64];
-+ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress));
-+#else
- result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress);
-+#endif
- freeUPNPDevlist(deviceList);
- if (result > 0) {
- if (result == 1) {
diff --git a/net-p2p/monero/files/monero-0.18.4.0-external-supercop.patch b/net-p2p/monero/files/monero-0.18.4.0-external-supercop.patch deleted file mode 100644 index ddcd36e51ffd..000000000000 --- a/net-p2p/monero/files/monero-0.18.4.0-external-supercop.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/device/CMakeLists.txt -+++ b/src/device/CMakeLists.txt -@@ -73,7 +73,7 @@ - cncrypto - cryptonote_format_utils_basic - ringct_basic - wallet-crypto -+ monero-crypto - ${OPENSSL_CRYPTO_LIBRARIES} - ${Boost_SERIALIZATION_LIBRARY} - PRIVATE diff --git a/net-p2p/monero/files/monero-0.18.4.0-unbundle-dependencies.patch b/net-p2p/monero/files/monero-0.18.4.0-unbundle-dependencies.patch deleted file mode 100644 index fbef3d15affa..000000000000 --- a/net-p2p/monero/files/monero-0.18.4.0-unbundle-dependencies.patch +++ /dev/null @@ -1,102 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -458,7 +458,7 @@ - # elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*") - # set(BSDI TRUE) - --include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external external/supercop/include) -+include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external ) - - if(APPLE) - cmake_policy(SET CMP0042 NEW) -@@ -1201,7 +1201,6 @@ - set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}") - endif() - --include(external/supercop/functions.cmake) # place after setting flags and before src directory inclusion - add_subdirectory(contrib) - add_subdirectory(src) - ---- a/external/CMakeLists.txt -+++ b/external/CMakeLists.txt -@@ -37,22 +37,7 @@ - - find_package(Miniupnpc REQUIRED) - --message(STATUS "Using in-tree miniupnpc") --set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) --set(UPNPC_BUILD_SHARED OFF CACHE BOOL "Disable building shared library" FORCE) --add_subdirectory(miniupnp/miniupnpc) --set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") --set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) --if(MSVC) -- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267") --elseif(NOT MSVC) -- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value") --endif() --if(CMAKE_SYSTEM_NAME MATCHES "NetBSD") -- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -D_NETBSD_SOURCE") --endif() -- --set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE) -+set(UPNP_LIBRARIES "miniupnpc" PARENT_SCOPE) - - find_package(Unbound) - -@@ -69,4 +55,3 @@ - add_subdirectory(db_drivers) - add_subdirectory(easylogging++) - add_subdirectory(qrcodegen) --add_subdirectory(randomx EXCLUDE_FROM_ALL) ---- a/src/crypto/CMakeLists.txt -+++ b/src/crypto/CMakeLists.txt -@@ -55,6 +55,7 @@ - endif() - - include_directories(${RANDOMX_INCLUDE}) -+include_directories(SYSTEM /usr/include/monero) - - set(crypto_headers) - -@@ -97,6 +98,3 @@ - # cheat because cmake and ccache hate each other - set_property(SOURCE CryptonightR_template.S PROPERTY LANGUAGE C) - set_property(SOURCE CryptonightR_template.S PROPERTY XCODE_EXPLICIT_FILE_TYPE sourcecode.asm) -- --# Must be done last, because it references libraries in this directory --add_subdirectory(wallet) ---- a/src/crypto/wallet/crypto.h -+++ b/src/crypto/wallet/crypto.h -@@ -30,7 +30,6 @@ - #pragma once - - #include <cstddef> --#include "crypto/wallet/ops.h" - - namespace crypto { - namespace wallet { ---- a/src/device/CMakeLists.txt -+++ b/src/device/CMakeLists.txt -@@ -73,7 +73,6 @@ - cncrypto - cryptonote_format_utils_basic - ringct_basic -- wallet-crypto - ${OPENSSL_CRYPTO_LIBRARIES} - ${Boost_SERIALIZATION_LIBRARY} - PRIVATE ---- a/src/p2p/net_node.inl -+++ b/src/p2p/net_node.inl -@@ -60,9 +60,9 @@ - #include "cryptonote_core/cryptonote_core.h" - #include "net/parse.h" - --#include <miniupnp/miniupnpc/miniupnpc.h> --#include <miniupnp/miniupnpc/upnpcommands.h> --#include <miniupnp/miniupnpc/upnperrors.h> -+#include <miniupnpc/miniupnpc.h> -+#include <miniupnpc/upnpcommands.h> -+#include <miniupnpc/upnperrors.h> - - #undef MONERO_DEFAULT_LOG_CATEGORY - #define MONERO_DEFAULT_LOG_CATEGORY "net.p2p" diff --git a/net-p2p/monero/files/monerod-0.18.4.0.confd b/net-p2p/monero/files/monerod-0.18.4.0.confd deleted file mode 100644 index 7a29d428eee3..000000000000 --- a/net-p2p/monero/files/monerod-0.18.4.0.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#MONEROD_USER=monero -#MONEROD_GROUP=monero - -MONEROD_ARGS="--config-file /etc/monero/monerod.conf"
\ No newline at end of file diff --git a/net-p2p/monero/files/monerod-0.18.4.0.initd b/net-p2p/monero/files/monerod-0.18.4.0.initd deleted file mode 100644 index baaea3b7ff15..000000000000 --- a/net-p2p/monero/files/monerod-0.18.4.0.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="Monero P2P Daemon" -description="Connects to the Monero P2P network" - -command=/usr/bin/monerod -pidfile=/run/${RC_SVCNAME}/${RC_SVCNAME}.pid - -command_args="--non-interactive ${MONEROD_ARGS}" -command_args_background="--detach --pidfile $pidfile" -command_progress=1 -command_user="${MONEROD_USER:=monero}:${MONEROD_GROUP:=monero}" -retry="SIGTERM/30/SIGKILL/5" - - -depend() { - after net - need localmount -} - -start_pre() { - checkpath --directory --owner ${command_user} --mode 0755 \ - /var/lib/monero /var/log/monero $(dirname ${pidfile}) -} - -status() { - if supervise_status; then - monerod status - fi -} diff --git a/net-p2p/monero/files/monerod.conf b/net-p2p/monero/files/monerod.conf deleted file mode 100644 index d019576c60b2..000000000000 --- a/net-p2p/monero/files/monerod.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Configuration for monerod -# Syntax: any command line option may be specified as 'clioptionname=value'. -# Boolean options such as 'no-igd' are specified as 'no-igd=1'. -# See 'monerod --help' for all available options. - -data-dir=/var/lib/monero -log-file=/var/log/monero/monero.log -log-level=0 diff --git a/net-p2p/monero/files/monerod.service b/net-p2p/monero/files/monerod.service deleted file mode 100644 index 327560497557..000000000000 --- a/net-p2p/monero/files/monerod.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Monero P2P Daemon -After=network.target - -[Service] -User=monero -Group=monero -StateDirectory=monero -LogsDirectory=monero -Type=simple -ExecStart=/usr/bin/monerod --config-file /etc/monero/monerod.conf --non-interactive -Restart=on-failure -StandardOutput=null -StandardError=null - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/monero/metadata.xml b/net-p2p/monero/metadata.xml deleted file mode 100644 index 736a21940917..000000000000 --- a/net-p2p/monero/metadata.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>efe.izbudak@metu.edu.tr</email> - <name>Efe İzbudak</name> - </maintainer> - <longdescription> - Monero is a private, secure, untraceable, decentralised digital - currency. You are your bank, you control your funds, and nobody - can trace your transfers unless you allow them to do so. - </longdescription> - <use> - <flag name="daemon"> - Build the Monero daemon used to connect to the P2P network - </flag> - <flag name="hw-wallet"> - Enable Trezor hardware wallet support - </flag> - <flag name="tools"> - Build tools used to manipulate the blockchain as it is stored on - disk - </flag> - <flag name="wallet-cli"> - Build the command line wallet, monero-wallet-cli - </flag> - <flag name="wallet-rpc"> - Build the RPC wallet, monero-wallet-rpc - </flag> - <flag name="monero-supercop"> - Assembly optimizations for ed25519 - </flag> - </use> - <upstream> - <bugs-to>https://github.com/monero-project/monero/issues</bugs-to> - <changelog>https://github.com/monero-project/monero/releases</changelog> - <doc>https://docs.getmonero.org</doc> - <remote-id type="github">monero-project/monero</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/monero/monero-0.18.4.4.ebuild b/net-p2p/monero/monero-0.18.4.4.ebuild deleted file mode 100644 index 253b62feb7ca..000000000000 --- a/net-p2p/monero/monero-0.18.4.4.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER=doxygen - -inherit cmake docs systemd - -DESCRIPTION="The secure, private, untraceable cryptocurrency" -HOMEPAGE="https://www.getmonero.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/monero-project/monero.git" - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="BSD MIT" -SLOT="0" -IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc cpu_flags_x86_aes" -REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" -RESTRICT="test" -# Test requires python's requests, psutil, deepdiff which are packaged -# but also monotonic & zmq which we do not have - -DEPEND=" - app-crypt/libmd - dev-libs/boost:=[nls] - dev-libs/libsodium:= - dev-libs/libbsd - dev-libs/openssl:= - dev-libs/randomx - dev-libs/rapidjson - dev-libs/supercop - net-dns/unbound:=[threads] - net-libs/miniupnpc:= - net-libs/zeromq:= - daemon? ( - acct-group/monero - acct-user/monero - ) - readline? ( sys-libs/readline:= ) - hw-wallet? ( - dev-libs/hidapi - dev-libs/protobuf:= - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.18.3.3-miniupnp-api-18.patch - "${FILESDIR}"/${PN}-0.18.4.0-unbundle-dependencies.patch -) - -src_prepare() { - # The build system does not recognize the release tarball (bug?) - # so we patch the GitVersion file. - # Change the release string from "unknown" to "gentoo-${PR}" - sed -i "s/unknown/gentoo-${PR}/g" cmake/GitVersion.cmake || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # TODO: Update CMake to install built libraries (help wanted) - -DBUILD_SHARED_LIBS=OFF - -DBUILD_DOCUMENTATION=OFF # easier to do it manually - -DMANUAL_SUBMODULES=ON - -DUSE_CCACHE=OFF - -DNO_AES=$(usex !cpu_flags_x86_aes) - -DUSE_DEVICE_TREZOR=$(usex hw-wallet) - -DUSE_READLINE=$(usex readline) - ) - - use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF ) - - cmake_src_configure -} - -src_compile() { - local targets=( - $(usev daemon) - $(usev wallet-cli simplewallet) - $(usev wallet-rpc wallet_rpc_server) - ) - use tools && targets+=( - blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage} - ) - - cmake_build ${targets[@]} - - docs_compile -} - -src_install() { - einstalldocs - - # Install all binaries. - find "${BUILD_DIR}/bin/" -type f -executable -print0 | - while IFS= read -r -d '' line; do - dobin "$line" - done - - if use daemon; then - dodoc utils/conf/monerod.conf - - # data-dir - keepdir /var/lib/monero - fowners monero:monero /var/lib/monero - fperms 0755 /var/lib/monero - - # log-file dir - keepdir /var/log/monero - fowners monero:monero /var/log/monero - fperms 0755 /var/log/monero - - # /etc/monero/monerod.conf - insinto /etc/monero - doins "${FILESDIR}"/monerod.conf - - # OpenRC - newconfd "${FILESDIR}"/monerod-0.18.4.0.confd monerod - newinitd "${FILESDIR}"/monerod-0.18.4.0.initd monerod - - # systemd - systemd_dounit "${FILESDIR}"/monerod.service - fi -} - -pkg_postinst() { - if use daemon; then - elog "To get sync status and other stats run" - elog " $ monerod status" - elog - elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored" - elog "in /var/lib/monero by default. You may want to enable pruning by adding" - elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" - elog "or move the data directory to another disk." - fi -} diff --git a/net-p2p/monero/monero-0.18.4.5.ebuild b/net-p2p/monero/monero-0.18.4.5.ebuild deleted file mode 100644 index 253b62feb7ca..000000000000 --- a/net-p2p/monero/monero-0.18.4.5.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER=doxygen - -inherit cmake docs systemd - -DESCRIPTION="The secure, private, untraceable cryptocurrency" -HOMEPAGE="https://www.getmonero.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/monero-project/monero.git" - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="BSD MIT" -SLOT="0" -IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc cpu_flags_x86_aes" -REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" -RESTRICT="test" -# Test requires python's requests, psutil, deepdiff which are packaged -# but also monotonic & zmq which we do not have - -DEPEND=" - app-crypt/libmd - dev-libs/boost:=[nls] - dev-libs/libsodium:= - dev-libs/libbsd - dev-libs/openssl:= - dev-libs/randomx - dev-libs/rapidjson - dev-libs/supercop - net-dns/unbound:=[threads] - net-libs/miniupnpc:= - net-libs/zeromq:= - daemon? ( - acct-group/monero - acct-user/monero - ) - readline? ( sys-libs/readline:= ) - hw-wallet? ( - dev-libs/hidapi - dev-libs/protobuf:= - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.18.3.3-miniupnp-api-18.patch - "${FILESDIR}"/${PN}-0.18.4.0-unbundle-dependencies.patch -) - -src_prepare() { - # The build system does not recognize the release tarball (bug?) - # so we patch the GitVersion file. - # Change the release string from "unknown" to "gentoo-${PR}" - sed -i "s/unknown/gentoo-${PR}/g" cmake/GitVersion.cmake || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # TODO: Update CMake to install built libraries (help wanted) - -DBUILD_SHARED_LIBS=OFF - -DBUILD_DOCUMENTATION=OFF # easier to do it manually - -DMANUAL_SUBMODULES=ON - -DUSE_CCACHE=OFF - -DNO_AES=$(usex !cpu_flags_x86_aes) - -DUSE_DEVICE_TREZOR=$(usex hw-wallet) - -DUSE_READLINE=$(usex readline) - ) - - use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF ) - - cmake_src_configure -} - -src_compile() { - local targets=( - $(usev daemon) - $(usev wallet-cli simplewallet) - $(usev wallet-rpc wallet_rpc_server) - ) - use tools && targets+=( - blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage} - ) - - cmake_build ${targets[@]} - - docs_compile -} - -src_install() { - einstalldocs - - # Install all binaries. - find "${BUILD_DIR}/bin/" -type f -executable -print0 | - while IFS= read -r -d '' line; do - dobin "$line" - done - - if use daemon; then - dodoc utils/conf/monerod.conf - - # data-dir - keepdir /var/lib/monero - fowners monero:monero /var/lib/monero - fperms 0755 /var/lib/monero - - # log-file dir - keepdir /var/log/monero - fowners monero:monero /var/log/monero - fperms 0755 /var/log/monero - - # /etc/monero/monerod.conf - insinto /etc/monero - doins "${FILESDIR}"/monerod.conf - - # OpenRC - newconfd "${FILESDIR}"/monerod-0.18.4.0.confd monerod - newinitd "${FILESDIR}"/monerod-0.18.4.0.initd monerod - - # systemd - systemd_dounit "${FILESDIR}"/monerod.service - fi -} - -pkg_postinst() { - if use daemon; then - elog "To get sync status and other stats run" - elog " $ monerod status" - elog - elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored" - elog "in /var/lib/monero by default. You may want to enable pruning by adding" - elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" - elog "or move the data directory to another disk." - fi -} diff --git a/net-p2p/monero/monero-0.18.4.6.ebuild b/net-p2p/monero/monero-0.18.4.6.ebuild deleted file mode 100644 index 253b62feb7ca..000000000000 --- a/net-p2p/monero/monero-0.18.4.6.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER=doxygen - -inherit cmake docs systemd - -DESCRIPTION="The secure, private, untraceable cryptocurrency" -HOMEPAGE="https://www.getmonero.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/monero-project/monero.git" - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="BSD MIT" -SLOT="0" -IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc cpu_flags_x86_aes" -REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" -RESTRICT="test" -# Test requires python's requests, psutil, deepdiff which are packaged -# but also monotonic & zmq which we do not have - -DEPEND=" - app-crypt/libmd - dev-libs/boost:=[nls] - dev-libs/libsodium:= - dev-libs/libbsd - dev-libs/openssl:= - dev-libs/randomx - dev-libs/rapidjson - dev-libs/supercop - net-dns/unbound:=[threads] - net-libs/miniupnpc:= - net-libs/zeromq:= - daemon? ( - acct-group/monero - acct-user/monero - ) - readline? ( sys-libs/readline:= ) - hw-wallet? ( - dev-libs/hidapi - dev-libs/protobuf:= - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.18.3.3-miniupnp-api-18.patch - "${FILESDIR}"/${PN}-0.18.4.0-unbundle-dependencies.patch -) - -src_prepare() { - # The build system does not recognize the release tarball (bug?) - # so we patch the GitVersion file. - # Change the release string from "unknown" to "gentoo-${PR}" - sed -i "s/unknown/gentoo-${PR}/g" cmake/GitVersion.cmake || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # TODO: Update CMake to install built libraries (help wanted) - -DBUILD_SHARED_LIBS=OFF - -DBUILD_DOCUMENTATION=OFF # easier to do it manually - -DMANUAL_SUBMODULES=ON - -DUSE_CCACHE=OFF - -DNO_AES=$(usex !cpu_flags_x86_aes) - -DUSE_DEVICE_TREZOR=$(usex hw-wallet) - -DUSE_READLINE=$(usex readline) - ) - - use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF ) - - cmake_src_configure -} - -src_compile() { - local targets=( - $(usev daemon) - $(usev wallet-cli simplewallet) - $(usev wallet-rpc wallet_rpc_server) - ) - use tools && targets+=( - blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage} - ) - - cmake_build ${targets[@]} - - docs_compile -} - -src_install() { - einstalldocs - - # Install all binaries. - find "${BUILD_DIR}/bin/" -type f -executable -print0 | - while IFS= read -r -d '' line; do - dobin "$line" - done - - if use daemon; then - dodoc utils/conf/monerod.conf - - # data-dir - keepdir /var/lib/monero - fowners monero:monero /var/lib/monero - fperms 0755 /var/lib/monero - - # log-file dir - keepdir /var/log/monero - fowners monero:monero /var/log/monero - fperms 0755 /var/log/monero - - # /etc/monero/monerod.conf - insinto /etc/monero - doins "${FILESDIR}"/monerod.conf - - # OpenRC - newconfd "${FILESDIR}"/monerod-0.18.4.0.confd monerod - newinitd "${FILESDIR}"/monerod-0.18.4.0.initd monerod - - # systemd - systemd_dounit "${FILESDIR}"/monerod.service - fi -} - -pkg_postinst() { - if use daemon; then - elog "To get sync status and other stats run" - elog " $ monerod status" - elog - elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored" - elog "in /var/lib/monero by default. You may want to enable pruning by adding" - elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" - elog "or move the data directory to another disk." - fi -} diff --git a/net-p2p/monero/monero-9999.ebuild b/net-p2p/monero/monero-9999.ebuild deleted file mode 100644 index 253b62feb7ca..000000000000 --- a/net-p2p/monero/monero-9999.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER=doxygen - -inherit cmake docs systemd - -DESCRIPTION="The secure, private, untraceable cryptocurrency" -HOMEPAGE="https://www.getmonero.org" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/monero-project/monero.git" - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="BSD MIT" -SLOT="0" -IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc cpu_flags_x86_aes" -REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" -RESTRICT="test" -# Test requires python's requests, psutil, deepdiff which are packaged -# but also monotonic & zmq which we do not have - -DEPEND=" - app-crypt/libmd - dev-libs/boost:=[nls] - dev-libs/libsodium:= - dev-libs/libbsd - dev-libs/openssl:= - dev-libs/randomx - dev-libs/rapidjson - dev-libs/supercop - net-dns/unbound:=[threads] - net-libs/miniupnpc:= - net-libs/zeromq:= - daemon? ( - acct-group/monero - acct-user/monero - ) - readline? ( sys-libs/readline:= ) - hw-wallet? ( - dev-libs/hidapi - dev-libs/protobuf:= - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.18.3.3-miniupnp-api-18.patch - "${FILESDIR}"/${PN}-0.18.4.0-unbundle-dependencies.patch -) - -src_prepare() { - # The build system does not recognize the release tarball (bug?) - # so we patch the GitVersion file. - # Change the release string from "unknown" to "gentoo-${PR}" - sed -i "s/unknown/gentoo-${PR}/g" cmake/GitVersion.cmake || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # TODO: Update CMake to install built libraries (help wanted) - -DBUILD_SHARED_LIBS=OFF - -DBUILD_DOCUMENTATION=OFF # easier to do it manually - -DMANUAL_SUBMODULES=ON - -DUSE_CCACHE=OFF - -DNO_AES=$(usex !cpu_flags_x86_aes) - -DUSE_DEVICE_TREZOR=$(usex hw-wallet) - -DUSE_READLINE=$(usex readline) - ) - - use elibc_musl && mycmakeargs+=( -DSTACK_TRACE=OFF ) - - cmake_src_configure -} - -src_compile() { - local targets=( - $(usev daemon) - $(usev wallet-cli simplewallet) - $(usev wallet-rpc wallet_rpc_server) - ) - use tools && targets+=( - blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage} - ) - - cmake_build ${targets[@]} - - docs_compile -} - -src_install() { - einstalldocs - - # Install all binaries. - find "${BUILD_DIR}/bin/" -type f -executable -print0 | - while IFS= read -r -d '' line; do - dobin "$line" - done - - if use daemon; then - dodoc utils/conf/monerod.conf - - # data-dir - keepdir /var/lib/monero - fowners monero:monero /var/lib/monero - fperms 0755 /var/lib/monero - - # log-file dir - keepdir /var/log/monero - fowners monero:monero /var/log/monero - fperms 0755 /var/log/monero - - # /etc/monero/monerod.conf - insinto /etc/monero - doins "${FILESDIR}"/monerod.conf - - # OpenRC - newconfd "${FILESDIR}"/monerod-0.18.4.0.confd monerod - newinitd "${FILESDIR}"/monerod-0.18.4.0.initd monerod - - # systemd - systemd_dounit "${FILESDIR}"/monerod.service - fi -} - -pkg_postinst() { - if use daemon; then - elog "To get sync status and other stats run" - elog " $ monerod status" - elog - elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored" - elog "in /var/lib/monero by default. You may want to enable pruning by adding" - elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain" - elog "or move the data directory to another disk." - fi -} diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest deleted file mode 100644 index 8e9fea4fe507..000000000000 --- a/net-p2p/ncdc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ncdc-1.25.tar.gz 378397 BLAKE2B f595de87632afedc3eb7919f6d44d2dbd0b0cea9c6b0ecce9095c876c9e8612bed0eb91bc108af032455475d927b561add9f514cc064008b34f72725b8ab85a0 SHA512 5acd7c4e790dc4cac49183f680d1c86bb86c93e97e87d1a798c91153bb9f3921c33929951f9766ff6feeea69086d29f5cdad32dc4174c05f2bd8657a2e8e391d -DIST ncdc-1.25.tar.gz.asc 833 BLAKE2B 793706c0b90983d24740eda2cab86a72151f85a732f5e34ffb83e5deaeb0c6498b0aacaf4710b3c1be132aa51340af8dd24e44327cfaa61753fe04d9c27f94e2 SHA512 533dabfe8511595571675a511503afb5ef6dd695398d9f24a2e6eb951e5563dda3171434044a434dc4a0d567ff894e54bd64c104c99f5ee1821a4e7cc6193650 diff --git a/net-p2p/ncdc/metadata.xml b/net-p2p/ncdc/metadata.xml deleted file mode 100644 index 8c9318062b39..000000000000 --- a/net-p2p/ncdc/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>bratishkaerik@landless-city.net</email> - <name>Eric Joldasov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <maintainer status="active"> - <email>projects@yorhel.nl</email> - <name>Yoran Heling</name> - </maintainer> - <changelog>https://dev.yorhel.nl/ncdc/changes</changelog> - <doc lang="en">https://dev.yorhel.nl/ncdc/man</doc> - <bugs-to>https://code.blicky.net/yorhel/ncdc/issues</bugs-to> - </upstream> -</pkgmetadata> diff --git a/net-p2p/ncdc/ncdc-1.25.ebuild b/net-p2p/ncdc/ncdc-1.25.ebuild deleted file mode 100644 index c768959a6509..000000000000 --- a/net-p2p/ncdc/ncdc-1.25.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs verify-sig - -DESCRIPTION="Lightweight direct connect client with a friendly ncurses interface" -HOMEPAGE="https://dev.yorhel.nl/ncdc" -SRC_URI=" - https://dev.yorhel.nl/download/${P}.tar.gz - verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc ) -" -LICENSE="MIT" -SLOT="0" - -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86" - -IUSE="geoip" - -RDEPEND=" - app-arch/bzip2 - dev-db/sqlite:3 - >=dev-libs/glib-2.74:2 - >=net-libs/gnutls-3:= - sys-libs/ncurses:=[unicode(+)] - virtual/zlib:= - geoip? ( dev-libs/libmaxminddb:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-lang/perl - dev-util/makeheaders - virtual/pkgconfig - verify-sig? ( sec-keys/openpgp-keys-yorhel ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc - -src_configure() { - local myeconfargs=( - $(use_with geoip) - --without-libloc - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake AR="$(tc-getAR)" -} diff --git a/net-p2p/nicotine+/Manifest b/net-p2p/nicotine+/Manifest deleted file mode 100644 index 1be5a15b0a7f..000000000000 --- a/net-p2p/nicotine+/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST nicotine+-3.3.10.tar.gz 3870694 BLAKE2B 3a2ee3b6f2dcd1622b8474323181fe4141c2dc132101075b675d9ae6eb19911fdb0ced255c3cde69e6910c07f2497c651220c91471635b63dd412be70af52f82 SHA512 f4f6c36278f323cb4864a86ca1f8e9e47170cc7cd185c3318d099d6e5f049a7a3b0c7cbb9b24800075fe39e1f69146c8c8b224438ec694f16b14d4a7ad53cc97 -DIST nicotine+-3.3.7.tar.gz 3756968 BLAKE2B 0029804c9cce04af6a2c5ec1370afe1d72f44a640e091f2444920e93a466ac30996c4ffaa19cb3686d9a7c22fc380174622f308752568204fb5c327e1af6be51 SHA512 484b5cbb6f572b0c168f1d9771e901b6eb38639acb6d563ffec1e621cdc5630f720a6e4a31a59b8d9043dc83d98be377479bf065058fdd1a112a23012366ef02 diff --git a/net-p2p/nicotine+/metadata.xml b/net-p2p/nicotine+/metadata.xml deleted file mode 100644 index 51f52c85fed1..000000000000 --- a/net-p2p/nicotine+/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <name>Filip Kobierski</name> - <email>fkobi@pm.me</email> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - Nicotine+ is a FOSS client for the proprietary Soulseek file sharing - network that is used mainly for sharing music. - It acts as the improved version of the official client SoulseekQt. - Nicotine looks better, has more functions and is updated more often. - It is written in Python and has a GTK-based GUI. - </longdescription> - <upstream> - <bugs-to>https://github.com/nicotine-plus/nicotine-plus/issues</bugs-to> - <changelog>https://github.com/nicotine-plus/nicotine-plus/releases</changelog> - <doc>https://github.com/nicotine-plus/nicotine-plus/tree/master/doc</doc> - <remote-id type="github">nicotine-plus/nicotine-plus</remote-id> - </upstream> - <stabilize-allarches/> -</pkgmetadata> diff --git a/net-p2p/nicotine+/nicotine+-3.3.10.ebuild b/net-p2p/nicotine+/nicotine+-3.3.10.ebuild deleted file mode 100644 index 05cef439a4de..000000000000 --- a/net-p2p/nicotine+/nicotine+-3.3.10.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature xdg - -DESCRIPTION="Graphical client for the Soulseek peer to peer network written in Python" -HOMEPAGE="https://nicotine-plus.org/" -SRC_URI="https://github.com/Nicotine-Plus/nicotine-plus/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/nicotine-plus-${PV}" - -LICENSE="GPL-3+ MIT CC-BY-SA-4.0" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -# NOTE: good link - https://github.com/nicotine-plus/nicotine-plus/blob/master/doc/DEPENDENCIES.md -BDEPEND=" - sys-devel/gettext - test? ( - || ( - >=gui-libs/gtk-4.6.9[broadway] - >=x11-libs/gtk+-3.22.30:3[broadway] - ) - ) -" -RDEPEND=" - dev-python/pygobject:3[${PYTHON_USEDEP}] - || ( - >=gui-libs/gtk-4.6.9[introspection] - >=x11-libs/gtk+-3.22.30:3[introspection] - ) -" -DOCS=( {AUTHORS,NEWS,README}.md ) - -distutils_enable_tests pytest - -pkg_postinst() { - xdg_pkg_postinst - - elog "Nicotine can work with both gtk3+ and gtk4." - elog "The newer version is preferred but it has worse screen reader support" - elog "If you need it you can switch to gtk3+ by running nicotine" - elog "with an environmental variable like this:" - elog " $ NICOTINE_GTK_VERSION=3 nicotine" - - optfeature "Adwaita theme on GNOME (GTK 4)" gui-libs/libadwaita - optfeature "Chat spellchecking (GTK 3)" app-text/gspell -} diff --git a/net-p2p/nicotine+/nicotine+-3.3.7.ebuild b/net-p2p/nicotine+/nicotine+-3.3.7.ebuild deleted file mode 100644 index 053981b7aa69..000000000000 --- a/net-p2p/nicotine+/nicotine+-3.3.7.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature xdg - -DESCRIPTION="Graphical client for the Soulseek peer to peer network written in Python" -HOMEPAGE="https://nicotine-plus.org/" -SRC_URI="https://github.com/Nicotine-Plus/nicotine-plus/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/nicotine-plus-${PV}" - -LICENSE="GPL-3+ MIT CC-BY-SA-4.0" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# NOTE: good link - https://github.com/nicotine-plus/nicotine-plus/blob/master/doc/DEPENDENCIES.md -BDEPEND=" - sys-devel/gettext - test? ( - || ( - >=gui-libs/gtk-4.6.9[broadway] - >=x11-libs/gtk+-3.22.30:3[broadway] - ) - ) -" -RDEPEND=" - dev-python/pygobject:3[${PYTHON_USEDEP}] - || ( - >=gui-libs/gtk-4.6.9[introspection] - >=x11-libs/gtk+-3.22.30:3[introspection] - ) -" - -distutils_enable_tests pytest - -DOCS=( AUTHORS.md NEWS.md README.md ) - -src_prepare() { - default - # remove update check test violating network sandbox - sed -i -e 's:test_update_check:_&:' \ - "${S}"/pynicotine/tests/unit/test_version.py || die -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "Nicotine can work with both gtk3+ and gtk4." - elog "The newer version is preferred but it has worse screen reader support" - elog "If you need it you can switch to gtk3+ by running nicotine" - elog "with an environmental variable like this:" - elog " $ NICOTINE_GTK_VERSION=3 nicotine" - - optfeature "Adwaita theme on GNOME (GTK 4)" gui-libs/libadwaita - optfeature "Chat spellchecking (GTK 3)" app-text/gspell -} diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest deleted file mode 100644 index 2d7e070ac6ae..000000000000 --- a/net-p2p/p2pool/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -DIST p2pool-4.13.tar.xz 125016432 BLAKE2B 5261c6978aebe3e521aabcb97fdf445e06155aff334cac4744ed4cfc076bcf9ee764d4f6b4f5161e40db04ee14c30c2ec00dd32a3ae8a730bc9fb949ddf21444 SHA512 2dbe77c862e9a0e33a77fdf925011ba7bffb615ca477da828ae7bcba5f1c691064200e01522a9b9d57e841cb0a29474000656f236ac7489b38e7ff17a7aca4b7 -DIST p2pool-4.13_shasums.asc 2167 BLAKE2B e28695dec22e2118910fb888f2dc1f7e19fe9b53201bf4530f272cbca2e200d718dc9b30d5013dd8f9c17866ae4462d780bd372d46a5c73af0cc39c115e4dc59 SHA512 a39907166ffc477f943789795fe9aa5a3918912ae3d2bcd0dc5ac976971954059e0126361a0158612383d966ba0e19bee1131df9149bf6b1b6b4bab70825cdd6 -DIST p2pool-4.14.tar.xz 125145364 BLAKE2B a89496682cef067c1d20b65503928b87633c45bc4847f7664c8d0f9fadb38eb8ee6d682c357d2148593cc0b1a91b7912855c749a36a43d2e87e6041e1999569b SHA512 22de875359692194c232e0a45c3444fdf7def2e57a850be13ad3288179616ebd077feee196d921f3cc1d7d4d1ce1914bd262ce312d248ab1d533560e192c4f25 -DIST p2pool-4.14_shasums.asc 2167 BLAKE2B 3c55ce5024673fe4b6bc871409283033e2bb5625c9980e24cc5a5c00c5043219be4dc81633a30ea3c6ba39c9bf8e1b368d0d37feab7d56dce38b13a40e79aa1b SHA512 f83c461eac99b0626ddbbcaa08ca3c061d98377691aae3f5af8d2b0580c234f19635d4f5a7aedad036ec69f8bfc0b2d40a9e8091bfd4ba5131321109a682faac -DIST p2pool-4.8.tar.xz 116005828 BLAKE2B 19043dceb8ea47f22e51ee663959ee6d62a4dcef492c82bb3126c8e9f4093e953669807682e6f4baa24049a8bd24304ee019156dc8bbea01e5ea1375a6bbefa1 SHA512 e2c36b202316371d01a0e28cccbf2c46ce228e86cb1a15d756b6d28bf28aa63aee2bd3fa9c8096dac6f94cc595bf7316fa16be88404d679474a16eae12c03143 -DIST p2pool-4.8_shasums.asc 2007 BLAKE2B b9a61434a3fcf78bcb3b0f2d384419f25238c13f4ed561b48fe54dc2bc981755fde67ca3d489c0c31cf8f3239468140e093a411b7eb2852bb9bf37ca30531229 SHA512 4c9fecabb08d330089af0782f1b76bb2ed64c37f0ef43563ad63e0b9cded45a3702d8fe1095acd708f2360f04ba7e77375dfffc15df51637ac7da61c88d07f0a -DIST p2pool-4.9.1.tar.xz 117271756 BLAKE2B 12cb5114c0759b5303ea919e97f2ccfc08d1f32c7ad2ebd318d83ca3c15f87444389d4039af280a9b9105766b2389b247baecbca367fe5d11adb99794f7e1795 SHA512 ee5220ecd14d1d1b0dcb51d64207147c9be78b3111cde8c7e84f9808f0c6f3e6f085ece9eb3b5495529aa05844da7b2839fc6133b5e3f8d44764c52acd338e93 -DIST p2pool-4.9.1_shasums.asc 2176 BLAKE2B e4ada58a876d91fa9e8d080dbb5f0143719a4b21811cc144f083527c337b5d5048d3a5d4c3d99fc7344ac1057f85684cf4856d300395be545a67290b5d830723 SHA512 7191ec3288cbe2191b216156f60d8866ab1bfb6db25c499c2e2e876047d03c705cff9bb3d08c243c1165b73398b9a7463b1b013b3568a59d0308241c28939d41 -DIST p2pool-4.9.tar.xz 115362220 BLAKE2B e3c478c04f8bd1275ea8e36823fc12fd9e073be7bccef3defa2288f7465d4c0888b7a0faf4a3cc43ee622a8f2fb5f5d90c0fb8d1f95b2c3cc3d8951d260c20f6 SHA512 c82db3bcf18fe6c0942e2a773ca4d637aa44f5c4dbfb126cfe154010dc59359a9d6a0d2c7967c727f5076388a22fc91bd20baa4838192c388ce74f88c2804013 -DIST p2pool-4.9_shasums.asc 2158 BLAKE2B 24c5552b0c50aba67b8e8bf0050c6e0a181f3dd00eb8f12b5df8537de38e6f46af3cd8a0299fbd65d0a6cca576b7cd2965aa9695a68b8878b65153190289a4ce SHA512 70626132b0c38ca3d9233836768b6acb56a1a0ea652307db75af1bc12655a57fc913e658b7089c813969fd7686d95534a1498a9ce03d1575d4f40657eba9929e diff --git a/net-p2p/p2pool/files/SChernykh.asc b/net-p2p/p2pool/files/SChernykh.asc deleted file mode 100644 index e6e61ce29151..000000000000 --- a/net-p2p/p2pool/files/SChernykh.asc +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBGBwYcABEADd2hZKkoLqx3S+HifsDrnETw/9UccXsIo5WYyYLGEdIexc5JQ1 -8NkLyuZb+ilZoZo4TiXBqJBHjqwjbdhDFiQa1SK9XvWZDrY/NW8ZOmM5w5yxDedM -pgmKZm6vbVP1FtKyRckAkTrci5+ndFu85QfHrOI67fx5YE/byMFO4mSJ6FwigmAu -9bZiG1GAkIoCOyptHa+SlV2qjbtzaGpXz8HUC+BTrP5BYSUSOrot7EcL0H7LD9qk -YttlEMAPcT8G/gzOUAcRer1uXYaj8hUSDZI92sT35olId930fM/lTayORs+hh2U+ -gFPnoDnt0HfcHTUT+fHJdf1Q4g69V9UbfsG2V1gp56rbVTjYhwsWlck2TH3OcAXu -YRaAUtbFv+RKPngumz5ibg11i50Q4xxe7RCGmQO9E4Ufk8WSiEwQcJP2VIj2AvIF -lMiez+6H2KhepCvI1Khoba60uBxajvuEfvxfP582imclLYK/DGcDr6ZjWpOc1vzb -IGzDDjrYOUdlJVYUfdfSgx3LspERJ+74QruyZdFoYsZQsXkkC0cgAohFsgwGVjfD -DCm+spmOZTpB4WGOXO70VLvMtiOXJ8FIyokIdFajAez48aoQdbk3+3vfeRv7JVMI -neQgx1ko3IIOTXrPXqz1PUdcZGLfQc61IVFXrU726r5caa2xQMMLnifMBQARAQAB -tCdTQ2hlcm55a2ggPHNlcmdleS52LmNoZXJueWtoQGdtYWlsLmNvbT6JAk4EEwEK -ADgWIQQfyqtNPcMxDRbL1QjEf4K1Tah63wUCYHBhwAIbAwULCQgHAgYVCgkICwIE -FgIDAQIeAQIXgAAKCRDEf4K1Tah6301vEADJsuk+Avwn6QQjMYjyYlo99ds4RrON -lYYts+k8XqqFDj85hYFs1IgV1bn7ooLuIeyE7fEZM8uep6cU7aIZ2V9rL1m0Z3xA -+KMbmhmh9zQJOI9LDG/Ftnx7m5RSweCzccxmAAav4aZCRo1M8Kra2PDI9fe8Y9Ai -1K34RD5i+BsWJecNAFWtWCKiyv21S86oZYIagLF4DB1XRjpK1btuX/U65MjqaEUX -/eXuPxWe9QcguMeUySg5ixxkuO/JcmK+p4EvUY5F5b24NvoQexJstHp8iMowI6sz -lhHdWkrzM0fEUUVWlM+zC7Yqp+96ZVCrv9jsq7u0joVAqVOhxRPAqXOYCWGrLTJk -N616UbIGSWnRfvqJF20FPRMw1DLZoRW4IgHLUj3v2Ct6vECQzzhksTmddzIx+ZCM -JWs64DlrriQoKIdE8KqzqIdhLOoEy07qlMc/WpZTc7ysd2i/au1p/mYAGJgw0/hY -28IslI+c6W0dle3i9vAjU7wgrsTQeo1JZbAioLtQjk4SrWk+4LWBhwemEDV0j+HA -iN54cqyLRqEwmpRVYcl18zrAQiPvWIb6BEEoeL290eT0TfiF5jZuVmZDTBa0HgCA -k9QQtft7HT7rdOOlFqMKeqoQVDC+6eyCU8r3SOgzL6UYPiVXRM+lnX053aWEV9Rx -h+Ib3iznP9/nALkCDQRgcGHAARAA0SiWBr3SjMrvQnbJipnRKQwpoWG8vtyJbvlU -QEAMJbpy9T3/2u1hAs/cMh2VK1Y7Bn+ZQ51c1nmxVraj5PD0/BSD27MC3aZ6kp6j -JFbsb63MKk4Y66RQbgDw5JWd9IgDQtc4M3XgC5xcCO7y3rvKgDQxYBpjAwjeOvS3 -03ZVPyivWV2O/43PI9QZ4DHObEfR8M06EeTqwkrsJnAuCtQlW0aCBRII5o/D1w6w -1IZGfAwdUcVoefLRZC2bRaswA+IoOLvlH/vgirve8VYhJK9Wt+JWaNSb2vWUQXws -fFmpo89IZcRiHh5WP5A//Jh9RR8f+7FLkGXoJwl7dCEfDZKkI9uZvy21J4tLM9M6 -2ygthkYPuJE/VnCZcM24sWbSMkN/fh4QHNsEXq9PZpimOTtQv0xpu9p4lkes91pg -vQm8fPoxoMQEMBY/SHFh3X6r8zVL7RUPfOrRxfiYibbSIyRsmY/Mz+M0OilAw7L7 -zKMpX7SWS2M0/mEtUW+Xb4vGxj3YcQ65e3CJx/l9qeGjbi1GJ1D8jshI/k2AqP3C -2hKSGeLjqtUUJOhOMySkELDdDNkSRUA9qZEW3dLsQOFD424l9RTjPpBSrYTsYxpe -BRfRCejQ/PZL9VULRQsQZCbtBDrSeKQ0J2Dp5zJl6A+17lUUSv1FBLEeDt6MotAA -2Mqm96kAEQEAAYkCNgQYAQoAIBYhBB/Kq009wzENFsvVCMR/grVNqHrfBQJgcGHA -AhsMAAoJEMR/grVNqHrfQF0P/1udspDo+omDz9uWeWod/7shFpuX8CweI7j/4Efk -cFTc2bQ0zAjqBLiVo67Zncrrikn4gBhQGmcj1kKXdUdFTaKwjfSk0MSA/VIo7vwh -2iYTrEuYUvTmVoQ5SYg0ekKzwA/9BSow4NZvIL3NC06RNxbyeJ9gBhsWZfUPJ8BS -wxTCcHQfbI9ZDkgVxI2CZf/DbBdsmqVB+VlDcq8uQj4jpRjTX+xWMRcy5WrfvH1r -W5JpG7ULyEv5B5ocD3+Gbos0kxQzWoKqCZsu44W+0nPpwDe1CXkjrMmtoRtuNtJc -mX1+zfjE4Xn4foOiunbpMVNFHahD1n9rk0/4sMQ79GpD1iwOBsMh6wq3gYqh+ycf -vEOEHH7ERa9ryNWXVDeci6KLRuFI7vDxZez++4uospQ4LZW2n9hiLaj2rJHcYYEM -x229L5SeRye0YFXX805mwtqcYxmrMitoaSreSKpnOKvF2i0gN/N0JXeHb5P3QQcY -bocA9ZZvYIEovlpnsPVLtDIwjysI3668mEGDqNEikVqi/9btpYygS6CjTbiB6b3O -m4sV4vlQtg8u6M863LyLuqaaj9b+vWVZy3K5esiLKaIsIARVqLnBeQDOIqtAFlcG -AHSiuPpC49NkwV6YJNJw9XP2QknIXpE0fRdoSQune0rKRZgnbj7VOZX6nCkT34EA -fo0a -=YlLc ------END PGP PUBLIC KEY BLOCK----- diff --git a/net-p2p/p2pool/files/flags.cmake b/net-p2p/p2pool/files/flags.cmake deleted file mode 100644 index 367863e89fe8..000000000000 --- a/net-p2p/p2pool/files/flags.cmake +++ /dev/null @@ -1,37 +0,0 @@ -set(GENERAL_FLAGS "-pthread") -if (CMAKE_CXX_COMPILER_ID MATCHES GNU) - - if (ARMv8) - set(GENERAL_FLAGS "${GENERAL_FLAGS} -mfix-cortex-a53-835769 -mfix-cortex-a53-843419") - endif() - - set(WARNING_FLAGS "-Wall -Wextra -Wcast-qual -Wlogical-op -Wundef -Wformat=2 -Wpointer-arith -Werror") - if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.5.0) - set(WARNING_FLAGS "${WARNING_FLAGS} -Wstrict-overflow=2") - endif() - - if (STATIC_BINARY) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static") - else() - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++") - endif() - -elseif (CMAKE_CXX_COMPILER_ID MATCHES Clang) - - if (ARMv8) - set(GENERAL_FLAGS "${GENERAL_FLAGS} -mfix-cortex-a53-835769") - endif() - - set(WARNING_FLAGS "-Wall -Wextra -Wno-undefined-internal -Wunreachable-code-aggressive -Wmissing-prototypes -Wmissing-variable-declarations -Werror") - -endif() - -if (DISABLE_WARNINGS) - set(WARNING_FLAGS "-w") -endif() - -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GENERAL_FLAGS} ${WARNING_FLAGS}") -set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${GENERAL_FLAGS} ${WARNING_FLAGS}") - -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GENERAL_FLAGS} ${WARNING_FLAGS}") -set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${GENERAL_FLAGS} ${WARNING_FLAGS}") diff --git a/net-p2p/p2pool/files/p2pool-4.5-r1.confd b/net-p2p/p2pool/files/p2pool-4.5-r1.confd deleted file mode 100644 index 2bb1a51c802e..000000000000 --- a/net-p2p/p2pool/files/p2pool-4.5-r1.confd +++ /dev/null @@ -1,27 +0,0 @@ -# /etc/conf.d/p2pool: config file for /etc/init.d/p2pool - -# Wallet address to recieve the payouts. -# Note that it needs to be the primary address (start with 4) -P2POOL_WALLET="" - -# IP address of your Monero node -#P2POOL_HOST="127.0.0.1" - -#P2POOL_USER="monero" -#P2POOL_GROUP="monero" - -#P2POOL_DATADIR="/var/lib/p2pool" -#P2POOL_LOGLEVEL=1 - -#P2POOL_NICE=5 -#P2POOL_IONICE=2:4 # See START-STOP-DAEMON(8) for details - - -# Uncomment to have a persistent log. -# This is not recommended as it does not rotate. -#P2POOL_KEEPLOG=1 - -# Extra options passed to the daemon -#P2POOL_OPTS="--mini" - -#umask=007
\ No newline at end of file diff --git a/net-p2p/p2pool/files/p2pool-4.5-r1.initd b/net-p2p/p2pool/files/p2pool-4.5-r1.initd deleted file mode 100644 index 54007a045173..000000000000 --- a/net-p2p/p2pool/files/p2pool-4.5-r1.initd +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Decentralized Monero mining pool daemon" -name="P2Pool daemon" -command="/usr/bin/${RC_SVCNAME}" -command_background=1 -command_progress=1 -pidfile="/run/${RC_SVCNAME}.pid" -retry="SIGTERM/31/SIGKILL/5" # shutting down takes 30s - -command_user="${P2POOL_USER:-monero}:${P2POOL_GROUP:-monero}" -umask="${P2POOL_UMASK:=007}" -SSD_IONICELEVEL="${P2POOL_IONICE:=2:4}" -SSD_NICELEVEL="${P2POOL_NICE:=5}" - -P2POOL_HOST="${P2POOL_HOST:=127.0.0.1}" -P2POOL_DATADIR="${P2POOL_DATADIR:=/var/lib/p2pool}" -P2POOL_LOGLEVEL="${P2POOL_LOGLEVEL:=1}" - -command_args="--wallet ${P2POOL_WALLET} \ - --loglevel ${P2POOL_LOGLEVEL} \ - --data-dir ${P2POOL_DATADIR} \ - --host ${P2POOL_HOST} \ - ${P2POOL_OPTS} \ -" - -depend() { - need net - [ ${P2POOL_HOST} = "127.0.0.1" ] && need monerod -} - -start_pre() { - if [ ! ${P2POOL_WALLET} ]; then - eerror "p2pool cannot be started without a wallet address" - eerror "Please set P2POOL_WALLET in /etc/conf.d/p2pool" - return 1 - fi - einfo "Will mine for wallet ${P2POOL_WALLET}" - checkpath --owner ${command_user} --directory ${P2POOL_DATADIR} - - [ $P2POOL_KEEPLOG ] || rm -f "${P2POOL_DATADIR}"/p2pool.log -} diff --git a/net-p2p/p2pool/metadata.xml b/net-p2p/p2pool/metadata.xml deleted file mode 100644 index c4ff3cf03781..000000000000 --- a/net-p2p/p2pool/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>adam.pimentel46@gmail.com</email> - <name>Adam Pimentel</name> - </maintainer> - <use> - <flag name="daemon">Install OpenRC scripts allowing for running p2pool as a system service</flag> - </use> - <upstream> - <bugs-to>https://github.com/SChernykh/p2pool/issues</bugs-to> - <changelog>https://github.com/SChernykh/p2pool/releases</changelog> - <remote-id type="github">SChernykh/p2pool</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/p2pool/p2pool-4.13.ebuild b/net-p2p/p2pool/p2pool-4.13.ebuild deleted file mode 100644 index 23dea2c3cc05..000000000000 --- a/net-p2p/p2pool/p2pool-4.13.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313) -# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me. -# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC - -EAPI=8 - -inherit cmake verify-sig - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" - https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source-v${PV}.tar.xz -> ${P}.tar.xz - verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc ) -" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -#IUSE="grpc tls" -IUSE="daemon" - -DEPEND=" - dev-libs/libsodium:= - dev-libs/libuv:= - dev-libs/randomx - net-libs/zeromq:= - net-misc/curl - daemon? ( - acct-group/monero - acct-user/monero - ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/patchelf - verify-sig? ( sec-keys/openpgp-keys-schernykh ) -" - -src_unpack() { - if use verify-sig; then - local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc - pushd "${DISTDIR}" > /dev/null || die - verify-sig_verify_message ${P}_shasums.asc - | \ - tr \\r \\n | \ - tr '[:upper:]' '[:lower:]' | \ - sed -n '/p2pool_source/,$p' | \ - grep -m 1 sha256: | \ - sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \ - verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz - assert - popd || die - fi - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/{${PN},${P}} || die -} - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_GRPC=OFF #$(usex grpc) - -DWITH_TLS=OFF #$(usex tls) - ) - cmake_src_configure -} - -src_install(){ - # remove insecure RUNPATHs - patchelf --remove-rpath "${BUILD_DIR}"/p2pool || die - dobin "${BUILD_DIR}"/p2pool - - if use daemon; then - # data-dir - keepdir /var/lib/${PN} - fowners monero:monero /var/lib/${PN} - fperms 0755 /var/lib/${PN} - - # OpenRC - newconfd "${FILESDIR}"/${PN}-4.5-r1.confd ${PN} - newinitd "${FILESDIR}"/${PN}-4.5-r1.initd ${PN} - fi -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." - - if use daemon; then - einfo "p2pool supports just OpenRC daemon right now." - einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run" - einfo " # rc-service p2pool start" - fi -} diff --git a/net-p2p/p2pool/p2pool-4.14.ebuild b/net-p2p/p2pool/p2pool-4.14.ebuild deleted file mode 100644 index 23dea2c3cc05..000000000000 --- a/net-p2p/p2pool/p2pool-4.14.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313) -# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me. -# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC - -EAPI=8 - -inherit cmake verify-sig - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" - https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source-v${PV}.tar.xz -> ${P}.tar.xz - verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc ) -" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -#IUSE="grpc tls" -IUSE="daemon" - -DEPEND=" - dev-libs/libsodium:= - dev-libs/libuv:= - dev-libs/randomx - net-libs/zeromq:= - net-misc/curl - daemon? ( - acct-group/monero - acct-user/monero - ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/patchelf - verify-sig? ( sec-keys/openpgp-keys-schernykh ) -" - -src_unpack() { - if use verify-sig; then - local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc - pushd "${DISTDIR}" > /dev/null || die - verify-sig_verify_message ${P}_shasums.asc - | \ - tr \\r \\n | \ - tr '[:upper:]' '[:lower:]' | \ - sed -n '/p2pool_source/,$p' | \ - grep -m 1 sha256: | \ - sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \ - verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz - assert - popd || die - fi - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/{${PN},${P}} || die -} - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_GRPC=OFF #$(usex grpc) - -DWITH_TLS=OFF #$(usex tls) - ) - cmake_src_configure -} - -src_install(){ - # remove insecure RUNPATHs - patchelf --remove-rpath "${BUILD_DIR}"/p2pool || die - dobin "${BUILD_DIR}"/p2pool - - if use daemon; then - # data-dir - keepdir /var/lib/${PN} - fowners monero:monero /var/lib/${PN} - fperms 0755 /var/lib/${PN} - - # OpenRC - newconfd "${FILESDIR}"/${PN}-4.5-r1.confd ${PN} - newinitd "${FILESDIR}"/${PN}-4.5-r1.initd ${PN} - fi -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." - - if use daemon; then - einfo "p2pool supports just OpenRC daemon right now." - einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run" - einfo " # rc-service p2pool start" - fi -} diff --git a/net-p2p/p2pool/p2pool-4.8.ebuild b/net-p2p/p2pool/p2pool-4.8.ebuild deleted file mode 100644 index a8ba9e393727..000000000000 --- a/net-p2p/p2pool/p2pool-4.8.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313) -# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me. -# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC - -EAPI=8 - -inherit cmake verify-sig - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" - https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz - verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc ) -" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -#IUSE="grpc tls" -IUSE="daemon" - -DEPEND=" - dev-libs/libuv:= - dev-libs/randomx - net-libs/zeromq:= - net-misc/curl - daemon? ( - acct-group/monero - acct-user/monero - ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/patchelf - verify-sig? ( sec-keys/openpgp-keys-schernykh ) -" - -src_unpack() { - if use verify-sig; then - local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc - pushd "${DISTDIR}" > /dev/null || die - verify-sig_verify_message ${P}_shasums.asc - | \ - tr \\r \\n | \ - tr '[:upper:]' '[:lower:]' | \ - sed -n '/p2pool_source/,$p' | \ - grep -m 1 sha256: | \ - sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \ - verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz - assert - popd || die - fi - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/{${PN},${P}} || die -} - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_GRPC=OFF #$(usex grpc) - -DWITH_TLS=OFF #$(usex tls) - ) - cmake_src_configure -} - -src_install(){ - # remove insecure RUNPATHs - patchelf --remove-rpath "${BUILD_DIR}"/p2pool || die - dobin "${BUILD_DIR}"/p2pool - - if use daemon; then - # data-dir - keepdir /var/lib/${PN} - fowners monero:monero /var/lib/${PN} - fperms 0755 /var/lib/${PN} - - # OpenRC - newconfd "${FILESDIR}"/${PN}-4.5-r1.confd ${PN} - newinitd "${FILESDIR}"/${PN}-4.5-r1.initd ${PN} - fi -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." - - if use daemon; then - einfo "p2pool supports just OpenRC daemon right now." - einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run" - einfo " # rc-service p2pool start" - fi -} diff --git a/net-p2p/p2pool/p2pool-4.9.1.ebuild b/net-p2p/p2pool/p2pool-4.9.1.ebuild deleted file mode 100644 index 23dea2c3cc05..000000000000 --- a/net-p2p/p2pool/p2pool-4.9.1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313) -# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me. -# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC - -EAPI=8 - -inherit cmake verify-sig - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" - https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source-v${PV}.tar.xz -> ${P}.tar.xz - verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc ) -" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -#IUSE="grpc tls" -IUSE="daemon" - -DEPEND=" - dev-libs/libsodium:= - dev-libs/libuv:= - dev-libs/randomx - net-libs/zeromq:= - net-misc/curl - daemon? ( - acct-group/monero - acct-user/monero - ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/patchelf - verify-sig? ( sec-keys/openpgp-keys-schernykh ) -" - -src_unpack() { - if use verify-sig; then - local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc - pushd "${DISTDIR}" > /dev/null || die - verify-sig_verify_message ${P}_shasums.asc - | \ - tr \\r \\n | \ - tr '[:upper:]' '[:lower:]' | \ - sed -n '/p2pool_source/,$p' | \ - grep -m 1 sha256: | \ - sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \ - verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz - assert - popd || die - fi - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/{${PN},${P}} || die -} - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_GRPC=OFF #$(usex grpc) - -DWITH_TLS=OFF #$(usex tls) - ) - cmake_src_configure -} - -src_install(){ - # remove insecure RUNPATHs - patchelf --remove-rpath "${BUILD_DIR}"/p2pool || die - dobin "${BUILD_DIR}"/p2pool - - if use daemon; then - # data-dir - keepdir /var/lib/${PN} - fowners monero:monero /var/lib/${PN} - fperms 0755 /var/lib/${PN} - - # OpenRC - newconfd "${FILESDIR}"/${PN}-4.5-r1.confd ${PN} - newinitd "${FILESDIR}"/${PN}-4.5-r1.initd ${PN} - fi -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." - - if use daemon; then - einfo "p2pool supports just OpenRC daemon right now." - einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run" - einfo " # rc-service p2pool start" - fi -} diff --git a/net-p2p/p2pool/p2pool-4.9.ebuild b/net-p2p/p2pool/p2pool-4.9.ebuild deleted file mode 100644 index 23dea2c3cc05..000000000000 --- a/net-p2p/p2pool/p2pool-4.9.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313) -# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me. -# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC - -EAPI=8 - -inherit cmake verify-sig - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" - https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source-v${PV}.tar.xz -> ${P}.tar.xz - verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc ) -" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -#IUSE="grpc tls" -IUSE="daemon" - -DEPEND=" - dev-libs/libsodium:= - dev-libs/libuv:= - dev-libs/randomx - net-libs/zeromq:= - net-misc/curl - daemon? ( - acct-group/monero - acct-user/monero - ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/patchelf - verify-sig? ( sec-keys/openpgp-keys-schernykh ) -" - -src_unpack() { - if use verify-sig; then - local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc - pushd "${DISTDIR}" > /dev/null || die - verify-sig_verify_message ${P}_shasums.asc - | \ - tr \\r \\n | \ - tr '[:upper:]' '[:lower:]' | \ - sed -n '/p2pool_source/,$p' | \ - grep -m 1 sha256: | \ - sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \ - verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz - assert - popd || die - fi - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/{${PN},${P}} || die -} - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_GRPC=OFF #$(usex grpc) - -DWITH_TLS=OFF #$(usex tls) - ) - cmake_src_configure -} - -src_install(){ - # remove insecure RUNPATHs - patchelf --remove-rpath "${BUILD_DIR}"/p2pool || die - dobin "${BUILD_DIR}"/p2pool - - if use daemon; then - # data-dir - keepdir /var/lib/${PN} - fowners monero:monero /var/lib/${PN} - fperms 0755 /var/lib/${PN} - - # OpenRC - newconfd "${FILESDIR}"/${PN}-4.5-r1.confd ${PN} - newinitd "${FILESDIR}"/${PN}-4.5-r1.initd ${PN} - fi -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." - - if use daemon; then - einfo "p2pool supports just OpenRC daemon right now." - einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run" - einfo " # rc-service p2pool start" - fi -} diff --git a/net-p2p/p2pool/p2pool-9999.ebuild b/net-p2p/p2pool/p2pool-9999.ebuild deleted file mode 100644 index 56870d1447b5..000000000000 --- a/net-p2p/p2pool/p2pool-9999.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -EGIT_REPO_URI="https://github.com/SChernykh/p2pool.git" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" - -DEPEND=" - dev-libs/openssl - net-libs/czmq - dev-libs/libuv - net-misc/curl -" - -src_configure() { - local mycmakeargs=( - -DSTATIC_BINARY=OFF - -DSTATIC_LIBS=OFF - -DWITH_RANDOMX=OFF - -DWITH_GRPC=OFF - -DWITH_TLS=OFF - ) - cmake_src_configure -} - -src_install(){ - dobin "${BUILD_DIR}/p2pool" -} - -pkg_postinst() { - #Some important wisdom taken from P2Pool documentation - ewarn "P2Pool for Monero is now installed." - ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" - ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" - ewarn "" - ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" - ewarn "For example 'xmrig -o 127.0.0.1:3333'" - ewarn "" - ewarn "You MUST use your primary address when using p2pool, just like solo mining." - ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." - ewarn "" - ewarn "Rewards will not be visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." -} diff --git a/net-p2p/persepolis/Manifest b/net-p2p/persepolis/Manifest deleted file mode 100644 index 33b674746f52..000000000000 --- a/net-p2p/persepolis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST persepolis-5.2.0.tar.gz 1924515 BLAKE2B bc40d07f6aa90465a70354a39ea92ceed1fae61575c03106bdb5427f57e20a09a12c9c849a64796abedcf30bd78a8b6be4dd42a087085c2d0bd5b673df24bd7b SHA512 a4f5ca809031bfc7a0cdfe39ad62059b1a33f8bf233480216df99e34fbec9f968a137b33b085ceae529838a265d67fdd988c40785d1c333ec00269fa672cfcc2 diff --git a/net-p2p/persepolis/files/persepolis-5.2.0-fix-executable.patch b/net-p2p/persepolis/files/persepolis-5.2.0-fix-executable.patch deleted file mode 100644 index ca4d1b0f7722..000000000000 --- a/net-p2p/persepolis/files/persepolis-5.2.0-fix-executable.patch +++ /dev/null @@ -1,32 +0,0 @@ -tweaks the executable that comes with persepolis to work better with -gentoo's python-exec. - -by default meson will detect the python executable used to run it, then -replace @PYTHON@ with that path to be used at runtime. this doesn't work -with portage's path abstraction. instead this replaces with a generic path -then relies on 'python_newscript', run in the ebuild, to resolve the -correct path. - -also remove's the hard-coded 'pythonsitepackagedir', python-exec will set -the system path correctly at runtime. - -diff --git a/persepolis/persepolis.py b/persepolis/persepolis.py -index d5e5b25..67bc72b 100644 ---- a/persepolis/persepolis.py -+++ b/persepolis/persepolis.py -@@ -1,4 +1,4 @@ --#!@PYTHON@ -+#!/usr/bin/python - - - # -*- coding: utf-8 -*- -@@ -19,9 +19,6 @@ - # this file is created for running persepolis from /usr/bin/ or /usr/local/bin/. - import sys - --pythonsitepackagedir = '@pythonsitepackagedir@' -- - if __name__ == '__main__': -- sys.path.append(pythonsitepackagedir) - from persepolis.scripts import persepolis - persepolis.main() diff --git a/net-p2p/persepolis/metadata.xml b/net-p2p/persepolis/metadata.xml deleted file mode 100644 index c40ac0eaf996..000000000000 --- a/net-p2p/persepolis/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>truffle074@gmail.com</email> - <name>Bryce Copeland (truffle)</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/persepolisdm/persepolis/issues</bugs-to> - <remote-id type="github">persepolisdm/persepolis</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/persepolis/persepolis-5.2.0.ebuild b/net-p2p/persepolis/persepolis-5.2.0.ebuild deleted file mode 100644 index 5aba9d9cb91a..000000000000 --- a/net-p2p/persepolis/persepolis-5.2.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit meson python-single-r1 optfeature xdg - -DESCRIPTION="Persepolis is a download manager written in Python." -HOMEPAGE="https://github.com/persepolisdm/persepolis" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/persepolisdm/persepolis.git" -else - SRC_URI="https://github.com/persepolisdm/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" - -DEPEND=" - dev-python/pyside:6 - dev-python/requests - dev-python/setuptools - dev-python/lxml - dev-python/pysocks - dev-python/beautifulsoup4 - dev-python/pyopenssl - dev-python/certifi - dev-python/sip - dev-python/urllib3 - dev-python/setproctitle - net-misc/aria2 - dev-python/dasbus -" -RDEPEND="${PYTHON_DEPS} ${DEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -PATCHES=( - "${FILESDIR}/${PN}-5.2.0-fix-executable.patch" -) - -src_configure() { - python_setup - meson_src_configure -} - -src_install() { - meson_src_install - - # removes packaged executable, and replaces with a python-exec version - rm "${D}/usr/bin/persepolis" || die - python_newscript "persepolis/${PN}.py" "${PN}" - - python_optimize -} - -pkg_postinst() { - optfeature "supporting youtube video downloads" net-misc/yt-dlp media-video/ffmpeg - optfeature "uniform styling between persepolis and other applications" X11-themes/adwaita-qt - - xdg_pkg_postinst -} diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest deleted file mode 100644 index 4be7a2559a2c..000000000000 --- a/net-p2p/qbittorrent/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST qbittorrent-5.2.0.tar.gz 10829039 BLAKE2B 2690ffeaa0c6779dc1da1c5288a3cda8a2b34575b6ce4eebfd9b1c06db59138c9b8b8487562a283ced18bea7557c24f34d792e7db295844846f34af7525e15d5 SHA512 bc7d5f45bee63dcefad06777b620ceb7edbe2b53e140b6933f11fc3f0aa5506447d6f874e233bad4865c47e12ad1951be467892c1c82b51056be5bda8acc0470 -DIST qbittorrent-5.2.1.tar.gz 10820971 BLAKE2B 56fc590acbf4b4c3641f9d883aeed9eb6d2497439a3a10e07235d7043b2765ee509e9169da3fd875197af69d835152efb8f2c1b72f5927ae651b00046179bc12 SHA512 495b57c964e90db0ff2cce13c8eeb6b6d6f4c0bfa45259b6b699dc0b9d823b3f39a69df32f7afa2aed2399949aef3eb92a5a47f652d31c467bf7ea24c5f192e6 diff --git a/net-p2p/qbittorrent/files/cmakelist_txt.patch b/net-p2p/qbittorrent/files/cmakelist_txt.patch deleted file mode 100644 index d64af0180d81..000000000000 --- a/net-p2p/qbittorrent/files/cmakelist_txt.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff '--color=auto' -urN qBittorrent-release-5.0.0.orig/CMakeLists.txt qBittorrent-release-5.0.0/CMakeLists.txt ---- qBittorrent-release-5.0.0.orig/CMakeLists.txt 2024-10-05 11:00:17.913842451 +0200 -+++ qBittorrent-release-5.0.0/CMakeLists.txt 2024-10-05 11:02:01.493835539 +0200 -@@ -9,7 +9,7 @@ - # version requirements - older versions may work, but you are on your own - set(minBoostVersion 1.76) - set(minQt6Version 6.5.0) --set(minOpenSSLVersion 3.0.2) -+set(minOpenSSLVersion 2.0.0) - set(minLibtorrent1Version 1.2.19) - set(minLibtorrentVersion 2.0.10) - set(minZlibVersion 1.2.11) diff --git a/net-p2p/qbittorrent/files/qbittorrent-5.2.0-cmakelist_txt.patch b/net-p2p/qbittorrent/files/qbittorrent-5.2.0-cmakelist_txt.patch deleted file mode 100644 index 31cc1a9f1ec0..000000000000 --- a/net-p2p/qbittorrent/files/qbittorrent-5.2.0-cmakelist_txt.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff '--color=auto' -urN qBittorrent-release-5.0.0.orig/CMakeLists.txt qBittorrent-release-5.0.0/CMakeLists.txt ---- qBittorrent-release-5.0.0.orig/CMakeLists.txt 2024-10-05 11:00:17.913842451 +0200 -+++ qBittorrent-release-5.0.0/CMakeLists.txt 2024-10-05 11:02:01.493835539 +0200 -@@ -9,7 +9,7 @@ - # version requirements - older versions may work, but you are on your own - set(minBoostVersion 1.76) - set(minQt6Version 6.6.0) --set(minOpenSSLVersion 3.0.2) -+set(minOpenSSLVersion 2.0.0) - set(minLibtorrent1Version 1.2.19) - set(minLibtorrentVersion 2.0.10) - set(minZlibVersion 1.2.11) diff --git a/net-p2p/qbittorrent/metadata.xml b/net-p2p/qbittorrent/metadata.xml deleted file mode 100644 index 7553a4768397..000000000000 --- a/net-p2p/qbittorrent/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <upstream> - <remote-id type="cpe">cpe:/a:qbittorrent:qbittorrent</remote-id> - </upstream> - <use> - <flag name="webui">Enable the Web UI</flag> - <flag name="geoip">Use MaxMind2 geoip data</flag> - </use> - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/net-p2p/qbittorrent/qbittorrent-5.2.0.ebuild b/net-p2p/qbittorrent/qbittorrent-5.2.0.ebuild deleted file mode 100644 index 446652d51d7f..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-5.2.0.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 2020-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -inherit cmake edo multibuild optfeature systemd verify-sig xdg - -DESCRIPTION="BitTorrent client in C++ and Qt" -HOMEPAGE="https://www.qbittorrent.org https://github.com/qbittorrent" - -SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -S="${WORKDIR}/qBittorrent-release-${PV}" -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus +gui systemd test webui" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - || ( gui webui ) - dbus? ( gui ) -" - -RDEPEND=" - >=dev-libs/openssl-3.0.2:= - - >=net-libs/libtorrent-rasterbar-1.2.19:= - >=sys-libs/zlib-1.2.11 - >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml] - gui? ( - >=dev-qt/qtbase-6.5:6[dbus?,gui,widgets] - >=dev-qt/qtsvg-6.5:6 - ) - webui? ( - acct-group/qbittorrent - acct-user/qbittorrent - ) -" -DEPEND=" - ${RDEPEND} - >=dev-libs/boost-1.76 -" -BDEPEND+=" - >=dev-qt/qttools-6.5:6[linguist] - virtual/pkgconfig -" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) - -src_prepare() { - MULTIBUILD_VARIANTS=() - use gui && MULTIBUILD_VARIANTS+=( gui ) - use webui && MULTIBUILD_VARIANTS+=( nogui ) - - - cmake_src_prepare -} - -src_configure() { - my_src_configure() { - local mycmakeargs=( - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - -DWEBUI=$(usex webui) - -DTESTING=$(usex test) - ) - - if [[ ${MULTIBUILD_VARIANT} == "gui" ]]; then - # We do this in multibuild, see bug #839531 for why. - # Fedora has to do the same thing. - mycmakeargs+=( - -DGUI=ON - -DDBUS=$(usex dbus) - -DSYSTEMD=OFF - ) - else - mycmakeargs+=( - -DGUI=OFF - -DDBUS=OFF - ) - - use systemd && mycmakeargs+=( - # The systemd service calls qbittorrent-nox, which is only - # installed when GUI=OFF. - -DSYSTEMD=ON - -DSYSTEMD_SERVICES_INSTALL_DIR="$(systemd_get_systemunitdir)" - ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant my_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_test() { - my_src_test() { - # cmake does not detect tests by default, if you use enable_testing - # in a subdirectory instead of the root CMakeLists.txt - cd "${BUILD_DIR}"/test || die - edo ctest . - } - - multibuild_foreach_variant my_src_test -} - -src_install() { - multibuild_foreach_variant cmake_src_install - einstalldocs - - if use webui; then - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p -} diff --git a/net-p2p/qbittorrent/qbittorrent-5.2.1.ebuild b/net-p2p/qbittorrent/qbittorrent-5.2.1.ebuild deleted file mode 100644 index 446652d51d7f..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-5.2.1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 2020-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -inherit cmake edo multibuild optfeature systemd verify-sig xdg - -DESCRIPTION="BitTorrent client in C++ and Qt" -HOMEPAGE="https://www.qbittorrent.org https://github.com/qbittorrent" - -SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -S="${WORKDIR}/qBittorrent-release-${PV}" -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus +gui systemd test webui" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - || ( gui webui ) - dbus? ( gui ) -" - -RDEPEND=" - >=dev-libs/openssl-3.0.2:= - - >=net-libs/libtorrent-rasterbar-1.2.19:= - >=sys-libs/zlib-1.2.11 - >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml] - gui? ( - >=dev-qt/qtbase-6.5:6[dbus?,gui,widgets] - >=dev-qt/qtsvg-6.5:6 - ) - webui? ( - acct-group/qbittorrent - acct-user/qbittorrent - ) -" -DEPEND=" - ${RDEPEND} - >=dev-libs/boost-1.76 -" -BDEPEND+=" - >=dev-qt/qttools-6.5:6[linguist] - virtual/pkgconfig -" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) - -src_prepare() { - MULTIBUILD_VARIANTS=() - use gui && MULTIBUILD_VARIANTS+=( gui ) - use webui && MULTIBUILD_VARIANTS+=( nogui ) - - - cmake_src_prepare -} - -src_configure() { - my_src_configure() { - local mycmakeargs=( - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - -DWEBUI=$(usex webui) - -DTESTING=$(usex test) - ) - - if [[ ${MULTIBUILD_VARIANT} == "gui" ]]; then - # We do this in multibuild, see bug #839531 for why. - # Fedora has to do the same thing. - mycmakeargs+=( - -DGUI=ON - -DDBUS=$(usex dbus) - -DSYSTEMD=OFF - ) - else - mycmakeargs+=( - -DGUI=OFF - -DDBUS=OFF - ) - - use systemd && mycmakeargs+=( - # The systemd service calls qbittorrent-nox, which is only - # installed when GUI=OFF. - -DSYSTEMD=ON - -DSYSTEMD_SERVICES_INSTALL_DIR="$(systemd_get_systemunitdir)" - ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant my_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_test() { - my_src_test() { - # cmake does not detect tests by default, if you use enable_testing - # in a subdirectory instead of the root CMakeLists.txt - cd "${BUILD_DIR}"/test || die - edo ctest . - } - - multibuild_foreach_variant my_src_test -} - -src_install() { - multibuild_foreach_variant cmake_src_install - einstalldocs - - if use webui; then - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p -} diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest deleted file mode 100644 index 0b3299014c25..000000000000 --- a/net-p2p/resilio-sync/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST resilio-sync-3.1.1.1075_arm64.tar.gz 15041201 BLAKE2B 755c6bdcdbaab5db5c8a72db77b426c57c6916d680737cc83a1480c27b8fcee02abdd70fd8e8e6295162751c18559c8b68ff8ce7e01b25f0a1b33ae8be89a947 SHA512 3c89ff400d071ff738433f91e3e9579e5cf1e2ee5f63e04f81c784432c6353f4d04a8aa5498cf03f76ad977d938d1ae09ada7edb9ad4ff44d654751de70cf90c -DIST resilio-sync-3.1.1.1075_x64.tar.gz 15534941 BLAKE2B f8ae232d24cd7d46564c4eb02e04c371470de89853665c81de3aba44015b924fdc017c09943dbd6cda65b570cfed7c401f0646757632dd4f5e1071667031186c SHA512 0726ad0ad6815693311a9e6227e8086e016550265775f3e15f2419048c1bc8ac2d347c3b64f7365a67d3198e741e6d8c24681c0df6fec9afbdfd00928e55a97d -DIST resilio-sync_2.8.1.1390-1_amd64.deb 11895050 BLAKE2B 32ba64c4038948deb08a7fbf9b4daa78213cba1743ba559fb8bc88bda5665a1f5f368ed2bcdcaa96d1d3edf0a9e49ad5892ab16013c1483143ce4ceb5bfba31f SHA512 5ad8decad1d30e99368ad43a8a329573873e4189cf836c7e4161bf7ff4baa31c9d144498f3ee7e332a23930c178a704362b5fccbc498ea7d6066d0ee72ad8e82 -DIST resilio-sync_2.8.1.1390-1_arm64.deb 11246080 BLAKE2B 3ab1a3f824c33d88c0d5009e60365e679432b0be0ed71caa6602bf49591ee2932cfe0ba26fcc32fcc841e61c9f29036e0c8922e1f0c4aef67a8b6a411d6a0af4 SHA512 4d4ef14ba5c10211b5fb06bb67ca0079aa3715b928b37630eaec98c0cf7cf3c1b27136969872a0b78a4ec4570de713a5665405abb8cd8dd793e3b13158992811 -DIST resilio-sync_2.8.1.1390-1_armhf.deb 10988514 BLAKE2B 7c6d6226af1420714c01959875e637f87461a0012959b57e69ef591181245bfa04079da64597bc5a78f81a4992fd3ea6b955fe59491986c18cb8aa248cdd9094 SHA512 399c097a73217e5dd9a311a83d511189b01ec2d0a388c6a94c2ae62b3d79fcdbc117ab552127f8b81174271bc58c655d3bd0e762f21cf84b592117dfa9838b2b diff --git a/net-p2p/resilio-sync/files/resilio-sync-user.confd b/net-p2p/resilio-sync/files/resilio-sync-user.confd deleted file mode 100644 index 040da8bdf843..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync-user.confd +++ /dev/null @@ -1,12 +0,0 @@ -# Config file for /etc/init.d/resilio-sync - -# Various options. -# run `rslsync --help` for valid cmdline options -#OPTS="--log /var/log/resilio-sync/resilio-sync.log" - -# User and group daemon runs as -#USER="rslsync" -#GROUP="rslsync" - -# Resilio Sync config file -#CONFIG="/etc/resilio-sync/config.json" diff --git a/net-p2p/resilio-sync/files/resilio-sync-user.initd b/net-p2p/resilio-sync/files/resilio-sync-user.initd deleted file mode 100644 index 6772f6dc14d9..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync-user.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -USER="${RC_SVCNAME##*.}" -command="/usr/bin/rslsync" -name="Resilio Sync for $USER" -description="Resilio Sync" -command_user="${USER:-rslsync}:${GROUP:-rslsync}" -pidfile="${PIDFILE:-/home/$USER/.config/resilio-sync/resilio-sync.pid}" -config="${CONFIG:-/home/$USER/.config/resilio-sync/config.json}" -command_args="--config $config ${OPTS}" -start_stop_daemon_args="-q" -retry="10" - -depend() { - need net -} - -start_pre() { - if [ "$USER" = "resilio-sync-user" ]; then - eerror "You are not supposed to run this script directly." - eerror "Create a symlink for this script:" - eerror " ln -s $RC_SVCNAME /etc/init.d/$RC_SVCNAME.<user>" - return 1 - fi -} diff --git a/net-p2p/resilio-sync/files/resilio-sync-user.service b/net-p2p/resilio-sync/files/resilio-sync-user.service deleted file mode 100644 index bb57c738b6d5..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync-user.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Resilio Sync service -Documentation=https://help.resilio.com -After=network.target network-online.target - -[Service] -Type=forking -Restart=on-failure -PIDFile=%h/.config/resilio-sync/resilio-sync.pid -ExecStart=/usr/bin/rslsync --config %h/.config/resilio-sync/config.json - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/resilio-sync/files/resilio-sync.confd b/net-p2p/resilio-sync/files/resilio-sync.confd deleted file mode 100644 index 7d8e9ea27cff..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync.confd +++ /dev/null @@ -1,12 +0,0 @@ -# Config file for /etc/init.d/resilio-sync - -# Various options. -# run `rslsync --help` for valid cmdline options -OPTS="--log /var/log/resilio-sync/resilio-sync.log" - -# User and group daemon runs as -RSLSYNC_USER="rslsync" -RSLSYNC_GROUP="rslsync" - -# Resilio Sync config file -#CONFIG="/etc/resilio-sync/config.json" diff --git a/net-p2p/resilio-sync/files/resilio-sync.initd b/net-p2p/resilio-sync/files/resilio-sync.initd deleted file mode 100644 index 8a7263446a5f..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync.initd +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/rslsync" -name="Resilio Sync" -description="Resilio Sync" -command_user="${RSLSYNC_USER:-rslsync}:${RSLSYNC_GROUP:-rslsync}" -pidfile="/run/resilio-sync/resilio-sync.pid" -config="${CONFIG:-/etc/resilio-sync/config.json}" -command_args="--config $config ${OPTS}" -start_stop_daemon_args="-q" -retry="10" - -depend() { - need net -} diff --git a/net-p2p/resilio-sync/files/resilio-sync.service b/net-p2p/resilio-sync/files/resilio-sync.service deleted file mode 100644 index 1f1a0b95bc72..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=Resilio Sync service -Documentation=https://help.resilio.com -After=network.target network-online.target - -[Service] -Type=forking -UMask=0002 -Restart=on-failure -PermissionsStartOnly=true - -User=rslsync -Group=rslsync - -PIDFile=/var/run/resilio-sync/resilio-sync.pid -ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/resilio-sync/files/resilio-sync.tmpfile b/net-p2p/resilio-sync/files/resilio-sync.tmpfile deleted file mode 100644 index d0f6e0adc420..000000000000 --- a/net-p2p/resilio-sync/files/resilio-sync.tmpfile +++ /dev/null @@ -1 +0,0 @@ -d /run/resilio-sync 0755 rslsync rslsync diff --git a/net-p2p/resilio-sync/metadata.xml b/net-p2p/resilio-sync/metadata.xml deleted file mode 100644 index 4c746b534fd8..000000000000 --- a/net-p2p/resilio-sync/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>spiderx@spiderx.dp.ua</email> - <name>Vladimir Pavljuchenkov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription lang="en"> - Resilio Sync is a proprietary peer-to-peer multiplatform file synchronization tool - It can sync files between devices on a local network, or between remote devices - over the Internet via a modified version of the BitTorrent protocol. - </longdescription> - <upstream> - <doc>https://help.resilio.com/</doc> - <bugs-to>https://help.resilio.com/hc/en-us/requests/new?ticket_form_id=91563</bugs-to> - </upstream> -</pkgmetadata> diff --git a/net-p2p/resilio-sync/resilio-sync-2.8.1.1390.ebuild b/net-p2p/resilio-sync/resilio-sync-2.8.1.1390.ebuild deleted file mode 100644 index 6d8dc389d9ee..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-2.8.1.1390.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker - -BASE_URI="https://download-cdn.resilio.com/stable/debian/@arch@/0/${PN}_${PV}-1_@arch@.deb" - -DESCRIPTION="Resilient, fast and scalable file synchronization tool" -HOMEPAGE="https://www.resilio.com" -SRC_URI=" - amd64? ( ${BASE_URI//@arch@/amd64} ) - arm64? ( ${BASE_URI//@arch@/arm64} ) - arm? ( ${BASE_URI//@arch@/armhf} ) -" - -S="${WORKDIR}" -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64" - -RESTRICT="bindist mirror" - -RDEPEND=" - acct-group/rslsync - acct-user/rslsync - virtual/libcrypt:= -" - -QA_PREBUILT="usr/bin/rslsync" - -DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n -Default metadata path is /var/lib/resilio-sync/.sync\\n -Default web-gui URL is http://localhost:8888/\\n\\n" - -src_unpack() { - unpacker_src_unpack - - unpack usr/share/man/man1/resilio-sync.1.gz -} - -src_install() { - dobin usr/bin/rslsync - pax-mark m "${ED}"/usr/bin/rslsync - - doman resilio-sync.1 - - newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync - newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync - newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user - newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user - systemd_dounit "${FILESDIR}"/resilio-sync.service - systemd_douserunit "${FILESDIR}"/resilio-sync-user.service - newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf - - readme.gentoo_create_doc - - # Generate sample config, uncomment config directives and change values - insopts -o rslsync -g rslsync -m 0644 - insinto /etc/resilio-sync - newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ - sed \ - -e "/storage_path/s|//| |g" \ - -e "/pid_file/s|//| |g" \ - -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ - -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ - || die "sed failed for config.json" ) - - diropts -o rslsync -g rslsync -m 0700 - keepdir /etc/resilio-sync /var/lib/resilio-sync/ \ - /var/lib/resilio-sync/.sync /var/log/resilio-sync -} - -pkg_postinst() { - tmpfiles_process resilio-sync.conf - readme.gentoo_print_elog -} diff --git a/net-p2p/resilio-sync/resilio-sync-3.1.1.1075.ebuild b/net-p2p/resilio-sync/resilio-sync-3.1.1.1075.ebuild deleted file mode 100644 index 5015be931c7f..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-3.1.1.1075.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo pax-utils readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Resilient, fast and scalable file synchronization tool" -HOMEPAGE="https://www.resilio.com" - -if [[ ${PV} == 9999 ]]; then - BDEPEND="net-misc/wget" - PROPERTIES="live" -else - BASE_URI="https://download-cdn.resilio.com/${PV}/linux/@arch@/0/${PN}_@arch@.tar.gz -> ${P}_@arch@.tar.gz" - SRC_URI=" - amd64? ( ${BASE_URI//@arch@/x64} ) - arm64? ( ${BASE_URI//@arch@/arm64} ) - " - KEYWORDS="-* ~amd64 ~arm64" -fi - -S="${WORKDIR}" -LICENSE="all-rights-reserved" -SLOT="0" - -RESTRICT="bindist mirror" - -RDEPEND=" - acct-group/rslsync - acct-user/rslsync - virtual/libcrypt:= -" - -QA_PREBUILT="usr/bin/rslsync" - -DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n -Default metadata path is /var/lib/resilio-sync/.sync\\n -Default web-gui URL is http://localhost:8888/\\n\\n" - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - local base_uri="https://download-cdn.resilio.com/stable/linux/@arch@/0/${PN}_@arch@.tar.gz" - local uri - if use amd64; then - uri="${base_uri//@arch@/x64}" - elif use arm64; then - uri="${base_uri//@arch@/arm64}" - else - die "arch not supported" - fi - - local dest="${T}/${PN}.tar.gz" - edo wget -O "${dest}" "${uri}" - unpack "${dest}" - else - default - fi -} - -src_install() { - dobin rslsync - pax-mark m "${ED}"/usr/bin/rslsync - - newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync - newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync - newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user - newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user - systemd_dounit "${FILESDIR}"/resilio-sync.service - systemd_douserunit "${FILESDIR}"/resilio-sync-user.service - newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf - - readme.gentoo_create_doc - - # Generate sample config, uncomment config directives and change values - insopts -o rslsync -g rslsync -m 0644 - insinto /etc/resilio-sync - newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ - sed \ - -e "/storage_path/s|//| |g" \ - -e "/pid_file/s|//| |g" \ - -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ - -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ - || die "sed failed for config.json" ) - - diropts -o rslsync -g rslsync -m 0700 - keepdir /etc/resilio-sync /var/lib/resilio-sync/ \ - /var/lib/resilio-sync/.sync /var/log/resilio-sync -} - -pkg_postinst() { - tmpfiles_process resilio-sync.conf - readme.gentoo_print_elog -} diff --git a/net-p2p/resilio-sync/resilio-sync-9999.ebuild b/net-p2p/resilio-sync/resilio-sync-9999.ebuild deleted file mode 100644 index 5015be931c7f..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-9999.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo pax-utils readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Resilient, fast and scalable file synchronization tool" -HOMEPAGE="https://www.resilio.com" - -if [[ ${PV} == 9999 ]]; then - BDEPEND="net-misc/wget" - PROPERTIES="live" -else - BASE_URI="https://download-cdn.resilio.com/${PV}/linux/@arch@/0/${PN}_@arch@.tar.gz -> ${P}_@arch@.tar.gz" - SRC_URI=" - amd64? ( ${BASE_URI//@arch@/x64} ) - arm64? ( ${BASE_URI//@arch@/arm64} ) - " - KEYWORDS="-* ~amd64 ~arm64" -fi - -S="${WORKDIR}" -LICENSE="all-rights-reserved" -SLOT="0" - -RESTRICT="bindist mirror" - -RDEPEND=" - acct-group/rslsync - acct-user/rslsync - virtual/libcrypt:= -" - -QA_PREBUILT="usr/bin/rslsync" - -DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n -Default metadata path is /var/lib/resilio-sync/.sync\\n -Default web-gui URL is http://localhost:8888/\\n\\n" - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - local base_uri="https://download-cdn.resilio.com/stable/linux/@arch@/0/${PN}_@arch@.tar.gz" - local uri - if use amd64; then - uri="${base_uri//@arch@/x64}" - elif use arm64; then - uri="${base_uri//@arch@/arm64}" - else - die "arch not supported" - fi - - local dest="${T}/${PN}.tar.gz" - edo wget -O "${dest}" "${uri}" - unpack "${dest}" - else - default - fi -} - -src_install() { - dobin rslsync - pax-mark m "${ED}"/usr/bin/rslsync - - newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync - newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync - newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user - newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user - systemd_dounit "${FILESDIR}"/resilio-sync.service - systemd_douserunit "${FILESDIR}"/resilio-sync-user.service - newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf - - readme.gentoo_create_doc - - # Generate sample config, uncomment config directives and change values - insopts -o rslsync -g rslsync -m 0644 - insinto /etc/resilio-sync - newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ - sed \ - -e "/storage_path/s|//| |g" \ - -e "/pid_file/s|//| |g" \ - -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ - -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ - || die "sed failed for config.json" ) - - diropts -o rslsync -g rslsync -m 0700 - keepdir /etc/resilio-sync /var/lib/resilio-sync/ \ - /var/lib/resilio-sync/.sync /var/log/resilio-sync -} - -pkg_postinst() { - tmpfiles_process resilio-sync.conf - readme.gentoo_print_elog -} diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest deleted file mode 100644 index 9dc8ef1059fb..000000000000 --- a/net-p2p/rtorrent/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST rtorrent-0.15.7.tar.gz 866976 BLAKE2B e826f55b7411d0f11278a64b1851d4b5ff479b6872e513466d484000032a22d56025d4b04246ecd31b3229d71c0cb9738ac8bb76ed41865ef67dc27e4fe15b6c SHA512 99d8e276fb4044b123a5d8f147f8de521d228087ea13ce702cb8d601a14ce6b69cfbeb9a3d6ff394d49a5b0ae0a597c2dbafa687b550835ba5372e094c6b8ce6 -DIST rtorrent-0.16.11.tar.gz 858663 BLAKE2B f71f65e87c4752f44371b50bbd5862e557ffe6583096b15119037551b43d2ebfa94d3af430d07f3a46f455d6e4f2376dc2730883b1f0d75f230b7d4fe7ab4da7 SHA512 e156bdf923b8a07755aa061459042c1ed2970d64adca8e177125e7b1c2329edaeb4a8f134ec278d5a83ae844c514ca6a124645f6df01876640a67a273906b5f8 -DIST rtorrent-0.16.8.tar.gz 854737 BLAKE2B 2461c75d0fe0b704eb3cb0b677e55788ca0cfa9eb935db51ea8757c27f2be36f28bc5585a2482b9789a09e5ea2785c4b407318bd30895e2d11a8b08746a69c11 SHA512 f17c0691543d109b619ff8c4251c1c0eefe94df133684b013939e9b8832b2c4d4ca72087ac0127f1668ee5238735b09febe3f2f2b2d41dfb4fef543b786e4deb -DIST rtorrent-0.16.9.tar.gz 858107 BLAKE2B 0dafaba7d3a678e5e37cf3d6ff1711d36d63dc0754adcb00c1d748ce64cfffa0a8f8e93ff67a5829578cf5a0bbad67a28da55077df02d1748516527fb4dcc980 SHA512 d6c023d007f163227c76d3aa5b7c2fc7ee704631e00389e3b5e446a660449716642b3129326765f76e418fd6feac1e6d6cb38e22ebb9a17731d3a246660a73ef diff --git a/net-p2p/rtorrent/files/rtorrent-0.15.5-find_grep.patch b/net-p2p/rtorrent/files/rtorrent-0.15.5-find_grep.patch deleted file mode 100644 index b7db85747910..000000000000 --- a/net-p2p/rtorrent/files/rtorrent-0.15.5-find_grep.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://github.com/rakshasa/rtorrent/commit/dd8281204f5365f0f6987f989e71208d3c218289 -from upstream -configure fails with slibtool because it doesn't define GREP ---- a/scripts/common.m4 -+++ b/scripts/common.m4 -@@ -23,6 +23,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [ - - AC_DEFUN([TORRENT_REMOVE_UNWANTED], - [ -+ AC_REQUIRE([AC_PROG_GREP]) - values_to_check=`for i in $2; do echo $i; done` - unwanted_values=`for i in $3; do echo $i; done` - if test -z "${unwanted_values}"; then diff --git a/net-p2p/rtorrent/files/rtorrent-0.16.9-cross_checks.patch b/net-p2p/rtorrent/files/rtorrent-0.16.9-cross_checks.patch deleted file mode 100644 index 66fd86a588db..000000000000 --- a/net-p2p/rtorrent/files/rtorrent-0.16.9-cross_checks.patch +++ /dev/null @@ -1,24 +0,0 @@ -# fix checks with cross-compile -# XMLRPC-C: adapt args for pkg-config -# LUA: don't test interpreter, AX_LUA_LIBS/AX_LUA_HEADERS are defined in src_configure ---- a/scripts/checks.m4 -+++ b/scripts/checks.m4 -@@ -236,8 +236,8 @@ AC_DEFUN([TORRENT_WITH_XMLRPC_C], [ - fi - - if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then -- CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`" -- LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`" -+ CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags xmlrpc_server`" -+ LIBS="$LIBS `$xmlrpc_cc_prg xmlrpc_server --libs`" - - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <xmlrpc-c/server.h> - ]], [[ xmlrpc_registry_new(NULL); ]])],[ -@@ -280,7 +280,6 @@ AC_DEFUN([TORRENT_WITH_LUA], [ - if test "$withval" = "no"; then - AC_MSG_RESULT(no) - else -- AX_PROG_LUA - AX_LUA_LIBS - AX_LUA_HEADERS - AC_DEFINE(HAVE_LUA, 1, Use LUA.) diff --git a/net-p2p/rtorrent/files/rtorrent-r1.init b/net-p2p/rtorrent/files/rtorrent-r1.init deleted file mode 100644 index e16f262bfbe3..000000000000 --- a/net-p2p/rtorrent/files/rtorrent-r1.init +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run -# Distributed under the terms of the GNU General Public License v2 - -description="rTorrent BitTorrent client" - -command="/usr/bin/rtorrent" -command_args="-o system.daemon.set=true" -command_background=true -command_user="${USER}" -pidfile="/run/rtorrent.pid" - -depend() -{ - use net ypbind nis - after slapd mysqld postgresql -} diff --git a/net-p2p/rtorrent/files/rtorrent.1 b/net-p2p/rtorrent/files/rtorrent.1 deleted file mode 100644 index 9ad120816c12..000000000000 --- a/net-p2p/rtorrent/files/rtorrent.1 +++ /dev/null @@ -1,560 +0,0 @@ -.\" This manpage has been automatically generated by docbook2man -.\" from a DocBook document. This tool can be found at: -.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> -.\" Please send any bug reports, improvements, comments, patches, -.\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "RTORRENT" "1" "14 May 2009" "BitTorrent client for ncurses" "" - -.SH NAME -rtorrent \- a BitTorrent client for ncurses -.SH SYNOPSIS - -\fBrtorrent\fR [ \fB-h\fR ] [ \fB-n\fR ] [ \fB-o key1=opt1,...\fR ] [ \fB-O key=opt\fR ] [ \fBURL | FILE\fR\fI ...\fR ] - -.SH "DESCRIPTION" -.PP -\fBrtorrent\fR is a BitTorrent client for ncurses, using -the \fBlibtorrent\fR library. The client and library is -written in C++ with emphasis on speed and efficiency, while delivering -equivalent features to those found in GUI based clients in an ncurses -client. -.PP -Most of the options below have their own default unit in addition to -supporting B, K, M and G suffixes. -.SH "KEYBOARD CONTROL" -.PP -.SS "GLOBAL KEYS" -.TP -\fB^q\fR -Initiate shutdown, press again to force the shutdown and -skip sending the stop signal to trackers. -.TP -\fBup | down | left | right arrow keys\fR -.TP -\fB^P | ^N | ^B | ^F\fR -Select entries or change windows. The right arrow key or ^F is often -used for viewing details about the selected entry, while the left -arrow key or ^B often returns to the previous screen. -.TP -\fBa | s | d\fR -Increase the upload throttle by 1/5/50 KB. -.TP -\fBA | S | D\fR -Increase the download throttle by 1/5/50 KB. -.TP -\fBz | x | c\fR -Decrease the upload throttle by 1/5/50 KB. -.TP -\fBZ | X | C\fR -Decrease the download throttle by 1/5/50 KB. -.SS "MAIN VIEW KEYS" -.TP -\fB->\fR -View download. -.TP -\fB1 - 7\fR -Change view. -.TP -\fB^S\fR -Start download. -.TP -\fB^D\fR -Stop an active download, or remove a stopped download. -.TP -\fB^K\fR -Close a torrent and its files. -.TP -\fB^E\fR -Set the 'create/resize queued' flags on all files in a torrent. This -is necessary if the underlying files in a torrent have been deleted or -truncated, and thus rtorrent must recreate them. -.TP -\fB^R\fR -Initiate hash check of torrent. -.TP -\fB^O\fR -Change the destination directory of the download. The torrent must be -closed. -.TP -\fB^X\fR -Call commands or change settings. -.TP -\fB^B\fR -Set download to perform initial seeding. Only use when -you are the first and only seeder so far for the download. -.TP -\fB+ | -\fR -Change the priority of the download. -.TP -\fBbackspace\fR -Add torrent using a URL or file path. Use -\fBtab\fR to view directory content and do -auto-complete. -.TP -\fBl\fR -View log. Exit by pressing the space-bar. -.TP -\fBU\fR -Delete the file the torrent is tied to, and clear the association. -.TP -\fBI\fR -Toggle whether torrent ignores ratio settings. -.SS "DOWNLOAD VIEW KEYS" -.TP -\fB->\fR -View torrent file list. Use the space-bar to change the file priority -and \fB*\fR to change the priority of all -files. Use \fB/\fR to collapse the directories. OUTDATED -.TP -\fB1 | 2\fR -Adjust max uploads. -.TP -\fB3 | 4\fR -Adjust min peers. -.TP -\fB5 | 6\fR -Adjust max peers. -.TP -\fBu\fR -Display transfering blocks. -.TP -\fBi\fR -Display chunk rarity. -.TP -\fBo\fR -Display the tracker list. Cycle the trackers in a group with the -space-bar. -.TP -\fBp\fR -View peer and torrent information. -.TP -\fBt | T\fR -Initiate tracker request. Use capital T to force the request, ignoring -the "min interval" set by the tracker. -.TP -\fBk\fR -Disconnect peer. -.TP -\fB*\fR -Choke/Snub peer. -.SH "OPTIONS" -.TP -\fB-b \fIa.b.c.d\fB\fR -Bind listening socket and outgoing connections to this network -interface address. -.TP -\fB-d \fIdirectory\fB\fR -Set the default download directory. Defaults to "./". -.TP -\fB-h\fR -Display help and exit. -.TP -\fB-i \fIa.b.c.d\fB\fR -Set the address reported to the tracker. -.TP -\fB-n\fR -Don't load ~/.rtorrent.rc on startup. -.TP -\fB-o key1=opt1,...\fR -.TP -\fB-O key=opt\fR -Set any number of options, see the SETTINGS section. The options given -here override the resource files. Use capital \fB-O\fR -to allow comma in the option. -.TP -\fB-p \fIa-b\fB\fR -Try to open a listening port in the range \fBa\fR up to -and including \fBb\fR\&. -.TP -\fB-s \fIdirectory\fB\fR -Session management will be enabled and the torrent files for all open -downloads will be stored in this directory. Only one instance of -rtorrent should be used with each session directory, though at the -moment no locking is done. An empty string will disable the session -directory. -.SH "GENERAL SETTINGS" -.PP -.TP -\fBbind = \fIa.b.c.d\fB\fR -Bind listening socket and outgoing connections to this network -interface address. -.TP -\fBip = \fIa.b.c.d\fB\fR -.TP -\fBip = \fIhostname\fB\fR -Set the address reported to the tracker. -.TP -\fBport_range = \fIa-b\fB\fR -Try to open a listening port in the range \fBa\fR up to -and including \fBb\fR\&. -.TP -\fBport_random = \fIyes | no\fB\fR -Open the listening port at a random position in the port range. -.TP -\fBcheck_hash = \fIyes | no\fB\fR -Perform hash check on torrents that have finished downloading. -.TP -\fBdirectory = \fIdirectory\fB\fR -Set the default download directory. Defaults to "./". -.TP -\fBsession = \fIdirectory\fB\fR -Session management will be enabled and the torrent files for all open -downloads will be stored in this directory. Only one instance of -rtorrent can be used per session directory. An empty string will -disable the session directory. -.TP -\fBhttp_proxy = \fIurl\fB\fR -Use a http proxy. Use an empty string to disable. -.TP -\fBencoding_list = \fIencoding\fB\fR -Add a preferred filename encoding to the list. The encodings are -attempted in the order they are inserted, if none match the torrent -default is used. -.TP -\fBencryption = \fIoption\fB,\fI\&...\fB\fR -Set how rtorrent should deal with encrypted Bittorrent connections. By -default, encryption is disabled, equivalent to specifying the option -\fBnone\fR\&. Alternatively, any number of the following -options may be specified: - -\fBallow_incoming\fR (allow incoming encrypted connections), -\fBtry_outgoing\fR (use encryption for outgoing connections), -\fBrequire\fR (disable unencrypted handshakes), -\fBrequire_RC4\fR (also disable plaintext transmission after the -initial encrypted handshake), -\fBenable_retry\fR (if the initial outgoing connection fails, retry -with encryption turned on if it was off or off if it was on), -\fBprefer_plaintext\fR (choose plaintext when peer offers a choice -between plaintext transmission and RC4 encryption, otherwise RC4 will be used). -.TP -\fBpeer_exchange = \fIyes | no\fB\fR -Enable/disable peer exchange for torrents that aren't marked private. Disabled by default. -.TP -\fBschedule = \fIid\fB,\fIstart\fB,\fIinterval\fB,\fIcommand\fB\fR -Call \fBcommand\fR every \fBinterval\fR -seconds, starting from \fBstart\fR\&. An -\fBinterval\fR of zero calls the task once, while a -\fBstart\fR of zero calls it immediately. Currently -\fBcommand\fR is forwarded to the option handler. -\fBstart\fR and \fBinterval\fR may -optionally use a time format, \fBdd:hh:mm:ss\fR\&. F.ex to -start a task every day at \fB18:00\fR, use -\fB18:00:00,24:00:00\fR\&. -.TP -\fBschedule_remove = \fIid\fB\fR -Delete \fBid\fR from the scheduler. -.TP -\fBstart_tied =\fR -Start torrents that are tied to filenames that have been re-added. -.TP -\fBstop_untied =\fR -.TP -\fBclose_untied =\fR -.TP -\fBremove_untied =\fR -Stop, close or remove the torrents that are tied to filenames that -have been deleted. Clear the association with the 'U' key. -.TP -\fBclose_low_diskspace = \fIspace\fB\fR -Close any active torrents on filesystems with less than -\fBspace\fR diskspace left. Use with -the \fBschedule\fR option. A default scheduled event -with id \fBlow_diskspace\fR is set to 500Mb. -.TP -\fBload = \fIfile\fB\fR -.TP -\fBload_verbose = \fIfile\fB\fR -.TP -\fBload_start = \fIfile\fB\fR -.TP -\fBload_start_verbose = \fIfile\fB\fR -Load and possibly start a file, or possibly multiple files by using the -wild-card "*". This is meant for use with -\fBschedule\fR, though ensure that the -\fBstart\fR is non-zero. The loaded file will be tied -to the filename provided. -.TP -\fBimport = \fIfile\fB\fR -.TP -\fBtry_import = \fIfile\fB\fR -Load a resource file. \fBtry_import\fR does not throw -torrent::input_error exception on bad input. -.TP -\fBstop_on_ratio = \fImin_ratio\fB\fR -.TP -\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB\fR -.TP -\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB,\fImax_ratio\fB\fR -Stop torrents when they reach the given upload ratio -\fBmin_ratio\fR in percent. If the optional -\fBmin_upload\fR is given, require a total -upload amount of this many bytes as well. If the optional -\fBmax_ratio\fR is given, stop the torrent -when reaching this ratio regardless of the total upload -amount. Exclude certain torrent by pressing -\fBShift+I\fR in the downlist list. -Use with the \fBschedule\fR option. -.TP -\fBon_insert = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_erase = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_open = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_close = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_start = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_stop = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_hash_queued = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_hash_removed = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_hash_done = \fIid\fB,\fIcommand\fB\fR -.TP -\fBon_finished = \fIid\fB,\fIcommand\fB\fR -Call a command on a download when its state changes. Only a subset of -commands are available. -.SH "THROTTLE SETTINGS" -.TP -\fBupload_rate = \fIKB\fB\fR -.TP -\fBdownload_rate = \fIKB\fB\fR -Set the maximum global uploand and download rates. -.TP -\fBmin_peers = \fIvalue\fB\fR -.TP -\fBmax_peers = \fIvalue\fB\fR -Set the minimum and maximum number of peers to allow in each download. -.TP -\fBmin_peers_seed = \fIvalue\fB\fR -.TP -\fBmax_peers_seed = \fIvalue\fB\fR -Set the minimum nad maximum number of peers to allow while seeding, or --1 (default) to use max_peers. -.TP -\fBmax_uploads = \fIvalue\fB\fR -Set the maximum number of simultaneous uploads per download. -.TP -\fBmax_uploads_div = \fIvalue\fB\fR -.TP -\fBmax_downloads_div = \fIvalue\fB\fR -Change the divider used to calculate the max upload and download slots -to use when the throttle is changed. Disable by -setting \fB0\fR\&. -.TP -\fBmax_uploads_global = \fIvalue\fB\fR -.TP -\fBmax_downloads_global = \fIvalue\fB\fR -Max upload and download slots allowed. Disable by -setting \fB0\fR\&. -.TP -\fBthrottle_up = \fIname\fB, \fIupload_rate\fB\fR -.TP -\fBthrottle_down = \fIname\fB, \fIdownload_rate\fB\fR -Define secondary throttle and/or set the given upload or download rate. Attach to a download with the d.set_throttle_name=name command -or switch throttles with Ctrl-T. Download must be stopped when changing throttles. Note that secondary throttles only work if the -global upload/download is throttled. Setting a download to use the \fBNULL\fR throttle makes the download unthrottled -even when there is a global throttle. Note that this special case bypasses the global throttle entirely, and as such its rate and -transfer amounts are not included in the global statistics. -.TP -\fBthrottle_ip = \fIname\fB, \fIhost\fB\fR -.TP -\fBthrottle_ip = \fIname\fB, \fInetwork/prefix\fB\fR -.TP -\fBthrottle_ip = \fIname\fB, \fIstart\fB, \fIend\fB\fR -Use the given secondary throttle for a host, CIDR network or IP range. All peers with a matching IP will use this throttle instead -of the global throttle or a custom download throttle. The name may be \fBNULL\fR to make these peers unthrottled, with -the same caveats as explained above. -.SH "TRACKER RELATED SETTINGS" -.PP -Tracker related settings. -.TP -\fBenable_trackers = \fIyes\fB\fR -Set to \fBno\fR to disable all tracker requests. Useful -for disabling rtorrent with the \fBschedule\fR command. -.TP -\fBtracker_dump = \fIfilename\fB\fR -Dump tracker requests to \fBfilename\fR, disable by -supplying an empty string. Only torrents loaded while -\fBtracker_dump\fR contains a non-empty string will be -logged at the moment, although disabling it will work as expected. -.TP -\fBtracker_numwant = \fInumber\fB\fR -Set the numwant field sent to the tracker, which indicates how many -peers we want. A negative value disables this feature. -.TP -\fBuse_udp_trackers = \fIyes\fB\fR -Use UDP trackers. Disable if you are behind a firewall, etc, that does -not allow connections to UDP trackers. -.TP -\fBdht = \fIdisabled|off|auto|on\fB\fR -Support for querying the distributed hash table (DHT) to find peers for trackerless -torrents or when all trackers are down. Set to \fBdisable\fR to completely -disable DHT, \fBoff\fR (default) to enable DHT but to not start the -DHT server, \fBauto\fR to automatically start and stop the DHT server -as needed or \fBon\fR for permanently keeping the DHT server running. -When set to automatic, the DHT server will start up when the first non-private torrent -is started, and will stop 15-30 minutes after the last non-private torrent is -stopped (or when rTorrent quits). For DHT to work, a session directory must be set (for -saving the DHT cache). -.TP -\fBdht_port = \fInumber\fB\fR -Set the UDP listen port for DHT. Defaults to 6881. -.TP -\fBdht_add_node = \fIhost[:port]\fB\fR -Not intended for use in the configuration file but as one-time option in the -client or on the command line to bootstrap an empty DHT node table. Contacts -the given node and attempts to bootstrap from it if it replies. -The port is optional, with port 6881 being used by default. -.TP -\fBhttp_capath = \fIpath\fB\fR -.TP -\fBhttp_cacert = \fIfilename\fB\fR -Set the certificates to use in http requests. See Curl's -CURLOPT_CAPATH and CURLOPT_CAINFO options for further information. -.SH "USER-INTERFACE SETTINGS" -.PP -Display related settings. -.TP -\fBview_add = \fIname\fB\fR -Create a new view. -.TP -\fBview_sort = \fIname\fB\fR -.TP -\fBview_sort = \fIname\fB,\fIseconds\fB\fR -Sort a view according the the criteria set by -\fBview_sort_current\fR\&. If the optional argument is -supplied, the view is not sorted if a change happened during the last -\fBseconds\fR\&. This command is meant to be used with -\fBschedule\fR\&. -.TP -\fBview_sort_new = \fIname\fB,\fI\&...\fB\fR -.TP -\fBview_sort_current = \fIname\fB,\fI\&...\fB\fR -Set the sorting criteria for when new elements inserted or -\fBview_sort\fR is called. The list can contain any -number of criteria, including zero, from the following: - -\fBname\fR, \fBname_reverse\fR, -\fBstopped\fR, \fBstarted\fR, -\fBcomplete\fR, \fBincomplete\fR, -\fBstate_changed\fR, -\fBstate_changed_reverse\fR -.TP -\fBkey_layout = \fIqwerty|azerty|qwertz|dvorak\fB\fR -Change the key-bindings. -.SH "FILE-SYSTEM SETTINGS" -.PP -File-system related settings. -.TP -\fBmax_file_size = \fIsize\fB\fR -Set the maximum size a file can have. Disable by -passing \fB-1\fR\&. -.TP -\fBsplit_file_size = \fIsize\fB\fR -Split files in a torrent larger than \fBsize\fR into -seperate files. Disable by passing \fB-1\fR\&. -.TP -\fBsplit_suffix = \fIstring\fB\fR -Set the suffix used on split files. Defaults -to \fB\&.part\fR\&. -.SH "DOWNLOAD SETTINGS" -.PP -Settings that require a download as a target, the options need to be -called through f.ex \fBon_finished\fR\&. -.TP -\fBcreate_link = \fItype\fB,\fIpath\fB,\fIsuffix\fB\fR -.TP -\fBdelete_link = \fItype\fB,\fIpath\fB,\fIsuffix\fB\fR -Create or delete a symbolic link. The link path is the concatenation -of \fBpath\fR, the result of -the \fBtype\fR on the download, -and \fBsuffix\fR\&. - -Available types are; \fBbase_path\fR uses the base path -of the download, \fBbase_filename\fR uses the base -filename of the download, \fBtied\fR uses the path of -the file the download is tied to, see \fBstart_tied\fR\&. -.SH "ADVANCED SETTINGS" -.PP -This list contains settings users shouldn't need to touch, some may -even cause crashes or similar if incorrectly set. -.TP -\fBhash_read_ahead = \fIMB\fB\fR -Configure how far ahead we ask the kernel to read when doing hash -checking. The hash checker uses madvise(..., MADV_WILLNEED) for the -requests. -.TP -\fBhash_interval = \fIms\fB\fR -Interval between attempts to check the hash when the chunk is not in -memory, in milliseconds. -.TP -\fBhash_max_tries = \fItries\fB\fR -Number of attempts to check the hash while using the mincore status, -before forcing. Overworked systems might need lower values to get a -decent hash checking rate. -.TP -\fBsafe_sync = \fIyes|no\fB\fR -Always use MS_SYNC rather than MS_ASYNC when syncing chunks. This may -be nessesary in case of filesystem bugs like NFS in linux ~2.6.13. -.TP -\fBmax_open_files = \fIvalue\fB\fR -Number of files to simultaneously keep open. LibTorrent dynamically -opens and closes files as necessary when mapping files to -memory. Default is based on sysconf(_SC_OPEN_MAX). -You probably only think you know what this option does, so don't touch -it. -.TP -\fBmax_open_sockets = \fIvalue\fB\fR -Number of network sockets to simultaneously keep open. This value is -set to a reasonable value based on \fBsysconf(_SC_OPEN_MAX)\fR\&. -.TP -\fBmax_open_http = \fIvalue\fB\fR -Number of sockets to simultaneously keep open. This value is set -to \fB32\fR by default. -.TP -\fBmax_memory_usage = \fIbytes\fB\fR -Set the max amount of memory space used to mapping file chunks. This -may also be set using \fBulimit -m\fR where 3/4 will be -allocated to file chunks. -.TP -\fBsend_buffer_size = \fIvalue\fB\fR -.TP -\fBreceive_buffer_size = \fIvalue\fB\fR -Adjust the send and receive buffer size for socket. -.TP -\fBumask = \fI0022\fB\fR -Set the umask for this process, which is applied to all files created -by the program. -.TP -\fBcwd = \fIdirectory\fB\fR -Changes the working directory of the process using -\fBchdir\fR\&. -.TP -\fBsession_on_completion = \fIyes\fB\fR -Controls if the session torrent is saved when a torrent finishes. By -default on. -.TP -\fBsession_lock = \fIyes\fB\fR -Controls if a lock file is created in the session directory on startup. -.TP -\fBsession_save = \fR -Save the session files for all downloads. -.TP -\fBtos = \fIdefault|lowdelay|throughput|reliability|mincost\fB\fR -.TP -\fBtos = \fIhex\fB\fR -Change the TOS of peer connections, by default set to -\fBthroughput\fR\&. If the option is set to -\fBdefault\fR then the system default TOS is used. A -hex value may be used for non-standard settings. -.TP -\fBhandshake_log = \fIyes\fB\fR -Enable logging of the peer handshake. This generates a large number of -log messages, but may be useful to debug connection problems. -.SH "AUTHORS" -.PP - -Jari "Rakshasa" Sundell <jaris@ifi.uio.no> diff --git a/net-p2p/rtorrent/files/rtorrentd.conf b/net-p2p/rtorrent/files/rtorrentd.conf deleted file mode 100644 index 5ff2328b2544..000000000000 --- a/net-p2p/rtorrent/files/rtorrentd.conf +++ /dev/null @@ -1 +0,0 @@ -USER="$USER" diff --git a/net-p2p/rtorrent/files/rtorrentd_at-r1.service b/net-p2p/rtorrent/files/rtorrentd_at-r1.service deleted file mode 100644 index bc9220353786..000000000000 --- a/net-p2p/rtorrent/files/rtorrentd_at-r1.service +++ /dev/null @@ -1,17 +0,0 @@ -# This configuration file is taken from the Arch wiki. -# https://wiki.archlinux.org/title/RTorrent#Systemd_service_as_a_daemon_for_a_user - -[Unit] -Description=rTorrent for %i -After=network.target - -[Service] -Type=simple -User=%i -Group=%i -WorkingDirectory=/home/%i -# Modify the next line to the absolute path for rtorrent.lock, for example -ExecStartPre=-/bin/rm -f /home/%i/.session/rtorrent.lock -ExecStart=/usr/bin/rtorrent -o system.daemon.set=true -Restart=on-failure -RestartSec=3 diff --git a/net-p2p/rtorrent/metadata.xml b/net-p2p/rtorrent/metadata.xml deleted file mode 100644 index a01a9bb3fd85..000000000000 --- a/net-p2p/rtorrent/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>perfinion@gentoo.org</email> - <name>Jason Zaman</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>nicolas.parlant@parhuet.fr</email> - <name>Nicolas PARLANT</name> - </maintainer> - <use> - <flag name="tinyxml2"> - Use vendor tinyxml2 instead of xmlrpc-c. This allows significant reduction in overhead - </flag> - </use> - <upstream> - <remote-id type="github">rakshasa/rtorrent</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/rtorrent/rtorrent-0.15.7.ebuild b/net-p2p/rtorrent/rtorrent-0.15.7.ebuild deleted file mode 100644 index ac4929ff43a8..000000000000 --- a/net-p2p/rtorrent/rtorrent-0.15.7.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# require 64-bit integer -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit autotools linux-info lua-single systemd toolchain-funcs - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rakshasa.github.io/rtorrent/" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git" -else - SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="amd64 arm64 ~ppc ppc64 x86 ~x64-macos ~x64-solaris" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug lua selinux test tinyxml2 xmlrpc" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tinyxml2? ( !xmlrpc ) -" - -COMMON_DEPEND=" - ~net-libs/libtorrent-${PV} - net-misc/curl - sys-libs/ncurses:0= - lua? ( ${LUA_DEPS} ) - xmlrpc? ( dev-libs/xmlrpc-c:=[libxml2] ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/nlohmann_json -" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-rtorrent ) -" -BDEPEND=" - virtual/pkgconfig - test? ( dev-util/cppunit ) -" - -DOCS=( doc/rtorrent.rc ) - -PATCHES=( - # fix configure w/ slibtool. merged in 0.16.0 - "${FILESDIR}"/${PN}-0.15.5-find_grep.patch -) - -pkg_setup() { - if ! linux_config_exists || ! linux_chkconfig_present IPV6; then - ewarn "rtorrent will not start without IPv6 support in your kernel" - ewarn "without further configuration. Please set bind=0.0.0.0 or" - ewarn "similar in your rtorrent.rc" - ewarn "Upstream bug: https://github.com/rakshasa/rtorrent/issues/732" - fi - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - - # use system-json - rm -r src/rpc/nlohmann || die - sed -e 's@"rpc/nlohmann/json.h"@<nlohmann/json.hpp>@' \ - -i src/rpc/jsonrpc.cc || die - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - if [[ ${CHOST} != *-darwin* ]]; then - # syslibroot is only for macos, change to sysroot for others - sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die - fi - - eautoreconf -} - -src_configure() { - # used by xmlrpc-c-config - tc-export PKG_CONFIG - local myeconfargs=( - $(use_enable debug) - $(use_with lua) - $(usev xmlrpc --with-xmlrpc-c) - $(usev tinyxml2 --with-xmlrpc-tinyxml2) - ) - - use lua && myeconfargs+=( - LUA_INCLUDE="-I$(lua_get_include_dir)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - doman doc/rtorrent.1 - - if use lua; then - insinto $(lua_get_lmod_dir) - doins ${PN}.lua - fi - - newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent - newconfd "${FILESDIR}/rtorrentd.conf" rtorrent - systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service" -} diff --git a/net-p2p/rtorrent/rtorrent-0.16.11.ebuild b/net-p2p/rtorrent/rtorrent-0.16.11.ebuild deleted file mode 100644 index 66b00b420839..000000000000 --- a/net-p2p/rtorrent/rtorrent-0.16.11.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# require 64-bit integer -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit autotools lua-single systemd toolchain-funcs - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rtorrent.net" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git" -else - SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug lua selinux systemd test tinyxml2 xmlrpc" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tinyxml2? ( !xmlrpc ) -" - -COMMON_DEPEND=" - ~net-libs/libtorrent-${PV} - sys-libs/ncurses:0= - virtual/zlib:= - lua? ( ${LUA_DEPS} ) - systemd? ( sys-apps/systemd:= ) - xmlrpc? ( dev-libs/xmlrpc-c:=[libxml2] ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/nlohmann_json - test? ( dev-util/cppunit ) -" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-rtorrent ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.16.9-cross_checks.patch -) - -DOCS=( doc/rtorrent.rc ) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - - # use system-json - rm -r src/rpc/nlohmann || die - sed -e 's@"rpc/nlohmann/json.h"@<nlohmann/json.hpp>@' \ - -i src/rpc/jsonrpc.cc || die - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - if [[ ${CHOST} != *-darwin* ]]; then - # syslibroot is only for macos, change to sysroot for others - sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable debug) - $(use_with lua) - $(use_with systemd) - $(usev xmlrpc --with-xmlrpc-c=$(tc-getPKG_CONFIG)) - $(usev tinyxml2 --with-xmlrpc-tinyxml2) - ) - - use lua && myeconfargs+=( - LUA_INCLUDE="$(lua_get_CFLAGS)" - LUA_LIB="$(lua_get_LIBS)" - LUA_VERSION="${ELUA/lua/}" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - doman doc/rtorrent.1 - - # lua file is installed then in the proper directory - rm "${ED}"/usr/share/rtorrent/lua/rtorrent.lua || die - if use lua; then - insinto $(lua_get_lmod_dir) - doins lua/${PN}.lua - fi - - newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent - newconfd "${FILESDIR}/rtorrentd.conf" rtorrent - systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service" -} - -pkg_postinst() { - einfo "This release could introduce new commands to configure RTorrent." - einfo "Please read the release notes before restarting:" - einfo "https://github.com/rakshasa/rtorrent/releases" - einfo "" - einfo "For configuration assistance, see:" - einfo "https://github.com/rakshasa/rtorrent/wiki" -} diff --git a/net-p2p/rtorrent/rtorrent-0.16.8.ebuild b/net-p2p/rtorrent/rtorrent-0.16.8.ebuild deleted file mode 100644 index 19765d6a5a13..000000000000 --- a/net-p2p/rtorrent/rtorrent-0.16.8.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# require 64-bit integer -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit autotools lua-single systemd toolchain-funcs - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rtorrent.net" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git" -else - SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos ~x64-solaris" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug lua selinux test tinyxml2 xmlrpc" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tinyxml2? ( !xmlrpc ) -" - -COMMON_DEPEND=" - ~net-libs/libtorrent-${PV} - sys-libs/ncurses:0= - lua? ( ${LUA_DEPS} ) - xmlrpc? ( dev-libs/xmlrpc-c:=[libxml2] ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/nlohmann_json -" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-rtorrent ) -" -BDEPEND=" - virtual/pkgconfig - test? ( dev-util/cppunit ) -" - -DOCS=( doc/rtorrent.rc ) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - - # use system-json - rm -r src/rpc/nlohmann || die - sed -e 's@"rpc/nlohmann/json.h"@<nlohmann/json.hpp>@' \ - -i src/rpc/jsonrpc.cc || die - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - if [[ ${CHOST} != *-darwin* ]]; then - # syslibroot is only for macos, change to sysroot for others - sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die - fi - - # don't test interpreter (fix cross-compile) - # vars for AX_LUA_LIBS/AX_LUA_HEADERS are defined in src_configure - sed -e '/AX_PROG_LUA/d' -i scripts/checks.m4 || die - - eautoreconf -} - -src_configure() { - # used by xmlrpc-c-config - tc-export PKG_CONFIG - local myeconfargs=( - $(use_enable debug) - $(use_with lua) - $(usev xmlrpc --with-xmlrpc-c) - $(usev tinyxml2 --with-xmlrpc-tinyxml2) - ) - - use lua && myeconfargs+=( - LUA_INCLUDE="$(lua_get_CFLAGS)" - LUA_LIB="$(lua_get_LIBS)" - LUA_VERSION="${ELUA/lua/}" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - doman doc/rtorrent.1 - - # lua file is installed then in the proper directory - rm "${ED}"/usr/share/rtorrent/lua/rtorrent.lua || die - if use lua; then - insinto $(lua_get_lmod_dir) - doins lua/${PN}.lua - fi - - newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent - newconfd "${FILESDIR}/rtorrentd.conf" rtorrent - systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service" -} - -pkg_postinst() { - einfo "This release could introduce new commands to configure RTorrent." - einfo "Please read the release notes before restarting:" - einfo "https://github.com/rakshasa/rtorrent/releases" - einfo "" - einfo "For configuration assistance, see:" - einfo "https://github.com/rakshasa/rtorrent/wiki" -} diff --git a/net-p2p/rtorrent/rtorrent-0.16.9.ebuild b/net-p2p/rtorrent/rtorrent-0.16.9.ebuild deleted file mode 100644 index 3d885b3f25b0..000000000000 --- a/net-p2p/rtorrent/rtorrent-0.16.9.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# require 64-bit integer -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit autotools lua-single systemd toolchain-funcs - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rtorrent.net" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git" -else - SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug lua selinux systemd test tinyxml2 xmlrpc" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tinyxml2? ( !xmlrpc ) -" - -COMMON_DEPEND=" - ~net-libs/libtorrent-${PV} - sys-libs/ncurses:0= - lua? ( ${LUA_DEPS} ) - systemd? ( sys-apps/systemd:= ) - xmlrpc? ( dev-libs/xmlrpc-c:=[libxml2] ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/nlohmann_json -" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-rtorrent ) -" -BDEPEND=" - virtual/pkgconfig - test? ( dev-util/cppunit ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.16.9-cross_checks.patch -) - -DOCS=( doc/rtorrent.rc ) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - - # use system-json - rm -r src/rpc/nlohmann || die - sed -e 's@"rpc/nlohmann/json.h"@<nlohmann/json.hpp>@' \ - -i src/rpc/jsonrpc.cc || die - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - if [[ ${CHOST} != *-darwin* ]]; then - # syslibroot is only for macos, change to sysroot for others - sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable debug) - $(use_with lua) - $(use_with systemd) - $(usev xmlrpc --with-xmlrpc-c=$(tc-getPKG_CONFIG)) - $(usev tinyxml2 --with-xmlrpc-tinyxml2) - ) - - use lua && myeconfargs+=( - LUA_INCLUDE="$(lua_get_CFLAGS)" - LUA_LIB="$(lua_get_LIBS)" - LUA_VERSION="${ELUA/lua/}" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - doman doc/rtorrent.1 - - # lua file is installed then in the proper directory - rm "${ED}"/usr/share/rtorrent/lua/rtorrent.lua || die - if use lua; then - insinto $(lua_get_lmod_dir) - doins lua/${PN}.lua - fi - - newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent - newconfd "${FILESDIR}/rtorrentd.conf" rtorrent - systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service" -} - -pkg_postinst() { - einfo "This release could introduce new commands to configure RTorrent." - einfo "Please read the release notes before restarting:" - einfo "https://github.com/rakshasa/rtorrent/releases" - einfo "" - einfo "For configuration assistance, see:" - einfo "https://github.com/rakshasa/rtorrent/wiki" -} diff --git a/net-p2p/rtorrent/rtorrent-9999.ebuild b/net-p2p/rtorrent/rtorrent-9999.ebuild deleted file mode 100644 index 66b00b420839..000000000000 --- a/net-p2p/rtorrent/rtorrent-9999.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# require 64-bit integer -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit autotools lua-single systemd toolchain-funcs - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rtorrent.net" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git" -else - SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug lua selinux systemd test tinyxml2 xmlrpc" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tinyxml2? ( !xmlrpc ) -" - -COMMON_DEPEND=" - ~net-libs/libtorrent-${PV} - sys-libs/ncurses:0= - virtual/zlib:= - lua? ( ${LUA_DEPS} ) - systemd? ( sys-apps/systemd:= ) - xmlrpc? ( dev-libs/xmlrpc-c:=[libxml2] ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/nlohmann_json - test? ( dev-util/cppunit ) -" -RDEPEND="${COMMON_DEPEND} - selinux? ( sec-policy/selinux-rtorrent ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.16.9-cross_checks.patch -) - -DOCS=( doc/rtorrent.rc ) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - - # use system-json - rm -r src/rpc/nlohmann || die - sed -e 's@"rpc/nlohmann/json.h"@<nlohmann/json.hpp>@' \ - -i src/rpc/jsonrpc.cc || die - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - if [[ ${CHOST} != *-darwin* ]]; then - # syslibroot is only for macos, change to sysroot for others - sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable debug) - $(use_with lua) - $(use_with systemd) - $(usev xmlrpc --with-xmlrpc-c=$(tc-getPKG_CONFIG)) - $(usev tinyxml2 --with-xmlrpc-tinyxml2) - ) - - use lua && myeconfargs+=( - LUA_INCLUDE="$(lua_get_CFLAGS)" - LUA_LIB="$(lua_get_LIBS)" - LUA_VERSION="${ELUA/lua/}" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - doman doc/rtorrent.1 - - # lua file is installed then in the proper directory - rm "${ED}"/usr/share/rtorrent/lua/rtorrent.lua || die - if use lua; then - insinto $(lua_get_lmod_dir) - doins lua/${PN}.lua - fi - - newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent - newconfd "${FILESDIR}/rtorrentd.conf" rtorrent - systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service" -} - -pkg_postinst() { - einfo "This release could introduce new commands to configure RTorrent." - einfo "Please read the release notes before restarting:" - einfo "https://github.com/rakshasa/rtorrent/releases" - einfo "" - einfo "For configuration assistance, see:" - einfo "https://github.com/rakshasa/rtorrent/wiki" -} diff --git a/net-p2p/stig/Manifest b/net-p2p/stig/Manifest deleted file mode 100644 index 9ff1bde0871e..000000000000 --- a/net-p2p/stig/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST stig-0.14.0a_p0.tar.gz 405694 BLAKE2B e4a8e23654238e9920f76d634174194245db3b46dba0a6106a8229dc6e2b01334adb8541166f2bdecbe79c8015dd715f76d7688419639d4161f15ae2d3f69ab8 SHA512 ff1c93b91526907c3f3d36d4a62cb94839192d0363ddadabe5e3d30f73183491c369a2c9318255080959b9b81c0e7edba20f02c60458644ffcf8146e31674880 -DIST stig-0.14.2a_p0.tar.gz 405776 BLAKE2B f48147769c46cd3c5f2acb8d0027faeaa5306ab4b39d58938175dafe01e479027dd590ce759f882c7bba039ca48801503b42c4d4dc28a99232c9bd8c597efab4 SHA512 9b457486d9f2dbe5c468caf8d2beca3dc5b3f0e1a2799a515830dee723863ec639cbb927c45e610a4e58b39aa02c28390bf7cc1c79a4658ade619d9e4852efce diff --git a/net-p2p/stig/metadata.xml b/net-p2p/stig/metadata.xml deleted file mode 100644 index db6450b63244..000000000000 --- a/net-p2p/stig/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <name>Kenton Groombridge</name> - <email>concord@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="github">rndusr/stig</remote-id> - <bugs-to>https://github.com/rndusr/stig/issues</bugs-to> - </upstream> -</pkgmetadata> diff --git a/net-p2p/stig/stig-0.14.0a_p0.ebuild b/net-p2p/stig/stig-0.14.0a_p0.ebuild deleted file mode 100644 index 54b0f83a2bc5..000000000000 --- a/net-p2p/stig/stig-0.14.0a_p0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 optfeature - -MY_PV="${PV//_p}" - -DESCRIPTION="TUI and CLI for the BitTorrent client Transmission" -HOMEPAGE="https://github.com/rndusr/stig" -SRC_URI="https://github.com/rndusr/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - ${PYTHON_DEPS} - dev-python/natsort[${PYTHON_USEDEP}] - >=dev-python/urwid-2.0.0[${PYTHON_USEDEP}] - >=dev-python/urwidtrees-1.0.3[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/natsort[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/multidict[${PYTHON_USEDEP}] -" - -pkg_postinst() { - optfeature "stripping arguments from process title when running in tmux sessions" dev-python/setproctitle - optfeature "SOCKS5, SOCKS4, or HTTP proxy tunneling support" dev-python/aiohttp-socks -} diff --git a/net-p2p/stig/stig-0.14.2a_p0.ebuild b/net-p2p/stig/stig-0.14.2a_p0.ebuild deleted file mode 100644 index 8687262eee0d..000000000000 --- a/net-p2p/stig/stig-0.14.2a_p0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature - -MY_PV="${PV//_p}" - -DESCRIPTION="TUI and CLI for the BitTorrent client Transmission" -HOMEPAGE="https://github.com/rndusr/stig" -SRC_URI="https://github.com/rndusr/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - ${PYTHON_DEPS} - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/multidict[${PYTHON_USEDEP}] - dev-python/natsort[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - >=dev-python/urwid-2.0.0[${PYTHON_USEDEP}] - >=dev-python/urwidtrees-1.0.3[${PYTHON_USEDEP}] -" - -pkg_postinst() { - optfeature "stripping arguments from process title when running in tmux sessions" dev-python/setproctitle - optfeature "SOCKS5, SOCKS4, or HTTP proxy tunneling support" dev-python/aiohttp-socks -} diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest deleted file mode 100644 index ada6c923bee1..000000000000 --- a/net-p2p/syncthing/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -DIST syncthing-source-v1.29.5.tar.gz 16044586 BLAKE2B d0e557d6158c3e568314725c06862b9b30f83e4e7f1322930dcdd30c80bee89730bfa3d4051ba45c1714901a96175dcd8e328feb87a4deeaadb7b4eb37e47fe0 SHA512 a11ee3e95ba656f2bfceddde10ef13d86dffc0cba78f428bf5cbba13a8bb6e0ef7eb9c8b75317596d56b7880465cf8972be6cf77258c7c53529c16d5310cc43d -DIST syncthing-source-v2.0.10.tar.gz 62668860 BLAKE2B 28f4c9abedfbcc0d74c27d7d705a27fbf3a5aa36bf5a5bea14efb3eb6b55ae43635d27ccff0dc2fa8918d5b2a88c63a2984f6af9a242c111c08a28f32e42bbc4 SHA512 7bd66902211402ac2af017fd3a7eae589a0b3dbb20d3e9f17a4e0760503b3ebd177d917d9d7345f4bf6cc6a2c43d748195b079272e199285aac7719ffc89ab87 -DIST syncthing-source-v2.0.10.tar.gz.asc 1391 BLAKE2B 746a183dc6cfe43ce414ae7128aa4ff50ca4681d6fcc692c8607bdbd70dab237b00d4c12dd7733b8255cd7d813eb25c1be09b2dae857963aec766afde6dfaf80 SHA512 8bf1ccab2670623b0bedaef7b196fad5a823068fb5c1922a7d6497ea431872311ad800413a96210df00c9907dbd85de8f563a3d635e76a1ef50641835998eb23 -DIST syncthing-source-v2.0.14.tar.gz 62621377 BLAKE2B 0b7228ab9cb749622fcdbb7856641b9c0b33e724ea149dfecd0ee892904c657349ff4fc7a94d711552563233e560a18d04eb3996ca853d3cba90c6d1e64065db SHA512 b272af5810d9c4ef0d9d00cb19f01b16f30d1373b718c09b3b1d235586881e6d46e10d37788ee995d5365edbc1fc04e701f42a5fc143306e3ec0dbefc2aaf538 -DIST syncthing-source-v2.0.14.tar.gz.asc 1391 BLAKE2B 5c504167484a2bcbf04e48769602fcc5a039fcccc756a8989efc6e448cdf31827c153a25fed6b9c4e636acb54c26d00ba7c5a672d8cf2cd33d929c7a142a0470 SHA512 493d3d47872e0b11aa3c55aed68dcce8941e4ac93fe1175623f3a77a6acee09074aef665c4c62eb8e5e92fa4dfdab9dfad5859686ca4f88d110204e3c639bbf7 -DIST syncthing-source-v2.0.15.tar.gz 62690897 BLAKE2B 532e5d56b27bdec444495fef4616a204c55a17b00ad7f8b2140d9a50d7e686ed56e9693b28dd8de56444de85869bbd4274a26f37ed39deb5d9779f86691836f2 SHA512 51aa331a843c9e87c990a1379ef88736a6de8e4994a623badc019b6d86400963470ea70cfa719a4001d63e77f7b78fcc75413761b5713d43ae5d0a80758ec7c1 -DIST syncthing-source-v2.0.15.tar.gz.asc 1391 BLAKE2B 7baf7edcaa3ab1b332d047c6b03b734a6ccd4ea9c4a778b08f5c89a1e5b917b48a3a8755f1c80c7a221b9351b38a61053b7e9cb6eb561ef2ba8189a2afb72657 SHA512 d62a11ca3c20910cd815160f0abc6080ad413ae96f7ab51c36f84b1f9b4e23bcf47fc9845af402d9967820352fa976580fb5e237c839b47f2382fdb71bfc75aa -DIST syncthing-source-v2.0.16.tar.gz 62749079 BLAKE2B a9c5f3f7c26506e1997d0e28713fee30c31fec6d79c2e89405e6b3f5f4fb0834d23eb380ad87ac2752d91aea5208b1955e91e92a47dd2a53080bb4b54890e800 SHA512 e5556a56ffcbe1f2830f6225e3acb0e5b15d879704908d94f8fbb9e06a520e5233600f11da469e220a36a55a6e96c1a2a6b7d4c67b50a18136018d089051e6fd -DIST syncthing-source-v2.0.16.tar.gz.asc 1391 BLAKE2B ae28c7037514065d63d784c3085c94e249626ad72b37b887dc9d49038ba3b89ec6be9884132ab5b19053d565e2da393ae71d850cd9515e6da983f29a75b47c90 SHA512 6821ac6ab15e5a9ca5f3944a2d4da20febaba1d9d41ee485492511a7cdf399e363e34fb44c94640e401e31befccace6a408f82891f55ded09406580923a41104 -DIST syncthing-source-v2.1.0.tar.gz 63030467 BLAKE2B a49e5eb507bd81483ff82d00d07de40b2b7df640190f3df98427ee41d96aa43eaacea34e8b9f37e5f1846044c2d4b25463048fe8b109b6b6b272c7f6be7074ab SHA512 ee6e14d9522e4d37063b90afcda20fc55dbd1a4a9faf7cd6fe34b9f7581a28572d8b8614e8821b5bfaca94c0a7456784f053f02878ac7872900a2752f19e3210 -DIST syncthing-source-v2.1.0.tar.gz.asc 1391 BLAKE2B 68c2835c37a78a123f4a04af0d04d3a0c8c7699532d8e38400ed535877d3b324ae2a220c70946c959d6c01f3a1c26425370acbe0a445bc2ce50892fc929af835 SHA512 c724d0cf5aab6dc27d72587ba3d51b2bb8932c88b65cdbe45a26b72210f2fd50ca37ba05d9a307035c963c15166595bcf36dacef3b6d11269dda70286720adba diff --git a/net-p2p/syncthing/files/stdiscosrv.confd b/net-p2p/syncthing/files/stdiscosrv.confd deleted file mode 100644 index e40a4b931db7..000000000000 --- a/net-p2p/syncthing/files/stdiscosrv.confd +++ /dev/null @@ -1,3 +0,0 @@ -# Options to pass to discosrv -# see /usr/libexec/syncthing/stdiscosrv --help for more information -SD_OPTS= diff --git a/net-p2p/syncthing/files/stdiscosrv.initd-r1 b/net-p2p/syncthing/files/stdiscosrv.initd-r1 deleted file mode 100644 index fee01c489893..000000000000 --- a/net-p2p/syncthing/files/stdiscosrv.initd-r1 +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -SD_USER=stdiscosrv -SD_GROUP=syncthing -SD_HOMEDIR=/var/lib/syncthing-discosrv -SD_LOGFILE=/var/log/syncthing/discosrv.log - - -description="Discovery service for syncthing" -command="/usr/libexec/syncthing/stdiscosrv" -command_args="${SD_OPTS}" -pidfile="/run/syncthing-discosrv.pid" -command_background="yes" -command_user="${SD_USER}:${SD_GROUP}" -directory="${SD_HOMEDIR}" -output_log="${SD_LOGFILE}" -error_log="${SD_LOGFILE}" - -depend() { - need net -} - -start_pre() { - checkpath -q -d -o ${SD_USER}:${SD_GROUP} ${SD_HOMEDIR} - checkpath -q -f -o ${SD_USER}:${SD_GROUP} ${SD_LOGFILE} -} diff --git a/net-p2p/syncthing/files/stdiscosrv.logrotate b/net-p2p/syncthing/files/stdiscosrv.logrotate deleted file mode 100644 index 406a1122a240..000000000000 --- a/net-p2p/syncthing/files/stdiscosrv.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/syncthing/stdiscosrv.log { - missingok - notifempty - sharedscripts - copytruncate -} diff --git a/net-p2p/syncthing/files/strelaysrv.confd b/net-p2p/syncthing/files/strelaysrv.confd deleted file mode 100644 index 00564f140542..000000000000 --- a/net-p2p/syncthing/files/strelaysrv.confd +++ /dev/null @@ -1,3 +0,0 @@ -# Options to pass to relaysrv -# see /usr/libexec/syncthing/strelaysrv --help for more information -SR_OPTS= diff --git a/net-p2p/syncthing/files/strelaysrv.initd-r1 b/net-p2p/syncthing/files/strelaysrv.initd-r1 deleted file mode 100644 index 3a8b36eda99c..000000000000 --- a/net-p2p/syncthing/files/strelaysrv.initd-r1 +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -SR_USER=strelaysrv -SR_GROUP=syncthing -SR_HOMEDIR=/var/lib/syncthing-relaysrv -SR_LOGFILE=/var/log/syncthing/relaysrv.log - - -description="Relay service for syncthing" -command="/usr/libexec/syncthing/strelaysrv" -command_args="${SR_OPTS}" -pidfile="/run/syncthing-relaysrv.pid" -command_background="yes" -command_user="${SR_USER}:${SR_GROUP}" -directory="${SR_HOMEDIR}" -output_log="${SR_LOGFILE}" -error_log="${SR_LOGFILE}" - -depend() { - need net -} - -start_pre() { - checkpath -q -d -o ${SR_USER}:${SR_GROUP} ${SR_HOMEDIR} - checkpath -q -f -o ${SR_USER}:${SR_GROUP} ${SR_LOGFILE} -} diff --git a/net-p2p/syncthing/files/strelaysrv.logrotate b/net-p2p/syncthing/files/strelaysrv.logrotate deleted file mode 100644 index eb40ac2d1fc1..000000000000 --- a/net-p2p/syncthing/files/strelaysrv.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/syncthing/strelaysrv.log { - missingok - notifempty - sharedscripts - copytruncate -} diff --git a/net-p2p/syncthing/files/syncthing-1.18.4-tool_users.patch b/net-p2p/syncthing/files/syncthing-1.18.4-tool_users.patch deleted file mode 100644 index a0237884bf21..000000000000 --- a/net-p2p/syncthing/files/syncthing-1.18.4-tool_users.patch +++ /dev/null @@ -1,25 +0,0 @@ -Let us save ourselves the pain of messing with renamed system accounts -use the old names, for now at least. - ---- a/cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service -+++ b/cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service -@@ -9,7 +9,7 @@ - ExecStart=/usr/bin/stdiscosrv $DISCOSRV_OPTS - - # Hardening --User=syncthing-discosrv -+User=stdiscosrv - Group=syncthing - ProtectSystem=strict - ReadWritePaths=/var/lib/syncthing-discosrv ---- a/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service -+++ b/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service -@@ -9,7 +9,7 @@ - ExecStart=/usr/bin/strelaysrv -nat=${NAT} $RELAYSRV_OPTS - - # Hardening --User=syncthing-relaysrv -+User=strelaysrv - Group=syncthing - ProtectSystem=strict - ReadWritePaths=/var/lib/syncthing-relaysrv diff --git a/net-p2p/syncthing/files/syncthing-1.29.5-remove_race_in_tests.patch b/net-p2p/syncthing/files/syncthing-1.29.5-remove_race_in_tests.patch deleted file mode 100644 index eb7b1faceb55..000000000000 --- a/net-p2p/syncthing/files/syncthing-1.29.5-remove_race_in_tests.patch +++ /dev/null @@ -1,15 +0,0 @@ -This patch removes conditional appending of "-race" flag. -It is needed as we build in PIE mode and race is incompatible with that. - -https://bugs.gentoo.org/955442 ---- a/build.go -+++ b/build.go -@@ -396,7 +396,7 @@ - } - args = append(args, "-timeout", timeout) - -- if runtime.GOARCH == "amd64" { -+ if false { - switch runtime.GOOS { - case buildpkg.Darwin, buildpkg.Linux, buildpkg.FreeBSD: // , "windows": # See https://github.com/golang/go/issues/27089 - args = append(args, "-race") diff --git a/net-p2p/syncthing/files/syncthing-1.3.4-TestIssue5063_timeout.patch b/net-p2p/syncthing/files/syncthing-1.3.4-TestIssue5063_timeout.patch deleted file mode 100644 index 3148dc8a976c..000000000000 --- a/net-p2p/syncthing/files/syncthing-1.3.4-TestIssue5063_timeout.patch +++ /dev/null @@ -1,18 +0,0 @@ -As of early April 2020, running the Syncthing test suite on the Gentoo ppc64 -buildhost fails due to TestIssue5063 timing out. Increase the time-out -threshold for this test to allow it to pass. - -Other arches we currently support (i.e. amd64, arm and x86) shouldn't be -affected by the change because thay have always passed so far anyway. - ---- a/lib/model/model_test.go -+++ b/lib/model/model_test.go -@@ -914,7 +914,7 @@ - }() - select { - case <-finished: -- case <-time.After(10 * time.Second): -+ case <-time.After(20 * time.Second): - pprof.Lookup("goroutine").WriteTo(os.Stdout, 1) - t.Fatal("Timed out before all devices were added") - } diff --git a/net-p2p/syncthing/files/syncthing.confd b/net-p2p/syncthing/files/syncthing.confd deleted file mode 100644 index eb70f1adef95..000000000000 --- a/net-p2p/syncthing/files/syncthing.confd +++ /dev/null @@ -1,28 +0,0 @@ -# /etc/conf.d/syncthing: config file for /etc/init.d/syncthing - -# User and group as which to run -#SYNCTHING_USER="syncthing" -#SYNCTHING_GROUP="syncthing" - -# Configuration directory -#SYNCTHING_HOMEDIR="/var/lib/syncthing/.config/syncthing" - -# Log file location -#SYNCTHING_LOGFILE="/var/log/syncthing/syncthing.log" - -# umask used to create files -# The default allows group access -#SYNCTHING_UMASK=007 - -# I/O nice level of syncthing -#SYNCTHING_IONICE="0" - -# Nice level of syncthing -#SYNCTHING_NICE="0" - -# Where the syncthing GUI should listen. Can be a http(s) URI or a Unix domain socket -#SYNCTHING_GUI_ADDRESS="http://127.0.0.1:8384" -#SYNCTHING_GUI_ADDRESS="unix:/run/syncthing.sock" - -# Extra options for syncthing -#SYNCTHING_OPTS="" diff --git a/net-p2p/syncthing/files/syncthing.confd-r1 b/net-p2p/syncthing/files/syncthing.confd-r1 deleted file mode 100644 index 364042628686..000000000000 --- a/net-p2p/syncthing/files/syncthing.confd-r1 +++ /dev/null @@ -1,28 +0,0 @@ -# /etc/conf.d/syncthing: config file for /etc/init.d/syncthing - -# umask used to create files -# The default allows group access -#umask=007 - -# Nice level of syncthing -#SSD_NICELEVEL=0 - -# I/O nice level of syncthing -#SSD_IONICELEVEL=0 - -# User and group as which to run -#SYNCTHING_USER=syncthing -#SYNCTHING_GROUP=syncthing - -# Configuration directory -#SYNCTHING_HOMEDIR="/var/lib/syncthing/.config/syncthing" - -# Log file location -#SYNCTHING_LOGFILE="/var/log/syncthing/syncthing.log" - -# Where the syncthing GUI should listen. Can be a http(s) URI or a Unix domain socket -#SYNCTHING_GUI_ADDRESS="http://127.0.0.1:8384" -#SYNCTHING_GUI_ADDRESS="unix:/run/syncthing.sock" - -# Extra options for syncthing -#SYNCTHING_OPTS="" diff --git a/net-p2p/syncthing/files/syncthing.confd-r2 b/net-p2p/syncthing/files/syncthing.confd-r2 deleted file mode 100644 index f9b4412c1e19..000000000000 --- a/net-p2p/syncthing/files/syncthing.confd-r2 +++ /dev/null @@ -1,27 +0,0 @@ -# /etc/conf.d/syncthing: config file for /etc/init.d/syncthing - -# umask used to create files -# The default allows group access -#umask=007 - -# Nice level of syncthing -#SSD_NICELEVEL=0 - -# I/O nice level of syncthing -#SSD_IONICELEVEL=0 - -# User and group as which to run -#command_user="syncthing:syncthing" - -# Configuration directory -#SYNCTHING_HOMEDIR="/var/lib/syncthing/.config/syncthing" - -# Log file location -#SYNCTHING_LOGFILE="/var/log/syncthing/syncthing.log" - -# Where the syncthing GUI should listen. Can be a http(s) URI or a Unix domain socket -#SYNCTHING_GUI_ADDRESS="http://127.0.0.1:8384" -#SYNCTHING_GUI_ADDRESS="unix:/run/syncthing.sock" - -# Extra options for syncthing -#SYNCTHING_OPTS="" diff --git a/net-p2p/syncthing/files/syncthing.initd-r2 b/net-p2p/syncthing/files/syncthing.initd-r2 deleted file mode 100644 index d8e46180df12..000000000000 --- a/net-p2p/syncthing/files/syncthing.initd-r2 +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -SYNCTHING_USER=${SYNCTHING_USER:-syncthing} -SYNCTHING_GROUP=${SYNCTHING_GROUP:-syncthing} -SYNCTHING_HOMEDIR=${SYNCTHING_HOMEDIR:-/var/lib/syncthing/.config/syncthing} -SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-/var/log/syncthing/syncthing.log} -SYNCTHING_UMASK=${SYNCTHING_UMASK:-007} -SYNCTHING_IONICE=${SYNCTHING_IONICE:-0} -SYNCTHING_NICE=${SYNCTHING_NICE:-0} -SYNCTHING_GUI_ADDRESS=${SYNCTHING_GUI_ADDRESS:-http://127.0.0.1:8384} - -description="Syncthing is an open, trustworthy and decentralized cloud storage system" -command="/usr/bin/syncthing" -command_args="-no-browser -home=${SYNCTHING_HOMEDIR} -gui-address=${SYNCTHING_GUI_ADDRESS} ${SYNCTHING_OPTS}" -pidfile="/run/${RC_SVCNAME}.pid" -command_background="yes" -command_user="${SYNCTHING_USER}:${SYNCTHING_GROUP}" -umask="${SYNCTHING_UMASK}" -start_stop_daemon_args="--ionice ${SYNCTHING_IONICE} \ - --nicelevel ${SYNCTHING_NICE}" -output_log="\"${SYNCTHING_LOGFILE}\"" -error_log="\"${SYNCTHING_LOGFILE}\"" - -depend() { - need localmount net -} - -start_pre() { - checkpath -q -d -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_HOMEDIR} - checkpath -q -f -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_LOGFILE} -} diff --git a/net-p2p/syncthing/files/syncthing.initd-r4 b/net-p2p/syncthing/files/syncthing.initd-r4 deleted file mode 100644 index 907ab6b21d7f..000000000000 --- a/net-p2p/syncthing/files/syncthing.initd-r4 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -SYNCTHING_USER=${SYNCTHING_USER:-syncthing} -SYNCTHING_GROUP=${SYNCTHING_GROUP:-syncthing} -SYNCTHING_HOMEDIR=${SYNCTHING_HOMEDIR:-/var/lib/syncthing/.config/syncthing} -SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-/var/log/syncthing/syncthing.log} -SYNCTHING_GUI_ADDRESS=${SYNCTHING_GUI_ADDRESS:-http://127.0.0.1:8384} - -description="Syncthing is an open, trustworthy and decentralized cloud storage system" -command="/usr/bin/syncthing" -command_args="--no-browser --home=${SYNCTHING_HOMEDIR} --gui-address=${SYNCTHING_GUI_ADDRESS} ${SYNCTHING_OPTS}" -pidfile="/run/${RC_SVCNAME}.pid" -command_background="yes" -command_user="${SYNCTHING_USER}:${SYNCTHING_GROUP}" -output_log="\"${SYNCTHING_LOGFILE}\"" -error_log="\"${SYNCTHING_LOGFILE}\"" - -depend() { - need localmount - after net -} - -start_pre() { - checkpath -q -d -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_HOMEDIR} - checkpath -q -f -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_LOGFILE} -} diff --git a/net-p2p/syncthing/files/syncthing.initd-r5 b/net-p2p/syncthing/files/syncthing.initd-r5 deleted file mode 100644 index ce34a6e31350..000000000000 --- a/net-p2p/syncthing/files/syncthing.initd-r5 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${command_user:="syncthing:syncthing"} -SYNCTHING_HOMEDIR=${SYNCTHING_HOMEDIR:-/var/lib/syncthing/.config/syncthing} -SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-/var/log/syncthing/syncthing.log} -SYNCTHING_GUI_ADDRESS=${SYNCTHING_GUI_ADDRESS:-http://127.0.0.1:8384} - -description="Open Source Continuous File Synchronization" -command="/usr/bin/syncthing" -supervisor=supervise-daemon - -command_args="serve --no-browser --no-restart \ - --home=${SYNCTHING_HOMEDIR} \ - --log-file=\"${SYNCTHING_LOGFILE}\" - --no-log-format-level-string --log-format-level-syslog \ - --gui-address=${SYNCTHING_GUI_ADDRESS} \ - ${SYNCTHING_OPTS}" - -depend() { - need localmount - after net -} - -start_pre() { - checkpath -q -d -o "${command_user}" "${SYNCTHING_HOMEDIR}" - checkpath -q -f -o "${command_user}" "${SYNCTHING_LOGFILE}" -} diff --git a/net-p2p/syncthing/files/syncthing.initd-user b/net-p2p/syncthing/files/syncthing.initd-user deleted file mode 100644 index 246cb01bec6e..000000000000 --- a/net-p2p/syncthing/files/syncthing.initd-user +++ /dev/null @@ -1,7 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License, v2 or later - -supervisor=supervise-daemon -command="/usr/bin/syncthing" -command_args="serve --no-browser --no-restart --logflags=0" diff --git a/net-p2p/syncthing/files/syncthing.initd-user-r2 b/net-p2p/syncthing/files/syncthing.initd-user-r2 deleted file mode 100644 index 985180ede785..000000000000 --- a/net-p2p/syncthing/files/syncthing.initd-user-r2 +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License, v2 or later - -SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-$HOME/.config/syncthing/syncthing.log} -SYNCTHING_GUI_ADDRESS=${SYNCTHING_GUI_ADDRESS:-http://127.0.0.1:8384} - -description="Open Source Continuous File Synchronization" -command="/usr/bin/syncthing" -supervisor=supervise-daemon - -command_args="serve --no-browser --no-restart \ - --log-file=\"${SYNCTHING_LOGFILE}\" - --no-log-format-level-string --log-format-level-syslog \ - --gui-address=${SYNCTHING_GUI_ADDRESS} \ - ${SYNCTHING_OPTS}" - -depend() { - after net -} - -start_pre() { - checkpath -q -f -o "${command_user}" "${SYNCTHING_LOGFILE}" -} diff --git a/net-p2p/syncthing/files/syncthing.logrotate b/net-p2p/syncthing/files/syncthing.logrotate deleted file mode 100644 index 11310e381afd..000000000000 --- a/net-p2p/syncthing/files/syncthing.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/syncthing/syncthing.log { - missingok - notifempty - sharedscripts - copytruncate -} diff --git a/net-p2p/syncthing/metadata.xml b/net-p2p/syncthing/metadata.xml deleted file mode 100644 index 555f24ddc127..000000000000 --- a/net-p2p/syncthing/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mschiff@gentoo.org</email> - <name>Marc Schiffbauer</name> - </maintainer> - <longdescription lang="en"> - Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. - Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet. - </longdescription> - <use> - <flag name="tools"> - Install stdiscosrv, strelaysrv and other tools to /usr/libexec/syncthing/. - </flag> - </use> - <upstream> - <remote-id type="github">syncthing/syncthing</remote-id> - <bugs-to>https://github.com/syncthing/syncthing/issues</bugs-to> - </upstream> -</pkgmetadata> diff --git a/net-p2p/syncthing/syncthing-1.29.5.ebuild b/net-p2p/syncthing/syncthing-1.29.5.ebuild deleted file mode 100644 index 428f516d948e..000000000000 --- a/net-p2p/syncthing/syncthing-1.29.5.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop go-module systemd xdg-utils - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -IUSE="selinux tools" - -RDEPEND=" - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=">=dev-lang/go-1.21.0" - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - GOARCH= CGO_ENABLED=1 go run build.go -version "v${PV}" -no-upgrade -build-out=bin/ \ - ${GOARCH:+-goarch="${GOARCH}"} \ - build $(usev tools all) || die "build failed" -} - -src_test() { - go run build.go test || die "test failed" -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-p2p/syncthing/syncthing-2.0.10.ebuild b/net-p2p/syncthing/syncthing-2.0.10.ebuild deleted file mode 100644 index 1a540a944b23..000000000000 --- a/net-p2p/syncthing/syncthing-2.0.10.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit eapi9-ver desktop go-module systemd verify-sig xdg - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz - verify-sig? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc - ) -" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -IUSE="selinux tools" - -DEPEND=" - dev-db/sqlite:3 -" -RDEPEND=" - ${DEPEND} - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-syncthing ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - # https://github.com/mattn/go-sqlite3#linux - # -tags libsqlite3: use system sqlite3 instead of bundled - ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \ - build $(usev tools all) -} - -src_test() { - ego run build.go test -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r4 ${PN} - exeinto /etc/user/init.d - newexe "${FILESDIR}"/syncthing.initd-user syncthing - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - if ver_replacing -lt 2.0 ; then - elog "Major changes in 2.0:" - elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md" - fi -} diff --git a/net-p2p/syncthing/syncthing-2.0.14.ebuild b/net-p2p/syncthing/syncthing-2.0.14.ebuild deleted file mode 100644 index 55503a7c732b..000000000000 --- a/net-p2p/syncthing/syncthing-2.0.14.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit eapi9-ver desktop go-module systemd verify-sig xdg - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz - verify-sig? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc - ) -" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="selinux tools" - -DEPEND=" - dev-db/sqlite:3 -" -RDEPEND=" - ${DEPEND} - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-syncthing ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - # https://github.com/mattn/go-sqlite3#linux - # -tags libsqlite3: use system sqlite3 instead of bundled - ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \ - build $(usev tools all) -} - -src_test() { - ego run build.go test -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN} - exeinto /etc/user/init.d - newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - if ver_replacing -lt 2.0 ; then - elog "Major changes in 2.0:" - elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md" - fi -} diff --git a/net-p2p/syncthing/syncthing-2.0.15.ebuild b/net-p2p/syncthing/syncthing-2.0.15.ebuild deleted file mode 100644 index 55503a7c732b..000000000000 --- a/net-p2p/syncthing/syncthing-2.0.15.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit eapi9-ver desktop go-module systemd verify-sig xdg - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz - verify-sig? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc - ) -" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="selinux tools" - -DEPEND=" - dev-db/sqlite:3 -" -RDEPEND=" - ${DEPEND} - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-syncthing ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - # https://github.com/mattn/go-sqlite3#linux - # -tags libsqlite3: use system sqlite3 instead of bundled - ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \ - build $(usev tools all) -} - -src_test() { - ego run build.go test -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN} - exeinto /etc/user/init.d - newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - if ver_replacing -lt 2.0 ; then - elog "Major changes in 2.0:" - elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md" - fi -} diff --git a/net-p2p/syncthing/syncthing-2.0.16.ebuild b/net-p2p/syncthing/syncthing-2.0.16.ebuild deleted file mode 100644 index a24e1e29714f..000000000000 --- a/net-p2p/syncthing/syncthing-2.0.16.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit eapi9-ver desktop go-module systemd verify-sig xdg - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz - verify-sig? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc - ) -" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86" -IUSE="selinux tools" - -DEPEND=" - dev-db/sqlite:3 -" -RDEPEND=" - ${DEPEND} - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=" - >=dev-lang/go-1.25.0 - verify-sig? ( sec-keys/openpgp-keys-syncthing ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - # https://github.com/mattn/go-sqlite3#linux - # -tags libsqlite3: use system sqlite3 instead of bundled - ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \ - build $(usev tools all) -} - -src_test() { - ego run build.go test -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN} - exeinto /etc/user/init.d - newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - if ver_replacing -lt 2.0 ; then - elog "Major changes in 2.0:" - elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md" - fi -} diff --git a/net-p2p/syncthing/syncthing-2.1.0.ebuild b/net-p2p/syncthing/syncthing-2.1.0.ebuild deleted file mode 100644 index 73bfd5f459a9..000000000000 --- a/net-p2p/syncthing/syncthing-2.1.0.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit eapi9-ver desktop go-module systemd verify-sig xdg - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net https://github.com/syncthing/syncthing" -SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz - verify-sig? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz.asc - ) -" -S="${WORKDIR}"/${PN} - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="selinux tools" - -DEPEND=" - dev-db/sqlite:3 -" -RDEPEND=" - ${DEPEND} - acct-group/syncthing - acct-user/syncthing - tools? ( - >=acct-user/stdiscosrv-1 - >=acct-user/strelaysrv-1 - ) - selinux? ( sec-policy/selinux-syncthing ) -" -BDEPEND=" - >=dev-lang/go-1.25.0 - verify-sig? ( sec-keys/openpgp-keys-syncthing ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/syncthing.asc - -DOCS=( AUTHORS {GOALS,README}.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.4-TestIssue5063_timeout.patch - "${FILESDIR}"/${PN}-1.18.4-tool_users.patch - "${FILESDIR}"/${PN}-1.29.5-remove_race_in_tests.patch #955442 -) - -src_prepare() { - # Bug #679280 - xdg_environment_reset - - default - - local srv - for srv in st{disco,relay}srv; do - sed -i \ - 's|^ExecStart=.*|ExecStart=/usr/libexec/${PN}/${srv}|' \ - cmd/${srv}/etc/linux-systemd/${srv}.service || die - done; -} - -src_compile() { - # https://github.com/mattn/go-sqlite3#linux - # -tags libsqlite3: use system sqlite3 instead of bundled - ego run build.go -version "v${PV}" -tags "libsqlite3" -no-upgrade -build-out=bin/ \ - build $(usev tools all) -} - -src_test() { - ego run build.go test -} - -src_install() { - dobin bin/${PN} - - doman man/*.[157] - einstalldocs - - domenu etc/linux-desktop/${PN}-{start,ui}.desktop - local -i icon_size - for icon_size in 32 64 128 256 512; do - newicon -s ${icon_size} assets/logo-${icon_size}.png ${PN}.png - done - newicon -s scalable assets/logo-only.svg ${PN}.svg - - systemd_dounit etc/linux-systemd/system/${PN}@.service - systemd_douserunit etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}"/${PN}.confd-r2 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r5 ${PN} - exeinto /etc/user/init.d - newexe "${FILESDIR}"/syncthing.initd-user-r2 syncthing - - keepdir /var/log/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - insinto /etc/ufw/applications.d - doins etc/firewall-ufw/${PN} - - if use tools; then - exeinto /usr/libexec/${PN} - insinto /etc/logrotate.d - - local srv - for srv in st{disco,relay}srv; do - doexe bin/${srv} - systemd_dounit cmd/${srv}/etc/linux-systemd/${srv}.service - newconfd "${FILESDIR}"/${srv}.confd ${srv} - newinitd "${FILESDIR}"/${srv}.initd-r1 ${srv} - - newins "${FILESDIR}"/${srv}.logrotate ${srv} - done - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - if ver_replacing -lt 2.0 ; then - elog "Major changes in 2.0:" - elog "https://github.com/syncthing/syncthing/blob/v${PV}/relnotes/v2.0.md" - fi -} diff --git a/net-p2p/syncthingtray/Manifest b/net-p2p/syncthingtray/Manifest deleted file mode 100644 index 853838574e1c..000000000000 --- a/net-p2p/syncthingtray/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST syncthingtray-2.0.7.tar.gz 6018417 BLAKE2B 8405ed95f273b3607ddb6f5ddf2ab22838c41ba556352c4c0d88b672b28ac8e7e2f79a750cbee5b7b5f06ca5443db8fc2f1afd4db419c4c07c792ec866aa57af SHA512 725dd3c9e784dba34fcc917799850468337fc2b36db8718d5b832ac28711a246264a1f2c917214d636a23cfabafc1533734d2a1ec8a1b76401e32a5c768abe81 -DIST syncthingtray-2.0.9.tar.gz 6701899 BLAKE2B 15dc3cfebd0574861e4d8bf2640ca9051a7421aa059bcecd8f96c2a8c7b2200ebd53ef82f3280389496890cf247a8ad52da2d84ae298ca3b4109848334461c44 SHA512 3e072baa6f2db047309420add8c8691e06288082165255da510f9007ab1bd6edf355e0f67a29a28d83fecce8bdf6f3aa5a56442deb91618b85165f761c2fa57d diff --git a/net-p2p/syncthingtray/metadata.xml b/net-p2p/syncthingtray/metadata.xml deleted file mode 100644 index fc14b7c0cf18..000000000000 --- a/net-p2p/syncthingtray/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>esteve.varela@gmail.com</email> - <name>Esteve Varela Colominas</name> - </maintainer> - <upstream> - <remote-id type="github">Martchus/syncthingtray</remote-id> - </upstream> - <use> - <flag name="kio">Enable file item action plugin in <pkg>kde-apps/dolphin</pkg></flag> - <flag name="plasmoid">Enable plasmoid for KDE Plasma</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/syncthingtray/syncthingtray-2.0.7.ebuild b/net-p2p/syncthingtray/syncthingtray-2.0.7.ebuild deleted file mode 100644 index 0bb48bd200ea..000000000000 --- a/net-p2p/syncthingtray/syncthingtray-2.0.7.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake virtualx - -DESCRIPTION="Tray application and Dolphin/Plasma integration for Syncthing" -HOMEPAGE="https://github.com/Martchus/syncthingtray" - -SRC_URI="https://github.com/Martchus/syncthingtray/archive/refs/tags/v$PV.tar.gz -> $P.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="kio plasmoid test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost - dev-qt/qtbase:6[concurrent,network] - dev-qt/qtsvg:6 - gui-libs/qtforkawesome[qt6(+)] - gui-libs/qtutilities[qt6(+)] - kio? ( kde-frameworks/kio:6 ) - plasmoid? ( kde-plasma/libplasma:6 ) -" -RDEPEND="$DEPEND - net-p2p/syncthing -" -BDEPEND=" - test? ( - dev-util/cppunit - net-p2p/syncthing - ) - plasmoid? ( kde-frameworks/extra-cmake-modules ) -" - -src_configure() { - local mycmakeargs=( - -DCONFIGURATION_PACKAGE_SUFFIX_QTUTILITIES=-qt6 - -DQT_PACKAGE_PREFIX=Qt6 - -DKF_PACKAGE_PREFIX=KF6 - -DNO_FILE_ITEM_ACTION_PLUGIN=$(usex !kio) - -DNO_PLASMOID=$(usex !plasmoid) - -DEXCLUDE_TESTS_FROM_ALL=$(usex !test) - ) - cmake_src_configure -} - -src_test() { - virtx cmake_src_test -} diff --git a/net-p2p/syncthingtray/syncthingtray-2.0.9.ebuild b/net-p2p/syncthingtray/syncthingtray-2.0.9.ebuild deleted file mode 100644 index c4a5daa897f9..000000000000 --- a/net-p2p/syncthingtray/syncthingtray-2.0.9.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake virtualx - -DESCRIPTION="Tray application and Dolphin/Plasma integration for Syncthing" -HOMEPAGE="https://github.com/Martchus/syncthingtray" - -SRC_URI="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="kio plasmoid test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost - dev-qt/qtbase:6[concurrent,network] - dev-qt/qtsvg:6 - gui-libs/qtforkawesome[qt6(+)] - gui-libs/qtutilities[qt6(+)] - kio? ( kde-frameworks/kio:6 ) - plasmoid? ( kde-plasma/libplasma:6 ) -" -RDEPEND="${DEPEND} - net-p2p/syncthing -" -BDEPEND=" - test? ( - dev-util/cppunit - net-p2p/syncthing - ) - plasmoid? ( kde-frameworks/extra-cmake-modules ) -" - -src_configure() { - local mycmakeargs=( - -DCONFIGURATION_PACKAGE_SUFFIX_QTUTILITIES=-qt6 - -DQT_PACKAGE_PREFIX=Qt6 - -DKF_PACKAGE_PREFIX=KF6 - -DNO_FILE_ITEM_ACTION_PLUGIN=$(usex !kio) - -DNO_PLASMOID=$(usex !plasmoid) - -DEXCLUDE_TESTS_FROM_ALL=$(usex !test) - ) - cmake_src_configure -} - -src_test() { - virtx cmake_src_test -} diff --git a/net-p2p/torrentinfo/Manifest b/net-p2p/torrentinfo/Manifest deleted file mode 100644 index 21c14eb4fd51..000000000000 --- a/net-p2p/torrentinfo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST torrentinfo-1.8.7.tar.gz 22325 BLAKE2B 07947a2b3b66b6bc25954f689bf8c070e75b6d0eca5f0f02900abfa9526f55aa9712b7c923fa4a5198050cbe83abb64ebc9154c4c32cb6b6cfb6b5b5bab104bd SHA512 751d4ca9d666058e768fee5c4469f9a76f6d1f6eb503271cf45d2c850f92cf0467723d94e8c6e5a78801be83aa3f83a30eb615b8a3dd7baa5bcc67e9a4544547 diff --git a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch deleted file mode 100644 index 1c9f5dfae4dc..000000000000 --- a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 26ad58f68927186a1216ca8ae4596a8132191dcf Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sat, 30 Jan 2016 15:06:35 +0100 -Subject: [PATCH] Fix #15 by making the output predictably sorted - -Fixes https://github.com/Fuuzetsu/torrentinfo/issues/15 ---- - src/torrentinfo.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/torrentinfo.py b/src/torrentinfo.py -index a8ffea4..07b653b 100755 ---- a/src/torrentinfo.py -+++ b/src/torrentinfo.py -@@ -569,7 +569,7 @@ def list_files(config, torrent, detailed=False): - - config.formatter.string_format(TextFormatter.NORMAL, config, '\n') - if detailed: -- for kwrd in filestorrent[index]: -+ for kwrd in sorted(filestorrent[index], reverse=True): - start_line(config, kwrd, 3, postfix='\n') - dump(filestorrent[index][kwrd], config, 4) - else: diff --git a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch deleted file mode 100644 index 260b5c494321..000000000000 --- a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ce97e73493bded33bf83934bd7affd49aff58379 Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sat, 5 Nov 2022 02:54:34 +0100 -Subject: [PATCH] Remove dependency on nose, fixes #17 - -Also rename the test file so that it uses a standard name that pytest -autodetects. ---- - test/{tests.py => test_torrentinfo.py} | 5 ----- - 1 file changed, 5 deletions(-) - rename test/{tests.py => test_torrentinfo.py} (99%) - mode change 100755 => 100644 - -diff --git a/test/tests.py b/test/test_torrentinfo.py -old mode 100755 -new mode 100644 -similarity index 99% -rename from test/tests.py -rename to test/test_torrentinfo.py -index 9e67c9c..ba9bbc7 ---- a/test/tests.py -+++ b/test/test_torrentinfo.py -@@ -27,7 +27,6 @@ - from io import StringIO - - import unittest --import nose - import re - import torrentinfo - -@@ -704,7 +703,3 @@ def test_is_printable_ascii_success(self): - test_string = 'perfectly printable ascii' - torrentinfo.dump(test_string, self.config, 0, newline=False) - self.assertEqual(self.out.getvalue(), test_string) -- -- --if __name__ == '__main__': -- nose.main(buffer=True) diff --git a/net-p2p/torrentinfo/metadata.xml b/net-p2p/torrentinfo/metadata.xml deleted file mode 100644 index 5043a2b3e527..000000000000 --- a/net-p2p/torrentinfo/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sbraz@gentoo.org</email> - <name>Louis Sautier</name> - </maintainer> - <upstream> - <maintainer> - <email>fuuzetsu@fuuzetsu.co.uk</email> - <name>Mateusz Kowalczyk</name> - </maintainer> - <bugs-to>https://github.com/ShanaTsunTsunLove/torrentinfo/issues</bugs-to> - <remote-id type="github">Fuuzetsu/torrentinfo</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild deleted file mode 100644 index c4456a9be0f3..000000000000 --- a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="A torrent file parser" -HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo" -SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" - -PATCHES=( - # https://github.com/Fuuzetsu/torrentinfo/pull/16 - "${FILESDIR}/${PN}-1.8.6-fix-tests.patch" - # https://github.com/Fuuzetsu/torrentinfo/pull/18 - "${FILESDIR}/${PN}-1.8.6-remove-nose.patch" -) - -distutils_enable_tests pytest diff --git a/net-p2p/transmission-remote-gtk/Manifest b/net-p2p/transmission-remote-gtk/Manifest deleted file mode 100644 index f87ca32dae61..000000000000 --- a/net-p2p/transmission-remote-gtk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST transmission-remote-gtk-1.5.1.tar.xz 236804 BLAKE2B b2aeb4641a0ab55d2a212cdb04e8929c8c580e2f20a9a60fce7977404d1f0af64b5fc9ff2f9d7dd7d5744dddc34181d689c8dcab34cc23a0989a7e7f03d84395 SHA512 4488714f483dfbf539e39dc4b742127dc47799b255e7bc0e27c33aea92cea26d229616a484b566f5d85034d841a34546b113fc0428908ada4876840ff25cc824 -DIST transmission-remote-gtk-1.6.0.tar.xz 216648 BLAKE2B 256eee24f8060b526e6a7c7176c89e3d95451d28a684621d93100d245a6d62e3fc7a21e6e2de5ff1837d165113c2dc97ac6bf60b7e57da930636ea56e264c26c SHA512 351079d91cc5b33c7955103cbc28d1010bf3d18668689ff5b690ff2214d9e44cdd9f841ebe207260d31c332650d6ae05a0d9ceb7696861c8be5beeae4d0a08d5 diff --git a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.5.1-libayatana-appindicator.patch b/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.5.1-libayatana-appindicator.patch deleted file mode 100644 index 5638ce01ab06..000000000000 --- a/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.5.1-libayatana-appindicator.patch +++ /dev/null @@ -1,138 +0,0 @@ -https://bugs.gentoo.org/887373 - -From e23030df5743ce645e919066b68370e394a710a2 Mon Sep 17 00:00:00 2001 -From: Patrick Griffis <pgriffis@igalia.com> -Date: Sat, 16 Apr 2022 19:18:57 -0500 -Subject: [PATCH] Support libayatana-appindicator as drop-in for - libappindicator - -Closes #184 - -Co-Author: "Barak A. Pearlmutter" <barak+git@pearlmutter.net> ---- - README.md | 2 +- - meson.build | 7 +++++-- - src/trg-main-window.c | 4 +++- - 3 files changed, 9 insertions(+), 4 deletions(-) - -diff --git a/README.md b/README.md -index b7564d64..e814003c 100644 ---- a/README.md -+++ b/README.md -@@ -29,7 +29,7 @@ The following packages are optional dependencies: - - libmrss >= 0.18, RSS feed support - - libproxy, HTTP proxy support - - libgeoip, country of origin of peers -- - libappindicator, Application tray support -+ - libappindicator or libayatana-appindicator3, Application tray support - - If these libraries are installed at build time they will be automatically - detected and linked for additional functionality. -diff --git a/meson.build b/meson.build -index 2acac209..9e26e227 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,7 +1,7 @@ - project('transmission-remote-gtk', 'c', - license: 'GPL2+', - version: '1.5.1', -- meson_version: '>= 0.59.0', -+ meson_version: '>= 0.60.0', - default_options: ['b_pie=true', - 'c_std=gnu99', - 'warning_level=2', -@@ -48,7 +48,7 @@ trg_deps = [gtk_dep, glib_dep, gio_dep, json_dep, libcurl_dep, gthread_dep] - rss_dep = dependency('mrss', version: '>=0.18', required: get_option('mrss')) - geoip_dep = dependency('geoip', required: get_option('geoip')) - libproxy_dep = dependency('libproxy-1.0', required: get_option('libproxy')) --libappindicator_dep = dependency('appindicator3-0.1', required: get_option('libappindicator')) -+libappindicator_dep = dependency('libayatana-appindicator', 'appindicator3-0.1', required: get_option('libappindicator')) - - trg_deps += [geoip_dep, libproxy_dep, libappindicator_dep] - -@@ -89,7 +89,10 @@ conf_data.set10('HAVE_RSS', rss_dep.found()) - conf_data.set10('HAVE_GEOIP', geoip_dep.found()) - conf_data.set10('HAVE_LIBPROXY', libproxy_dep.found()) - conf_data.set10('ENABLE_NL_LANGINFO', nl_langinfo) -+ -+libappindicator_name = libappindicator_dep.get_variable('Name') - conf_data.set10('HAVE_LIBAPPINDICATOR', libappindicator_dep.found()) -+conf_data.set10('HAVE_LIBAYATANA_APPINDICATOR', libappindicator_dep.found() and libappindicator_name == 'ayatana-appindicator-0.1') - - # compiler/linker flags - flags = ['-funsigned-char', -diff --git a/src/trg-main-window.c b/src/trg-main-window.c -index f2c6ab32..0fe41a82 100644 ---- a/src/trg-main-window.c -+++ b/src/trg-main-window.c -@@ -32,7 +32,9 @@ - #include <gdk/gdkkeysyms.h> - #include <gdk/gdkkeysyms-compat.h> - #include <curl/curl.h> --#if HAVE_LIBAPPINDICATOR -+#if HAVE_LIBAYATANA_APPINDICATOR -+#include <libayatana-appindicator/app-indicator.h> -+#elif HAVE_LIBAPPINDICATOR - #include <libappindicator/app-indicator.h> - #endif - -From aed8b115708bc8b69d28cd0875c289fe246f049b Mon Sep 17 00:00:00 2001 -From: Patrick Griffis <pgriffis@igalia.com> -Date: Sat, 16 Apr 2022 19:21:36 -0500 -Subject: [PATCH] Fix pkg-config name for ayatana-appindicator - ---- - meson.build | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/meson.build b/meson.build -index 9e26e227..2ff29c2f 100644 ---- a/meson.build -+++ b/meson.build -@@ -48,7 +48,7 @@ trg_deps = [gtk_dep, glib_dep, gio_dep, json_dep, libcurl_dep, gthread_dep] - rss_dep = dependency('mrss', version: '>=0.18', required: get_option('mrss')) - geoip_dep = dependency('geoip', required: get_option('geoip')) - libproxy_dep = dependency('libproxy-1.0', required: get_option('libproxy')) --libappindicator_dep = dependency('libayatana-appindicator', 'appindicator3-0.1', required: get_option('libappindicator')) -+libappindicator_dep = dependency('ayatana-appindicator3-0.1', 'appindicator3-0.1', required: get_option('libappindicator')) - - trg_deps += [geoip_dep, libproxy_dep, libappindicator_dep] - -@@ -90,9 +90,8 @@ conf_data.set10('HAVE_GEOIP', geoip_dep.found()) - conf_data.set10('HAVE_LIBPROXY', libproxy_dep.found()) - conf_data.set10('ENABLE_NL_LANGINFO', nl_langinfo) - --libappindicator_name = libappindicator_dep.get_variable('Name') - conf_data.set10('HAVE_LIBAPPINDICATOR', libappindicator_dep.found()) --conf_data.set10('HAVE_LIBAYATANA_APPINDICATOR', libappindicator_dep.found() and libappindicator_name == 'ayatana-appindicator-0.1') -+conf_data.set10('HAVE_LIBAYATANA_APPINDICATOR', libappindicator_dep.found() and libappindicator_dep.get_variable('Name') == 'ayatana-appindicator3-0.1') - - # compiler/linker flags - flags = ['-funsigned-char', -From 4e5bd0baab479583dc798317d89e822c280d7b7a Mon Sep 17 00:00:00 2001 -From: LaserEyess <LaserEyess@users.noreply.github.com> -Date: Wed, 12 Oct 2022 09:09:01 -0400 -Subject: [PATCH] Use dep.name() to find ayatana name - -pkg-config variables are defined as `key=value`, and the `Key: Value` -versions are just metadata. Therefore most pkg-config files do not have -'Name' as a variable and `get_variable('Name')` will not work. However, -meson provides a way to find this with the dep.name() method, so use -that instead. ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 9c65488..e2cb6d4 100644 ---- a/meson.build -+++ b/meson.build -@@ -89,7 +89,7 @@ conf_data.set10('HAVE_LIBPROXY', libproxy_dep.found()) - conf_data.set10('ENABLE_NL_LANGINFO', nl_langinfo) - - conf_data.set10('HAVE_LIBAPPINDICATOR', libappindicator_dep.found()) --conf_data.set10('HAVE_LIBAYATANA_APPINDICATOR', libappindicator_dep.found() and libappindicator_dep.get_variable('Name') == 'ayatana-appindicator3-0.1') -+conf_data.set10('HAVE_LIBAYATANA_APPINDICATOR', libappindicator_dep.found() and libappindicator_dep.name() == 'ayatana-appindicator3-0.1') - - # compiler/linker flags - flags = ['-funsigned-char', diff --git a/net-p2p/transmission-remote-gtk/metadata.xml b/net-p2p/transmission-remote-gtk/metadata.xml deleted file mode 100644 index e556d75cbcf9..000000000000 --- a/net-p2p/transmission-remote-gtk/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>leio@gentoo.org</email> - <name>Mart Raudsepp</name> - </maintainer> - <maintainer type="person"> - <email>floppym@gentoo.org</email> - <name>Mike Gilbert</name> - </maintainer> - <use> - <flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for - getting the HTTP/HTTPS/SOCKS proxy configuration.</flag> - </use> - <upstream> - <remote-id type="github">transmission-remote-gtk/transmission-remote-gtk</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.5.1-r1.ebuild b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.5.1-r1.ebuild deleted file mode 100644 index 2cdcdf4d2a09..000000000000 --- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.5.1-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson xdg - -DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, over HTTP RPC" -HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="appindicator debug geoip libproxy rss" - -# RESTRICT="test" - -# FIXME: bundles rss-glib-0.2.3 -RDEPEND=" - >=dev-libs/glib-2.56:2 - >=dev-libs/json-glib-1.2.8 - net-misc/curl - >=x11-libs/gtk+-3.22:3 - appindicator? ( dev-libs/libayatana-appindicator ) - geoip? ( dev-libs/geoip ) - libproxy? ( net-libs/libproxy ) - rss? ( >=net-libs/libmrss-0.18 ) -" -DEPEND="${RDEPEND} -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/transmission-remote-gtk-1.5.1-libayatana-appindicator.patch" -) - -src_configure() { - local emesonargs=( - $(meson_feature rss mrss) - $(meson_feature libproxy) - $(meson_feature geoip) - $(meson_feature appindicator libappindicator) - ) - meson_src_configure -} diff --git a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.6.0.ebuild b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.6.0.ebuild deleted file mode 100644 index 722a196e1260..000000000000 --- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.6.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson xdg - -DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, over HTTP RPC" -HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="appindicator geoip" - -# RESTRICT="test" - -# FIXME: bundles rss-glib-0.2.3 -RDEPEND=" - net-libs/libsoup:3.0 - >=dev-libs/glib-2.70:2 - >=dev-libs/json-glib-1.2.8 - >=x11-libs/gtk+-3.22:3 - appindicator? ( dev-libs/libayatana-appindicator ) - geoip? ( dev-libs/geoip ) -" -DEPEND="${RDEPEND} -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - $(meson_feature geoip) - $(meson_feature appindicator libappindicator) - ) - meson_src_configure -} diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest deleted file mode 100644 index df54581f1b94..000000000000 --- a/net-p2p/transmission/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST transmission-4.0.6-gentoo.tar.xz 9657544 BLAKE2B 9406b01aeea44ba49339cb016ae92840e25e246fd3c8542ae623c89912f4df467abb676193d85b5bb16fddba41c8bc9924e5d17bbe0a475cadfd7ee56173f2c3 SHA512 5eec412df7fe0dcd0c232914783a0289bc30865d4490a939259e6f36367a37c6bc37c4bcf59cfe2695699c5ea6dd1cf4a830e2311fb45178372a9e9d0c70095c -DIST transmission-4.1.1.tar.xz 11876904 BLAKE2B ad0062b1838662a023dec0872154193e1e548f6e88d4939b3ce4c31714b91692674aa6918d10b451e4a72dbb869473292b3120de70d2d8d594697e5e9812b477 SHA512 63b2a784200d0639ce314236959f54a65a976d3903c8fee635535b8012296dc15326a0b365a7b30f9924e5eb34276aef310bad77e21777bca0a47be7e71e9e9c -DIST transmission-4.1.2.tar.xz 11844496 BLAKE2B 51c370e7dcf9d938befa999d3f3eec137dbc3c2e4d6e9a4fdddac02278ec8b3e1578e22626d0fef36734a0e2b3e773f1d2509c27c9322733c4b611d50093204d SHA512 091b7c836058b3044226e4981f6d0f95ba11909dedb55d08751f27c8d001e414ab0b5a56862b0087d9af93fa8c9be4932065e3a3ef5e1aaf61f4205319e86223 diff --git a/net-p2p/transmission/files/60-transmission.conf b/net-p2p/transmission/files/60-transmission.conf deleted file mode 100644 index bdf0de2064e1..000000000000 --- a/net-p2p/transmission/files/60-transmission.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.core.rmem_max = 4194304 -net.core.wmem_max = 1048576 diff --git a/net-p2p/transmission/files/transmission-4.0.6-http-announce-error.patch b/net-p2p/transmission/files/transmission-4.0.6-http-announce-error.patch deleted file mode 100644 index a7aa1a554dc0..000000000000 --- a/net-p2p/transmission/files/transmission-4.0.6-http-announce-error.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://github.com/transmission/transmission/pull/7086 -https://bugs.gentoo.org/958253 - -From 036174aa0e3d1f878e2a629ffe3709942a947c06 Mon Sep 17 00:00:00 2001 -From: Yat Ho <lagoho7@gmail.com> -Date: Wed, 28 Aug 2024 21:09:05 +0800 -Subject: [PATCH] fix: don't process http announce error if already succeeded - ---- - libtransmission/announcer-http.cc | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git a/libtransmission/announcer-http.cc b/libtransmission/announcer-http.cc -index cfb44022fab..4a231e64cea 100644 ---- a/libtransmission/announcer-http.cc -+++ b/libtransmission/announcer-http.cc -@@ -154,16 +154,12 @@ void onAnnounceDone(tr_web::FetchResponse const& web_response) - } - else if (got_all_responses) - { -- auto const* response_used = &response; -- - // All requests have been answered, but none were successful. - // Choose the one that went further to report. -- if (data->previous_response && !response.did_connect && !response.did_timeout) -+ if (data->previous_response) - { -- response_used = &*data->previous_response; -+ data->on_response(response.did_connect || response.did_timeout ? response : *data->previous_response); - } -- -- data->on_response(*response_used); - } - else - { diff --git a/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch b/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch deleted file mode 100644 index e1f9c2e36b8d..000000000000 --- a/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch +++ /dev/null @@ -1,24 +0,0 @@ -https://bugs.gentoo.org/934016 -https://github.com/transmission/transmission/pull/6907 - -From 3523b928c8c968d0b7bca2c6c3a84a939e908f8c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?C=C5=93ur?= <coeur@gmx.fr> -Date: Mon, 10 Jun 2024 22:16:06 +0800 -Subject: [PATCH] bump miniupnpc to 2.2.8 - -diff --git a/libtransmission/port-forwarding-upnp.cc b/libtransmission/port-forwarding-upnp.cc -index 6d7bbc7f7c2..d805bc18218 100644 ---- a/libtransmission/port-forwarding-upnp.cc -+++ b/libtransmission/port-forwarding-upnp.cc -@@ -261,7 +261,11 @@ tr_port_forwarding_state tr_upnpPulse( - - FreeUPNPUrls(&handle->urls); - auto lanaddr = std::array<char, TR_ADDRSTRLEN>{}; -+#if (MINIUPNPC_API_VERSION >= 18) -+ if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1, NULL, 0) == -+#else - if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) == -+#endif - UPNP_IGD_VALID_CONNECTED) - { - tr_logAddInfo(fmt::format(_("Found Internet Gateway Device '{url}'"), fmt::arg("url", handle->urls.controlURL))); diff --git a/net-p2p/transmission/files/transmission-daemon.confd.4 b/net-p2p/transmission/files/transmission-daemon.confd.4 deleted file mode 100644 index 64ecd8091a3a..000000000000 --- a/net-p2p/transmission/files/transmission-daemon.confd.4 +++ /dev/null @@ -1,15 +0,0 @@ -# This is the transmission-daemon configuration file. For other options and -# better explanation, take a look at transmission-daemon manual page Note: it's -# better to configure some settings (like username/password) in -# /var/lib/transmission/config/settings.json to avoid other users see it with `ps` - -# Parameters to pass to transmission-daemon -# TRANSMISSION_OPTIONS="" - -# Run daemon as another user (username or username:groupname) -# If you change this setting, chown -R /var/lib/transmission/config <and download directory, check web settings> -#runas_user=transmission - -# Location of logfile (should be writeable for runas_user user) -# Set logfile=syslog to use syslog for logging -#logfile=/var/log/transmission/transmission.log diff --git a/net-p2p/transmission/files/transmission-daemon.initd.10 b/net-p2p/transmission/files/transmission-daemon.initd.10 deleted file mode 100644 index a8afd2a243dd..000000000000 --- a/net-p2p/transmission/files/transmission-daemon.initd.10 +++ /dev/null @@ -1,49 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/transmission-daemon" -extra_started_commands="reload" -description="Transmission is a fast, easy and free bittorrent client" -description_start="Start transmission-daemon server and web interface" -description_stop="Stop transmission-daemon server and web interface" -description_reload="Reload transmission-daemon settings" - -rundir=${rundir:-/var/run/transmission} -pidfile=${pidfile:-${rundir}/transmission.pid} -config_dir=${config_dir:-/var/lib/transmission/config} -download_dir=${download_dir:-/var/lib/transmission/downloads} -logfile=${logfile:-/var/log/transmission/transmission.log} -runas_user=${runas_user:-transmission:transmission} - -retry="TERM/45/QUIT/15" - -start_pre() { - command_args="--config-dir ${config_dir} --pid-file ${pidfile}" - command_user="${runas_user}" - - # Call mkdir -p in case parent dirs are missing - mkdir -p "${rundir}" "${config_dir}" "${download_dir}" - - # Call checkpath to fixup permissions - checkpath -d -o "${runas_user}" "${rundir}" "${config_dir}" "${download_dir}" || return - - if [ ! -e "${config_dir}/settings.json" ]; then - # Only set download dir if settings don't exist - # https://bugs.gentoo.org/576640 - command_args="${command_args} --download-dir ${download_dir}" - fi - - if [ "${logfile}" != syslog ]; then - checkpath -d -o "${runas_user}" /var/log/transmission || return - command_args="${command_args} --logfile ${logfile}" - fi - - command_args="${command_args} ${TRANSMISSION_OPTIONS}" -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --signal HUP --exec "${command}" --pidfile "${pidfile}" - eend $? -} diff --git a/net-p2p/transmission/files/transmission-daemon.service.conf b/net-p2p/transmission/files/transmission-daemon.service.conf deleted file mode 100644 index ae543ca3f08f..000000000000 --- a/net-p2p/transmission/files/transmission-daemon.service.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Service] -Environment=TRANSMISSION_HOME=/var/lib/transmission/config diff --git a/net-p2p/transmission/files/transmission-daemon.tmpfiles b/net-p2p/transmission/files/transmission-daemon.tmpfiles deleted file mode 100644 index 4af3577ca6a0..000000000000 --- a/net-p2p/transmission/files/transmission-daemon.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/transmission 0755 transmission transmission diff --git a/net-p2p/transmission/files/transmission-dht-cmake-4.patch b/net-p2p/transmission/files/transmission-dht-cmake-4.patch deleted file mode 100644 index 5c76c063ca6d..000000000000 --- a/net-p2p/transmission/files/transmission-dht-cmake-4.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/transmission/dht/pull/4 -https://bugs.gentoo.org/955890 - -From e0334724c38eebea377bf61fef6fcf2ca68eba74 Mon Sep 17 00:00:00 2001 -From: Yat Ho <lagoho7@gmail.com> -Date: Wed, 2 Apr 2025 09:59:53 +0800 -Subject: [PATCH] build: bump CMake version to 3.10 - -CMake < 3.5 compatibility has been removed from CMake 4.0 and CMake < 3.10 compatibility has been deprecated in CMake 3.31. - -https://cmake.org/cmake/help/latest/release/4.0.html -https://cmake.org/cmake/help/latest/release/3.31.html ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6d4aa99..596dbfb 100644 ---- a/third-party/dht/CMakeLists.txt -+++ b/third-party/dht/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(dht C) - - add_library(${PROJECT_NAME} STATIC diff --git a/net-p2p/transmission/metadata.xml b/net-p2p/transmission/metadata.xml deleted file mode 100644 index 9e6d0a4b09d5..000000000000 --- a/net-p2p/transmission/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>floppym@gentoo.org</email> - <name>Mike Gilbert</name> - </maintainer> - <maintainer type="person"> - <email>candrews@gentoo.org</email> - <name>Craig Andrews</name> - </maintainer> - <upstream> - <remote-id type="github">transmission/transmission</remote-id> - </upstream> - <use> - <flag name="cli">Build command-line client</flag> - <flag name="debug">Enable assertions</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/transmission/transmission-4.0.6-r6.ebuild b/net-p2p/transmission/transmission-4.0.6-r6.ebuild deleted file mode 100644 index d974332db921..000000000000 --- a/net-p2p/transmission/transmission-4.0.6-r6.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2006-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic tmpfiles systemd xdg-utils - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/transmission/transmission" -else - MY_PV="${PV/_beta/-beta.}" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}/${MY_P}" - #SRC_URI="https://github.com/transmission/transmission/releases/download/${MY_PV}/${MY_P}.tar.xz" - SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}-gentoo.tar.xz" - KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86" -fi - -DESCRIPTION="A fast, easy, and free BitTorrent client" -HOMEPAGE="https://transmissionbt.com/" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT="0" -IUSE="appindicator cli debug gtk nls qt6 systemd test" -RESTRICT="!test? ( test )" - -ACCT_DEPEND=" - acct-group/transmission - acct-user/transmission -" -BDEPEND=" - virtual/pkgconfig - nls? ( - gtk? ( sys-devel/gettext ) - ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -COMMON_DEPEND=" - app-arch/libdeflate:=[gzip(+)] - >=dev-libs/libevent-2.1.0:=[threads(+)] - dev-libs/openssl:0= - net-libs/libnatpmp - >=net-libs/libpsl-0.21.1 - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.28.0[ssl] - virtual/zlib:= - nls? ( virtual/libintl ) - gtk? ( - >=dev-cpp/gtkmm-4.11.1:4.0 - >=dev-cpp/glibmm-2.60.0:2.68 - appindicator? ( dev-libs/libayatana-appindicator ) - ) - qt6? ( - dev-qt/qtbase:6[dbus,gui,network,widgets] - dev-qt/qtsvg:6 - ) - systemd? ( >=sys-apps/systemd-209:= ) -" -DEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl ) -" -RDEPEND="${COMMON_DEPEND} - ${ACCT_DEPEND} -" - -PATCHES=( - "${FILESDIR}/transmission-dht-cmake-4.patch" - "${FILESDIR}/transmission-4.0.6-miniupnpc-2.2.8.patch" - "${FILESDIR}/transmission-4.0.6-http-announce-error.patch" -) - -src_prepare() { - # Remove files which trigger <cmake-4 compat in cmake.eclass - rm -r third-party/{lib{deflate,event,natpmp,psl},miniupnpc} || die - rm third-party/utfcpp/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - - -DENABLE_GTK=$(usex gtk ON OFF) - -DENABLE_MAC=OFF - -DREBUILD_WEB=OFF - -DENABLE_CLI=$(usex cli ON OFF) - -DENABLE_TESTS=$(usex test ON OFF) - -DENABLE_NLS=$(usex nls ON OFF) - - -DRUN_CLANG_TIDY=OFF - - -DUSE_GTK_VERSION=4 - -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=ON - -DUSE_SYSTEM_DHT=OFF - -DUSE_SYSTEM_MINIUPNPC=ON - -DUSE_SYSTEM_NATPMP=ON - -DUSE_SYSTEM_UTP=OFF - -DUSE_SYSTEM_B64=OFF - -DUSE_SYSTEM_PSL=ON - - -DWITH_CRYPTO=openssl - -DWITH_INOTIFY=ON - -DWITH_APPINDICATOR=$(usex appindicator ON OFF) - -DWITH_SYSTEMD=$(usex systemd ON OFF) - ) - - if use qt6; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) - else - mycmakeargs+=( -DENABLE_QT=OFF ) - fi - - # Disable assertions by default, bug 893870. - use debug || append-cppflags -DNDEBUG - - cmake_src_configure -} - -src_test() { - # https://github.com/transmission/transmission/issues/4763 - cmake_src_test -E DhtTest.usesBootstrapFile -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon - newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon - - if use systemd; then - # Service sets Type=notify - systemd_dounit daemon/transmission-daemon.service - systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - fi - - insinto /usr/lib/sysctl.d - doins "${FILESDIR}"/60-transmission.conf - - newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf -} - -pkg_postrm() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postinst() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - tmpfiles_process transmission-daemon.conf -} diff --git a/net-p2p/transmission/transmission-4.1.1.ebuild b/net-p2p/transmission/transmission-4.1.1.ebuild deleted file mode 100644 index 128402a66f3a..000000000000 --- a/net-p2p/transmission/transmission-4.1.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 2006-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic tmpfiles systemd xdg-utils - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/transmission/transmission" -else - S="${WORKDIR}/${P}" - SRC_URI="https://github.com/transmission/transmission/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="A fast, easy, and free BitTorrent client" -HOMEPAGE="https://transmissionbt.com/" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT="0" -IUSE="appindicator cli debug gtk nls qt6 systemd test" -RESTRICT="!test? ( test )" - -ACCT_DEPEND=" - acct-group/transmission - acct-user/transmission -" -BDEPEND=" - virtual/pkgconfig - nls? ( - gtk? ( sys-devel/gettext ) - ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -COMMON_DEPEND=" - app-arch/libdeflate:=[gzip(+)] - >=dev-libs/libevent-2.1.0:=[threads(+)] - dev-libs/openssl:0= - net-libs/libnatpmp - >=net-libs/libpsl-0.21.1 - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.28.0[ssl] - virtual/zlib:= - nls? ( virtual/libintl ) - gtk? ( - >=dev-cpp/gtkmm-4.11.1:4.0 - >=dev-cpp/glibmm-2.60.0:2.68 - appindicator? ( dev-libs/libayatana-appindicator ) - ) - qt6? ( - dev-qt/qtbase:6[dbus,gui,network,widgets] - dev-qt/qtsvg:6 - ) - systemd? ( >=sys-apps/systemd-209:= ) -" -DEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl ) -" -RDEPEND="${COMMON_DEPEND} - ${ACCT_DEPEND} -" - -src_prepare() { - # Avoid <cmake-4 compat in cmake.eclass - find third-party/{lib{event,natpmp,psl},rapidjson,utfcpp} -name CMakeLists.txt -delete || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - - -DENABLE_GTK=$(usex gtk ON OFF) - -DENABLE_MAC=OFF - -DREBUILD_WEB=OFF - -DENABLE_CLI=$(usex cli ON OFF) - -DENABLE_TESTS=$(usex test ON OFF) - -DENABLE_NLS=$(usex nls ON OFF) - - -DRUN_CLANG_TIDY=OFF - - -DUSE_GTK_VERSION=4 - -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=ON - -DUSE_SYSTEM_DHT=OFF - -DUSE_SYSTEM_MINIUPNPC=ON - -DUSE_SYSTEM_NATPMP=ON - -DUSE_SYSTEM_UTP=OFF - -DUSE_SYSTEM_B64=OFF - -DUSE_SYSTEM_PSL=ON - - -DWITH_CRYPTO=openssl - -DWITH_INOTIFY=ON - -DWITH_APPINDICATOR=$(usex appindicator ON OFF) - -DWITH_SYSTEMD=$(usex systemd ON OFF) - ) - - if use qt6; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) - else - mycmakeargs+=( -DENABLE_QT=OFF ) - fi - - # Disable assertions by default, bug 893870. - use debug || append-cppflags -DNDEBUG - - cmake_src_configure -} - -src_test() { - # https://github.com/transmission/transmission/issues/4763 - cmake_src_test -E DhtTest.usesBootstrapFile -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon - newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon - - if use systemd; then - systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - fi - - insinto /usr/lib/sysctl.d - doins "${FILESDIR}"/60-transmission.conf - - newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf -} - -pkg_postrm() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postinst() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - tmpfiles_process transmission-daemon.conf -} diff --git a/net-p2p/transmission/transmission-4.1.2.ebuild b/net-p2p/transmission/transmission-4.1.2.ebuild deleted file mode 100644 index 128402a66f3a..000000000000 --- a/net-p2p/transmission/transmission-4.1.2.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 2006-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic tmpfiles systemd xdg-utils - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/transmission/transmission" -else - S="${WORKDIR}/${P}" - SRC_URI="https://github.com/transmission/transmission/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="A fast, easy, and free BitTorrent client" -HOMEPAGE="https://transmissionbt.com/" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT="0" -IUSE="appindicator cli debug gtk nls qt6 systemd test" -RESTRICT="!test? ( test )" - -ACCT_DEPEND=" - acct-group/transmission - acct-user/transmission -" -BDEPEND=" - virtual/pkgconfig - nls? ( - gtk? ( sys-devel/gettext ) - ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -COMMON_DEPEND=" - app-arch/libdeflate:=[gzip(+)] - >=dev-libs/libevent-2.1.0:=[threads(+)] - dev-libs/openssl:0= - net-libs/libnatpmp - >=net-libs/libpsl-0.21.1 - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.28.0[ssl] - virtual/zlib:= - nls? ( virtual/libintl ) - gtk? ( - >=dev-cpp/gtkmm-4.11.1:4.0 - >=dev-cpp/glibmm-2.60.0:2.68 - appindicator? ( dev-libs/libayatana-appindicator ) - ) - qt6? ( - dev-qt/qtbase:6[dbus,gui,network,widgets] - dev-qt/qtsvg:6 - ) - systemd? ( >=sys-apps/systemd-209:= ) -" -DEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl ) -" -RDEPEND="${COMMON_DEPEND} - ${ACCT_DEPEND} -" - -src_prepare() { - # Avoid <cmake-4 compat in cmake.eclass - find third-party/{lib{event,natpmp,psl},rapidjson,utfcpp} -name CMakeLists.txt -delete || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - - -DENABLE_GTK=$(usex gtk ON OFF) - -DENABLE_MAC=OFF - -DREBUILD_WEB=OFF - -DENABLE_CLI=$(usex cli ON OFF) - -DENABLE_TESTS=$(usex test ON OFF) - -DENABLE_NLS=$(usex nls ON OFF) - - -DRUN_CLANG_TIDY=OFF - - -DUSE_GTK_VERSION=4 - -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=ON - -DUSE_SYSTEM_DHT=OFF - -DUSE_SYSTEM_MINIUPNPC=ON - -DUSE_SYSTEM_NATPMP=ON - -DUSE_SYSTEM_UTP=OFF - -DUSE_SYSTEM_B64=OFF - -DUSE_SYSTEM_PSL=ON - - -DWITH_CRYPTO=openssl - -DWITH_INOTIFY=ON - -DWITH_APPINDICATOR=$(usex appindicator ON OFF) - -DWITH_SYSTEMD=$(usex systemd ON OFF) - ) - - if use qt6; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) - else - mycmakeargs+=( -DENABLE_QT=OFF ) - fi - - # Disable assertions by default, bug 893870. - use debug || append-cppflags -DNDEBUG - - cmake_src_configure -} - -src_test() { - # https://github.com/transmission/transmission/issues/4763 - cmake_src_test -E DhtTest.usesBootstrapFile -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon - newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon - - if use systemd; then - systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - fi - - insinto /usr/lib/sysctl.d - doins "${FILESDIR}"/60-transmission.conf - - newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf -} - -pkg_postrm() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postinst() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - tmpfiles_process transmission-daemon.conf -} diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild deleted file mode 100644 index 249b55cf543f..000000000000 --- a/net-p2p/transmission/transmission-9999.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2006-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic tmpfiles systemd xdg-utils - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/transmission/transmission" -else - MY_PV="${PV/_beta/-beta.}" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}/${MY_P}" - SRC_URI="https://github.com/transmission/transmission/releases/download/${MY_PV}/${MY_P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="A fast, easy, and free BitTorrent client" -HOMEPAGE="https://transmissionbt.com/" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT="0" -IUSE="appindicator cli debug gtk nls qt6 systemd test" -RESTRICT="!test? ( test )" - -ACCT_DEPEND=" - acct-group/transmission - acct-user/transmission -" -BDEPEND=" - virtual/pkgconfig - nls? ( - gtk? ( sys-devel/gettext ) - ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -COMMON_DEPEND=" - app-arch/libdeflate:=[gzip(+)] - >=dev-libs/libevent-2.1.0:=[threads(+)] - dev-libs/openssl:0= - net-libs/libnatpmp - >=net-libs/libpsl-0.21.1 - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.28.0[ssl] - virtual/zlib:= - nls? ( virtual/libintl ) - gtk? ( - >=dev-cpp/gtkmm-4.11.1:4.0 - >=dev-cpp/glibmm-2.60.0:2.68 - appindicator? ( dev-libs/libayatana-appindicator ) - ) - qt6? ( - dev-qt/qtbase:6[dbus,gui,network,widgets] - dev-qt/qtsvg:6 - ) - systemd? ( >=sys-apps/systemd-209:= ) -" -DEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl ) -" -RDEPEND="${COMMON_DEPEND} - ${ACCT_DEPEND} -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - - -DENABLE_GTK=$(usex gtk ON OFF) - -DENABLE_MAC=OFF - -DREBUILD_WEB=OFF - -DENABLE_CLI=$(usex cli ON OFF) - -DENABLE_TESTS=$(usex test ON OFF) - -DENABLE_NLS=$(usex nls ON OFF) - - -DRUN_CLANG_TIDY=OFF - - -DUSE_GTK_VERSION=4 - -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=ON - -DUSE_SYSTEM_DHT=OFF - -DUSE_SYSTEM_MINIUPNPC=ON - -DUSE_SYSTEM_NATPMP=ON - -DUSE_SYSTEM_UTP=OFF - -DUSE_SYSTEM_B64=OFF - -DUSE_SYSTEM_PSL=ON - - -DWITH_CRYPTO=openssl - -DWITH_INOTIFY=ON - -DWITH_APPINDICATOR=$(usex appindicator ON OFF) - -DWITH_SYSTEMD=$(usex systemd ON OFF) - ) - - if use qt6; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) - else - mycmakeargs+=( -DENABLE_QT=OFF ) - fi - - # Disable assertions by default, bug 893870. - use debug || append-cppflags -DNDEBUG - - cmake_src_configure -} - -src_test() { - # https://github.com/transmission/transmission/issues/4763 - cmake_src_test -E DhtTest.usesBootstrapFile -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon - newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon - - if use systemd; then - systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - fi - - insinto /usr/lib/sysctl.d - doins "${FILESDIR}"/60-transmission.conf - - newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf -} - -pkg_postrm() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postinst() { - if use gtk || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - tmpfiles_process transmission-daemon.conf -} diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest deleted file mode 100644 index a612e6ebf084..000000000000 --- a/net-p2p/tremc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tremc-0.9.3_p20230506.tar.gz 337178 BLAKE2B 64e9443bb11d1151a1d9d811ddeaacf67e6e68c37faca3b0267291822d124370f8b1e382c408b2b18f164549a1179dd9c613c4e54f0a93effd501cef76910485 SHA512 f13abd1ae5d8bfca4d7d1c10d870e654e974ffd06d7fd46b5d10ae3e6480f9e462c18e7e5cbfbf5bea5c19f8443e76e50e7e3f536db9e1993b4c6bed040c9d66 diff --git a/net-p2p/tremc/metadata.xml b/net-p2p/tremc/metadata.xml deleted file mode 100644 index c382b1706c8e..000000000000 --- a/net-p2p/tremc/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ajak@gentoo.org</email> - <name>John Helmert III</name> - </maintainer> - <upstream> - <remote-id type="github">tremc/tremc</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild b/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild deleted file mode 100644 index 5668b1215de7..000000000000 --- a/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COMMIT=d8deaa5ac25bb45a2ca3a930309d6ecc74836a54 -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="ncurses" - -inherit bash-completion-r1 optfeature python-single-r1 - -DESCRIPTION="Ncurses interface for the Transmission BitTorrent client" -HOMEPAGE="https://github.com/tremc/tremc" -SRC_URI="https://github.com/tremc/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" - -# Github tag tarballs include the repo with commit in the dir's name -# Specify a no-op src_compile so upstream's broken Makefile doesn't get used -src_compile() { - : -} - -src_install() { - python_doscript tremc - newbashcomp completion/bash/tremc.sh tremc - insinto /usr/share/zsh/site-functions - doins completion/zsh/_tremc - doman tremc.1 - dodoc NEWS README.md -} - -pkg_postinst() { - optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy - optfeature "Clipboard support" dev-python/pyperclip -} diff --git a/net-p2p/trezord-go/Manifest b/net-p2p/trezord-go/Manifest deleted file mode 100644 index 41f2476832c3..000000000000 --- a/net-p2p/trezord-go/Manifest +++ /dev/null @@ -1,21 +0,0 @@ -DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 -DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.zip 56132 BLAKE2B 5edcfe991d7fc40094d637bae8d8d6f1f897ab3d3786ade2bb80287738103264520681ced8d30d2037253206c32d3f867f4d024a571cb9aad030ebc451e198eb SHA512 43ed64ae515738487e9b75a2290d0b2bc25e83c021a9f29b21487c37adbf34e74e1e7d3d5ec0dfe678c8396356f95c3993a5f5610d1791ff62056cd182a4272f -DIST github.com%2Ffelixge%2Fhttpsnoop%2F@v%2Fv1.0.1.mod 45 BLAKE2B 4a3237b18d8ed12d10bfcca77c7b481fbcdc328397faed7784ac1b31ff2f430710a41a383a1b4c63dd6e23eb972aef3de6848c19f49e182872b7c3c9d6cbe6c9 SHA512 7bdc5f80046ba76d6bea23b428460edb7ae3e0837574927b22f903ad2846eca18c202cb77cfe4273b8814bacbd6ce3f28581ae3e0c7c09342622e5a582f1b691 -DIST github.com%2Ffelixge%2Fhttpsnoop%2F@v%2Fv1.0.1.zip 16015 BLAKE2B ff7bbec225929330c4e248211550c34e445e3ba4aa3a0a84dc9a34fd7197e1fb065a1793803d23160a26132b2aac04545211677fdd89b9d07db8a36fdb961f58 SHA512 9af9b14608ef03a8e9babcc8727ac30c035bf2293e1ed7e156e40f80d8ee09b8b3ff0522238879ba9dc7a4db8aa7610ef9aaf925a8e723144c3c810e20b549ba -DIST github.com%2Fgorilla%2Fcsrf%2F@v%2Fv1.7.0.mod 123 BLAKE2B bdda06f265cfe903aecd736a31b0aaf653977a57acc1fc7bb09a63333d316e581bd2888115f554e0de89b5219040976e686eb8925481a1b8c9f8cb67f33e4829 SHA512 88ec05564c0b79aeb5729afe27dc5b00e9c9e1c27576e591d4dd4dd448116782df06b322afe18d49677b300da1738e2caecc73a6e263947eb0b1d8fcb45fc217 -DIST github.com%2Fgorilla%2Fcsrf%2F@v%2Fv1.7.0.zip 32569 BLAKE2B fc3268c888c52c7323e4fe03c26daa08ec6f006615dd638190bd30238d9e2eab2db8e831eaf6cf6f1e395f5e665f27282c5bdc59a6d74637f0168840e7df6e40 SHA512 5592c3e19645825ee488cc3cc9c21a86034279b615a2f6212830be0135c4cc8ef03b43f9d2cfe2558bbca5045fc4609d70d89ff94d056046c87ce6373ae76152 -DIST github.com%2Fgorilla%2Fhandlers%2F@v%2Fv1.5.1.mod 89 BLAKE2B 2ce0eac265e95b8fa489751dfd8431753f78d92697956e94e87cd6a6dedfd10df4a17fa74ea34be39d0ba0590edc628541856c3efff15fe4a45add2451bbb6d8 SHA512 8116b2c8317e0f834a0e26b15f9c978a44ce7ccc0881b7ba454e686b3cebc2615c6d86753899e8258efb81b09e5001f5f58258e47d9307f1db3d001cba857982 -DIST github.com%2Fgorilla%2Fhandlers%2F@v%2Fv1.5.1.zip 29646 BLAKE2B 388598e7d6bfb4c64622932764f9448c76f1238f100392d8866019666f752f8d9453dd65c083b857997738b8f4b7db31f19519acb75add84899da2a8c7aa3097 SHA512 093108e3d9bb3640b73ce90cff049ac46d1469c3ddbe3564b271c915c6a1aa3d8fe1e10ee968d37a7696db9577d65ba3ac55e1dbb145c3b01eef1791b6a8cbf3 -DIST github.com%2Fgorilla%2Fmux%2F@v%2Fv1.8.0.mod 39 BLAKE2B ce025298653101cca2bccaa3f6797881c47f92443d0835d57c2900c62bb34a82d1399884826c863a7a51fbf731c1a8f836674f4416ec2364a20c690d788eaf14 SHA512 3398e8e140093ee9f7c27ce680fc141df5bbeacffb365a98b64898fb6b28cca8eadcbed1d593b90a101a1aede53a5602eb3455e4ec364ea4b76aa3ca043f68f8 -DIST github.com%2Fgorilla%2Fmux%2F@v%2Fv1.8.0.zip 57100 BLAKE2B 002b1bb18bc81e6a124d511aaa6270763eef5c9af2117cec54f4dae6be22f0bd0de2594158484ae32933f24f1107f4bd490dec99f119a1c7d2cb2f722a9160c8 SHA512 d4bab61fba7c23094263e73459f6b4bd15bdbe02ef6349619cf89e1064a7d44c20534d6267034a0af4f2aa1a7aff0f02c35f424d25e6dc7c4d5e911e6e9fed32 -DIST github.com%2Fgorilla%2Fsecurecookie%2F@v%2Fv1.1.1.mod 39 BLAKE2B 18dedfc007aad3087ef83c141ac6fc1835681c7f09af9a657f879e1f2bfce5e8d501113ca0e044435979b1dfb0ac5ad6954661f91118af7ff00b929076a39206 SHA512 f5596bc3919bf32ebdb9851ba6b8e5931eb88583e5129c277f6d5de4b339433ca8a180c40b1bfb44420c35cc8a01f53e4bf1cf6f0aef6f3b790590234bbebf61 -DIST github.com%2Fgorilla%2Fsecurecookie%2F@v%2Fv1.1.1.zip 74512 BLAKE2B d5f52e8fcecdd611a6dbf872a5420497e160a66afdcbe5285830cb8566bd32064e81173c971daab09f5ed8164ef571ec502a41ad49675b536ce597e49e6b90ef SHA512 60b35862bcce859368f01f47562308cfe0fd47932811375d1357a02aa21ebae6905c8aaa8533aa5f873005affd450c35f35f7b5e58b58ac46f92882c271509b6 -DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.mod 29 BLAKE2B 7fb53b19bd1be0e783039647b42ecbe2070f51af102e473ec6d3544eea0ffa5863f1874ca1615348d5f8abbaa39c841b4fe18d43a8a615fa648cf22f35955e38 SHA512 0c156e21d35c45a89c1a1b69ff1976b4f7511b3870bf96126121f5a5effa3723eb45bf080e840d5c8b96898c65207dba83eb3e1a23668dd8a5e20ee6be775cc0 -DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.zip 17866 BLAKE2B bb8d50b9e736f5f1e129482bd50f720b7dbe80935fcb6cfbec6d5a5f5ba5d5434476d66a362f12bedc304e89c9886d4868d310710aa100c357900a742d4ee341 SHA512 82b0ed1ceadd44a2871b56e733a118003b1bae9e38fe95251e0aa06a0a4c9b4940c485336fa11335974e0df536dcd0491ec1b2e545ecdddc7f9ce59771f86321 -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241 -DIST gopkg.in%2Fnatefinch%2Flumberjack.v2%2F@v%2Fv2.0.0.mod 40 BLAKE2B 33144c2d794f0c82dd97c993506bb6267aa9c65eb99c535e92b206dfdbba0d257a64b12d553f85ec2c770c87c196db9fda863c7f757778e4b36d4cb0fc98f844 SHA512 93ccbb29e7c38516a22d7ac174d4c2e9b87203061ae7bcdffa92499f30470e90d7e88f515f789e1a15c34cfaa6e7c50249e3d26ea1ef8b2afcd92dde62cba044 -DIST gopkg.in%2Fnatefinch%2Flumberjack.v2%2F@v%2Fv2.0.0.zip 17854 BLAKE2B 5580929fb891fd24550919ed250bbf70129f991a250669895a8b22d40ec40e691646dee8c243b39ce5f36accdfd749d46276b0358daf0512371f09f516819949 SHA512 26024daf1aec9a7b1e760b6fe789dd66d3f8300a9b413098c044d3f7c47d050dbad9809f9c807a1c8eb45d9d12d1821a45c8c8f0b14a96cfdf9752e271bb4de4 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.4.0.mod 95 BLAKE2B 888532a43aa7569fc03a62d78507081f30342eb4be40c01252683b16cd3658dd7b30d5f8a071dffe2c05f57bbee3afbc1ee4324c471788c633a878d498ff7d57 SHA512 2790882fbfa812468b9b3443630b1f1ee67a968eb20da8e4a1bfd410e4b516a8a7e77c07414b64f17e11e2151161b85d019e172cc833a45b19e66d4c70f89f82 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.4.0.zip 81183 BLAKE2B 0e3222d715fe7e9e8e9a10abad817f75bdd095f9af250d6bdf1ee2881930c739111de8b526175c9204995c48e0ade9852541a7f22b0ce1261f473986a2739182 SHA512 d6f4ac547609c943adfc6b518ff03ac09da566ba2b29466abe8f6db3d5a41ae7e5c187068dce4e77271905b1aa88497ca49a43bb9bbf9c94011b7ccf1b4b2f42 -DIST trezord-go-2.0.33.tar.gz 645371 BLAKE2B 276a0ca1dc31c41204b56492e7ac3f01e4859e82b1aa6684c61189b6ccaecfde63092d2b274c838103db3b214df0dddfde4dd41b248020738cab4fbf360bc5aa SHA512 b1df5cb1fb1d60a688d4ee471c3afc208d912240ed8f37453a2dd5e8c0e13821517e6cea937ce6fbe7fd3228a659580e63e3bac7dcd55f66e73ffc89436e8b62 diff --git a/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb-go-1.24.patch b/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb-go-1.24.patch deleted file mode 100644 index 5ace02ee862d..000000000000 --- a/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb-go-1.24.patch +++ /dev/null @@ -1,460 +0,0 @@ -From 8ca9600d176bebf6cd2ad93ee9525a04059ee735 Mon Sep 17 00:00:00 2001 -From: Pisit Wajanasara <compisit1234@gmail.com> -Date: Sun, 16 Feb 2025 01:10:20 -0800 -Subject: [PATCH] Fix libusb build fail for golang >= 1.24 - ---- - usb/lowlevel/libusb/libusb.go | 138 ++++++++++++++++++---------------- - 1 file changed, 75 insertions(+), 63 deletions(-) - -diff --git a/usb/lowlevel/libusb/libusb.go b/usb/lowlevel/libusb/libusb.go -index 001a4d6..339eb37 100644 ---- a/usb/lowlevel/libusb/libusb.go -+++ b/usb/lowlevel/libusb/libusb.go -@@ -390,10 +390,10 @@ const HOTPLUG_MATCH_ANY = C.LIBUSB_HOTPLUG_MATCH_ANY - // This descriptor is documented in section 9.6.6 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_Endpoint_Descriptor = C.struct_libusb_endpoint_descriptor -+type Struct_Libusb_Endpoint_Descriptor C.struct_libusb_endpoint_descriptor - - type Endpoint_Descriptor struct { -- ptr *Struct_Libusb_Endpoint_Descriptor -+ ptr *C.struct_libusb_endpoint_descriptor - BLength uint8 - BDescriptorType uint8 - BEndpointAddress uint8 -@@ -407,7 +407,7 @@ type Endpoint_Descriptor struct { - - func (x *Struct_Libusb_Endpoint_Descriptor) c2go() *Endpoint_Descriptor { - return &Endpoint_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_endpoint_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BEndpointAddress: uint8(x.bEndpointAddress), -@@ -441,10 +441,10 @@ func (x *Endpoint_Descriptor) String() string { - // This descriptor is documented in section 9.6.5 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_Interface_Descriptor = C.struct_libusb_interface_descriptor -+type Struct_Libusb_Interface_Descriptor C.struct_libusb_interface_descriptor - - type Interface_Descriptor struct { -- ptr *Struct_Libusb_Interface_Descriptor -+ ptr *C.struct_libusb_interface_descriptor - BLength uint8 - BDescriptorType uint8 - BInterfaceNumber uint8 -@@ -469,7 +469,7 @@ func (x *Struct_Libusb_Interface_Descriptor) c2go() *Interface_Descriptor { - endpoints[i] = (&list[i]).c2go() - } - return &Interface_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_interface_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BInterfaceNumber: uint8(x.bInterfaceNumber), -@@ -508,10 +508,10 @@ func (x *Interface_Descriptor) String() string { - - // A collection of alternate settings for a particular USB interface. - --type Struct_Libusb_Interface = C.struct_libusb_interface -+type Struct_Libusb_Interface C.struct_libusb_interface - - type Interface struct { -- ptr *Struct_Libusb_Interface -+ ptr *C.struct_libusb_interface - Num_altsetting int - Altsetting []*Interface_Descriptor - } -@@ -527,7 +527,7 @@ func (x *Struct_Libusb_Interface) c2go() *Interface { - altsetting[i] = (&list[i]).c2go() - } - return &Interface{ -- ptr: x, -+ ptr: (*C.struct_libusb_interface)(x), - Num_altsetting: int(x.num_altsetting), - Altsetting: altsetting, - } -@@ -550,10 +550,10 @@ func Interface_str(x *Interface) string { - // This descriptor is documented in section 9.6.3 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_Config_Descriptor = C.struct_libusb_config_descriptor -+type Struct_Libusb_Config_Descriptor C.struct_libusb_config_descriptor - - type Config_Descriptor struct { -- ptr *Struct_Libusb_Config_Descriptor -+ ptr *C.struct_libusb_config_descriptor - BLength uint8 - BDescriptorType uint8 - WTotalLength uint16 -@@ -577,7 +577,7 @@ func (x *Struct_Libusb_Config_Descriptor) c2go() *Config_Descriptor { - interfaces[i] = (&list[i]).c2go() - } - return &Config_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_config_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - WTotalLength: uint16(x.wTotalLength), -@@ -616,10 +616,10 @@ func (x *Config_Descriptor) String() string { - // This descriptor is documented in section 9.6.7 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_SS_Endpoint_Companion_Descriptor = C.struct_libusb_ss_endpoint_companion_descriptor -+type Struct_Libusb_SS_Endpoint_Companion_Descriptor C.struct_libusb_ss_endpoint_companion_descriptor - - type SS_Endpoint_Companion_Descriptor struct { -- ptr *Struct_Libusb_SS_Endpoint_Companion_Descriptor -+ ptr *C.struct_libusb_ss_endpoint_companion_descriptor - BLength uint8 - BDescriptorType uint8 - BMaxBurst uint8 -@@ -629,7 +629,7 @@ type SS_Endpoint_Companion_Descriptor struct { - - func (x *Struct_Libusb_SS_Endpoint_Companion_Descriptor) c2go() *SS_Endpoint_Companion_Descriptor { - return &SS_Endpoint_Companion_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_ss_endpoint_companion_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BMaxBurst: uint8(x.bMaxBurst), -@@ -644,10 +644,10 @@ func (x *Struct_Libusb_SS_Endpoint_Companion_Descriptor) c2go() *SS_Endpoint_Com - // It is advised to check BDevCapabilityType and call the matching - // Get_*_Descriptor function to get a structure fully matching the type. - --type Struct_Libusb_BOS_Dev_Capability_Descriptor = C.struct_libusb_bos_dev_capability_descriptor -+type Struct_Libusb_BOS_Dev_Capability_Descriptor C.struct_libusb_bos_dev_capability_descriptor - - type BOS_Dev_Capability_Descriptor struct { -- ptr *Struct_Libusb_BOS_Dev_Capability_Descriptor -+ ptr *C.struct_libusb_bos_dev_capability_descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -655,12 +655,13 @@ type BOS_Dev_Capability_Descriptor struct { - } - - func (x *Struct_Libusb_BOS_Dev_Capability_Descriptor) c2go() *BOS_Dev_Capability_Descriptor { -+ x_c := (*C.struct_libusb_bos_dev_capability_descriptor)(x) - return &BOS_Dev_Capability_Descriptor{ -- ptr: x, -+ ptr: x_c, - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BDevCapabilityType: uint8(x.bDevCapabilityType), -- Dev_capability_data: C.GoBytes(unsafe.Pointer(C.dev_capability_data_ptr(x)), C.int(x.bLength-3)), -+ Dev_capability_data: C.GoBytes(unsafe.Pointer(C.dev_capability_data_ptr(x_c)), C.int(x.bLength-3)), - } - } - -@@ -670,10 +671,10 @@ func (x *Struct_Libusb_BOS_Dev_Capability_Descriptor) c2go() *BOS_Dev_Capability - // This descriptor is documented in section 9.6.2 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_BOS_Descriptor = C.struct_libusb_bos_descriptor -+type Struct_Libusb_BOS_Descriptor C.struct_libusb_bos_descriptor - - type BOS_Descriptor struct { -- ptr *Struct_Libusb_BOS_Descriptor -+ ptr *C.struct_libusb_bos_descriptor - BLength uint8 - BDescriptorType uint8 - WTotalLength uint16 -@@ -682,16 +683,17 @@ type BOS_Descriptor struct { - - func (x *Struct_Libusb_BOS_Descriptor) c2go() *BOS_Descriptor { - var list []*Struct_Libusb_BOS_Dev_Capability_Descriptor -+ x_c := (*C.struct_libusb_bos_descriptor)(x) - hdr := (*reflect.SliceHeader)(unsafe.Pointer(&list)) - hdr.Cap = int(x.bNumDeviceCaps) - hdr.Len = int(x.bNumDeviceCaps) -- hdr.Data = uintptr(unsafe.Pointer(C.dev_capability_ptr(x))) -+ hdr.Data = uintptr(unsafe.Pointer(C.dev_capability_ptr(x_c))) - dev_capability := make([]*BOS_Dev_Capability_Descriptor, x.bNumDeviceCaps) - for i := range dev_capability { - dev_capability[i] = list[i].c2go() - } - return &BOS_Descriptor{ -- ptr: x, -+ ptr: x_c, - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - WTotalLength: uint16(x.wTotalLength), -@@ -705,10 +707,10 @@ func (x *Struct_Libusb_BOS_Descriptor) c2go() *BOS_Descriptor { - // This descriptor is documented in section 9.6.2.1 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_USB_2_0_Extension_Descriptor = C.struct_libusb_usb_2_0_extension_descriptor -+type Struct_Libusb_USB_2_0_Extension_Descriptor C.struct_libusb_usb_2_0_extension_descriptor - - type USB_2_0_Extension_Descriptor struct { -- ptr *Struct_Libusb_USB_2_0_Extension_Descriptor -+ ptr *C.struct_libusb_usb_2_0_extension_descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -717,7 +719,7 @@ type USB_2_0_Extension_Descriptor struct { - - func (x *Struct_Libusb_USB_2_0_Extension_Descriptor) c2go() *USB_2_0_Extension_Descriptor { - return &USB_2_0_Extension_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_usb_2_0_extension_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BDevCapabilityType: uint8(x.bDevCapabilityType), -@@ -731,10 +733,10 @@ func (x *Struct_Libusb_USB_2_0_Extension_Descriptor) c2go() *USB_2_0_Extension_D - // This descriptor is documented in section 9.6.2.2 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_SS_USB_Device_Capability_Descriptor = C.struct_libusb_ss_usb_device_capability_descriptor -+type Struct_Libusb_SS_USB_Device_Capability_Descriptor C.struct_libusb_ss_usb_device_capability_descriptor - - type SS_USB_Device_Capability_Descriptor struct { -- ptr *Struct_Libusb_SS_USB_Device_Capability_Descriptor -+ ptr *C.struct_libusb_ss_usb_device_capability_descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -747,7 +749,7 @@ type SS_USB_Device_Capability_Descriptor struct { - - func (x *Struct_Libusb_SS_USB_Device_Capability_Descriptor) c2go() *SS_USB_Device_Capability_Descriptor { - return &SS_USB_Device_Capability_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_ss_usb_device_capability_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BDevCapabilityType: uint8(x.bDevCapabilityType), -@@ -765,10 +767,10 @@ func (x *Struct_Libusb_SS_USB_Device_Capability_Descriptor) c2go() *SS_USB_Devic - // This descriptor is documented in section 9.6.2.3 of the USB 3.0 specification. - // All multiple-byte fields, except UUIDs, are represented in host-endian format. - --type Struct_Libusb_Container_ID_Descriptor = C.struct_libusb_container_id_descriptor -+type Struct_Libusb_Container_ID_Descriptor C.struct_libusb_container_id_descriptor - - type Container_ID_Descriptor struct { -- ptr *Struct_Libusb_Container_ID_Descriptor -+ ptr *C.struct_libusb_container_id_descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -778,7 +780,7 @@ type Container_ID_Descriptor struct { - - func (x *Struct_Libusb_Container_ID_Descriptor) c2go() *Container_ID_Descriptor { - return &Container_ID_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_container_id_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BDevCapabilityType: uint8(x.bDevCapabilityType), -@@ -806,10 +808,10 @@ struct libusb_control_setup { - // This descriptor is documented in section 9.6.1 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. - --type Struct_Libusb_Device_Descriptor = C.struct_libusb_device_descriptor -+type Struct_Libusb_Device_Descriptor C.struct_libusb_device_descriptor - - type Device_Descriptor struct { -- ptr *Struct_Libusb_Device_Descriptor -+ ptr *C.struct_libusb_device_descriptor - BLength uint8 - BDescriptorType uint8 - BcdUSB uint16 -@@ -828,7 +830,7 @@ type Device_Descriptor struct { - - func (x *Struct_Libusb_Device_Descriptor) c2go() *Device_Descriptor { - return &Device_Descriptor{ -- ptr: x, -+ ptr: (*C.struct_libusb_device_descriptor)(x), - BLength: uint8(x.bLength), - BDescriptorType: uint8(x.bDescriptorType), - BcdUSB: uint16(x.bcdUSB), -@@ -893,19 +895,19 @@ struct libusb_transfer { - // completed, the library populates the transfer with the results and passes - // it back to the user. - --type Struct_Libusb_Transfer = C.struct_libusb_transfer -+type Struct_Libusb_Transfer C.struct_libusb_transfer - - type Transfer struct { -- ptr *Struct_Libusb_Transfer -+ ptr *C.struct_libusb_transfer - } - - func (x *Struct_Libusb_Transfer) c2go() *Transfer { - return &Transfer{ -- ptr: x, -+ ptr: (*C.struct_libusb_transfer)(x), - } - } - --func (x *Transfer) go2c() *Struct_Libusb_Transfer { -+func (x *Transfer) go2c() *C.struct_libusb_transfer { - return x.ptr - } - -@@ -919,10 +921,10 @@ func (x *Transfer) String() string { - - // Structure providing the version of the libusb runtime. - --type Struct_Libusb_Version = C.struct_libusb_version -+type Struct_Libusb_Version C.struct_libusb_version - - type Version struct { -- ptr *Struct_Libusb_Version -+ ptr *C.struct_libusb_version - Major uint16 - Minor uint16 - Micro uint16 -@@ -933,7 +935,7 @@ type Version struct { - - func (x *Struct_Libusb_Version) c2go() *Version { - return &Version{ -- ptr: x, -+ ptr: (*C.struct_libusb_version)(x), - Major: uint16(x.major), - Minor: uint16(x.minor), - Micro: uint16(x.micro), -@@ -1212,38 +1214,42 @@ func Strerror(errcode int) string { - // USB descriptors - - func Get_Device_Descriptor(dev Device) (*Device_Descriptor, error) { -- var desc Struct_Libusb_Device_Descriptor -- rc := int(C.libusb_get_device_descriptor(dev, &desc)) -+ var desc_c C.struct_libusb_device_descriptor -+ rc := int(C.libusb_get_device_descriptor(dev, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -- return (&desc).c2go(), nil -+ desc := (*Struct_Libusb_Device_Descriptor)(&desc_c) -+ return desc.c2go(), nil - } - - func Get_Active_Config_Descriptor(dev Device) (*Config_Descriptor, error) { -- var desc *Struct_Libusb_Config_Descriptor -- rc := int(C.libusb_get_active_config_descriptor(dev, &desc)) -+ var desc_c *C.struct_libusb_config_descriptor -+ rc := int(C.libusb_get_active_config_descriptor(dev, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_Config_Descriptor)(desc_c) - return desc.c2go(), nil - } - - func Get_Config_Descriptor(dev Device, config_index uint8) (*Config_Descriptor, error) { -- var desc *Struct_Libusb_Config_Descriptor -- rc := int(C.libusb_get_config_descriptor(dev, (C.uint8_t)(config_index), &desc)) -+ var desc_c *C.struct_libusb_config_descriptor -+ rc := int(C.libusb_get_config_descriptor(dev, (C.uint8_t)(config_index), &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_Config_Descriptor)(desc_c) - return desc.c2go(), nil - } - - func Get_Config_Descriptor_By_Value(dev Device, bConfigurationValue uint8) (*Config_Descriptor, error) { -- var desc *Struct_Libusb_Config_Descriptor -- rc := int(C.libusb_get_config_descriptor_by_value(dev, (C.uint8_t)(bConfigurationValue), &desc)) -+ var desc_c *C.struct_libusb_config_descriptor -+ rc := int(C.libusb_get_config_descriptor_by_value(dev, (C.uint8_t)(bConfigurationValue), &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_Config_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1252,11 +1258,12 @@ func Free_Config_Descriptor(config *Config_Descriptor) { - } - - func Get_SS_Endpoint_Companion_Descriptor(ctx Context, endpoint *Endpoint_Descriptor) (*SS_Endpoint_Companion_Descriptor, error) { -- var desc *Struct_Libusb_SS_Endpoint_Companion_Descriptor -- rc := int(C.libusb_get_ss_endpoint_companion_descriptor(ctx, endpoint.ptr, &desc)) -+ var desc_c *C.struct_libusb_ss_endpoint_companion_descriptor -+ rc := int(C.libusb_get_ss_endpoint_companion_descriptor(ctx, endpoint.ptr, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_SS_Endpoint_Companion_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1265,11 +1272,12 @@ func Free_SS_Endpoint_Companion_Descriptor(ep_comp *SS_Endpoint_Companion_Descri - } - - func Get_BOS_Descriptor(hdl Device_Handle) (*BOS_Descriptor, error) { -- var desc *Struct_Libusb_BOS_Descriptor -- rc := int(C.libusb_get_bos_descriptor(hdl, &desc)) -+ var desc_c *C.struct_libusb_bos_descriptor -+ rc := int(C.libusb_get_bos_descriptor(hdl, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_BOS_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1278,11 +1286,12 @@ func Free_BOS_Descriptor(bos *BOS_Descriptor) { - } - - func Get_USB_2_0_Extension_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*USB_2_0_Extension_Descriptor, error) { -- var desc *Struct_Libusb_USB_2_0_Extension_Descriptor -- rc := int(C.libusb_get_usb_2_0_extension_descriptor(ctx, dev_cap.ptr, &desc)) -+ var desc_c *C.struct_libusb_usb_2_0_extension_descriptor -+ rc := int(C.libusb_get_usb_2_0_extension_descriptor(ctx, dev_cap.ptr, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_USB_2_0_Extension_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1291,11 +1300,12 @@ func Free_USB_2_0_Extension_Descriptor(usb_2_0_extension *USB_2_0_Extension_Desc - } - - func Get_SS_USB_Device_Capability_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*SS_USB_Device_Capability_Descriptor, error) { -- var desc *Struct_Libusb_SS_USB_Device_Capability_Descriptor -- rc := int(C.libusb_get_ss_usb_device_capability_descriptor(ctx, dev_cap.ptr, &desc)) -+ var desc_c *C.struct_libusb_ss_usb_device_capability_descriptor -+ rc := int(C.libusb_get_ss_usb_device_capability_descriptor(ctx, dev_cap.ptr, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_SS_USB_Device_Capability_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1304,11 +1314,12 @@ func Free_SS_USB_Device_Capability_Descriptor(ss_usb_device_cap *SS_USB_Device_C - } - - func Get_Container_ID_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*Container_ID_Descriptor, error) { -- var desc *Struct_Libusb_Container_ID_Descriptor -- rc := int(C.libusb_get_container_id_descriptor(ctx, dev_cap.ptr, &desc)) -+ var desc_c *C.struct_libusb_container_id_descriptor -+ rc := int(C.libusb_get_container_id_descriptor(ctx, dev_cap.ptr, &desc_c)) - if rc != 0 { - return nil, &libusb_error{rc} - } -+ desc := (*Struct_Libusb_Container_ID_Descriptor)(desc_c) - return desc.c2go(), nil - } - -@@ -1366,10 +1377,11 @@ func Free_Streams(dev Device_Handle, endpoints []byte) error { - } - - func Alloc_Transfer(iso_packets int) (*Transfer, error) { -- ptr := C.libusb_alloc_transfer((C.int)(iso_packets)) -- if ptr == nil { -+ ptr_c := C.libusb_alloc_transfer((C.int)(iso_packets)) -+ if ptr_c == nil { - return nil, &libusb_error{ERROR_OTHER} - } -+ ptr := (*Struct_Libusb_Transfer)(ptr_c) - return ptr.c2go(), nil - } - diff --git a/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb.patch b/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb.patch deleted file mode 100644 index 28d0562d2e4a..000000000000 --- a/net-p2p/trezord-go/files/trezord-go-2.0.33_libusb.patch +++ /dev/null @@ -1,393 +0,0 @@ -From 616473d53a8ae49f1099e36ab05a2981a08fa606 Mon Sep 17 00:00:00 2001 -From: Pisit Wajanasara <compisit1234@gmail.com> -Date: Wed, 3 Jan 2024 15:33:49 -0800 -Subject: [PATCH] Fix libusb for newer golang version - ---- - usb/lowlevel/libusb/libusb.go | 121 ++++++++++++++++++++++------------ - 1 file changed, 80 insertions(+), 41 deletions(-) - -diff --git a/usb/lowlevel/libusb/libusb.go b/usb/lowlevel/libusb/libusb.go -index abc289e..001a4d6 100644 ---- a/usb/lowlevel/libusb/libusb.go -+++ b/usb/lowlevel/libusb/libusb.go -@@ -389,8 +389,11 @@ const HOTPLUG_MATCH_ANY = C.LIBUSB_HOTPLUG_MATCH_ANY - // A structure representing the standard USB endpoint descriptor. - // This descriptor is documented in section 9.6.6 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_Endpoint_Descriptor = C.struct_libusb_endpoint_descriptor -+ - type Endpoint_Descriptor struct { -- ptr *C.struct_libusb_endpoint_descriptor -+ ptr *Struct_Libusb_Endpoint_Descriptor - BLength uint8 - BDescriptorType uint8 - BEndpointAddress uint8 -@@ -402,7 +405,7 @@ type Endpoint_Descriptor struct { - Extra []byte - } - --func (x *C.struct_libusb_endpoint_descriptor) c2go() *Endpoint_Descriptor { -+func (x *Struct_Libusb_Endpoint_Descriptor) c2go() *Endpoint_Descriptor { - return &Endpoint_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -437,8 +440,11 @@ func (x *Endpoint_Descriptor) String() string { - // A structure representing the standard USB interface descriptor. - // This descriptor is documented in section 9.6.5 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_Interface_Descriptor = C.struct_libusb_interface_descriptor -+ - type Interface_Descriptor struct { -- ptr *C.struct_libusb_interface_descriptor -+ ptr *Struct_Libusb_Interface_Descriptor - BLength uint8 - BDescriptorType uint8 - BInterfaceNumber uint8 -@@ -452,8 +458,8 @@ type Interface_Descriptor struct { - Extra []byte - } - --func (x *C.struct_libusb_interface_descriptor) c2go() *Interface_Descriptor { -- var list []C.struct_libusb_endpoint_descriptor -+func (x *Struct_Libusb_Interface_Descriptor) c2go() *Interface_Descriptor { -+ var list []Struct_Libusb_Endpoint_Descriptor - hdr := (*reflect.SliceHeader)(unsafe.Pointer(&list)) - hdr.Cap = int(x.bNumEndpoints) - hdr.Len = int(x.bNumEndpoints) -@@ -501,14 +507,17 @@ func (x *Interface_Descriptor) String() string { - //----------------------------------------------------------------------------- - - // A collection of alternate settings for a particular USB interface. -+ -+type Struct_Libusb_Interface = C.struct_libusb_interface -+ - type Interface struct { -- ptr *C.struct_libusb_interface -+ ptr *Struct_Libusb_Interface - Num_altsetting int - Altsetting []*Interface_Descriptor - } - --func (x *C.struct_libusb_interface) c2go() *Interface { -- var list []C.struct_libusb_interface_descriptor -+func (x *Struct_Libusb_Interface) c2go() *Interface { -+ var list []Struct_Libusb_Interface_Descriptor - hdr := (*reflect.SliceHeader)(unsafe.Pointer(&list)) - hdr.Cap = int(x.num_altsetting) - hdr.Len = int(x.num_altsetting) -@@ -540,8 +549,11 @@ func Interface_str(x *Interface) string { - // A structure representing the standard USB configuration descriptor. - // This descriptor is documented in section 9.6.3 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_Config_Descriptor = C.struct_libusb_config_descriptor -+ - type Config_Descriptor struct { -- ptr *C.struct_libusb_config_descriptor -+ ptr *Struct_Libusb_Config_Descriptor - BLength uint8 - BDescriptorType uint8 - WTotalLength uint16 -@@ -554,8 +566,8 @@ type Config_Descriptor struct { - Extra []byte - } - --func (x *C.struct_libusb_config_descriptor) c2go() *Config_Descriptor { -- var list []C.struct_libusb_interface -+func (x *Struct_Libusb_Config_Descriptor) c2go() *Config_Descriptor { -+ var list []Struct_Libusb_Interface - hdr := (*reflect.SliceHeader)(unsafe.Pointer(&list)) - hdr.Cap = int(x.bNumInterfaces) - hdr.Len = int(x.bNumInterfaces) -@@ -603,8 +615,11 @@ func (x *Config_Descriptor) String() string { - // A structure representing the superspeed endpoint companion descriptor. - // This descriptor is documented in section 9.6.7 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_SS_Endpoint_Companion_Descriptor = C.struct_libusb_ss_endpoint_companion_descriptor -+ - type SS_Endpoint_Companion_Descriptor struct { -- ptr *C.struct_libusb_ss_endpoint_companion_descriptor -+ ptr *Struct_Libusb_SS_Endpoint_Companion_Descriptor - BLength uint8 - BDescriptorType uint8 - BMaxBurst uint8 -@@ -612,7 +627,7 @@ type SS_Endpoint_Companion_Descriptor struct { - WBytesPerInterval uint16 - } - --func (x *C.struct_libusb_ss_endpoint_companion_descriptor) c2go() *SS_Endpoint_Companion_Descriptor { -+func (x *Struct_Libusb_SS_Endpoint_Companion_Descriptor) c2go() *SS_Endpoint_Companion_Descriptor { - return &SS_Endpoint_Companion_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -628,15 +643,18 @@ func (x *C.struct_libusb_ss_endpoint_companion_descriptor) c2go() *SS_Endpoint_C - // A generic representation of a BOS Device Capability descriptor. - // It is advised to check BDevCapabilityType and call the matching - // Get_*_Descriptor function to get a structure fully matching the type. -+ -+type Struct_Libusb_BOS_Dev_Capability_Descriptor = C.struct_libusb_bos_dev_capability_descriptor -+ - type BOS_Dev_Capability_Descriptor struct { -- ptr *C.struct_libusb_bos_dev_capability_descriptor -+ ptr *Struct_Libusb_BOS_Dev_Capability_Descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 - Dev_capability_data []byte - } - --func (x *C.struct_libusb_bos_dev_capability_descriptor) c2go() *BOS_Dev_Capability_Descriptor { -+func (x *Struct_Libusb_BOS_Dev_Capability_Descriptor) c2go() *BOS_Dev_Capability_Descriptor { - return &BOS_Dev_Capability_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -651,16 +669,19 @@ func (x *C.struct_libusb_bos_dev_capability_descriptor) c2go() *BOS_Dev_Capabili - // A structure representing the Binary Device Object Store (BOS) descriptor. - // This descriptor is documented in section 9.6.2 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_BOS_Descriptor = C.struct_libusb_bos_descriptor -+ - type BOS_Descriptor struct { -- ptr *C.struct_libusb_bos_descriptor -+ ptr *Struct_Libusb_BOS_Descriptor - BLength uint8 - BDescriptorType uint8 - WTotalLength uint16 - Dev_capability []*BOS_Dev_Capability_Descriptor - } - --func (x *C.struct_libusb_bos_descriptor) c2go() *BOS_Descriptor { -- var list []*C.struct_libusb_bos_dev_capability_descriptor -+func (x *Struct_Libusb_BOS_Descriptor) c2go() *BOS_Descriptor { -+ var list []*Struct_Libusb_BOS_Dev_Capability_Descriptor - hdr := (*reflect.SliceHeader)(unsafe.Pointer(&list)) - hdr.Cap = int(x.bNumDeviceCaps) - hdr.Len = int(x.bNumDeviceCaps) -@@ -683,15 +704,18 @@ func (x *C.struct_libusb_bos_descriptor) c2go() *BOS_Descriptor { - // A structure representing the USB 2.0 Extension descriptor - // This descriptor is documented in section 9.6.2.1 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_USB_2_0_Extension_Descriptor = C.struct_libusb_usb_2_0_extension_descriptor -+ - type USB_2_0_Extension_Descriptor struct { -- ptr *C.struct_libusb_usb_2_0_extension_descriptor -+ ptr *Struct_Libusb_USB_2_0_Extension_Descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 - BmAttributes uint32 - } - --func (x *C.struct_libusb_usb_2_0_extension_descriptor) c2go() *USB_2_0_Extension_Descriptor { -+func (x *Struct_Libusb_USB_2_0_Extension_Descriptor) c2go() *USB_2_0_Extension_Descriptor { - return &USB_2_0_Extension_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -706,8 +730,11 @@ func (x *C.struct_libusb_usb_2_0_extension_descriptor) c2go() *USB_2_0_Extension - // A structure representing the SuperSpeed USB Device Capability descriptor - // This descriptor is documented in section 9.6.2.2 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_SS_USB_Device_Capability_Descriptor = C.struct_libusb_ss_usb_device_capability_descriptor -+ - type SS_USB_Device_Capability_Descriptor struct { -- ptr *C.struct_libusb_ss_usb_device_capability_descriptor -+ ptr *Struct_Libusb_SS_USB_Device_Capability_Descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -718,7 +745,7 @@ type SS_USB_Device_Capability_Descriptor struct { - BU2DevExitLat uint16 - } - --func (x *C.struct_libusb_ss_usb_device_capability_descriptor) c2go() *SS_USB_Device_Capability_Descriptor { -+func (x *Struct_Libusb_SS_USB_Device_Capability_Descriptor) c2go() *SS_USB_Device_Capability_Descriptor { - return &SS_USB_Device_Capability_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -737,8 +764,11 @@ func (x *C.struct_libusb_ss_usb_device_capability_descriptor) c2go() *SS_USB_Dev - // A structure representing the Container ID descriptor. - // This descriptor is documented in section 9.6.2.3 of the USB 3.0 specification. - // All multiple-byte fields, except UUIDs, are represented in host-endian format. -+ -+type Struct_Libusb_Container_ID_Descriptor = C.struct_libusb_container_id_descriptor -+ - type Container_ID_Descriptor struct { -- ptr *C.struct_libusb_container_id_descriptor -+ ptr *Struct_Libusb_Container_ID_Descriptor - BLength uint8 - BDescriptorType uint8 - BDevCapabilityType uint8 -@@ -746,7 +776,7 @@ type Container_ID_Descriptor struct { - ContainerID []byte - } - --func (x *C.struct_libusb_container_id_descriptor) c2go() *Container_ID_Descriptor { -+func (x *Struct_Libusb_Container_ID_Descriptor) c2go() *Container_ID_Descriptor { - return &Container_ID_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -775,8 +805,11 @@ struct libusb_control_setup { - // A structure representing the standard USB device descriptor. - // This descriptor is documented in section 9.6.1 of the USB 3.0 specification. - // All multiple-byte fields are represented in host-endian format. -+ -+type Struct_Libusb_Device_Descriptor = C.struct_libusb_device_descriptor -+ - type Device_Descriptor struct { -- ptr *C.struct_libusb_device_descriptor -+ ptr *Struct_Libusb_Device_Descriptor - BLength uint8 - BDescriptorType uint8 - BcdUSB uint16 -@@ -793,7 +826,7 @@ type Device_Descriptor struct { - BNumConfigurations uint8 - } - --func (x *C.struct_libusb_device_descriptor) c2go() *Device_Descriptor { -+func (x *Struct_Libusb_Device_Descriptor) c2go() *Device_Descriptor { - return &Device_Descriptor{ - ptr: x, - BLength: uint8(x.bLength), -@@ -859,17 +892,20 @@ struct libusb_transfer { - // then submits it in order to request a transfer. After the transfer has - // completed, the library populates the transfer with the results and passes - // it back to the user. -+ -+type Struct_Libusb_Transfer = C.struct_libusb_transfer -+ - type Transfer struct { -- ptr *C.struct_libusb_transfer -+ ptr *Struct_Libusb_Transfer - } - --func (x *C.struct_libusb_transfer) c2go() *Transfer { -+func (x *Struct_Libusb_Transfer) c2go() *Transfer { - return &Transfer{ - ptr: x, - } - } - --func (x *Transfer) go2c() *C.struct_libusb_transfer { -+func (x *Transfer) go2c() *Struct_Libusb_Transfer { - return x.ptr - } - -@@ -882,8 +918,11 @@ func (x *Transfer) String() string { - //----------------------------------------------------------------------------- - - // Structure providing the version of the libusb runtime. -+ -+type Struct_Libusb_Version = C.struct_libusb_version -+ - type Version struct { -- ptr *C.struct_libusb_version -+ ptr *Struct_Libusb_Version - Major uint16 - Minor uint16 - Micro uint16 -@@ -892,7 +931,7 @@ type Version struct { - Describe string - } - --func (x *C.struct_libusb_version) c2go() *Version { -+func (x *Struct_Libusb_Version) c2go() *Version { - return &Version{ - ptr: x, - Major: uint16(x.major), -@@ -1146,7 +1185,7 @@ func Error_Name(code int) string { - } - - func Get_Version() *Version { -- ver := (*C.struct_libusb_version)(unsafe.Pointer(C.libusb_get_version())) -+ ver := (*Struct_Libusb_Version)(unsafe.Pointer(C.libusb_get_version())) - return ver.c2go() - } - -@@ -1173,7 +1212,7 @@ func Strerror(errcode int) string { - // USB descriptors - - func Get_Device_Descriptor(dev Device) (*Device_Descriptor, error) { -- var desc C.struct_libusb_device_descriptor -+ var desc Struct_Libusb_Device_Descriptor - rc := int(C.libusb_get_device_descriptor(dev, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1182,7 +1221,7 @@ func Get_Device_Descriptor(dev Device) (*Device_Descriptor, error) { - } - - func Get_Active_Config_Descriptor(dev Device) (*Config_Descriptor, error) { -- var desc *C.struct_libusb_config_descriptor -+ var desc *Struct_Libusb_Config_Descriptor - rc := int(C.libusb_get_active_config_descriptor(dev, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1191,7 +1230,7 @@ func Get_Active_Config_Descriptor(dev Device) (*Config_Descriptor, error) { - } - - func Get_Config_Descriptor(dev Device, config_index uint8) (*Config_Descriptor, error) { -- var desc *C.struct_libusb_config_descriptor -+ var desc *Struct_Libusb_Config_Descriptor - rc := int(C.libusb_get_config_descriptor(dev, (C.uint8_t)(config_index), &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1200,7 +1239,7 @@ func Get_Config_Descriptor(dev Device, config_index uint8) (*Config_Descriptor, - } - - func Get_Config_Descriptor_By_Value(dev Device, bConfigurationValue uint8) (*Config_Descriptor, error) { -- var desc *C.struct_libusb_config_descriptor -+ var desc *Struct_Libusb_Config_Descriptor - rc := int(C.libusb_get_config_descriptor_by_value(dev, (C.uint8_t)(bConfigurationValue), &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1213,7 +1252,7 @@ func Free_Config_Descriptor(config *Config_Descriptor) { - } - - func Get_SS_Endpoint_Companion_Descriptor(ctx Context, endpoint *Endpoint_Descriptor) (*SS_Endpoint_Companion_Descriptor, error) { -- var desc *C.struct_libusb_ss_endpoint_companion_descriptor -+ var desc *Struct_Libusb_SS_Endpoint_Companion_Descriptor - rc := int(C.libusb_get_ss_endpoint_companion_descriptor(ctx, endpoint.ptr, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1226,7 +1265,7 @@ func Free_SS_Endpoint_Companion_Descriptor(ep_comp *SS_Endpoint_Companion_Descri - } - - func Get_BOS_Descriptor(hdl Device_Handle) (*BOS_Descriptor, error) { -- var desc *C.struct_libusb_bos_descriptor -+ var desc *Struct_Libusb_BOS_Descriptor - rc := int(C.libusb_get_bos_descriptor(hdl, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1239,7 +1278,7 @@ func Free_BOS_Descriptor(bos *BOS_Descriptor) { - } - - func Get_USB_2_0_Extension_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*USB_2_0_Extension_Descriptor, error) { -- var desc *C.struct_libusb_usb_2_0_extension_descriptor -+ var desc *Struct_Libusb_USB_2_0_Extension_Descriptor - rc := int(C.libusb_get_usb_2_0_extension_descriptor(ctx, dev_cap.ptr, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1252,7 +1291,7 @@ func Free_USB_2_0_Extension_Descriptor(usb_2_0_extension *USB_2_0_Extension_Desc - } - - func Get_SS_USB_Device_Capability_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*SS_USB_Device_Capability_Descriptor, error) { -- var desc *C.struct_libusb_ss_usb_device_capability_descriptor -+ var desc *Struct_Libusb_SS_USB_Device_Capability_Descriptor - rc := int(C.libusb_get_ss_usb_device_capability_descriptor(ctx, dev_cap.ptr, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} -@@ -1265,7 +1304,7 @@ func Free_SS_USB_Device_Capability_Descriptor(ss_usb_device_cap *SS_USB_Device_C - } - - func Get_Container_ID_Descriptor(ctx Context, dev_cap *BOS_Dev_Capability_Descriptor) (*Container_ID_Descriptor, error) { -- var desc *C.struct_libusb_container_id_descriptor -+ var desc *Struct_Libusb_Container_ID_Descriptor - rc := int(C.libusb_get_container_id_descriptor(ctx, dev_cap.ptr, &desc)) - if rc != 0 { - return nil, &libusb_error{rc} diff --git a/net-p2p/trezord-go/files/trezord-openrc.sh b/net-p2p/trezord-go/files/trezord-openrc.sh deleted file mode 100644 index d245afc5f9f8..000000000000 --- a/net-p2p/trezord-go/files/trezord-openrc.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/trezord" -pidfile="/run/${RC_SVCNAME}.pid" -command_args="-l /var/log/trezord/trezord.log" -command_user="trezord" -command_background=true diff --git a/net-p2p/trezord-go/metadata.xml b/net-p2p/trezord-go/metadata.xml deleted file mode 100644 index 8fa6730a2659..000000000000 --- a/net-p2p/trezord-go/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>egger.m@protonmail.com</email> - <name>Michael Egger</name> - </maintainer> - <use> - <flag name="systemd">Install systemd service file</flag> - <flag name="udev">Install udev rules</flag> - </use> - <upstream> - <remote-id type="github">trezor/trezord-go</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/trezord-go/trezord-go-2.0.33.ebuild b/net-p2p/trezord-go/trezord-go-2.0.33.ebuild deleted file mode 100644 index d6ca2c0233bf..000000000000 --- a/net-p2p/trezord-go/trezord-go-2.0.33.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd udev - -EGO_SUM=( - "github.com/BurntSushi/toml v0.3.1" - "github.com/BurntSushi/toml v0.3.1/go.mod" - "github.com/felixge/httpsnoop v1.0.1" - "github.com/felixge/httpsnoop v1.0.1/go.mod" - "github.com/gorilla/csrf v1.7.0" - "github.com/gorilla/csrf v1.7.0/go.mod" - "github.com/gorilla/handlers v1.5.1" - "github.com/gorilla/handlers v1.5.1/go.mod" - "github.com/gorilla/mux v1.8.0" - "github.com/gorilla/mux v1.8.0/go.mod" - "github.com/gorilla/securecookie v1.1.1" - "github.com/gorilla/securecookie v1.1.1/go.mod" - "github.com/pkg/errors v0.9.1" - "github.com/pkg/errors v0.9.1/go.mod" - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" - "gopkg.in/natefinch/lumberjack.v2 v2.0.0" - "gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod" - "gopkg.in/yaml.v2 v2.4.0" - "gopkg.in/yaml.v2 v2.4.0/go.mod" -) - -go-module_set_globals - -DESCRIPTION="TREZOR Communication Daemon" -HOMEPAGE="https://github.com/trezor/trezord-go" -SRC_URI=" - https://github.com/trezor/trezord-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - ${EGO_SUM_SRC_URI} -" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="systemd +udev" -RESTRICT="mirror test" - -DEPEND=" - acct-user/trezord - acct-group/plugdev -" - -PATCHES=( - "${FILESDIR}/${P}_libusb.patch" - "${FILESDIR}/${P}_libusb-go-1.24.patch" -) - -src_compile() { - default - go build -v -work -x -o ${PN} || die -} - -src_install() { - newbin trezord-go trezord - newinitd "${FILESDIR}/trezord-openrc.sh" trezord - keepdir /var/log/trezord - fowners trezord:root /var/log/trezord - einstalldocs - - use systemd && systemd_dounit release/linux/trezord.service - use udev && udev_dorules release/linux/trezor.rules -} - -pkg_postinst() { - use udev && udev_reload -} - -pkg_postrm() { - use udev && udev_reload -} diff --git a/net-p2p/tvrss/Manifest b/net-p2p/tvrss/Manifest deleted file mode 100644 index 2b61dbe79e0b..000000000000 --- a/net-p2p/tvrss/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tvrss-1.8beta.tar.gz 19753 BLAKE2B 5adf657f82e51e25808ef20ebb166738a2ea0c9f3f399abf0dbdbd54a7148f7a58180e600a394006043f37e4e869e0f60d24d71ae84a75dca4375fd7223e14ea SHA512 8f1d8de1915c5e0cbfa17aebaca6ae8811a90f40e863f82465fd6bd5e0be9d8c401ead7e010b39195e0e3b3291c86ed94cbcfaf0913b3571ef96c5da519369f2 diff --git a/net-p2p/tvrss/metadata.xml b/net-p2p/tvrss/metadata.xml deleted file mode 100644 index b145cb0949ad..000000000000 --- a/net-p2p/tvrss/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">tvtrss</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-p2p/tvrss/tvrss-1.8_beta.ebuild b/net-p2p/tvrss/tvrss-1.8_beta.ebuild deleted file mode 100644 index a1812f42b90c..000000000000 --- a/net-p2p/tvrss/tvrss-1.8_beta.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-$(ver_rs 2 '')" - -DESCRIPTION="TV RSS is a tool for automating torrent downloads" -HOMEPAGE="http://tvtrss.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/tvtrss/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="x11-libs/gtk+:2 - >=dev-lang/perl-5.8.6 - dev-perl/XML-RAI - dev-perl/glib-perl - dev-perl/Gtk2" - -src_install() { - dobin tvrss -} diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest deleted file mode 100644 index 2089e4159b5d..000000000000 --- a/net-p2p/yggdrasil-go/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST yggdrasil-0.5.12-vendored.tar.gz 2848276 BLAKE2B cc85fffc9bed3da62f23ccedb3e8f821a53deec3d1017bd9e3a1c2a1e1bee7970919b76534807d6d1a31b2e1db5648ae1b47ed9287f0eac4341dda61dfcd6cce SHA512 01ba5af5b950e2e0c377839775a7b4fc127b3f9509214283a2b751069d0198f0686e43a565d2eed2378d24c1468747b9a80317b61da3b26cf4cedc09fc28b87b -DIST yggdrasil-0.5.13-vendored.tar.gz 2904569 BLAKE2B 193344b4df1f1d2445b6a906cd2c89fb8ad1f621306b67cd588683b876c6f7436628ba6ad1618ad646ec677124a9f9d21e06185d29c01e71f481dd67faa90bc9 SHA512 6e8ea953c82c6ab96a60663e373b71952ff36a72cd94495f5b5f00c1a8f6de129f42a6540146113d038866e2af2909164c928aa3c22c845a0aed900b282dde02 diff --git a/net-p2p/yggdrasil-go/metadata.xml b/net-p2p/yggdrasil-go/metadata.xml deleted file mode 100644 index 9e8d8aa1e826..000000000000 --- a/net-p2p/yggdrasil-go/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <maintainer type="person"> - <email>william@wstrm.dev</email> - <name>William Wennerström</name> - </maintainer> - <longdescription lang="en"> - Yggdrasil is an early-stage implementation of a fully end-to-end - encrypted IPv6 network. It is lightweight, self-arranging, - supported on multiple platforms and allows pretty much any - IPv6-capable application to communicate securely with other - Yggdrasil nodes. Yggdrasil does not require you to have IPv6 - Internet connectivity - it also works over IPv4. - </longdescription> - <upstream> - <remote-id type="github">yggdrasil-network/yggdrasil-go</remote-id> - <bugs-to>https://github.com/yggdrasil-network/yggdrasil-go/issues</bugs-to> - <doc lang="en">https://yggdrasil-network.github.io</doc> - </upstream> -</pkgmetadata> diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.12-r1.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.12-r1.ebuild deleted file mode 100644 index cc575ab1bc9c..000000000000 --- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.12-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module linux-info systemd - -DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" -HOMEPAGE="https://yggdrasil-network.github.io/" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go" - inherit git-r3 -else - SRC_URI=" - https://github.com/yggdrasil-network/yggdrasil-go/releases/download/v${PV}/yggdrasil-${PV}-vendored.tar.gz - " - S="${WORKDIR}" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB" -SLOT="0" - -RESTRICT="mirror" - -BDEPEND=">=dev-lang/go-1.23" -RDEPEND=" - acct-user/yggdrasil - acct-group/yggdrasil -" - -DOCS=( "README.md" "CHANGELOG.md" ) - -FILECAPS=( - cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil" -) - -CONFIG_CHECK="~TUN" -ERROR_TUN="Your kernel lacks TUN support." - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - go-module_live_vendor - fi - go-module_src_unpack -} - -src_compile() { - GOFLAGS+=" -mod=vendor -trimpath" - - local src="github.com/yggdrasil-network/yggdrasil-go/src/version" - local name version - if [[ ${PV} == 9999 ]]; then - chmod +x ./contrib/semver/{name,version}.sh || die - name="$(./contrib/semver/name.sh || die)" - version="$(./contrib/semver/version.sh || die)" - else - name="yggdrasil" - version="v${PV}" - fi - local custom_name_version_flags="-X ${src}.buildName=${name} -X ${src}.buildVersion=${version}" - - local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\" ${custom_name_version_flags}" - - for cmd in yggdrasil{,ctl} genkeys; do - ego build ${GOFLAGS} -ldflags="${go_ldflags}" ./cmd/${cmd} - done -} - -src_install() { - dobin yggdrasil{,ctl} genkeys - einstalldocs - - systemd_dounit "contrib/systemd/yggdrasil.service" - systemd_dounit "contrib/systemd/yggdrasil-default-config.service" - doinitd "contrib/openrc/yggdrasil" -} diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.13.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.13.ebuild deleted file mode 100644 index 3daa9760db92..000000000000 --- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.13.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module linux-info systemd - -DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" -HOMEPAGE="https://yggdrasil-network.github.io/" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go" - inherit git-r3 -else - SRC_URI=" - https://github.com/yggdrasil-network/yggdrasil-go/releases/download/v${PV}/yggdrasil-${PV}-vendored.tar.gz - " - S="${WORKDIR}" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB" -SLOT="0" - -RESTRICT="mirror" - -BDEPEND=">=dev-lang/go-1.24" -RDEPEND=" - acct-user/yggdrasil - acct-group/yggdrasil -" - -DOCS=( "README.md" "CHANGELOG.md" ) - -FILECAPS=( - cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil" -) - -CONFIG_CHECK="~TUN" -ERROR_TUN="Your kernel lacks TUN support." - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - go-module_live_vendor - fi - go-module_src_unpack -} - -src_compile() { - GOFLAGS+=" -mod=vendor -trimpath" - - local src="github.com/yggdrasil-network/yggdrasil-go/src/version" - local name version - if [[ ${PV} == 9999 ]]; then - chmod +x ./contrib/semver/{name,version}.sh || die - name="$(./contrib/semver/name.sh || die)" - version="$(./contrib/semver/version.sh || die)" - else - name="yggdrasil" - version="v${PV}" - fi - local custom_name_version_flags="-X ${src}.buildName=${name} -X ${src}.buildVersion=${version}" - - local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\" ${custom_name_version_flags}" - - for cmd in yggdrasil{,ctl} genkeys; do - ego build ${GOFLAGS} -ldflags="${go_ldflags}" ./cmd/${cmd} - done -} - -src_install() { - dobin yggdrasil{,ctl} genkeys - einstalldocs - - systemd_dounit "contrib/systemd/yggdrasil.service" - systemd_dounit "contrib/systemd/yggdrasil-default-config.service" - doinitd "contrib/openrc/yggdrasil" -} diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-9999.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-9999.ebuild deleted file mode 100644 index 3daa9760db92..000000000000 --- a/net-p2p/yggdrasil-go/yggdrasil-go-9999.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module linux-info systemd - -DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" -HOMEPAGE="https://yggdrasil-network.github.io/" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go" - inherit git-r3 -else - SRC_URI=" - https://github.com/yggdrasil-network/yggdrasil-go/releases/download/v${PV}/yggdrasil-${PV}-vendored.tar.gz - " - S="${WORKDIR}" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB" -SLOT="0" - -RESTRICT="mirror" - -BDEPEND=">=dev-lang/go-1.24" -RDEPEND=" - acct-user/yggdrasil - acct-group/yggdrasil -" - -DOCS=( "README.md" "CHANGELOG.md" ) - -FILECAPS=( - cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil" -) - -CONFIG_CHECK="~TUN" -ERROR_TUN="Your kernel lacks TUN support." - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - go-module_live_vendor - fi - go-module_src_unpack -} - -src_compile() { - GOFLAGS+=" -mod=vendor -trimpath" - - local src="github.com/yggdrasil-network/yggdrasil-go/src/version" - local name version - if [[ ${PV} == 9999 ]]; then - chmod +x ./contrib/semver/{name,version}.sh || die - name="$(./contrib/semver/name.sh || die)" - version="$(./contrib/semver/version.sh || die)" - else - name="yggdrasil" - version="v${PV}" - fi - local custom_name_version_flags="-X ${src}.buildName=${name} -X ${src}.buildVersion=${version}" - - local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\" ${custom_name_version_flags}" - - for cmd in yggdrasil{,ctl} genkeys; do - ego build ${GOFLAGS} -ldflags="${go_ldflags}" ./cmd/${cmd} - done -} - -src_install() { - dobin yggdrasil{,ctl} genkeys - einstalldocs - - systemd_dounit "contrib/systemd/yggdrasil.service" - systemd_dounit "contrib/systemd/yggdrasil-default-config.service" - doinitd "contrib/openrc/yggdrasil" -} |
