commit: cd9635772b7c7eb9ef264dbf87ea379d334de44d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 14 22:15:36 2026 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 19:49:41 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd963577
net-proxy/trojan: drop 1.16.0-r3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-proxy/trojan/trojan-1.16.0-r3.ebuild | 75 --------------------------------
1 file changed, 75 deletions(-)
diff --git a/net-proxy/trojan/trojan-1.16.0-r3.ebuild
b/net-proxy/trojan/trojan-1.16.0-r3.ebuild
deleted file mode 100644
index 4dddc5d95a4f..000000000000
--- a/net-proxy/trojan/trojan-1.16.0-r3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISABLE_AUTOFORMATTING=1
-FORCE_PRINT_ELOG=1
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake python-any-r1 systemd readme.gentoo-r1
-DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW"
-HOMEPAGE="https://github.com/trojan-gfw/trojan"
-if [[ "${PV}" == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/trojan-gfw/trojan.git"
-else
- SRC_URI="https://github.com/trojan-gfw/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="mysql +nat +reuseport tcpfastopen test"
-
-# Some hiccups setting up local network server.
-RESTRICT="test"
-
-RDEPEND="
- dev-libs/boost:=
- dev-libs/openssl:0=
- mysql? ( dev-db/mysql-connector-c:= )
-"
-DEPEND="${RDEPEND}
- acct-group/trojan
- acct-user/trojan
- test? ( net-misc/curl ${PYTHON_DEPS} )
-"
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- cmake_src_prepare
- sed -i -e "/User/s/nobody/trojan/g" \
- "${S}"/examples/trojan.service-example || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_MYSQL=$(usex mysql)
- -DENABLE_NAT=$(usex nat)
- -DENABLE_REUSE_PORT=$(usex reuseport)
- -DFORCE_TCP_FASTOPEN=$(usex tcpfastopen)
- -DSYSTEMD_SERVICE=ON
- -DSYSTEMD_SERVICE_PATH=$(systemd_get_systemunitdir)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- newinitd "${FILESDIR}/trojan.initd" trojan
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- cmake_src_test -j1
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}