summaryrefslogtreecommitdiff
path: root/net-proxy
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-proxy
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.9.4.ebuild47
-rw-r--r--net-proxy/3proxy/3proxy-0.9.5.ebuild62
-rw-r--r--net-proxy/3proxy/Manifest2
-rw-r--r--net-proxy/3proxy/files/3proxy-0.9.4-function-pointer-fix.patch58
-rw-r--r--net-proxy/3proxy/files/3proxy-0.9.4-gentoo.patch38
-rw-r--r--net-proxy/3proxy/files/3proxy-0.9.5-function-pointer-fix.patch49
-rw-r--r--net-proxy/3proxy/files/3proxy-0.9.5-gentoo.patch51
-rw-r--r--net-proxy/3proxy/files/3proxy.initd15
-rw-r--r--net-proxy/3proxy/metadata.xml26
-rw-r--r--net-proxy/MTProxy/MTProxy-3.0.4-r1.ebuild28
-rw-r--r--net-proxy/MTProxy/Manifest1
-rw-r--r--net-proxy/MTProxy/files/MTProxy-3.0.4-adjust_flags.patch158
-rw-r--r--net-proxy/MTProxy/files/MTProxy-3.0.4-no_implicit_func.patch13
-rw-r--r--net-proxy/MTProxy/metadata.xml11
-rw-r--r--net-proxy/Throne/Manifest4
-rw-r--r--net-proxy/Throne/Throne-1.1.2.ebuild95
-rw-r--r--net-proxy/Throne/Throne-1.1.4.ebuild95
-rw-r--r--net-proxy/Throne/files/Throne-1.0.0-use-system-QHotkey.patch33
-rw-r--r--net-proxy/Throne/files/Throne-1.1.1-dont-treat-warnings-as-errors.patch16
-rw-r--r--net-proxy/Throne/files/Throne-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch26
-rw-r--r--net-proxy/Throne/files/Throne-1.1.1-use-system-quirc.patch41
-rw-r--r--net-proxy/Throne/files/Throne.desktop11
-rw-r--r--net-proxy/Throne/metadata.xml12
-rw-r--r--net-proxy/adzapper/Manifest1
-rw-r--r--net-proxy/adzapper/adzapper-20110915-r2.ebuild57
-rw-r--r--net-proxy/adzapper/files/20110915-flush.patch107
-rw-r--r--net-proxy/adzapper/metadata.xml8
-rw-r--r--net-proxy/byedpi/Manifest2
-rw-r--r--net-proxy/byedpi/byedpi-0.17.2.ebuild45
-rw-r--r--net-proxy/byedpi/byedpi-0.17.3.ebuild45
-rw-r--r--net-proxy/byedpi/byedpi-9999.ebuild45
-rw-r--r--net-proxy/byedpi/files/byedpi.confd8
-rw-r--r--net-proxy/byedpi/files/byedpi.initd-r231
-rw-r--r--net-proxy/byedpi/metadata.xml11
-rw-r--r--net-proxy/cntlm/Manifest1
-rw-r--r--net-proxy/cntlm/cntlm-0.93_beta5-r4.ebuild50
-rw-r--r--net-proxy/cntlm/files/cntlm-0.93_beta5-buildsystem.patch195
-rw-r--r--net-proxy/cntlm/files/cntlm-0.93_beta5-configure-clang16.patch31
-rw-r--r--net-proxy/cntlm/files/cntlm.confd5
-rw-r--r--net-proxy/cntlm/files/cntlm.initd21
-rw-r--r--net-proxy/cntlm/files/cntlm.service9
-rw-r--r--net-proxy/cntlm/metadata.xml8
-rw-r--r--net-proxy/dante/Manifest5
-rw-r--r--net-proxy/dante/dante-1.4.1-r6.ebuild107
-rw-r--r--net-proxy/dante/dante-1.4.3.ebuild117
-rw-r--r--net-proxy/dante/dante-1.4.4.ebuild121
-rw-r--r--net-proxy/dante/files/dante-1.3.2-sockd-init56
-rw-r--r--net-proxy/dante/files/dante-1.4.0-HAVE_SENDBUF_IOCTL.patch11
-rw-r--r--net-proxy/dante/files/dante-1.4.0-cflags.patch32
-rw-r--r--net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch15
-rw-r--r--net-proxy/dante/files/dante-1.4.0-socksify.patch27
-rw-r--r--net-proxy/dante/files/dante-1.4.1-miniupnp14.patch14
-rw-r--r--net-proxy/dante/files/dante-1.4.1-sigpwr-siginfo.patch26
-rw-r--r--net-proxy/dante/files/dante-1.4.2-cflags.patch32
-rw-r--r--net-proxy/dante/files/dante-1.4.3-gai-symbol.patch32
-rw-r--r--net-proxy/dante/files/dante-1.4.3-osdep-debug.patch16
-rw-r--r--net-proxy/dante/files/dante-1.4.3-upnp-2.2.8.patch247
-rw-r--r--net-proxy/dante/files/dante-sockd-conf13
-rw-r--r--net-proxy/dante/files/dante-sockd.service9
-rw-r--r--net-proxy/dante/files/sockd.conf243
-rw-r--r--net-proxy/dante/files/sockd.conf-with-libwrap.patch41
-rw-r--r--net-proxy/dante/files/sockd.conf-with-pam.patch12
-rw-r--r--net-proxy/dante/files/socks.conf127
-rw-r--r--net-proxy/dante/metadata.xml5
-rw-r--r--net-proxy/dnsproxy/Manifest1
-rw-r--r--net-proxy/dnsproxy/dnsproxy-1.17-r1.ebuild51
-rw-r--r--net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch10
-rw-r--r--net-proxy/dnsproxy/files/dnsproxy.confd3
-rw-r--r--net-proxy/dnsproxy/files/dnsproxy.initd31
-rw-r--r--net-proxy/dnsproxy/metadata.xml14
-rw-r--r--net-proxy/dnss/Manifest1
-rw-r--r--net-proxy/dnss/dnss-0.1.1.ebuild55
-rw-r--r--net-proxy/dnss/dnss-9999.ebuild58
-rw-r--r--net-proxy/dnss/metadata.xml11
-rw-r--r--net-proxy/haproxy-dataplaneapi/Manifest4
-rw-r--r--net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.0.3.ebuild27
-rw-r--r--net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.1.5.ebuild27
-rw-r--r--net-proxy/haproxy-dataplaneapi/metadata.xml11
-rw-r--r--net-proxy/haproxy/Manifest2
-rw-r--r--net-proxy/haproxy/files/haproxy.confd14
-rw-r--r--net-proxy/haproxy/files/haproxy.initd-r685
-rw-r--r--net-proxy/haproxy/haproxy-3.3.10.ebuild175
-rw-r--r--net-proxy/haproxy/haproxy-3.3.9.ebuild175
-rw-r--r--net-proxy/haproxy/metadata.xml41
-rw-r--r--net-proxy/hatop/Manifest1
-rw-r--r--net-proxy/hatop/files/hatop-0.8.2-python312.patch73
-rw-r--r--net-proxy/hatop/hatop-0.8.2-r1.ebuild32
-rw-r--r--net-proxy/hatop/metadata.xml14
-rw-r--r--net-proxy/havp/Manifest1
-rw-r--r--net-proxy/havp/files/havp-0.92a-gcc12-time.patch11
-rw-r--r--net-proxy/havp/files/havp-0.92a-pkg-config-libclamav.patch66
-rw-r--r--net-proxy/havp/files/havp-0.92a-run.patch51
-rw-r--r--net-proxy/havp/files/havp.initd59
-rw-r--r--net-proxy/havp/havp-0.92a-r3.ebuild82
-rw-r--r--net-proxy/havp/metadata.xml12
-rw-r--r--net-proxy/lyrebird/Manifest2
-rw-r--r--net-proxy/lyrebird/lyrebird-0.6.0.ebuild41
-rw-r--r--net-proxy/lyrebird/metadata.xml5
-rw-r--r--net-proxy/metadata.xml32
-rw-r--r--net-proxy/microsocks/Manifest2
-rw-r--r--net-proxy/microsocks/files/microsocks.confd4
-rw-r--r--net-proxy/microsocks/files/microsocks.initd14
-rw-r--r--net-proxy/microsocks/metadata.xml11
-rw-r--r--net-proxy/microsocks/microsocks-1.0.2.ebuild30
-rw-r--r--net-proxy/microsocks/microsocks-1.0.3.ebuild30
-rw-r--r--net-proxy/mitmproxy-linux/Manifest27
-rw-r--r--net-proxy/mitmproxy-linux/files/mitmproxy-linux-0.11.5-no-host-aya-ebpf.patch36
-rw-r--r--net-proxy/mitmproxy-linux/metadata.xml12
-rw-r--r--net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.9.ebuild118
-rw-r--r--net-proxy/mitmproxy-rs/Manifest3
-rw-r--r--net-proxy/mitmproxy-rs/metadata.xml12
-rw-r--r--net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.9.ebuild53
-rw-r--r--net-proxy/mitmproxy/Manifest3
-rw-r--r--net-proxy/mitmproxy/metadata.xml24
-rw-r--r--net-proxy/mitmproxy/mitmproxy-12.2.1.ebuild84
-rw-r--r--net-proxy/mitmproxy/mitmproxy-12.2.2.ebuild84
-rw-r--r--net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild84
-rw-r--r--net-proxy/ngrok-bin/Manifest7
-rw-r--r--net-proxy/ngrok-bin/metadata.xml8
-rw-r--r--net-proxy/ngrok-bin/ngrok-bin-3.39.1.ebuild33
-rw-r--r--net-proxy/nutcracker/Manifest2
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.3.0-use-system-libyaml.patch54
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch11
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.5.0-md5_signature-lto-mismatch.patch12
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.5.0-use-system-libyaml.patch62
-rw-r--r--net-proxy/nutcracker/files/nutcracker.confd.29
-rw-r--r--net-proxy/nutcracker/files/nutcracker.initd.239
-rw-r--r--net-proxy/nutcracker/metadata.xml11
-rw-r--r--net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild49
-rw-r--r--net-proxy/nutcracker/nutcracker-0.5.0.ebuild51
-rw-r--r--net-proxy/opera-proxy/Manifest2
-rw-r--r--net-proxy/opera-proxy/files/opera-proxy.initd15
-rw-r--r--net-proxy/opera-proxy/metadata.xml11
-rw-r--r--net-proxy/opera-proxy/opera-proxy-1.15.0.ebuild28
-rw-r--r--net-proxy/pingtunnel/Manifest1
-rw-r--r--net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch10
-rw-r--r--net-proxy/pingtunnel/files/pingtunnel-0.72_makefile.patch60
-rw-r--r--net-proxy/pingtunnel/metadata.xml7
-rw-r--r--net-proxy/pingtunnel/pingtunnel-0.72.ebuild36
-rw-r--r--net-proxy/piper/Manifest1
-rw-r--r--net-proxy/piper/metadata.xml7
-rw-r--r--net-proxy/piper/piper-1.14-r1.ebuild24
-rw-r--r--net-proxy/privoxy/Manifest2
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.28-strip.patch47
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.32-gentoo.patch121
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.33-configure-c99.patch34
-rw-r--r--net-proxy/privoxy/files/privoxy.initd-328
-rw-r--r--net-proxy/privoxy/files/privoxy.logrotate9
-rw-r--r--net-proxy/privoxy/files/privoxy.service10
-rw-r--r--net-proxy/privoxy/metadata.xml47
-rw-r--r--net-proxy/privoxy/privoxy-3.0.34-r1.ebuild158
-rw-r--r--net-proxy/privoxy/privoxy-4.0.0.ebuild158
-rw-r--r--net-proxy/redsocks/Manifest1
-rw-r--r--net-proxy/redsocks/files/redsocks.conf15
-rw-r--r--net-proxy/redsocks/files/redsocks.init-r245
-rw-r--r--net-proxy/redsocks/files/redsocks.service16
-rw-r--r--net-proxy/redsocks/metadata.xml26
-rw-r--r--net-proxy/redsocks/redsocks-0.5-r2.ebuild47
-rw-r--r--net-proxy/redsocks/redsocks-9999.ebuild47
-rw-r--r--net-proxy/rejik/Manifest2
-rw-r--r--net-proxy/rejik/metadata.xml8
-rw-r--r--net-proxy/rejik/rejik-3.2.11.ebuild83
-rw-r--r--net-proxy/shadowsocks-libev/Manifest1
-rw-r--r--net-proxy/shadowsocks-libev/files/shadowsocks.initd64
-rw-r--r--net-proxy/shadowsocks-libev/files/shadowsocks.json8
-rw-r--r--net-proxy/shadowsocks-libev/metadata.xml11
-rw-r--r--net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild88
-rw-r--r--net-proxy/shadowsocks-rust/Manifest2
-rw-r--r--net-proxy/shadowsocks-rust/metadata.xml11
-rw-r--r--net-proxy/shadowsocks-rust/shadowsocks-rust-1.22.0.ebuild45
-rw-r--r--net-proxy/snowflake/Manifest2
-rw-r--r--net-proxy/snowflake/files/snowflake-proxy.initd15
-rw-r--r--net-proxy/snowflake/files/snowflake-proxy.service16
-rw-r--r--net-proxy/snowflake/metadata.xml9
-rw-r--r--net-proxy/snowflake/snowflake-2.11.0-r1.ebuild62
-rw-r--r--net-proxy/snowflake/snowflake-2.12.1.ebuild62
-rw-r--r--net-proxy/squid/Manifest5
-rw-r--r--net-proxy/squid/files/squid-4.17-use-system-libltdl.patch16
-rw-r--r--net-proxy/squid/files/squid-6.12-ar.patch29
-rw-r--r--net-proxy/squid/files/squid-6.14-cachemgr-dont_show_hostname.patch17
-rw-r--r--net-proxy/squid/files/squid-6.14-proxy_auth_data.patch187
-rw-r--r--net-proxy/squid/files/squid-6.2-gentoo.patch76
-rw-r--r--net-proxy/squid/files/squid-7.5-ar.patch11
-rw-r--r--net-proxy/squid/files/squid-7.5-gentoo.patch76
-rw-r--r--net-proxy/squid/files/squid-7.5-use-system-libltdl.patch13
-rw-r--r--net-proxy/squid/files/squid.confd-r218
-rw-r--r--net-proxy/squid/files/squid.cron-r115
-rw-r--r--net-proxy/squid/files/squid.initd-r7133
-rw-r--r--net-proxy/squid/files/squid.logrotate-r111
-rw-r--r--net-proxy/squid/files/squid.pam7
-rw-r--r--net-proxy/squid/metadata.xml26
-rw-r--r--net-proxy/squid/squid-6.14-r1.ebuild421
-rw-r--r--net-proxy/squid/squid-7.5.ebuild410
-rw-r--r--net-proxy/squidguard/Manifest1
-rw-r--r--net-proxy/squidguard/files/blockedsites1
-rw-r--r--net-proxy/squidguard/files/squidGuard.conf.blocksites13
-rw-r--r--net-proxy/squidguard/files/squidGuard.conf.minimal7
-rw-r--r--net-proxy/squidguard/files/squidguard-1.6.0-C23.patch37
-rw-r--r--net-proxy/squidguard/files/squidguard-1.6.0-gcc-10.patch54
-rw-r--r--net-proxy/squidguard/files/squidguard-1.6.0-gentoo.patch33
-rw-r--r--net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch54
-rw-r--r--net-proxy/squidguard/metadata.xml5
-rw-r--r--net-proxy/squidguard/squidguard-1.6.0-r1.ebuild101
-rw-r--r--net-proxy/squidguard/squidguard-1.6.0-r2.ebuild104
-rw-r--r--net-proxy/squirm/Manifest1
-rw-r--r--net-proxy/squirm/files/squirm-1.26-fno-common.patch25
-rw-r--r--net-proxy/squirm/files/squirm-1.26-gcc5.patch9
-rw-r--r--net-proxy/squirm/files/squirm-1.26-gentoo.patch33
-rw-r--r--net-proxy/squirm/metadata.xml5
-rw-r--r--net-proxy/squirm/squirm-1.26-r1.ebuild37
-rw-r--r--net-proxy/sshuttle/Manifest2
-rw-r--r--net-proxy/sshuttle/metadata.xml12
-rw-r--r--net-proxy/sshuttle/sshuttle-1.3.1.ebuild72
-rw-r--r--net-proxy/tayga/Manifest2
-rw-r--r--net-proxy/tayga/files/tayga-0.9.2-Fix-implicit-function-declaration.patch16
-rw-r--r--net-proxy/tayga/files/tayga-0.9.2-manpage-RFC.patch57
-rw-r--r--net-proxy/tayga/files/tayga-0.9.2-release-reserved-addr.patch13
-rw-r--r--net-proxy/tayga/files/tayga-0.9.2-static-EAM.patch119
-rw-r--r--net-proxy/tayga/files/tayga.confd2
-rw-r--r--net-proxy/tayga/files/tayga.initd20
-rw-r--r--net-proxy/tayga/metadata.xml19
-rw-r--r--net-proxy/tayga/tayga-0.9.2-r4.ebuild34
-rw-r--r--net-proxy/tayga/tayga-0.9.6.ebuild47
-rw-r--r--net-proxy/tinyproxy/Manifest2
-rw-r--r--net-proxy/tinyproxy/files/tinyproxy-1.10.0.initd40
-rw-r--r--net-proxy/tinyproxy/files/tinyproxy-1.10.0.service9
-rw-r--r--net-proxy/tinyproxy/files/tinyproxy-1.11.2_use-runstatedir.patch89
-rw-r--r--net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf1
-rw-r--r--net-proxy/tinyproxy/metadata.xml18
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.11.2-r1.ebuild83
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.11.2.ebuild74
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.11.3.ebuild79
-rw-r--r--net-proxy/torsocks/Manifest1
-rw-r--r--net-proxy/torsocks/files/torsocks-2.4.0-configure.patch23
-rw-r--r--net-proxy/torsocks/metadata.xml16
-rw-r--r--net-proxy/torsocks/torsocks-2.5.0.ebuild46
-rw-r--r--net-proxy/trojan/Manifest1
-rw-r--r--net-proxy/trojan/files/README.gentoo14
-rw-r--r--net-proxy/trojan/files/trojan-1.16.0-boost-1.89.patch11
-rw-r--r--net-proxy/trojan/files/trojan-1.16.0-cmake-minreqver-3.10.patch8
-rw-r--r--net-proxy/trojan/files/trojan.initd40
-rw-r--r--net-proxy/trojan/metadata.xml35
-rw-r--r--net-proxy/trojan/trojan-1.16.0-r4.ebuild79
-rw-r--r--net-proxy/tsocks/Manifest2
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch22
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-flags.patch31
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-ld_preload.patch35
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-options.patch47
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-poll.patch16
-rw-r--r--net-proxy/tsocks/files/tsocks-1.8_beta5-rename.patch62
-rw-r--r--net-proxy/tsocks/metadata.xml17
-rw-r--r--net-proxy/tsocks/tsocks-1.8_beta5-r10.ebuild88
-rw-r--r--net-proxy/tsocks/tsocks-1.8_beta5-r9.ebuild83
-rw-r--r--net-proxy/wireproxy/Manifest4
-rw-r--r--net-proxy/wireproxy/metadata.xml16
-rw-r--r--net-proxy/wireproxy/wireproxy-1.0.9.ebuild22
-rw-r--r--net-proxy/wireproxy/wireproxy-1.1.2.ebuild22
-rw-r--r--net-proxy/wwwoffle/Manifest1
-rw-r--r--net-proxy/wwwoffle/files/wwwoffle-2.9j-lto.patch65
-rw-r--r--net-proxy/wwwoffle/files/wwwoffle-online.confd9
-rw-r--r--net-proxy/wwwoffle/files/wwwoffle-online.initd29
-rw-r--r--net-proxy/wwwoffle/files/wwwoffle.initd20
-rw-r--r--net-proxy/wwwoffle/metadata.xml9
-rw-r--r--net-proxy/wwwoffle/wwwoffle-2.9j.ebuild112
-rw-r--r--net-proxy/xray-core/Manifest4
-rw-r--r--net-proxy/xray-core/files/xray.service14
-rw-r--r--net-proxy/xray-core/files/xray_at.service14
-rw-r--r--net-proxy/xray-core/metadata.xml14
-rw-r--r--net-proxy/xray-core/xray-core-26.2.6.ebuild78
-rw-r--r--net-proxy/xray-core/xray-core-26.3.27.ebuild72
-rw-r--r--net-proxy/xray-core/xray-core-9999.ebuild72
-rw-r--r--net-proxy/ziproxy/Manifest1
-rw-r--r--net-proxy/ziproxy/files/ziproxy-3.3.2-Fix-clang-build-errors.patch42
-rw-r--r--net-proxy/ziproxy/files/ziproxy-3.3.2-fix_gcc15.patch13
-rw-r--r--net-proxy/ziproxy/files/ziproxy.confd18
-rw-r--r--net-proxy/ziproxy/files/ziproxy.initd-r125
-rw-r--r--net-proxy/ziproxy/metadata.xml13
-rw-r--r--net-proxy/ziproxy/ziproxy-3.3.2-r1.ebuild91
278 files changed, 0 insertions, 10897 deletions
diff --git a/net-proxy/3proxy/3proxy-0.9.4.ebuild b/net-proxy/3proxy/3proxy-0.9.4.ebuild
deleted file mode 100644
index 99192030df48..000000000000
--- a/net-proxy/3proxy/3proxy-0.9.4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="A really tiny cross-platform proxy servers set"
-HOMEPAGE="
- https://3proxy.ru/
- https://github.com/3proxy/3proxy/
-"
-SRC_URI="https://github.com/3proxy/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
-
-PATCHES=(
- "${FILESDIR}/${P}-gentoo.patch"
- "${FILESDIR}/${P}-function-pointer-fix.patch"
-)
-
-DOCS=( README cfg )
-HTML_DOCS=( doc/html/. )
-
-src_prepare() {
- default
- tc-export CC
- cp Makefile.Linux Makefile || die
-}
-
-src_install() {
- local x
-
- pushd bin >/dev/null || die
- dolib.so *.so
- dobin 3proxy
- for x in ftppr mycrypt pop3p proxy smtpp socks tcppm udppm; do
- newbin ${x} ${PN}-${x}
- [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8
- done
- popd >/dev/null
-
- doman man/3proxy*.[38]
-
- einstalldocs
-}
diff --git a/net-proxy/3proxy/3proxy-0.9.5.ebuild b/net-proxy/3proxy/3proxy-0.9.5.ebuild
deleted file mode 100644
index 05a243be6072..000000000000
--- a/net-proxy/3proxy/3proxy-0.9.5.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
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Really tiny cross-platform proxy servers set"
-HOMEPAGE="
- https://3proxy.org/
- https://github.com/3proxy/3proxy/
-"
-SRC_URI="https://github.com/3proxy/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
-
-RDEPEND="
- acct-group/3proxy
- acct-user/3proxy
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.5-gentoo.patch"
- "${FILESDIR}/${PN}-0.9.5-function-pointer-fix.patch"
-)
-
-DOCS=( README cfg )
-HTML_DOCS=( doc/html/. )
-
-src_prepare() {
- default
- tc-export CC
- cp Makefile.Linux Makefile || die
-}
-
-src_install() {
- local x
-
- pushd bin || die
- dolib.so *.so
- dobin 3proxy
- for x in $(find -type f -executable ! -name '*.so' ! -name 3proxy -printf '%f\n'); do
- newbin ${x} ${PN}-${x}
- [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8
- done
- popd || die
-
- diropts -m 0700 -o 3proxy -g 3proxy
- dodir /etc/3proxy
-
- insinto /etc/3proxy
- insopts -m 0600 -o 3proxy -g 3proxy
- doins cfg/3proxy.cfg.sample cfg/counters.sample
-
- newinitd "${FILESDIR}"/3proxy.initd 3proxy
- systemd_dounit scripts/3proxy.service
-
- doman man/3proxy*.[38]
-
- einstalldocs
-}
diff --git a/net-proxy/3proxy/Manifest b/net-proxy/3proxy/Manifest
deleted file mode 100644
index c9b6c2c7e518..000000000000
--- a/net-proxy/3proxy/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST 3proxy-0.9.4.tar.gz 610340 BLAKE2B 7b98cc26fc943fcf15a6518a7adb79ccc79d8250b359f97318e9a48b4bb2643a88ee5fed49216d4ee71b436d0a21231e148f616c78b1dfab8b0b720a4223ccfd SHA512 d3316f6ee1217e580ce593a7bfd9d76672487a89862f247373b0acf3ea207887c758168e33b25db9fc974063deab0826c20d455cab2536d03eee49d8bddda6b5
-DIST 3proxy-0.9.5.tar.gz 620563 BLAKE2B acf1bf60fca9150e0a486939d49773864b87d34663245bfbd24bdb34d4030d2bdb6623706a7586579810c517fcccfeaf3295737daa97c6c65750ff3ae48710bf SHA512 b668db6438da19ee2479228af744b9b3b9ff2c7e6d97aaf3b20737b165ab2baf656ac9ea92b6f1e169c428784c7d9e3e7eeb7c3effb1c0b77e5038319b6d2bcd
diff --git a/net-proxy/3proxy/files/3proxy-0.9.4-function-pointer-fix.patch b/net-proxy/3proxy/files/3proxy-0.9.4-function-pointer-fix.patch
deleted file mode 100644
index 9c51f90f1df1..000000000000
--- a/net-proxy/3proxy/files/3proxy-0.9.4-function-pointer-fix.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Use poll with nfds_t type
-
-Fixes: https://github.com/3proxy/3proxy/issues/895
-Bug: https://bugs.gentoo.org/881015
-Upstream-PR: https://github.com/3proxy/3proxy/pull/907
-
-diff --git a/src/common.c b/src/common.c
-index e8106e2..27ad390 100644
---- a/src/common.c
-+++ b/src/common.c
-@@ -157,7 +157,7 @@ int
- WINAPI
- #endif
-
-- mypoll(struct mypollfd *fds, unsigned int nfds, int timeout){
-+ mypoll(struct mypollfd *fds, nfds_t nfds, int timeout){
- fd_set readfd;
- fd_set writefd;
- fd_set oobfd;
-diff --git a/src/structures.h b/src/structures.h
-index 8d41374..ee778c2 100644
---- a/src/structures.h
-+++ b/src/structures.h
-@@ -69,6 +69,7 @@ int mutex_unlock(int *val);
- #ifdef WITH_POLL
- #include <poll.h>
- #else
-+typedef unsigned int nfds_t;
- #ifdef WITH_WSAPOLL
-
- #define poll(A,B,C) WSAPoll(A,B,C)
-@@ -84,7 +85,7 @@ int
- #ifdef _WIN32
- WINAPI
- #endif
-- mypoll(struct mypollfd *fds, unsigned int nfds, int timeout);
-+ mypoll(struct mypollfd *fds, nfds_t nfds, int timeout);
- #ifndef POLLIN
- #define POLLIN 1
- #endif
-@@ -701,7 +702,7 @@ struct sockfuncs {
- int (WINAPI *_getsockname)(SOCKET s, struct sockaddr * name, int * namelen);
- int (WINAPI *_getsockopt)(SOCKET s, int level, int optname, char * optval, int * optlen);
- int (WINAPI *_setsockopt)(SOCKET s, int level, int optname, const char *optval, int optlen);
-- int (WINAPI *_poll)(struct pollfd *fds, unsigned int nfds, int timeout);
-+ int (WINAPI *_poll)(struct pollfd *fds, nfds_t nfds, int timeout);
- int (WINAPI *_send)(SOCKET s, const char *msg, int len, int flags);
- int (WINAPI *_sendto)(SOCKET s, const char *msg, int len, int flags, const struct sockaddr *to, int tolen);
- int (WINAPI *_recv)(SOCKET s, char *buf, int len, int flags);
-@@ -718,7 +719,7 @@ struct sockfuncs {
- int (*_getsockname)(SOCKET s, struct sockaddr * name, socklen_t * namelen);
- int (*_getsockopt)(SOCKET s, int level, int optname, void * optval, socklen_t * optlen);
- int (*_setsockopt)(int s, int level, int optname, const void *optval, socklen_t optlen);
-- int (*_poll)(struct pollfd *fds, unsigned int nfds, int timeout);
-+ int (*_poll)(struct pollfd *fds, nfds_t nfds, int timeout);
- size_t (*_send)(SOCKET s, const void *msg, size_t len, int flags);
- size_t (*_sendto)(SOCKET s, const void *msg, size_t len, int flags, const struct sockaddr *to, SASIZETYPE tolen);
- size_t (*_recv)(SOCKET s, void *buf, size_t len, int flags);
diff --git a/net-proxy/3proxy/files/3proxy-0.9.4-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.9.4-gentoo.patch
deleted file mode 100644
index 57a9b479f1e3..000000000000
--- a/net-proxy/3proxy/files/3proxy-0.9.4-gentoo.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/Makefile.Linux b/Makefile.Linux
-index 4f3f2b3..f15f6ff 100644
---- a/Makefile.Linux
-+++ b/Makefile.Linux
-@@ -8,13 +8,13 @@
- # library support. Add -DSAFESQL for poorely written ODBC library / drivers.
-
- BUILDDIR = ../bin/
--CC = gcc
-+CC ?= gcc
-
--CFLAGS = -g -fPIC -O2 -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
-+CFLAGS += -fPIC -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
- COUT = -o
- LN = $(CC)
- DCFLAGS =
--LDFLAGS = -fPIE -O2 -fno-strict-aliasing -pthread
-+LDFLAGS += -fPIE -fno-strict-aliasing -pthread
- DLFLAGS = -shared
- DLSUFFICS = .ld.so
- # -lpthreads may be reuqired on some platforms instead of -pthreads
-@@ -40,13 +40,13 @@ PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin
- include Makefile.inc
-
- allplugins:
-- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done
-+ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done
-
- DESTDIR =
- prefix =
- exec_prefix = $(prefix)
--man_prefix = /usr/share
--chroot_prefix = /usr/local
-+man_prefix = $(prefix)/usr/share
-+chroot_prefix = $(prefix)/usr/local
-
- INSTALL = /usr/bin/install
- INSTALL_BIN = $(INSTALL) -m 755
diff --git a/net-proxy/3proxy/files/3proxy-0.9.5-function-pointer-fix.patch b/net-proxy/3proxy/files/3proxy-0.9.5-function-pointer-fix.patch
deleted file mode 100644
index 665e19793b1d..000000000000
--- a/net-proxy/3proxy/files/3proxy-0.9.5-function-pointer-fix.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Use poll with nfds_t type
-
-Fixes: https://github.com/3proxy/3proxy/issues/895
-Bug: https://bugs.gentoo.org/881015
-Upstream-PR: https://github.com/3proxy/3proxy/pull/907
-
-diff --git a/src/common.c b/src/common.c
-index ec25eb6..7a64a08 100644
---- a/src/common.c
-+++ b/src/common.c
-@@ -157,7 +157,7 @@ int
- WINAPI
- #endif
-
-- mypoll(struct mypollfd *fds, unsigned int nfds, int timeout){
-+ mypoll(struct mypollfd *fds, nfds_t nfds, int timeout){
- fd_set readfd;
- fd_set writefd;
- fd_set oobfd;
-diff --git a/src/structures.h b/src/structures.h
-index a2f5ba7..0db681b 100644
---- a/src/structures.h
-+++ b/src/structures.h
-@@ -69,6 +69,7 @@ int mutex_unlock(int *val);
- #ifdef WITH_POLL
- #include <poll.h>
- #else
-+typedef unsigned int nfds_t;
- #ifdef WITH_WSAPOLL
-
- #define poll(A,B,C) WSAPoll(A,B,C)
-@@ -84,7 +85,7 @@ int
- #ifdef _WIN32
- WINAPI
- #endif
-- mypoll(struct mypollfd *fds, unsigned int nfds, int timeout);
-+ mypoll(struct mypollfd *fds, nfds_t nfds, int timeout);
- #ifndef POLLIN
- #define POLLIN 1
- #endif
-@@ -434,7 +435,7 @@ struct sockfuncs {
- int (WINAPI *_getsockname)(void* state, SOCKET s, struct sockaddr * name, int * namelen);
- int (WINAPI *_getsockopt)(void* state, SOCKET s, int level, int optname, char * optval, int * optlen);
- int (WINAPI *_setsockopt)(void* state, SOCKET s, int level, int optname, const char *optval, int optlen);
-- int (WINAPI *_poll)(void* state, struct pollfd *fds, unsigned int nfds, int timeout);
-+ int (WINAPI *_poll)(void* state, struct pollfd *fds, nfds_t nfds, int timeout);
- int (WINAPI *_send)(void* state, SOCKET s, const char *msg, int len, int flags);
- int (WINAPI *_sendto)(void* state, SOCKET s, const char *msg, int len, int flags, const struct sockaddr *to, int tolen);
- int (WINAPI *_recv)(void* state, SOCKET s, char *buf, int len, int flags);
diff --git a/net-proxy/3proxy/files/3proxy-0.9.5-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.9.5-gentoo.patch
deleted file mode 100644
index 1daf65c95b5b..000000000000
--- a/net-proxy/3proxy/files/3proxy-0.9.5-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff --git a/Makefile.Linux b/Makefile.Linux
-index 4f3f2b3..f15f6ff 100644
---- a/Makefile.Linux
-+++ b/Makefile.Linux
-@@ -8,13 +8,13 @@
- # library support. Add -DSAFESQL for poorely written ODBC library / drivers.
-
- BUILDDIR = ../bin/
--CC = gcc
-+CC ?= gcc
-
--CFLAGS = -g -fPIC -O2 -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
-+CFLAGS += -fPIC -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
- COUT = -o
- LN = $(CC)
- DCFLAGS =
--LDFLAGS = -fPIC -O2 -fno-strict-aliasing -pthread
-+LDFLAGS += -fPIC -fno-strict-aliasing -pthread
- DLFLAGS = -shared
- DLSUFFICS = .ld.so
- # -lpthreads may be reuqired on some platforms instead of -pthreads
-@@ -40,13 +40,13 @@ PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin
- include Makefile.inc
-
- allplugins:
-- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done
-+ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done
-
- DESTDIR =
- prefix =
- exec_prefix = $(prefix)
--man_prefix = /usr/share
--chroot_prefix = /usr/local
-+man_prefix = $(prefix)/usr/share
-+chroot_prefix = $(prefix)/usr/local
-
- INSTALL = /usr/bin/install
- INSTALL_BIN = $(INSTALL) -m 755
-diff --git a/scripts/3proxy.service b/scripts/3proxy.service
-index cdb3af2..6e71d4d 100644
---- a/scripts/3proxy.service
-+++ b/scripts/3proxy.service
-@@ -5,7 +5,7 @@ After=network.target
-
- [Service]
- Environment=CONFIGFILE=/etc/3proxy/3proxy.cfg
--ExecStart=/bin/3proxy ${CONFIGFILE}
-+ExecStart=/usr/bin/3proxy ${CONFIGFILE}
- ExecReload=/bin/kill -SIGUSR1 $MAINPID
- KillMode=process
- Restart=on-failure
diff --git a/net-proxy/3proxy/files/3proxy.initd b/net-proxy/3proxy/files/3proxy.initd
deleted file mode 100644
index 68c1038b0cfb..000000000000
--- a/net-proxy/3proxy/files/3proxy.initd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="3proxy daemon"
-description="A really tiny cross-platform proxy servers set"
-command=/usr/bin/3proxy
-command_args="/etc/3proxy/3proxy.cfg"
-command_user="3proxy:3proxy"
-command_background=yes
-pidfile="/run/3proxy.pid"
-
-depend() {
-use dns
-}
diff --git a/net-proxy/3proxy/metadata.xml b/net-proxy/3proxy/metadata.xml
deleted file mode 100644
index 02de9384dcbb..000000000000
--- a/net-proxy/3proxy/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">
- <email>gentoo.org@id.powerman.name</email>
- <name>Alex Efros</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription>
- 3Proxy is really tiny cross-platform proxy servers set. It includes
- HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy,
- POP3 proxy, FTP proxy, TCP and UDP portmappers. You can use every proxy
- as a standalone program (socks, proxy, tcppm, udppm, pop3p) or use
- combined program (3proxy). Combined proxy additionally supports
- features like access control, bandwidth limiting, limiting
- daily/weekly/monthly traffic amount, proxy chaining, log rotation,
- sylog and ODBC logging, etc. It's created to be small, simple (I'd
- like to say secure - but it's just a beta) and yet functional.
- </longdescription>
- <upstream>
- <remote-id type="github">3proxy/3proxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/MTProxy/MTProxy-3.0.4-r1.ebuild b/net-proxy/MTProxy/MTProxy-3.0.4-r1.ebuild
deleted file mode 100644
index f0fa15c0b71d..000000000000
--- a/net-proxy/MTProxy/MTProxy-3.0.4-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Community fork of MTProxy"
-HOMEPAGE="https://github.com/GetPageSpeed/MTProxy"
-SRC_URI="https://github.com/GetPageSpeed/MTProxy/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- dev-libs/openssl
- virtual/zlib:=
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES="
- ${FILESDIR}/${P}-adjust_flags.patch
- ${FILESDIR}/${P}-no_implicit_func.patch
-"
-
-src_install() {
- dobin objs/bin/mtproto-proxy
-}
diff --git a/net-proxy/MTProxy/Manifest b/net-proxy/MTProxy/Manifest
deleted file mode 100644
index d554ac0e0a61..000000000000
--- a/net-proxy/MTProxy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST MTProxy-3.0.4.gh.tar.gz 197035 BLAKE2B f2476ef3125ced0425f7896eabd8b2fcb4a02faf92b9656aaa707566181022592f2d95bd8c5f9088e3874483ff1201cf2d383ba20ab367beac42475e41987bc0 SHA512 435b978071e2164e3955299b6772027666d82ca5e366d5f636987afb9c0ec1e74e27d79292679ca54c0f57a9bd60f68e10f50c6dc3ed2b8c5a74ef9ea6550aeb
diff --git a/net-proxy/MTProxy/files/MTProxy-3.0.4-adjust_flags.patch b/net-proxy/MTProxy/files/MTProxy-3.0.4-adjust_flags.patch
deleted file mode 100644
index ae460a558c49..000000000000
--- a/net-proxy/MTProxy/files/MTProxy-3.0.4-adjust_flags.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-diff -Nru MTProxy.orig/common/crc32.c MTProxy/common/crc32.c
---- MTProxy.orig/common/crc32.c 2018-06-17 01:58:54.692000000 +0300
-+++ MTProxy/common/crc32.c 2018-06-17 05:58:10.893000000 +0300
-@@ -443,6 +443,12 @@
- static const v2di CRC64_K128 = { CRC64_REFLECTED_X191, CRC64_REFLECTED_X127 };
- static const v2di CRC64_MU = { CRC64_REFLECTED_MU, CRC64_REFLECTED_POLY_65_BIT };
-
-+#ifndef __PCLMUL__
-+#pragma GCC push_options
-+#pragma GCC target("ssse3,pclmul")
-+#define __DISABLE_PCLMUL__
-+#endif /* __PCLMUL__ */
-+
- static v2di crcXX_partial_clmul (const void *q, long len, v2di D, v2di E, v2di K256, v2di K128) __attribute__((aligned(32)));
- v2di crcXX_partial_clmul (const void *q, long len, v2di D, v2di E, v2di K256, v2di K128) {
- v2di G, H;
-@@ -538,6 +544,11 @@
- #endif
- }
-
-+#ifdef __DISABLE_PCLMUL__
-+#undef __DISABLE_PCLMUL__
-+#pragma GCC pop_options
-+#endif /* __DISABLE_PCLMUL__ */
-+
- /******************** CRC-64 ********************/
-
- static const uint64_t crc64_table[256] = {
-@@ -622,6 +633,12 @@
- return crc;
- }
-
-+#ifndef __PCLMUL__
-+#pragma GCC push_options
-+#pragma GCC target("ssse3,pclmul")
-+#define __DISABLE_PCLMUL__
-+#endif /* __PCLMUL__ */
-+
- static uint64_t crc64_barrett_reduction (v2di D) {
- /* After reflection mu constant is 64 bit */
- v2di E = __builtin_ia32_pclmulqdq128 (D, CRC64_MU, 0x00);
-@@ -665,6 +682,11 @@
- return crc64_barrett_reduction (D);
- }
-
-+#ifdef __DISABLE_PCLMUL__
-+#undef __DISABLE_PCLMUL__
-+#pragma GCC pop_options
-+#endif /* __DISABLE_PCLMUL__ */
-+
- /* {{{ GF-32 */
-
- unsigned gf32_mulx (unsigned a, unsigned poly) {
-@@ -756,6 +778,12 @@
- return crc1;
- }
-
-+#ifndef __PCLMUL__
-+#pragma GCC push_options
-+#pragma GCC target("ssse3,pclmul")
-+#define __DISABLE_PCLMUL__
-+#endif /* __PCLMUL__ */
-+
- uint64_t gf32_combine_clmul (unsigned *powers, unsigned crc1, int64_t len2) {
- v2di D;
- FASTMOV_RMI32_TO_SSE(D, crc1);
-@@ -781,6 +809,11 @@
- RETURN_SSE_UINT64(D);
- }
-
-+#ifdef __DISABLE_PCLMUL__
-+#undef __DISABLE_PCLMUL__
-+#pragma GCC pop_options
-+#endif /* __DISABLE_PCLMUL__ */
-+
- /* }}} */
-
- static unsigned compute_crc32_combine_generic (unsigned crc1, unsigned crc2, int64_t len2) {
-@@ -874,6 +907,12 @@
- assert (crc64_power_buf[125]);
- }
-
-+#ifndef __PCLMUL__
-+#pragma GCC push_options
-+#pragma GCC target("ssse3,pclmul")
-+#define __DISABLE_PCLMUL__
-+#endif /* __PCLMUL__ */
-+
- static uint64_t compute_crc64_combine_clmul (uint64_t crc1, uint64_t crc2, int64_t len2) {
- if (len2 <= 0) {
- return crc1;
-@@ -902,6 +941,11 @@
- return crc64_barrett_reduction (D) ^ crc2;
- }
-
-+#ifdef __DISABLE_PCLMUL__
-+#undef __DISABLE_PCLMUL__
-+#pragma GCC pop_options
-+#endif /* __DISABLE_PCLMUL__ */
-+
- static uint64_t compute_crc64_combine_generic (uint64_t crc1, uint64_t crc2, int64_t len2) {
- if (len2 <= 0) {
- return crc1;
-diff -Nru MTProxy.orig/common/crc32c.c MTProxy/common/crc32c.c
---- MTProxy.orig/common/crc32c.c 2018-06-17 01:58:54.693000000 +0300
-+++ MTProxy/common/crc32c.c 2018-06-17 05:51:35.910000000 +0300
-@@ -337,6 +337,12 @@
- return c;
- }
-
-+#ifndef __PCLMUL__
-+#pragma GCC push_options
-+#pragma GCC target("pclmul")
-+#define __DISABLE_PCLMUL__
-+#endif /* __PCLMUL__ */
-+
- static unsigned crc32c_partial_sse42_clmul (const void *data, long len, unsigned crc) {
- const char *p = data;
- if (unlikely ((((uintptr_t) p) & 1)) && (len > 0)) {
-@@ -527,6 +533,11 @@
- return crc;
- }
-
-+#ifdef __DISABLE_PCLMUL__
-+#undef __DISABLE_PCLMUL__
-+#pragma GCC pop_options
-+#endif /* __DISABLE_PCLMUL__ */
-+
- #else
- static unsigned crc32c_partial_sse42 (const void *data, long len, unsigned crc) {
- const char *p = data;
-diff -Nru MTProxy.orig/Makefile MTProxy/Makefile
---- MTProxy.orig/Makefile 2018-06-17 01:58:54.691000000 +0300
-+++ MTProxy/Makefile 2018-06-17 06:39:32.350000000 +0300
-@@ -12,8 +12,8 @@
- ARCH = -m64
- endif
-
--CFLAGS = $(ARCH) -O3 -std=gnu11 -Wall -mpclmul -march=core2 -mfpmath=sse -mssse3 -fno-strict-aliasing -fno-strict-overflow -fwrapv -DAES=1 -DCOMMIT=\"${COMMIT}\" -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
--LDFLAGS = $(ARCH) -ggdb -rdynamic -lm -lrt -lcrypto -lz -lpthread -lcrypto
-+CFLAGS += -mcx16 -std=gnu11 -Wall -fno-strict-aliasing -fno-strict-overflow -fwrapv -DAES=1 -DCOMMIT=\"${COMMIT}\" -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-+LDFLAGS += -rdynamic -lm -lrt -lcrypto -lz -lpthread
-
- LIB = ${OBJ}/lib
- CINCLUDE = -iquote common -iquote .
-@@ -91,10 +91,10 @@
- ${EXELIST}: ${LIBLIST}
-
- ${EXE}/mtproto-proxy: ${OBJ}/mtproto/mtproto-proxy.o ${OBJ}/mtproto/mtproto-config.o ${OBJ}/net/net-tcp-rpc-ext-server.o
-- ${CC} -o $@ $^ ${LIB}/libkdb.a ${LDFLAGS}
-+ ${CC} ${CFLAGS} -o $@ $^ ${LIB}/libkdb.a ${LDFLAGS}
-
- ${LIB}/libkdb.a: ${LIB_OBJS}
-- rm -f $@ && ar rcs $@ $^
-+ rm -f $@ && ${AR} rcs $@ $^
-
- clean:
- rm -rf ${OBJ} ${DEP} ${EXE} || true
diff --git a/net-proxy/MTProxy/files/MTProxy-3.0.4-no_implicit_func.patch b/net-proxy/MTProxy/files/MTProxy-3.0.4-no_implicit_func.patch
deleted file mode 100644
index 45bb60a62884..000000000000
--- a/net-proxy/MTProxy/files/MTProxy-3.0.4-no_implicit_func.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/engine/engine.c b/engine/engine.c
-index d0c70d3..5c5a5a2 100644
---- a/engine/engine.c
-+++ b/engine/engine.c
-@@ -56,6 +56,8 @@
-
- #include "jobs/jobs.h"
-
-+#include "mtproto/mtproto-config.h"
-+
- #include "net/net-connections.h"
- #include "net/net-crypto-aes.h"
- #include "net/net-msg-buffers.h"
diff --git a/net-proxy/MTProxy/metadata.xml b/net-proxy/MTProxy/metadata.xml
deleted file mode 100644
index 64ed4d250fc5..000000000000
--- a/net-proxy/MTProxy/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>stkw0@disroot.org</email>
- <name>David Roman</name>
- </maintainer>
- <upstream>
- <remote-id type="github">GetPageSpeed/MTProxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/Throne/Manifest b/net-proxy/Throne/Manifest
deleted file mode 100644
index 15cf0d6c5491..000000000000
--- a/net-proxy/Throne/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST Throne-1.1.2-deps.tar.xz 174887356 BLAKE2B af97e53d2ce23bd10090d049e415e35e53eeeff1d5027429adb5da2ca80470d2537e30630214a450796f3191076039bde3fc1b5d02b465d1e2cdfebe75dfc49d SHA512 77ca7c97710f257d058865631d11e54e0e7d685e0a312c8957cf0d77c3ea0000ec3db749b2f64f7796b6b877cd2a14bd992b551b6b9734f397bd6710bec0c113
-DIST Throne-1.1.2.tar.gz 5919485 BLAKE2B 55cf97ba23d416240dcc94e7afa3a0b703b52794d62ed1c0769221ba50da9a61f2979b0ae45ced0a4becc4ad8fd75e6bb2b19c58cbc73b131461579b3dd5b38e SHA512 84221c2f9a5c64b757517f69243b1111a3e9bfb0b9ff62b0b4c544299ba6ab289a66ffdb657a3d8a97089b131f3f1aaf91dcded444dbec23695a986311b80b81
-DIST Throne-1.1.4-deps.tar.xz 188135188 BLAKE2B 19c6484afea8422e7ccf4d6448fcc2814b92360e9c13db9e9636a9b266596d551fbaec95e70908f599e4cb01fd934088ba454fc1de9f6cc36d2e2ce94b085ef8 SHA512 d03363f9e4d961d37fe23e3ffd8d9a7d42169b149519e2ff8717a888df7f066c4e417e072f696899fb91532d0752267d760c4a534fce9f63da1fa6d5b8f96bfc
-DIST Throne-1.1.4.tar.gz 5950820 BLAKE2B 8b144fb1241e87c4507823be39c695e9be390d0c2c861cc68ce3ed2a52140d56ef86350efa7b9d2f12a274ebfc6fde053f7506543ba0d41d51d01c32a788bdc2 SHA512 62446659267507fe920069091ef1c5778f559e77be699b9be4dbf645f73aff98c08b8d9ff69e909f5032a4b064bee7f6c7e46a9c829fdad961b552683d3449b0
diff --git a/net-proxy/Throne/Throne-1.1.2.ebuild b/net-proxy/Throne/Throne-1.1.2.ebuild
deleted file mode 100644
index 3774ce0fdeb2..000000000000
--- a/net-proxy/Throne/Throne-1.1.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake desktop go-module xdg
-
-DESCRIPTION="Qt based cross-platform GUI proxy configuration manager"
-HOMEPAGE="https://github.com/throneproj/Throne"
-SRC_URI="
- https://github.com/throneproj/Throne/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
-"
-
-# The first line is for the C++ code, the second line is for the Go module
-LICENSE="
- GPL-3+ MIT
- 0BSD Apache-2.0 BSD ISC MIT MPL-2.0 Unlicense
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/protobuf:=
- dev-libs/qhotkey
- dev-qt/qtbase:6[dbus,network,widgets]
- media-libs/quirc:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-go/protobuf-go
- dev-go/protoc-gen-go-grpc
- >=dev-lang/go-1.25
- dev-qt/qttools:6[linguist]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.0.0-use-system-QHotkey.patch"
- "${FILESDIR}/${PN}-1.1.1-dont-treat-warnings-as-errors.patch"
- "${FILESDIR}/${PN}-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch"
- "${FILESDIR}/${PN}-1.1.1-use-system-quirc.patch"
-)
-
-src_unpack() {
- # The vendor tarball is unpacked to `${S}/core/server`, but `go-module_src_unpack`
- # requires the `vendor` directory to be present at `${S}/vendor`
- mkdir -p "${S}/vendor" || die
-
- go-module_src_unpack
-}
-
-src_prepare() {
- rm -r 3rdparty/{QHotkey,quirc} || die
-
- sed '/^cmake_minimum_required/ s/(.*)/(VERSION 3.10)/' \
- -i 3rdparty/SQLiteCpp/CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DNKR_PACKAGE=true
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- cd "${S}/core/server" || die
-
- pushd gen || die
- protoc -I . --go_out=. --go-grpc_out=. libcore.proto
- popd || die
-
- VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
- ego build \
- -trimpath -ldflags "-checklinkname=0 \
- -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}' \
- -X 'internal/godebug.defaultGODEBUG=multipathtcp=0'" \
- -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_dhcp,with_tailscale,badlinkname,tfogo_checklinkname0"
-}
-
-src_install() {
- exeinto /usr/lib/Throne
- doexe "${BUILD_DIR}/Throne"
- doexe core/server/ThroneCore
-
- dosym -r /usr/lib/Throne/Throne /usr/bin/Throne
-
- doicon -s 256 res/public/Throne.png
- domenu "${FILESDIR}/Throne.desktop"
-}
diff --git a/net-proxy/Throne/Throne-1.1.4.ebuild b/net-proxy/Throne/Throne-1.1.4.ebuild
deleted file mode 100644
index bc42636c8bb8..000000000000
--- a/net-proxy/Throne/Throne-1.1.4.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
-
-inherit cmake desktop go-module xdg
-
-DESCRIPTION="Qt based cross-platform GUI proxy configuration manager"
-HOMEPAGE="https://github.com/throneproj/Throne"
-SRC_URI="
- https://github.com/throneproj/Throne/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
-"
-
-# The first line is for the C++ code, the second line is for the Go module
-LICENSE="
- GPL-3+ MIT
- 0BSD Apache-2.0 BSD ISC MIT MPL-2.0 Unlicense
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/protobuf:=
- dev-libs/qhotkey
- dev-qt/qtbase:6[dbus,network,widgets]
- media-libs/quirc:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-go/protobuf-go
- dev-go/protoc-gen-go-grpc
- >=dev-lang/go-1.26
- dev-qt/qttools:6[linguist]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.0.0-use-system-QHotkey.patch"
- "${FILESDIR}/${PN}-1.1.1-dont-treat-warnings-as-errors.patch"
- "${FILESDIR}/${PN}-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch"
- "${FILESDIR}/${PN}-1.1.1-use-system-quirc.patch"
-)
-
-src_unpack() {
- # The vendor tarball is unpacked to `${S}/core/server`, but `go-module_src_unpack`
- # requires the `vendor` directory to be present at `${S}/vendor`
- mkdir -p "${S}/vendor" || die
-
- go-module_src_unpack
-}
-
-src_prepare() {
- rm -r 3rdparty/{QHotkey,quirc} || die
-
- sed '/^cmake_minimum_required/ s/(.*)/(VERSION 3.10)/' \
- -i 3rdparty/SQLiteCpp/CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DNKR_PACKAGE=true
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- cd "${S}/core/server" || die
-
- pushd gen || die
- protoc -I . --go_out=. --go-grpc_out=. libcore.proto
- popd || die
-
- VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
- ego build \
- -trimpath -ldflags "-checklinkname=0 \
- -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}' \
- -X 'internal/godebug.defaultGODEBUG=multipathtcp=0'" \
- -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_dhcp,with_tailscale,badlinkname,tfogo_checklinkname0"
-}
-
-src_install() {
- exeinto /usr/lib/Throne
- doexe "${BUILD_DIR}/Throne"
- doexe core/server/ThroneCore
-
- dosym -r /usr/lib/Throne/Throne /usr/bin/Throne
-
- doicon -s 256 res/public/Throne.png
- domenu "${FILESDIR}/Throne.desktop"
-}
diff --git a/net-proxy/Throne/files/Throne-1.0.0-use-system-QHotkey.patch b/net-proxy/Throne/files/Throne-1.0.0-use-system-QHotkey.patch
deleted file mode 100644
index e53ea769e31d..000000000000
--- a/net-proxy/Throne/files/Throne-1.0.0-use-system-QHotkey.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Use system `QHotkey`.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -42,7 +42,6 @@ message("[CMAKE_FIND_ROOT_PATH] ${CMAKE_FIND_ROOT_PATH}")
-
- include("cmake/print.cmake")
- include("cmake/nkr.cmake")
--include("cmake/QHotkey.cmake")
-
- find_package(Threads)
-
-@@ -54,6 +53,7 @@ include("cmake/myproto.cmake")
- list(APPEND NKR_EXTERNAL_TARGETS myproto)
-
- set(BUILD_SHARED_LIBS OFF)
-+find_package(QHotkey CONFIG REQUIRED)
- list(APPEND NKR_EXTERNAL_TARGETS qhotkey)
-
- # Sources
---- a/src/ui/mainwindow.cpp
-+++ b/src/ui/mainwindow.cpp
-@@ -51,7 +51,7 @@
- #endif
- #include <QToolTip>
- #include <random>
--#include <3rdparty/QHotkey/qhotkey.h>
-+#include <QHotkey>
- #include <3rdparty/qv2ray/v2/proxy/QvProxyConfigurator.hpp>
- #include <include/global/HTTPRequestHelper.hpp>
diff --git a/net-proxy/Throne/files/Throne-1.1.1-dont-treat-warnings-as-errors.patch b/net-proxy/Throne/files/Throne-1.1.1-dont-treat-warnings-as-errors.patch
deleted file mode 100644
index 47d51ba851b3..000000000000
--- a/net-proxy/Throne/files/Throne-1.1.1-dont-treat-warnings-as-errors.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Don't treat warnings as errors.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/3rdparty/simple-protobuf/cmake/spb_compile_options.cmake
-+++ b/3rdparty/simple-protobuf/cmake/spb_compile_options.cmake
-@@ -41,7 +41,7 @@ function(spb_enable_warnings TARGET)
- endif()
- target_compile_definitions(${TARGET} PRIVATE _CRT_SECURE_NO_WARNINGS)
- else()
-- target_compile_options(${TARGET} PRIVATE -Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers)
-+ target_compile_options(${TARGET} PRIVATE -Wall -Wextra -Wpedantic -Wno-missing-field-initializers)
- endif()
- endfunction(spb_enable_warnings)
-
diff --git a/net-proxy/Throne/files/Throne-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch b/net-proxy/Throne/files/Throne-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch
deleted file mode 100644
index ec0cd714c783..000000000000
--- a/net-proxy/Throne/files/Throne-1.1.1-store-the-database-in-AppConfigLocation-by-default.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 727bf520b02d032e2dce926381841681568b1eed Mon Sep 17 00:00:00 2001
-From: Pavel Sobolev <contact@paveloom.dev>
-Date: Sun, 15 Mar 2026 19:06:50 +0300
-Subject: [PATCH] Store the database in `AppConfigLocation` by default.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
----
- src/main.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/main.cpp b/src/main.cpp
-index c3c63d53..2922ff4d 100644
---- a/src/main.cpp
-+++ b/src/main.cpp
-@@ -100,7 +100,7 @@ int main(int argc, char* argv[]) {
- QStringList arguments = QApplication::arguments();
-
- // dirs & clean
-- auto wd = QDir(QApplication::applicationDirPath());
-+ auto wd = QDir(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation));
- if (arguments.contains("-appdata")) {
- QString appDataDir;
- int appdataIndex = arguments.indexOf("-appdata");
---
-2.53.0
-
diff --git a/net-proxy/Throne/files/Throne-1.1.1-use-system-quirc.patch b/net-proxy/Throne/files/Throne-1.1.1-use-system-quirc.patch
deleted file mode 100644
index aaa8bb7ae385..000000000000
--- a/net-proxy/Throne/files/Throne-1.1.1-use-system-quirc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Use system `quirc`.
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/3rdparty/QrDecoder.cpp
-+++ b/3rdparty/QrDecoder.cpp
-@@ -1,10 +1,8 @@
- #include "QrDecoder.h"
-
--#include "quirc/quirc.h"
-+#include <quirc.h>
- #include <qdebug.h>
-
--#include "quirc/quirc_internal.h"
--
- QrDecoder::QrDecoder()
- : m_qr(quirc_new())
- {
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -85,11 +85,6 @@ set(PROJECT_SOURCES
- 3rdparty/qv2ray/v2/ui/widgets/speedchart/SpeedWidget.hpp
- 3rdparty/qv2ray/v2/proxy/QvProxyConfigurator.cpp
-
-- 3rdparty/quirc/decode.c
-- 3rdparty/quirc/identify.c
-- 3rdparty/quirc/quirc.c
-- 3rdparty/quirc/version_db.c
--
- 3rdparty/SQLiteCpp/src/Backup.cpp
- 3rdparty/SQLiteCpp/src/Column.cpp
- 3rdparty/SQLiteCpp/src/Database.cpp
-@@ -390,6 +385,7 @@ target_link_libraries(Throne PRIVATE
- Threads::Threads
- ${NKR_EXTERNAL_TARGETS}
- ${PLATFORM_LIBRARIES}
-+ quirc
- )
-
- qt_finalize_executable(Throne)
diff --git a/net-proxy/Throne/files/Throne.desktop b/net-proxy/Throne/files/Throne.desktop
deleted file mode 100644
index 6355703f820d..000000000000
--- a/net-proxy/Throne/files/Throne.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Terminal=false
-Type=Application
-Name=Throne
-Categories=Network;
-Comment=Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
-Comment[zh_CN]=基于 Qt 的跨平台代理配置管理器 (后端 sing-box)
-Keywords=Internet;VPN;Proxy;sing-box;
-Exec=Throne
-Icon=Throne
diff --git a/net-proxy/Throne/metadata.xml b/net-proxy/Throne/metadata.xml
deleted file mode 100644
index c10bc6bf386c..000000000000
--- a/net-proxy/Throne/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">
- <email>contact@paveloom.dev</email>
- <name>Pavel Sobolev</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/throneproj/Throne/issues</bugs-to>
- <remote-id type="github">throneproj/Throne</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest
deleted file mode 100644
index 8a23b21c605c..000000000000
--- a/net-proxy/adzapper/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST adzap-20110915.tar.gz 128132 BLAKE2B 4395c6270c7a4581505a1bd27550d1311e6bca9e1ac25cc1b029b695845f9ce586deb306f5122b6125095fe157251dd0482c1cc666bd37063f665fd6954765f8 SHA512 8b3566fc708b3db3b8eaa0306f90c75a82ac001cfdc3bc925fc649481420532ddc017f1b5139fce36733d3a38b2a7a31b39872b522ba4f49c098177496d64416
diff --git a/net-proxy/adzapper/adzapper-20110915-r2.ebuild b/net-proxy/adzapper/adzapper-20110915-r2.ebuild
deleted file mode 100644
index 04a65c5dd7c9..000000000000
--- a/net-proxy/adzapper/adzapper-20110915-r2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P=${P/zapper/zap}
-
-DESCRIPTION="Redirector for squid to intercept advertising, page counters and web bugs"
-HOMEPAGE="https://adzapper.sourceforge.net/"
-SRC_URI="https://adzapper.sourceforge.net/${MY_P}.tar.gz"
-S="${WORKDIR}"/${P/per/}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86"
-
-RDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}"/20110915-flush.patch
-)
-
-src_prepare() {
- default
-
- # update the zapper path in various scripts
- local SCRPATH="/etc/adzapper/squid_redirect"
- sed -i \
- -e "s|^zapper=.*|zapper=${SCRPATH}|" \
- -e "s|^ZAPPER=.*|ZAPPER=\"${SCRPATH}\"|" \
- -e "s|^pidfile=.*|pidfile=/var/run/squid.pid|" \
- -e "s|^PIDFILE=.*|PIDFILE=\"/var/run/squid.pid\"|" \
- -e "s|^RESTARTCMD=.*|RESTARTCMD=\"/etc/init.d/squid restart\"|" \
- scripts/wrapzap scripts/update-zapper* \
- || die "sed updating failed."
-}
-
-src_install() {
- exeinto /etc/adzapper
- doexe \
- scripts/wrapzap \
- scripts/zapchain \
- adblock-plus/adblockplus2adzapper.py
- newexe scripts/squid_redirect-nodata squid_redirect
-
- insinto /etc/adzapper
- doins scripts/update-zapper*
-
- insinto /var/www/localhost/htdocs/zap
- doins zaps/*
-}
-
-pkg_postinst() {
- einfo "To enable adzapper, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /etc/adzapper/wrapzap"
- einfo " url_rewrite_children 10"
-}
diff --git a/net-proxy/adzapper/files/20110915-flush.patch b/net-proxy/adzapper/files/20110915-flush.patch
deleted file mode 100644
index 3fb4ce913db0..000000000000
--- a/net-proxy/adzapper/files/20110915-flush.patch
+++ /dev/null
@@ -1,107 +0,0 @@
---- a/scripts/squid_redirect-nodata
-+++ b/scripts/squid_redirect-nodata
-@@ -31,7 +31,7 @@
-
- use POSIX ":sys_wait_h";
- use Socket;
--require 'flush.pl';
-+use IO::Handle;
-
- $::IOSIZE=1024;
-
-@@ -232,7 +232,7 @@
- {
- if (defined $::LogFile)
- { print LOGFILE $_;
-- flush(LOGFILE);
-+ LOGFILE->flush();;
- }
- chomp;
-
-@@ -259,7 +259,7 @@
- }
- }
-
-- flush(STDOUT);
-+ STDOUT->flush();
- }
-
- exit 0;
-@@ -789,14 +789,16 @@
- }
-
- # dispatch request and headers
-- printflush(GCHILD_WRITE,"$method $uri $v1 $v2\n")
-+ print GCHILD_WRITE "$method $uri $v1 $v2\n"
- || die "tell grandchild the request: $!";
-+ GCHILD_WRITE->flush();
-
- print PROXY "$method $uri HTTP/$v1.$v2\r\n";
- for my $H (@hdrs)
- { print PROXY $H->[0], ":", $H->[1], "\r\n";
- }
-- printflush(PROXY,"\r\n");
-+ print PROXY "\r\n";
-+ PROXY->flush();
- ##warn "[$$]: sent rq to proxy\n";
-
- proxy_copybody(CONN,PROXY,$method,$persist,\@hdrs)
-@@ -965,8 +967,9 @@
- }
-
- warn "[$child:$$]: pass response to parent\n";
-- printflush(TOCHILD,($persist ? PERSIST : CLOSE)." $code $info")
-+ print TOCHILD ($persist ? PERSIST : CLOSE)." $code $info"
- || die "[$child:$$]: print(TOCHILD) fails: $!";
-+ TOCHILD->flush();
- warn "[$child:$$]: told parent, passing response to client\n";
-
- # copy to child
-@@ -974,7 +977,8 @@
- for my $H (@hdrs)
- { print CONN $H->[0], ":", $H->[1], "\r\n";
- }
-- printflush(CONN,"\r\n");
-+ print CONN "\r\n";
-+ CONN->flush();
-
- # see RFC2616 section 10
- if (
-@@ -1050,11 +1054,13 @@
- )
- {
- ##warn "[$$]: read ".length($_)." bytes of request body\n";
-- if (! printflush($to,$_))
-- { warn "$::cmd: [$$]: printflush($to,..): $!";
-+ $to->autoflush(1);
-+ if (! print $to $_)
-+ { warn "$::cmd: [$$]: print $to ..): $!";
- $ok=0;
- last COPY;
- }
-+ $to->autoflush(0);
- $cl-=length if defined $cl;
- }
- warn "[$$]: finished unchunked body, ok=$ok";
-@@ -1083,10 +1089,10 @@
- { print $to $_;
- $chunksize-=length;
- }
-- flush($to);
-+ $to->flush();
- }
-
-- flush($to);
-+ $to->flush();
-
- # pass trailer headers
- while (defined($_=<$from>) && !/^\r?\n/)
-@@ -1096,7 +1102,7 @@
- { ##warn "[$$]: final trailer: $_";
- print $to $_;
- }
-- flush($to);
-+ $to->flush();
-
- return (1,"");
- }
diff --git a/net-proxy/adzapper/metadata.xml b/net-proxy/adzapper/metadata.xml
deleted file mode 100644
index 3af09d386fd0..000000000000
--- a/net-proxy/adzapper/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">adzapper</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/byedpi/Manifest b/net-proxy/byedpi/Manifest
deleted file mode 100644
index b0cf85fd716d..000000000000
--- a/net-proxy/byedpi/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST byedpi-0.17.2.tar.gz 46096 BLAKE2B e60d3ca1ee202b369cb25d7e8d36577907515d448495146b545138281d73bf7f09567c293371ccb7bf7607c602486d3c16c0a0665729dfd78f4f46c02197729b SHA512 3e06498c95ffac895c4ad68bf1d45db5ed4ea028a068da71473cb7583f23b499f963f59028f5541d6381c265893d47245cd8e62ea76d36c44910f05199f1a407
-DIST byedpi-0.17.3.tar.gz 48271 BLAKE2B 778444e7918d2987b076e6fbb9fe43921e5d7cd837d62acb05e6bd099d63eef0cad5163644016476b2b90422e02c0337d6c0a8c60aa3e502b87115e72b687480 SHA512 ae1bba213cf4db1cfa87389323bc3cb5d9588da86a68fc73669771ea613ce49fe6085c4a836b10a4fe03c318592a8139ed25bafc55c00acfb4b9fa4cc0cdf071
diff --git a/net-proxy/byedpi/byedpi-0.17.2.ebuild b/net-proxy/byedpi/byedpi-0.17.2.ebuild
deleted file mode 100644
index 134cf575538a..000000000000
--- a/net-proxy/byedpi/byedpi-0.17.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Bypass DPI SOCKS proxy"
-HOMEPAGE="https://github.com/hufrea/byedpi"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/hufrea/byedpi.git"
-else
- SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="acct-user/byedpi"
-
-src_prepare() {
- default
-
- # respect optimization level
- sed -i 's/ -O.\b/ /' Makefile || die
-}
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- dobin ciadpi
- einstalldocs
-
- newinitd "${FILESDIR}"/byedpi.initd-r2 byedpi
- newconfd "${FILESDIR}"/byedpi.confd byedpi
- systemd_dounit dist/linux/byedpi.service
-
- insinto /etc
- doins dist/linux/byedpi.conf
-}
diff --git a/net-proxy/byedpi/byedpi-0.17.3.ebuild b/net-proxy/byedpi/byedpi-0.17.3.ebuild
deleted file mode 100644
index 134cf575538a..000000000000
--- a/net-proxy/byedpi/byedpi-0.17.3.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Bypass DPI SOCKS proxy"
-HOMEPAGE="https://github.com/hufrea/byedpi"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/hufrea/byedpi.git"
-else
- SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="acct-user/byedpi"
-
-src_prepare() {
- default
-
- # respect optimization level
- sed -i 's/ -O.\b/ /' Makefile || die
-}
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- dobin ciadpi
- einstalldocs
-
- newinitd "${FILESDIR}"/byedpi.initd-r2 byedpi
- newconfd "${FILESDIR}"/byedpi.confd byedpi
- systemd_dounit dist/linux/byedpi.service
-
- insinto /etc
- doins dist/linux/byedpi.conf
-}
diff --git a/net-proxy/byedpi/byedpi-9999.ebuild b/net-proxy/byedpi/byedpi-9999.ebuild
deleted file mode 100644
index 134cf575538a..000000000000
--- a/net-proxy/byedpi/byedpi-9999.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Bypass DPI SOCKS proxy"
-HOMEPAGE="https://github.com/hufrea/byedpi"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/hufrea/byedpi.git"
-else
- SRC_URI="https://github.com/hufrea/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="acct-user/byedpi"
-
-src_prepare() {
- default
-
- # respect optimization level
- sed -i 's/ -O.\b/ /' Makefile || die
-}
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- dobin ciadpi
- einstalldocs
-
- newinitd "${FILESDIR}"/byedpi.initd-r2 byedpi
- newconfd "${FILESDIR}"/byedpi.confd byedpi
- systemd_dounit dist/linux/byedpi.service
-
- insinto /etc
- doins dist/linux/byedpi.conf
-}
diff --git a/net-proxy/byedpi/files/byedpi.confd b/net-proxy/byedpi/files/byedpi.confd
deleted file mode 100644
index 1b7b31864118..000000000000
--- a/net-proxy/byedpi/files/byedpi.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-# IP address SOCKS proxy will listen on
-#BYEDPI_BIND_IP="0.0.0.0"
-
-# Port number SOCKS proxy will listen on
-#BYEDPI_BIND_PORT=1080
-
-# Additional command-line options for ciadpi
-#BYEDPI_OPTS="--disorder 5 --auto=torst --tlsrec 6+s"
diff --git a/net-proxy/byedpi/files/byedpi.initd-r2 b/net-proxy/byedpi/files/byedpi.initd-r2
deleted file mode 100644
index 02502828f480..000000000000
--- a/net-proxy/byedpi/files/byedpi.initd-r2
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-#
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-: "${BYEDPI_USER:=byedpi}"
-: "${BYEDPI_GROUP:=nobody}"
-
-: "${BYEDPI_BIND_IP:=0.0.0.0}"
-: "${BYEDPI_BIND_PORT:=1080}"
-: "${BYEDPI_OPTS:=--split 1 --disorder 3+s --mod-http=h,d --auto=torst --tlsrec 1+s}"
-
-description="Bypass DPI SOCKS proxy"
-supervisor="supervise-daemon"
-command="/usr/bin/ciadpi"
-pidfile="/run/byedpi/${RC_SVCNAME}.pid"
-command_user="${BYEDPI_USER}:${BYEDPI_GROUP}"
-command_args="--ip ${BYEDPI_BIND_IP} --port ${BYEDPI_BIND_PORT} ${BYEDPI_OPTS}"
-command_args_background="--daemon --pidfile ${pidfile}"
-output_logger="logger -p daemon.info -t byedpi --"
-error_logger="logger -p daemon.err -t byedpi --"
-
-depend() {
- need net
- use firewall logger
-}
-
-start_pre() {
- checkpath -q -do "${BYEDPI_USER}":root "$(dirname "${pidfile}")"
-}
diff --git a/net-proxy/byedpi/metadata.xml b/net-proxy/byedpi/metadata.xml
deleted file mode 100644
index 23e292b1ffc1..000000000000
--- a/net-proxy/byedpi/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>misha.zavertkin@mail.ru</email>
- <name>Misha Zavertkin</name>
- </maintainer>
- <upstream>
- <remote-id type="github">hufrea/byedpi</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/cntlm/Manifest b/net-proxy/cntlm/Manifest
deleted file mode 100644
index eeb6630ce71b..000000000000
--- a/net-proxy/cntlm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cntlm-0.93beta5.tar.gz 718018 BLAKE2B daaf75f42c63dd191dfe36bd326dad42d0b7f774749d2dc644d4009fdf6d9b22c863759ed6ad0425fe8bde31ed99fa358c04254f6e83d67d49c719d8e088a62b SHA512 5cb59788a0d6dc5cd787acb36dbe6de9a3909727d63327c9a12b20973619b777add9e0acbe94ed6a3cf1c189ef0e0ac6c01aa3c1c4739881bbd371b4c90744cd
diff --git a/net-proxy/cntlm/cntlm-0.93_beta5-r4.ebuild b/net-proxy/cntlm/cntlm-0.93_beta5-r4.ebuild
deleted file mode 100644
index 91df0610c922..000000000000
--- a/net-proxy/cntlm/cntlm-0.93_beta5-r4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy"
-HOMEPAGE="http://cntlm.sourceforge.net/"
-SRC_URI="http://ftp.awk.cz/pub/${P//_}.tar.gz"
-S="${WORKDIR}/${P//_}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- acct-group/cntlm
- acct-user/cntlm
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-buildsystem.patch # bug #334647
- "${FILESDIR}"/${P}-configure-clang16.patch
-)
-
-src_configure() {
- tc-export CC
-
- econf
-
- # Replace default config file path in Makefile
- sed -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' -i "${S}"/Makefile || die
-}
-
-src_compile() {
- emake V=1
-}
-
-src_install() {
- dobin cntlm
- dodoc COPYRIGHT README VERSION doc/cntlm.conf
- doman doc/cntlm.1
- newinitd "${FILESDIR}"/cntlm.initd cntlm
- newconfd "${FILESDIR}"/cntlm.confd cntlm
- systemd_dounit "${FILESDIR}"/cntlm.service
- insinto /etc
- insopts -m0600
- doins doc/cntlm.conf
-}
diff --git a/net-proxy/cntlm/files/cntlm-0.93_beta5-buildsystem.patch b/net-proxy/cntlm/files/cntlm-0.93_beta5-buildsystem.patch
deleted file mode 100644
index d6df267582d4..000000000000
--- a/net-proxy/cntlm/files/cntlm-0.93_beta5-buildsystem.patch
+++ /dev/null
@@ -1,195 +0,0 @@
-Gentoo Bug#334647:
-Respect CC, CFLAGS, LDFLAGS (with gcc).
-Support verbose building via 'make V=1'.
---- a/configure.orig
-+++ b/configure
-@@ -10,7 +10,7 @@
- # This can be disabled if neccessary.
- #
-
--CCS="xlc_r gcc"
-+CCS=${CC-"xlc_r gcc"}
-
- #
- # Look for supported compilers
-@@ -31,15 +31,21 @@
- else
- echo "Using $CCPATH to compile Cntlm"
- [ -h Makefile ] && rm -f Makefile 2>/dev/null
-- case "$CC" in
-- gcc)
-+ if $CC -v >/dev/null 2>&1; then
- # default Makefile is for GCC; just revert back to
- # GCC if Makefile is linked to other compiler version
- if [ ! -f Makefile ]; then
- mv Makefile.gcc Makefile
- fi
-- ;;
-- *)
-+ : ${CFLAGS=-O3}
-+ : ${LDFLAGS=}
-+ CFLAGS="$CFLAGS -std=c99 -Wall -Wno-unused-but-set-variable -pedantic -pthread"
-+ LDFLAGS="$LDFLAGS -pthread"
-+ sed -e "s~^CFLAGS[ :]*=~CFLAGS=$CFLAGS ~" \
-+ -e "s~^LDFLAGS[ :]*=.*~LDFLAGS=$LDFLAGS~" \
-+ -e "s~^CC[ :]*=.*~CC=$CC~" \
-+ -i Makefile
-+ else
- # backup default GCC Makefile and create a link to other
- if [ -f Makefile ]; then
- mv Makefile Makefile.gcc
-@@ -47,8 +53,7 @@
-
- EXT=`echo "$CC" | sed 's/_.*//'`
- ln -s Makefile.$EXT Makefile
-- ;;
-- esac
-+ fi
- fi
-
- STAMP=configure-stamp
-@@ -62,7 +67,7 @@
- for i in $TESTS; do
- printf "Checking $i... "
- printf "#define config_$i " >> $CONFIG
-- OUT=`$CC -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_REENTRANT -o config/$i config/$i.c 2>&1`
-+ OUT=`$CC $CFLAGS $LDFLAGS -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_REENTRANT -o config/$i config/$i.c 2>&1`
- rc=$?
-
- if [ $rc -ne 0 ]; then # -o -n "$OUT" ]; then
---- a/Makefile.orig
-+++ b/Makefile
-@@ -16,14 +16,13 @@
- CC := gcc
- VER := $(shell cat VERSION)
- OS := $(shell uname -s)
--OSLDFLAGS := $(shell [ $(OS) = "SunOS" ] && echo "-lrt -lsocket -lnsl")
--LDFLAGS := -lpthread $(OSLDFLAGS)
-+LIBS := $(shell [ $(OS) = "SunOS" ] && echo "-lrt -lsocket -lnsl")
-+LDFLAGS := -pthread
- CYGWIN_REQS := cygwin1.dll cyggcc_s-1.dll cygstdc++-6.dll cygrunsrv.exe
-
-+CFLAGS=-D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"'$(VER)'\"
- ifeq ($(DEBUG),1)
-- CFLAGS += -g -std=c99 -Wall -pedantic -D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"'$(VER)'\"
--else
-- CFLAGS += -O3 -std=c99 -D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"'$(VER)'\"
-+ CFLAGS += -g -O0
- endif
-
- ifneq ($(findstring CYGWIN,$(OS)),)
-@@ -32,28 +31,35 @@
- OBJS=utils.o ntlm.o xcrypt.o config.o socket.o acl.o auth.o http.o forward.o direct.o scanner.o pages.o main.o
- endif
-
-+VE_=@echo
-+VE_1=@:
-+VE=$(VE_$(V))
-+VV_=@
-+VV_1=
-+VV=$(VV_$(V))
-+
- $(NAME): configure-stamp $(OBJS)
-- @echo "Linking $@"
-- @$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
-+ $(VE) "Linking $@"
-+ $(VV) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
-
- main.o: main.c
-- @echo "Compiling $<"
-- @if [ -z "$(SYSCONFDIR)" ]; then \
-+ $(VE) "Compiling $<"
-+ $(VV) if [ -z "$(SYSCONFDIR)" ]; then \
- $(CC) $(CFLAGS) -c main.c -o $@; \
- else \
- $(CC) $(CFLAGS) -DSYSCONFDIR=\"$(SYSCONFDIR)\" -c main.c -o $@; \
- fi
-
- %.o: %.c
-- @echo "Compiling $<"
-- @$(CC) $(CFLAGS) -c -o $@ $<
-+ $(VE) "Compiling $<"
-+ $(VV) $(CC) $(CFLAGS) -c -o $@ $<
-
- configure-stamp:
- ./configure
-
- win/resources.o: win/resources.rc
-- @echo Adding EXE resources
-- @windres $^ -o $@
-+ $(VE) Adding EXE resources
-+ $(VV) windres $^ -o $@
-
- install: $(NAME)
- # Special handling for install(1)
-@@ -115,31 +121,31 @@
-
- $(NAME)-$(VER)-win32.exe:
- @echo - preparing binaries for GUI installer
-- @cp $(patsubst %, /bin/%, $(CYGWIN_REQS)) win/
-+ $(VV) cp $(patsubst %, /bin/%, $(CYGWIN_REQS)) win/
- ifeq ($(DEBUG),1)
-- @cp -p cntlm.exe win/
-+ $(VV) cp -p cntlm.exe win/
- else
-- @strip -o win/cntlm.exe cntlm.exe
-+ $(VV) strip -o win/cntlm.exe cntlm.exe
- endif
- @echo - generating GUI installer
-- @win/Inno5/ISCC.exe /Q win/setup.iss #/Q win/setup.iss
-+ $(VV) win/Inno5/ISCC.exe /Q win/setup.iss #/Q win/setup.iss
-
- $(NAME)-$(VER)-win32.zip:
- @echo - creating ZIP release for manual installs
-- @ln -s win $(NAME)-$(VER)
-+ $(VV) ln -s win $(NAME)-$(VER)
- zip -9 $(NAME)-$(VER)-win32.zip $(patsubst %, $(NAME)-$(VER)/%, $(CYGWIN_REQS) cntlm.ini LICENSE.txt cntlm_manual.pdf)
-- @rm -f $(NAME)-$(VER)
-+ $(VV) rm -f $(NAME)-$(VER)
-
- win/cntlm.ini: doc/cntlm.conf
-- @cat doc/cntlm.conf | unix2dos > win/cntlm.ini
-+ $(VV) cat doc/cntlm.conf | unix2dos > win/cntlm.ini
-
- win/LICENSE.txt: COPYRIGHT LICENSE
-- @cat COPYRIGHT LICENSE | unix2dos > win/LICENSE.txt
-+ $(VV) cat COPYRIGHT LICENSE | unix2dos > win/LICENSE.txt
-
- win/cntlm_manual.pdf: doc/cntlm.1
- @echo - generating PDF manual
-- @rm -f win/cntlm_manual.pdf
-- @groff -t -e -mandoc -Tps doc/cntlm.1 | ps2pdf - win/cntlm_manual.pdf
-+ $(VV) rm -f win/cntlm_manual.pdf
-+ $(VV) groff -t -e -mandoc -Tps doc/cntlm.1 | ps2pdf - win/cntlm_manual.pdf
-
- win/setup.iss: win/setup.iss.in
- ifeq ($(findstring CYGWIN,$(OS)),)
-@@ -148,16 +154,16 @@
- @echo
- @exit 1
- endif
-- @sed "s/\$$VERSION/$(VER)/g" $^ > $@
-+ $(VV) sed "s/\$$VERSION/$(VER)/g" $^ > $@
-
- uninstall:
- rm -f $(BINDIR)/$(NAME) $(MANDIR)/man1/$(NAME).1 2>/dev/null || true
-
- clean:
-- @rm -f config/endian config/gethostname config/strdup config/socklen_t config/*.exe
-- @rm -f *.o cntlm cntlm.exe configure-stamp build-stamp config/config.h
-+ $(VV) rm -f config/endian config/gethostname config/strdup config/socklen_t config/*.exe
-+ $(VV) rm -f *.o cntlm cntlm.exe configure-stamp build-stamp config/config.h
- rm -f $(patsubst %, win/%, $(CYGWIN_REQS) cntlm.exe cntlm.ini LICENSE.txt setup.iss cntlm_manual.pdf)
-- @if [ -h Makefile ]; then rm -f Makefile; mv Makefile.gcc Makefile; fi
-+ $(VV) if [ -h Makefile ]; then rm -f Makefile; mv Makefile.gcc Makefile; fi
-
- distclean: clean
- ifeq ($(findstring CYGWIN,$(OS)),)
-@@ -169,6 +175,6 @@
- fakeroot rpm/rules clean; \
- fi
- endif
-- @rm -f *.exe *.deb *.rpm *.tgz *.tar.gz *.tar.bz2 *.zip *.exe tags ctags pid 2>/dev/null
-+ $(VV) rm -f *.exe *.deb *.rpm *.tgz *.tar.gz *.tar.bz2 *.zip *.exe tags ctags pid 2>/dev/null
-
- .PHONY: all install tgz tbz2 deb rpm win uninstall clean distclean
diff --git a/net-proxy/cntlm/files/cntlm-0.93_beta5-configure-clang16.patch b/net-proxy/cntlm/files/cntlm-0.93_beta5-configure-clang16.patch
deleted file mode 100644
index 3cfde3cbbd5a..000000000000
--- a/net-proxy/cntlm/files/cntlm-0.93_beta5-configure-clang16.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Based on https://sourceforge.net/p/cntlm/bugs/79/ but rebased on our cntlm-0.93_beta5-buildsystem.patch.
---- a/Makefile
-+++ b/Makefile
-@@ -20,7 +20,7 @@ LIBS := $(shell [ $(OS) = "SunOS" ] && echo "-lrt -lsocket -lnsl")
- LDFLAGS := -pthread
- CYGWIN_REQS := cygwin1.dll cyggcc_s-1.dll cygstdc++-6.dll cygrunsrv.exe
-
--CFLAGS=-D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -DVERSION=\"'$(VER)'\"
-+CFLAGS=-D__BSD_VISIBLE -D_ALL_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112 -D_ISOC99_SOURCE -D_REENTRANT -D_BSD_SOURCE -D_DEFAULT_SOURCE -DVERSION=\"'$(VER)'\"
- ifeq ($(DEBUG),1)
- CFLAGS += -g -O0
- endif
---- a/config/gethostname.c
-+++ b/config/gethostname.c
-@@ -1,3 +1,5 @@
-+#include <stdio.h>
-+#include <string.h>
- #include <unistd.h>
-
- int main(int argc, char **argv) {
---- a/configure
-+++ b/configure
-@@ -67,7 +67,7 @@ rm -f $CONFIG
- for i in $TESTS; do
- printf "Checking $i... "
- printf "#define config_$i " >> $CONFIG
-- OUT=`$CC $CFLAGS $LDFLAGS -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_REENTRANT -o config/$i config/$i.c 2>&1`
-+ OUT=`$CC $CFLAGS $LDFLAGS -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -o config/$i config/$i.c 2>&1`
- rc=$?
-
- if [ $rc -ne 0 ]; then # -o -n "$OUT" ]; then
diff --git a/net-proxy/cntlm/files/cntlm.confd b/net-proxy/cntlm/files/cntlm.confd
deleted file mode 100644
index bc3dce0fb18c..000000000000
--- a/net-proxy/cntlm/files/cntlm.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# cntlm init script configuration file
-
-# here you can specify additional options to cntlm
-# NOTE that using config file is recommended
-CNTLM_OPTS=""
diff --git a/net-proxy/cntlm/files/cntlm.initd b/net-proxy/cntlm/files/cntlm.initd
deleted file mode 100644
index f0044b0dcb18..000000000000
--- a/net-proxy/cntlm/files/cntlm.initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=${PIDFILE:-/var/run/cntlm.pid}
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting cntlm"
- start-stop-daemon --start --background --make-pidfile --pidfile ${PIDFILE} --exec /usr/bin/cntlm -- -f -U cntlm ${CNTLM_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping cntlm"
- start-stop-daemon --stop --pidfile ${PIDFILE} -R SIGTERM/2/SIGKILL/2
- eend $?
-}
diff --git a/net-proxy/cntlm/files/cntlm.service b/net-proxy/cntlm/files/cntlm.service
deleted file mode 100644
index 01f2bcdfd803..000000000000
--- a/net-proxy/cntlm/files/cntlm.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=CNTLM HTTP Accelerator For NTLM Secured Proxies Authenticator
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/cntlm -f -U cntlm -c /etc/cntlm.conf
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/cntlm/metadata.xml b/net-proxy/cntlm/metadata.xml
deleted file mode 100644
index 24e3b165e6ec..000000000000
--- a/net-proxy/cntlm/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">cntlm</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/dante/Manifest b/net-proxy/dante/Manifest
deleted file mode 100644
index bb7b1b13356d..000000000000
--- a/net-proxy/dante/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST dante-1.4.1.tar.gz 1284288 BLAKE2B 34c78007245339088d79e0b969b8f55d20b0ee59d89c1bf19510b563799ac3c54c6b8b5f37bfb64410d60e893beb0e2d1d79893c0264b7481aeb4cdab2037e90 SHA512 1c8e2966ba68c8584fb99ff76ae1d9c8dfe669c7e5e61c7e6e7f87295d1280c3e7849491a6369ce27795040f951dcc11f4f2b3d7e46c54219594c89315d0487e
-DIST dante-1.4.3.tar.gz 1343935 BLAKE2B dc069fd99a0d4a606b1eb7ce5dabbb20be63a4b4b3b02ee5e7c6d9b5614ae89226559df9c0bdaa3bee803b04e452311ab016c9116d57f3f8f48205ec797c5475 SHA512 c19675b2dee931366caf4a0dd4f44045ae731cc2f986e5d2e4bf498925c7d93a92a32088234d4a9443424f6dfb0796a1fa3fdc7c47e5aa11612c29a101f47888
-DIST dante-1.4.4.tar.gz 1378352 BLAKE2B 30abb4faa31b31cba317b09c3c622098bacb553fa19db3ad422428613c243d881624242c05456e49b8ed4f2a29a7a3645395c31686c5ff4e616a7cd7908ca2cd SHA512 bf6b82fcad63d0920b77cebe360612a639c8532fbda6dc84f1bc88e89671e358f4819bf9759b1ba3bb7fbe703eec7e59d9cef620b6e65f177686d5b00e5f221a
-DIST dante_1.4.3+dfsg-2.debian.tar.xz 42736 BLAKE2B 3e385eb4dee0278edfe72720139b19d4900b828372e6dc5b8361dbcf2ba76f0a0a5b523680068aa0c61fcbabac25ce413f23c96ab56c368ddda1ef8dd1fee528 SHA512 0acbb82eba1e37af0b485ac5b43cb06f5d699e5cac427a8c678fe8633a08ce5697ff936d3f1dd747cb2cc3c7ac7c713193ae07c1913e794f35fd55278c8fec16
-DIST dante_1.4.4+dfsg-1.debian.tar.xz 47680 BLAKE2B 14d77be9b76b5e4b03a6c14e1eb0a7257bb7d1ddc6f1819868e29e49ebcf2da88e0b73f714ea1fe055ad931979d39b9b9ab338e1e1d6d5fe30ccd00ea7822cf1 SHA512 cf5993020fb443b39fb11fad25a70cf8c838e9e5868f93bf5c95f4dfa70e7825ef032406591229265f9e5b2d02eaafa981b9c4bce2475ceb1e00b88a1a891006
diff --git a/net-proxy/dante/dante-1.4.1-r6.ebuild b/net-proxy/dante/dante-1.4.1-r6.ebuild
deleted file mode 100644
index 159f4d6b8f95..000000000000
--- a/net-proxy/dante/dante-1.4.1-r6.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="A free socks4,5 and msproxy implementation"
-HOMEPAGE="https://www.inet.no/dante/"
-SRC_URI="https://www.inet.no/dante/files/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="debug kerberos pam selinux static-libs tcpd upnp"
-
-CDEPEND="
- sys-apps/shadow
- virtual/libcrypt:=
- kerberos? ( virtual/krb5 )
- pam? ( sys-libs/pam )
- tcpd? ( sys-apps/tcp-wrappers )
- upnp? ( net-libs/miniupnpc:= )
-"
-DEPEND="
- ${CDEPEND}
- app-alternatives/yacc
- app-alternatives/lex
-"
-RDEPEND="
- ${CDEPEND}
- acct-group/sockd
- acct-user/sockd
- selinux? ( sec-policy/selinux-dante )
-"
-
-DOCS="BUGS CREDITS NEWS README SUPPORT doc/README* doc/*.txt doc/SOCKS4.protocol"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.0-socksify.patch
- "${FILESDIR}"/${PN}-1.4.0-osdep-format-macro.patch
- "${FILESDIR}"/${PN}-1.4.0-cflags.patch
- "${FILESDIR}"/${PN}-1.4.0-HAVE_SENDBUF_IOCTL.patch
- "${FILESDIR}"/${PN}-1.4.1-sigpwr-siginfo.patch #517528
- "${FILESDIR}"/${PN}-1.4.1-miniupnp14.patch #564680
-)
-
-src_prepare() {
- default
-
- # 780039
- sed -e 's/-all-dynamic//' -i dlib/Makefile.am dlib64/Makefile.am || die
-
- sed \
- -e 's:/etc/socks\.conf:"${EPREFIX}"/etc/socks/socks.conf:' \
- -e 's:/etc/sockd\.conf:"${EPREFIX}"/etc/socks/sockd.conf:' \
- -i doc/{socksify.1,socks.conf.5,sockd.conf.5,sockd.8} \
- || die
-
- sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -i configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- # hardcoded the libc name otherwise the scan on a amd64 multilib system
- # ends up finding /usr/lib32/libc.so.5. That cascades and causes the
- # preload/libdsocks to not be built.
- econf \
- --with-socks-conf="${EPREFIX}"/etc/socks/socks.conf \
- --with-sockd-conf="${EPREFIX}"/etc/socks/sockd.conf \
- --enable-preload \
- --enable-clientdl \
- --enable-serverdl \
- --enable-drt-fallback \
- --with-libc=libc.so.6 \
- $(use_enable debug) \
- $(use_with kerberos gssapi) \
- $(use_with pam) \
- $(use_with upnp) \
- $(use_enable static-libs static) \
- $(use_with tcpd libwrap)
-}
-
-src_install() {
- default
-
- # default configuration files
- insinto /etc/socks
- doins "${FILESDIR}"/sock?.conf
- pushd "${ED}"/etc/socks > /dev/null
- use pam && eapply -p0 "${FILESDIR}"/sockd.conf-with-pam.patch
- use tcpd && eapply -p0 "${FILESDIR}"/sockd.conf-with-libwrap.patch
- popd > /dev/null
-
- # init script
- newinitd "${FILESDIR}"/${PN}-1.3.2-sockd-init dante-sockd
- newconfd "${FILESDIR}"/dante-sockd-conf dante-sockd
-
- systemd_dounit "${FILESDIR}"/dante-sockd.service
-
- # example configuration files
- docinto examples
- dodoc example/*.conf
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-proxy/dante/dante-1.4.3.ebuild b/net-proxy/dante/dante-1.4.3.ebuild
deleted file mode 100644
index 8a481dc9de9e..000000000000
--- a/net-proxy/dante/dante-1.4.3.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit autotools systemd
-
-DESCRIPTION="A free socks4,5 and msproxy implementation"
-HOMEPAGE="https://www.inet.no/dante/"
-SRC_URI="https://www.inet.no/dante/files/${P}.tar.gz"
-
-PATCH_LEVEL="dfsg-2"
-[[ -n "${PATCH_LEVEL}" ]] && \
- SRC_URI+=" mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}+${PATCH_LEVEL}.debian.tar.xz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="debug kerberos pam selinux static-libs tcpd upnp"
-
-CDEPEND="
- sys-apps/shadow
- virtual/libcrypt:=
- kerberos? ( virtual/krb5 )
- pam? ( sys-libs/pam )
- tcpd? ( sys-apps/tcp-wrappers )
- upnp? ( net-libs/miniupnpc:= )
-"
-DEPEND="${CDEPEND}
- app-alternatives/yacc
- app-alternatives/lex
-"
-RDEPEND="${CDEPEND}
- acct-group/sockd
- acct-user/sockd
- selinux? ( sec-policy/selinux-dante )
-"
-
-DOCS="BUGS CREDITS NEWS README SUPPORT doc/README* doc/*.txt doc/SOCKS4.protocol"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.0-socksify.patch
- "${FILESDIR}"/${PN}-1.4.0-osdep-format-macro.patch
- "${FILESDIR}"/${PN}-1.4.2-cflags.patch
- #"${FILESDIR}"/${PN}-1.4.0-HAVE_SENDBUF_IOCTL.patch # included in debian series
- #${FILESDIR}"/${PN}-1.4.1-sigpwr-siginfo.patch #517528 # included in debian series
- #"${FILESDIR}"/${PN}-1.4.1-miniupnp14.patch #564680 # upstreamed
- "${FILESDIR}"/${PN}-1.4.3-osdep-debug.patch
- "${FILESDIR}"/${PN}-1.4.3-gai-symbol.patch
- "${FILESDIR}"/${PN}-1.4.3-upnp-2.2.8.patch
-)
-
-src_prepare() {
- DEB_PATCHES=${S}/../debian/patches
- PATCHES+=(
- $( sed "s,^,${DEB_PATCHES}/," < "${DEB_PATCHES}"/series )
- )
- default
-
- # 780039
- sed -e 's/-all-dynamic//' -i dlib/Makefile.am dlib64/Makefile.am || die
-
- sed -i \
- -e 's:/etc/socks\.conf:"${EPREFIX}"/etc/socks/socks.conf:' \
- -e 's:/etc/sockd\.conf:"${EPREFIX}"/etc/socks/sockd.conf:' \
- doc/{socksify.1,socks.conf.5,sockd.conf.5,sockd.8} \
- || die
-
- sed -i \
- -e 's:AM_CONFIG_HEADER\>:AC_CONFIG_HEADERS:' \
- configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- # hardcoded the libc name otherwise the scan on a amd64 multilib system
- # ends up finding /usr/lib32/libc.so.5. That cascades and causes the
- # preload/libdsocks to not be built.
- econf -C \
- --with-socks-conf="${EPREFIX}"/etc/socks/socks.conf \
- --with-sockd-conf="${EPREFIX}"/etc/socks/sockd.conf \
- --enable-preload \
- --enable-clientdl \
- --enable-serverdl \
- --enable-drt-fallback \
- --with-libc=libc.so.6 \
- $(use_enable debug) \
- $(use_with kerberos gssapi) \
- $(use_with pam) \
- $(use_with upnp) \
- $(use_enable static-libs static) \
- $(use_with tcpd libwrap)
-}
-
-src_install() {
- default
-
- # default configuration files
- insinto /etc/socks
- doins "${FILESDIR}"/sock?.conf
- pushd "${ED}"/etc/socks > /dev/null
- use pam && eapply -p0 "${FILESDIR}"/sockd.conf-with-pam.patch
- use tcpd && eapply -p0 "${FILESDIR}"/sockd.conf-with-libwrap.patch
- popd > /dev/null
-
- # init script
- newinitd "${FILESDIR}"/${PN}-1.3.2-sockd-init dante-sockd
- newconfd "${FILESDIR}"/dante-sockd-conf dante-sockd
-
- systemd_dounit "${FILESDIR}"/dante-sockd.service
-
- # example configuration files
- docinto examples
- dodoc example/*.conf
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-proxy/dante/dante-1.4.4.ebuild b/net-proxy/dante/dante-1.4.4.ebuild
deleted file mode 100644
index 42b9ffa8ca0e..000000000000
--- a/net-proxy/dante/dante-1.4.4.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit autotools systemd flag-o-matic
-
-DESCRIPTION="A free socks4,5 and msproxy implementation"
-HOMEPAGE="https://www.inet.no/dante/"
-SRC_URI="https://www.inet.no/dante/files/${P}.tar.gz"
-
-PATCH_LEVEL="dfsg-1"
-[[ -n "${PATCH_LEVEL}" ]] && \
- SRC_URI+=" mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}+${PATCH_LEVEL}.debian.tar.xz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="debug kerberos pam selinux static-libs tcpd upnp"
-
-CDEPEND="
- sys-apps/shadow
- virtual/libcrypt:=
- kerberos? ( virtual/krb5 )
- pam? ( sys-libs/pam )
- tcpd? ( sys-apps/tcp-wrappers )
- upnp? ( net-libs/miniupnpc:= )
-"
-DEPEND="${CDEPEND}
- app-alternatives/yacc
- app-alternatives/lex
-"
-RDEPEND="${CDEPEND}
- acct-group/sockd
- acct-user/sockd
- selinux? ( sec-policy/selinux-dante )
-"
-
-DOCS="BUGS CREDITS NEWS README SUPPORT doc/README* doc/*.txt doc/SOCKS4.protocol"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.0-socksify.patch
- "${FILESDIR}"/${PN}-1.4.0-osdep-format-macro.patch
- "${FILESDIR}"/${PN}-1.4.2-cflags.patch
- "${FILESDIR}"/${PN}-1.4.3-osdep-debug.patch
- "${FILESDIR}"/${PN}-1.4.3-gai-symbol.patch
-)
-
-src_prepare() {
- DEB_PATCHES=${S}/../debian/patches
- PATCHES+=(
- $( sed "s,^,${DEB_PATCHES}/," < "${DEB_PATCHES}"/series )
- )
- default
-
- # 780039
- sed -e 's/-all-dynamic//' -i dlib/Makefile.am dlib64/Makefile.am || die
-
- sed -i \
- -e 's:/etc/socks\.conf:"${EPREFIX}"/etc/socks/socks.conf:' \
- -e 's:/etc/sockd\.conf:"${EPREFIX}"/etc/socks/sockd.conf:' \
- doc/{socksify.1,socks.conf.5,sockd.conf.5,sockd.8} \
- || die
-
- sed -i \
- -e 's:AM_CONFIG_HEADER\>:AC_CONFIG_HEADERS:' \
- configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- # K&R declarations fail on LLVM with -std=C23
- append-cflags -std=gnu17
-
- # Configure fails to find functions in netdb.h due to missing include,
- # which causes missing symbols in library. Easier to disable error.
- append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
- # hardcoded the libc name otherwise the scan on a amd64 multilib system
- # ends up finding /usr/lib32/libc.so.5. That cascades and causes the
- # preload/libdsocks to not be built.
- econf -C \
- --with-socks-conf="${EPREFIX}"/etc/socks/socks.conf \
- --with-sockd-conf="${EPREFIX}"/etc/socks/sockd.conf \
- --enable-preload \
- --enable-clientdl \
- --enable-serverdl \
- --enable-drt-fallback \
- --with-libc=libc.so.6 \
- $(use_enable debug) \
- $(use_enable debug diagnostic) \
- $(use_with kerberos gssapi) \
- $(use_with pam) \
- $(use_with upnp) \
- $(use_enable static-libs static) \
- $(use_with tcpd libwrap)
-}
-
-src_install() {
- default
-
- # default configuration files
- insinto /etc/socks
- doins "${FILESDIR}"/sock?.conf
- pushd "${ED}"/etc/socks > /dev/null
- use pam && eapply -p0 "${FILESDIR}"/sockd.conf-with-pam.patch
- use tcpd && eapply -p0 "${FILESDIR}"/sockd.conf-with-libwrap.patch
- popd > /dev/null
-
- # init script
- newinitd "${FILESDIR}"/${PN}-1.3.2-sockd-init dante-sockd
- newconfd "${FILESDIR}"/dante-sockd-conf dante-sockd
-
- systemd_dounit "${FILESDIR}"/dante-sockd.service
-
- # example configuration files
- docinto examples
- dodoc example/*.conf
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-proxy/dante/files/dante-1.3.2-sockd-init b/net-proxy/dante/files/dante-1.3.2-sockd-init
deleted file mode 100644
index 5d1f66727da3..000000000000
--- a/net-proxy/dante/files/dante-1.3.2-sockd-init
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-SOCKD_OPT=""
-[ "${SOCKD_FORKDEPTH:-1}" -gt 1 ] && SOCKD_OPT="${SOCKD_OPT} -N ${SOCKD_FORKDEPTH}"
-[ "${SOCKD_DEBUG:-0}" -eq 1 ] && SOCKD_OPT="${SOCKD_OPT} -d"
-[ "${SOCKD_DISABLE_KEEPALIVE:-0}" -eq 1 ] && SOCKD_OPT="${SOCKD_OPT} -n"
-PIDFILE=/var/run/sockd.pid
-SOCKDIR=/var/lock/dante-sockd/
-
-depend() {
- need net
-}
-
-checkconfig() {
- # first check that it exists
- if [ ! -f /etc/socks/sockd.conf ] ; then
- eerror "You need to setup /etc/socks/sockd.conf first"
- eerror "Examples are in /usr/share/doc/dante[version]/example"
- eerror "for more info, see: man sockd.conf"
- return 1
- fi
-
- /usr/sbin/sockd -V >/tmp/dante-sockd.checkconf 2>&1
- if [ $? -ne 0 ]; then
- cat /tmp/dante-sockd.checkconf
- eerror "Something is wrong with your configuration file"
- eerror "for more info, see: man sockd.conf"
- return 1
- fi
- rm /tmp/dante-sockd.checkconf
-
- DAEMON_UID=`sed -e '/^[ \t]*user[.]notprivileged[ \t]*:/{s/.*:[ \t]*//;q};d' /etc/socks/sockd.conf`
- if [ -n "$DAEMON_UID" ]; then
- [ ! -d $SOCKDIR ] && mkdir $SOCKDIR && chown $DAEMON_UID $SOCKDIR
- [ ! -f $SOCKDIR/.keep ] && touch $SOCKDIR/.keep
- fi
-
- return 0
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting dante sockd"
- start-stop-daemon --start --quiet \
- --background --pidfile $PIDFILE --make-pidfile --env TMPDIR=$SOCKDIR \
- --exec /usr/sbin/sockd -- ${SOCKD_OPT} >/dev/null 2>&1
- eend $? "Failed to start sockd"
-}
-
-stop() {
- ebegin "Stopping dante sockd"
- start-stop-daemon --stop --quiet --pidfile $PIDFILE
- eend $? "Failed to stop sockd"
-}
diff --git a/net-proxy/dante/files/dante-1.4.0-HAVE_SENDBUF_IOCTL.patch b/net-proxy/dante/files/dante-1.4.0-HAVE_SENDBUF_IOCTL.patch
deleted file mode 100644
index d8e2c220ce92..000000000000
--- a/net-proxy/dante/files/dante-1.4.0-HAVE_SENDBUF_IOCTL.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libscompat.m4
-+++ b/libscompat.m4
-@@ -373,7 +373,7 @@
-
- return 0;
- }], [AC_MSG_RESULT(yes)
-- AC_DEFINE(HAVE_SENDBUF_IOCTL, TIOCOUTQ, [send buffer data])
-+ AC_DEFINE(HAVE_SENDBUF_IOCTL, 1, [send buffer data])
- AC_DEFINE(SENDBUF_IOCTLVAL, TIOCOUTQ, [send buffer ioctl])],
- [AC_MSG_RESULT(no)])],
- [dnl assume no when cross-compiling
diff --git a/net-proxy/dante/files/dante-1.4.0-cflags.patch b/net-proxy/dante/files/dante-1.4.0-cflags.patch
deleted file mode 100644
index eccb64a5d7d8..000000000000
--- a/net-proxy/dante/files/dante-1.4.0-cflags.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-The upstream code tries to remove -g from CFLAGS, but the logic also matches
-the -g in the middle of flags, like:
--frecord-gcc-switches => -frecordcc-switches
--ggdb3 => ggdb3
-Both of which cause GCC to fail horribly!
-
-Fix the grep & sed to only match standalone instances.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-diff -Nuar dante-1.4.0.orig/compiler.m4 dante-1.4.0/compiler.m4
---- dante-1.4.0.orig/compiler.m4 2013-10-24 13:20:23.000000000 -0700
-+++ dante-1.4.0/compiler.m4 2014-01-05 15:18:03.544336373 -0800
-@@ -375,14 +375,14 @@
- gcc)
- if test x"$aixldbug" != x; then
- #disable debug info
-- if echo $CFLAGS | grep -- "-g" >/dev/null; then
-- CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
-+ if echo $CFLAGS | grep -w -- "-g" >/dev/null; then
-+ CFLAGS="`echo $CFLAGS | sed -e 's/\<-g\>//g'`"
- fi
- CFLAGS="$CFLAGS${CFLAGS:+ }-g0"
- else
- #use -ggdb also when not debugging
-- if echo $CFLAGS | grep -- "-g" >/dev/null; then
-- CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
-+ if echo $CFLAGS | grep -w -- "-g" >/dev/null; then
-+ CFLAGS="`echo $CFLAGS | sed -e 's/\<-g\>//g'`"
- fi
- CFLAGS="$CFLAGS${CFLAGS:+ }-ggdb"
- fi
diff --git a/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch b/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch
deleted file mode 100644
index 02a0d916e563..000000000000
--- a/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nuar --exclude '*.orig' --exclude '*.rej' dante-1.4.0.orig/include/osdep.h dante-1.4.0/include/osdep.h
---- dante-1.4.0.orig/include/osdep.h 2013-10-27 08:24:41.000000000 -0700
-+++ dante-1.4.0/include/osdep.h 2014-01-05 15:06:45.346071952 -0800
-@@ -254,9 +254,9 @@
- #endif /* HAVE_DECL_NONNULL */
-
- #if HAVE_DECL_FORMAT
--#define FORMAT(x, y, z) format(x, y, z)
-+#define FORMAT(...) format(__VA_ARGS__)
- #else
--#define FORMAT(x, y, z)
-+#define FORMAT(...)
- #endif /* HAVE_DECL_FORMAT */
-
- #if HAVE_DECL_BOUNDED
diff --git a/net-proxy/dante/files/dante-1.4.0-socksify.patch b/net-proxy/dante/files/dante-1.4.0-socksify.patch
deleted file mode 100644
index 2063327b42c5..000000000000
--- a/net-proxy/dante/files/dante-1.4.0-socksify.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nuar --exclude '*.orig' --exclude '*.rej' dante-1.4.0.orig/bin/socksify.in dante-1.4.0/bin/socksify.in
---- dante-1.4.0.orig/bin/socksify.in 2013-10-27 08:24:41.000000000 -0700
-+++ dante-1.4.0/bin/socksify.in 2014-01-05 15:04:32.495670262 -0800
-@@ -53,7 +53,7 @@
- exit 1
- fi
-
--SOCKSIFY_PRELOAD_LIBS="@SOCKSIFY_PRELOAD_LIBS@"
-+#SOCKSIFY_PRELOAD_LIBS="@SOCKSIFY_PRELOAD_LIBS@"
- SOCKS_LIBDIR="${SOCKS_LIBDIR:-@LIBRARY_PREFIX@}"
-
- #platform that requires full path to libdsocks?
-@@ -82,8 +82,12 @@
- @PRELOAD_VARIABLE@="${LIBRARY}${SOCKSIFY_PRELOAD_LIBS:+${PRELOAD_SEPERATOR}}${SOCKSIFY_PRELOAD_LIBS}${PRELOAD_POSTFIX:+${PRELOAD_SEPERATOR}}${PRELOAD_POSTFIX}"
- export @PRELOAD_VARIABLE@
-
--LD_LIBRARY_PATH="${SOCKS_LIBDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
--export LD_LIBRARY_PATH
-+# There is no reason to set LD_LIBRARY_PATH, at least on Linux, where
-+# LD_PRELOAD can contain a full path to the library. Setting the
-+# following breaks socksify on Linux/Alpha at least with
-+# binutils-2.14.90.0.7-r3 (08 Dec 2003 agriffis)
-+#LD_LIBRARY_PATH="${SOCKS_LIBDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
-+#export LD_LIBRARY_PATH
-
- #SunOS 64-bit library path
- if test x"@ISA64DIR@" != x; then
diff --git a/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch b/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
deleted file mode 100644
index 1e952ad18b7d..000000000000
--- a/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: dante-1.4.1/lib/upnp.c
-===================================================================
---- dante-1.4.1.orig/lib/upnp.c
-+++ dante-1.4.1/lib/upnp.c
-@@ -156,6 +156,9 @@ socks_initupnp(gw, emsg, emsglen)
- 0
- #if HAVE_LIBMINIUPNP17
- ,0,
-+#if MINIUPNPC_API_VERSION >= 14 /* adds ttl */
-+ 2,
-+#endif
- &rc
- #endif /* HAVE_LIBMINIUPNP17 */
- );
diff --git a/net-proxy/dante/files/dante-1.4.1-sigpwr-siginfo.patch b/net-proxy/dante/files/dante-1.4.1-sigpwr-siginfo.patch
deleted file mode 100644
index 86d54d6a37cb..000000000000
--- a/net-proxy/dante/files/dante-1.4.1-sigpwr-siginfo.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Make sure SIGPWR is not the same as SIGINFO
- Avoid a duplicate case value in a switch statement on e.g. Alpha.
-Forwarded: not-yet
-Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2016-04-11
-
---- a/lib/tostring.c
-+++ b/lib/tostring.c
-@@ -1551,7 +1551,17 @@
- return "SIGPROF";
- #endif /* SIGPROF */
-
-+#undef NEED_SIGPWR
-+
- #ifdef SIGPWR
-+#ifndef SIGINFO
-+#define NEED_SIGPWR
-+#elif SIGINFO != SIGPWR
-+#define NEED_SIGPWR
-+#endif
-+#endif
-+
-+#ifdef NEED_SIGPWR
- case SIGPWR:
- return "SIGPWR";
- #endif /* SIGPWR */
diff --git a/net-proxy/dante/files/dante-1.4.2-cflags.patch b/net-proxy/dante/files/dante-1.4.2-cflags.patch
deleted file mode 100644
index 84798de3a65f..000000000000
--- a/net-proxy/dante/files/dante-1.4.2-cflags.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-The upstream code tries to remove -g from CFLAGS, but the logic also matches
-the -g in the middle of flags, like:
--frecord-gcc-switches => -frecordcc-switches
--ggdb3 => ggdb3
-Both of which cause GCC to fail horribly!
-
-Fix the grep & sed to only match standalone instances.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-diff -Nuar dante-1.4.2.orig/compiler.m4 dante-1.4.2/compiler.m4
---- dante-1.4.2.orig/compiler.m4 2013-10-24 13:20:23.000000000 -0700
-+++ dante-1.4.2/compiler.m4 2014-01-05 15:18:03.544336373 -0800
-@@ -375,14 +375,14 @@
- gcc)
- if test x"$aixldbug" != x; then
- #disable debug info
-- if echo $CFLAGS | grep -- "-g " >/dev/null; then
-- CFLAGS="`echo $CFLAGS | sed -e 's/-g //g'`"
-+ if echo $CFLAGS | grep -w -- "-g" >/dev/null; then
-+ CFLAGS="`echo $CFLAGS | sed -e 's/\<-g\>//g'`"
- fi
- CFLAGS="$CFLAGS${CFLAGS:+ }-g0"
- else
- #use -ggdb also when not debugging
-- if echo $CFLAGS | grep -- "-g " >/dev/null; then
-- CFLAGS="`echo $CFLAGS | sed -e 's/-g //g'`"
-+ if echo $CFLAGS | grep -w -- "-g" >/dev/null; then
-+ CFLAGS="`echo $CFLAGS | sed -e 's/\<-g\>//g'`"
- fi
- CFLAGS="$CFLAGS${CFLAGS:+ }-ggdb"
- fi
diff --git a/net-proxy/dante/files/dante-1.4.3-gai-symbol.patch b/net-proxy/dante/files/dante-1.4.3-gai-symbol.patch
deleted file mode 100644
index 5f0b0303de5b..000000000000
--- a/net-proxy/dante/files/dante-1.4.3-gai-symbol.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Dante's packaging design has some very pretty macro usage, but also fragile.
-
-The error & getaddrinfo error checking tries to expand a macro outside a
-string, leading to it expanding empty in some cases. Quoting the string makes
-it show up as expected.
-
-```
-checking getaddrinfo() error symbols... configure: error: in `/var/tmp/portage/net-proxy/dante-1.4.3/work/dante-1.4.3':
-configure: error: error: getaddrinfo() error value count too low
-See `config.log' for more details`
-```
-
---- dante-1.4.3//acinclude.m4 2017-01-23 11:28:08.000000000 -0800
-+++ dante-1.4.3//acinclude.m4 2024-11-17 19:51:39.398597593 -0800
-@@ -1110,7 +1114,7 @@
- [AC_LANG_PROGRAM([[#include <errno.h>]],
- [[
- #ifdef $3
--errnoval: $3
-+"errnoval: $3"
- #else
- #error "errno value $3 not defined"
- #endif]])],
-@@ -1134,7 +1138,7 @@
- #include <netdb.h>]],
- [[
- #ifdef $3
--gaierrval: $3
-+"gaierrval: $3"
- #else
- #error "gai error value $3 not defined"
- #endif]])],
diff --git a/net-proxy/dante/files/dante-1.4.3-osdep-debug.patch b/net-proxy/dante/files/dante-1.4.3-osdep-debug.patch
deleted file mode 100644
index f626f5b3ea9a..000000000000
--- a/net-proxy/dante/files/dante-1.4.3-osdep-debug.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- dante-1.4.3.orig/osdep.m4 2017-01-18 06:11:20.000000000 -0800
-+++ dante-1.4.3/osdep.m4 2024-11-17 16:05:24.798720697 -0800
-@@ -957,11 +957,11 @@
- if test -s $ERRVALFILE; then
- UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'`
- if test $UNIQUEVALS -le 1; then
-- AC_MSG_FAILURE([error: getaddrinfo() error value count too low])
-+ AC_MSG_FAILURE([error: getaddrinfo() error value count too low; got $UNIQUEVALS from $ERRVALFILE])
- fi
- UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'`
- if test $UNIQUESYMBOLS -le 1; then
-- AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low])
-+ AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low; got $UNIQUESYMBOLS from $ERRVALFILE])
- fi
-
- if test $ERRNOCNT -ne $UNIQUESYMBOLS; then
diff --git a/net-proxy/dante/files/dante-1.4.3-upnp-2.2.8.patch b/net-proxy/dante/files/dante-1.4.3-upnp-2.2.8.patch
deleted file mode 100644
index 271d3094f80a..000000000000
--- a/net-proxy/dante/files/dante-1.4.3-upnp-2.2.8.patch
+++ /dev/null
@@ -1,247 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -32805,6 +32805,49 @@
- LIBS=$oLIBS
- fi
- if test x"${have_libminiupnp}" = xt; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for miniupnpc version >= 2.2.8" >&5
-+$as_echo_n "checking for miniupnpc version >= 2.2.8... " >&6; }
-+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-+/* end confdefs.h. */
-+
-+ #include <stdio.h>
-+ #include <miniupnpc/miniupnpc.h>
-+ #include <miniupnpc/upnpcommands.h>
-+ #include <miniupnpc/upnperrors.h>
-+int
-+main ()
-+{
-+
-+
-+ #ifndef MINIUPNPC_API_VERSION
-+ #error "no api version define"
-+ #else
-+ # if MINIUPNPC_API_VERSION < 18
-+ #error "api version too low"
-+ # endif
-+ #endif
-+ ;
-+ return 0;
-+}
-+_ACEOF
-+if ac_fn_c_try_compile "$LINENO"; then :
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+
-+$as_echo "#define HAVE_LIBMINIUPNP 1" >>confdefs.h
-+
-+
-+$as_echo "#define HAVE_LIBMINIUPNP228 1" >>confdefs.h
-+
-+ unset no_upnp
-+ SOCKDDEPS="${SOCKDDEPS}${SOCKDDEPS:+ }$UPNPLIB"
-+ DLIBDEPS="${DLIBDEPS}${DLIBDEPS:+ }$UPNPLIB"
-+else
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+fi
-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-+
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for miniupnpc version >= 1.7" >&5
- $as_echo_n "checking for miniupnpc version >= 1.7... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -32822,8 +32865,8 @@
- #ifndef MINIUPNPC_API_VERSION
- #error "no api version define"
- #else
-- # if MINIUPNPC_API_VERSION < 8
-- #error "api version too low"
-+ # if MINIUPNPC_API_VERSION < 8 || MINIUPNPC_API_VERSION > 17
-+ #error "api version too low or high"
- # endif
- #endif
- ;
---- ./include/autoconf.h.in.orig 2021-04-30 21:29:27.000000000 +0200
-+++ ./include/autoconf.h.in 2025-01-13 13:18:20.846544677 +0100
-@@ -797,6 +797,9 @@
- /* UPNP support library 1.7 */
- #undef HAVE_LIBMINIUPNP17
-
-+/* UPNP support library 2.2.8 */
-+#undef HAVE_LIBMINIUPNP228
-+
- /* Define to 1 if you have the `prldap60' library (-lprldap60). */
- #undef HAVE_LIBPRLDAP60
-
---- ./include/common.h.orig 2021-02-02 20:34:15.000000000 +0100
-+++ ./include/common.h 2025-01-13 13:16:32.969992076 +0100
-@@ -1404,9 +1404,20 @@
- /* return codes from UPNP_GetValidIGD(). */
- #define UPNP_NO_IGD (0)
- #define UPNP_CONNECTED_IGD (1)
-+
-+#if HAVE_LIBMINIUPNP228
-+
-+#define UPNP_RESERVED_IGD (2)
-+#define UPNP_DISCONNECTED_IGD (3)
-+#define UPNP_UNKNOWN_DEVICE (4)
-+
-+#else /* !HAVE_LIBMINIUPNP_228 */
-+
- #define UPNP_DISCONNECTED_IGD (2)
- #define UPNP_UNKNOWN_DEVICE (3)
-
-+#endif /* !HAVE_LIBMINIUPNP_228 */
-+
- #define UPNP_SUCCESS (1)
- #define UPNP_FAILURE (2)
-
---- ./include/redefac.h.orig 2021-04-30 21:48:32.000000000 +0200
-+++ ./include/redefac.h 2025-01-13 13:13:43.206075810 +0100
-@@ -1004,6 +1004,10 @@
- #define HAVE_LIBMINIUPNP17 0
- #endif
-
-+#ifndef HAVE_LIBMINIUPNP228
-+#define HAVE_LIBMINIUPNP228 0
-+#endif
-+
- #ifndef HAVE_LIBPRLDAP60
- #define HAVE_LIBPRLDAP60 0
- #endif
---- ./lib/upnp.c.orig 2020-11-11 17:11:55.000000000 +0100
-+++ ./lib/upnp.c 2024-11-21 17:02:49.000000000 +0100
-@@ -42,7 +42,7 @@
- */
-
- static const char rcsid[] =
--"$Id: upnp.c,v 1.153.4.4.2.2.4.2 2020/11/11 16:11:55 karls Exp $";
-+"$Id: upnp.c,v 1.153.4.4.2.2.4.2.4.1 2024/11/21 16:02:49 karls Exp $";
-
- #include "common.h"
-
-@@ -154,7 +154,7 @@
- addrstring,
- NULL,
- 0
--#if HAVE_LIBMINIUPNP17
-+#if HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228
- ,0,
-
- #if MINIUPNPC_API_VERSION >= 14
-@@ -162,7 +162,7 @@
- #endif /* MINIUPNPC_API_VERSION >= 14 */
-
- &rc
--#endif /* HAVE_LIBMINIUPNP17 */
-+#endif /* HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228 */
- );
-
- #if SOCKS_CLIENT && SOCKSLIBRARY_DYNAMIC
-@@ -208,7 +208,12 @@
- socks_autoadd_directroute(&commands, &protocols, &saddr, &smask);
- }
-
-+#if HAVE_LIBMINIUPNP228
-+ devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr, sizeof(myaddr),
-+ NULL, 0);
-+#else /* !HAVE_LIBMINIUPNP228 */
- devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr, sizeof(myaddr));
-+#endif /* !HAVE_LIBMINIUPNP228 */
- switch (devtype) {
- case UPNP_NO_IGD:
- snprintf(emsg, emsglen, "no UPNP IGD discovered on local network");
-@@ -226,6 +231,20 @@
- rc = 0;
- break;
-
-+#if HAVE_LIBMINIUPNP228
-+ case UPNP_RESERVED_IGD:
-+ snprintf(emsg, emsglen,
-+ "UPNP IGD discovered at url %s, but its IP is reserved",
-+ str2vis(url.controlURL,
-+ strlen(url.controlURL),
-+ vbuf,
-+ sizeof(vbuf)));
-+
-+ swarnx("%s: %s", function, emsg);
-+ rc = -1;
-+ break;
-+#endif /* HAVE_LIBMINIUPNP228 */
-+
- case UPNP_DISCONNECTED_IGD:
- snprintf(emsg, emsglen,
- "UPNP IGD discovered at url %s, but it is not connected",
-@@ -273,12 +292,12 @@
- #if HAVE_LIBMINIUPNP13
- STRCPY_ASSERTLEN(gw->state.data.upnp.servicetype, data.servicetype);
-
--#elif HAVE_LIBMINIUPNP14 || HAVE_LIBMINIUPNP17
-+#elif HAVE_LIBMINIUPNP14 || HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228
- STRCPY_ASSERTLEN(gw->state.data.upnp.servicetype, data.CIF.servicetype);
-
- #else
- # error "unexpected miniupnp version"
--#endif /* HAVE_LIBMINIUPNP17 */
-+#endif /* HAVE_LIBMINIUPNP14 || HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228 */
-
- slog(LOG_NEGOTIATE, "%s: inited ok. controlurl: %s, servicetype: %s",
- function,
-@@ -756,9 +775,9 @@
- buf,
- protocol,
- NULL
--#if HAVE_LIBMINIUPNP17
-+#if HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228
- ,0
--#endif /* HAVE_LIBMINIUPNP17 */
-+#endif /* HAVE_LIBMINIUPNP17 || HAVE_LIBMINIUPNP228 */
- )) != UPNPCOMMAND_SUCCESS) {
- snprintf(emsg, emsglen,
- "UPNP_AddPortMapping() failed: %s", strupnperror(rc));
---- ./miniupnpc.m4.orig 2012-11-02 13:08:14.000000000 +0100
-+++ ./miniupnpc.m4 2024-11-21 17:02:49.000000000 +0100
-@@ -20,7 +20,7 @@
- LIBS=$oLIBS
- fi
- if test x"${have_libminiupnp}" = xt; then
-- AC_MSG_CHECKING([for miniupnpc version >= 1.7])
-+ AC_MSG_CHECKING([for miniupnpc version >= 2.2.8])
- AC_TRY_COMPILE([
- #include <stdio.h>
- #include <miniupnpc/miniupnpc.h>
-@@ -30,11 +30,33 @@
- #ifndef MINIUPNPC_API_VERSION
- #error "no api version define"
- #else
-- # if MINIUPNPC_API_VERSION < 8
-+ # if MINIUPNPC_API_VERSION < 18
- #error "api version too low"
- # endif
- #endif],
- [AC_MSG_RESULT(yes)
-+ AC_DEFINE(HAVE_LIBMINIUPNP, 1, [UPNP support library])
-+ AC_DEFINE(HAVE_LIBMINIUPNP228, 1, [UPNP support library 2.2.8])
-+ unset no_upnp
-+ SOCKDDEPS="${SOCKDDEPS}${SOCKDDEPS:+ }$UPNPLIB"
-+ DLIBDEPS="${DLIBDEPS}${DLIBDEPS:+ }$UPNPLIB"],
-+ [AC_MSG_RESULT(no)])
-+
-+ AC_MSG_CHECKING([for miniupnpc version >= 1.7])
-+ AC_TRY_COMPILE([
-+ #include <stdio.h>
-+ #include <miniupnpc/miniupnpc.h>
-+ #include <miniupnpc/upnpcommands.h>
-+ #include <miniupnpc/upnperrors.h>], [
-+
-+ #ifndef MINIUPNPC_API_VERSION
-+ #error "no api version define"
-+ #else
-+ # if MINIUPNPC_API_VERSION < 8 || MINIUPNPC_API_VERSION > 17
-+ #error "api version too low or high"
-+ # endif
-+ #endif],
-+ [AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_LIBMINIUPNP, 1, [UPNP support library])
- AC_DEFINE(HAVE_LIBMINIUPNP17, 1, [UPNP support library 1.7])
- unset no_upnp
diff --git a/net-proxy/dante/files/dante-sockd-conf b/net-proxy/dante/files/dante-sockd-conf
deleted file mode 100644
index e817a07a289c..000000000000
--- a/net-proxy/dante/files/dante-sockd-conf
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Number of processes to fork off
-# 1 is plenty for most users
-# increment SLOWLY for bigger demand
-SOCKD_FORKDEPTH=1
-
-# set this to 1 to enable debug
-SOCKD_DEBUG=0
-
-# disable TCP keepalive for better resource usage
-SOCKD_DISABLE_KEEPALIVE=1
diff --git a/net-proxy/dante/files/dante-sockd.service b/net-proxy/dante/files/dante-sockd.service
deleted file mode 100644
index 647a2dcc8cd8..000000000000
--- a/net-proxy/dante/files/dante-sockd.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=SOCKS v4 and v5 compatible proxy server and client
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/sockd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/dante/files/sockd.conf b/net-proxy/dante/files/sockd.conf
deleted file mode 100644
index 70b18747ba34..000000000000
--- a/net-proxy/dante/files/sockd.conf
+++ /dev/null
@@ -1,243 +0,0 @@
-# The configfile is divided into two parts; first serversettings,
-# then the rules.
-#
-# The recommended order is:
-# Serversettings:
-# logoutput
-# internal
-# external
-# method
-# clientmethod
-# users
-# compatibility
-# extension
-# connecttimeout
-# iotimeout
-# srchost
-#
-# Rules:
-# client block/pass
-# from to
-# log
-#
-# block/pass
-# from to
-# method
-# command
-# log
-# protocol
-# proxyprotocol
-
-# the server will log both via syslog, to stdout and to /var/log/lotsoflogs
-#logoutput: syslog stdout /var/log/lotsoflogs
-logoutput: syslog
-
-# The server will bind to the address 10.1.1.1, port 1080 and will only
-# accept connections going to that address.
-#internal: 10.1.1.1 port = 1080
-# Alternatively, the interface name can be used instead of the address.
-#internal: eth0 port = 1080
-
-# all outgoing connections from the server will use the IP address
-# 195.168.1.1
-#external: 192.168.1.1
-
-# list over acceptable methods, order of preference.
-# A method not set here will never be selected.
-#
-# If the method field is not set in a rule, the global
-# method is filled in for that rule.
-#
-
-# methods for socks-rules.
-#method: username none #rfc931
-
-# methods for client-rules.
-#clientmethod: none
-
-#or if you want to allow rfc931 (ident) too
-#method: username rfc931 none
-
-#
-# An important section, pay attention.
-#
-
-# when doing something that can require privilege,
-# it will use the userid "sockd".
-user.privileged: sockd
-
-# when running as usual,
-# it will use the unprivileged userid of "sockd".
-user.notprivileged: sockd
-
-#
-# some options to help clients with compatibility:
-#
-
-# when a client connection comes in the socksserver will try to use
-# the same port as the client is using, when the socksserver
-# goes out on the clients behalf (external: IP address).
-# If this option is set, Dante will try to do it for reserved ports aswell.
-# This will usually require user.privileged to be set to "root".
-#compatibility: sameport
-
-# If you are using the bind extension and have trouble running servers
-# via the server, you might try setting this. The consequences of it
-# are unknown.
-#compatibility: reuseaddr
-
-#
-# The Dante server supports some extensions to the socks protocol.
-# These require that the socks client implements the same extension and
-# can be enabled using the "extension" keyword.
-#
-# enable the bind extension.
-#extension: bind
-
-
-#
-#
-# misc options.
-#
-
-# how many seconds can pass from when a client connects til it has
-# sent us it's request? Adjust according to your network performance
-# and methods supported.
-#connecttimeout: 30 # on a lan, this should be enough if method is "none".
-
-# how many seconds can the client and it's peer idle without sending
-# any data before we dump it? Unless you disable tcp keep-alive for
-# some reason, it's probably best to set this to 0, which is
-# "forever".
-#iotimeout: 0 # or perhaps 86400, for a day.
-
-# do you want to accept connections from addresses without
-# dns info? what about addresses having a mismatch in dnsinfo?
-#srchost: nounknown nomismatch
-
-#
-# The actual rules. There are two kinds and they work at different levels.
-#
-# The rules prefixed with "client" are checked first and say who is allowed
-# and who is not allowed to speak/connect to the server. I.e the
-# ip range containing possibly valid clients.
-# It is especially important that these only use IP addresses, not hostnames,
-# for security reasons.
-#
-# The rules that do not have a "client" prefix are checked later, when the
-# client has sent its request and are used to evaluate the actual
-# request.
-#
-# The "to:" in the "client" context gives the address the connection
-# is accepted on, i.e the address the socksserver is listening on, or
-# just "0.0.0.0/0" for any address the server is listening on.
-#
-# The "to:" in the non-"client" context gives the destination of the clients
-# socksrequest.
-#
-# "from:" is the source address in both contexts.
-#
-
-
-# the "client" rules. All our clients come from the net 10.0.0.0/8.
-#
-
-# Allow our clients, also provides an example of the port range command.
-#client pass {
-# from: 10.0.0.0/8 port 1-65535 to: 0.0.0.0/0
-# method: rfc931 # match all idented users that also are in passwordfile
-#}
-
-# This is identical to above, but allows clients without a rfc931 (ident)
-# too. In practise this means the socksserver will try to get a rfc931
-# reply first (the above rule), if that fails, it tries this rule.
-#client pass {
-# from: 10.0.0.0/8 port 1-65535 to: 0.0.0.0/0
-#}
-
-
-# drop everyone else as soon as we can and log the connect, they are not
-# on our net and have no business connecting to us. This is the default
-# but if you give the rule yourself, you can specify details.
-#client block {
-# from: 0.0.0.0/0 to: 0.0.0.0/0
-# log: connect error
-#}
-
-
-# the rules controlling what clients are allowed what requests
-#
-
-# you probably don't want people connecting to loopback addresses,
-# who knows what could happen then.
-#block {
-# from: 0.0.0.0/0 to: 127.0.0.0/8
-# log: connect error
-#}
-
-# the people at the 172.16.0.0/12 are bad, no one should talk to them.
-# log the connect request.
-#block {
-# from: 0.0.0.0/0 to: 172.16.0.0/12
-# log: connect error
-#}
-
-# unless you need it, you could block any bind requests.
-#block {
-# from: 0.0.0.0/0 to: 0.0.0.0/0
-# command: bind
-# log: connect error
-#}
-
-# or you might want to allow it, for instance "active" ftp uses it.
-# Note that a "bindreply" command must also be allowed, it
-# should usually by from "0.0.0.0/0", i.e if a client of yours
-# has permission to bind, it will also have permission to accept
-# the reply from anywhere.
-#pass {
-# from: 10.0.0.0/8 to: 0.0.0.0/0
-# command: bind
-# log: connect error
-#}
-
-# some connections expect some sort of "reply", this might be
-# the reply to a bind request or it may be the reply to a
-# udppacket, since udp is packetbased.
-# Note that nothing is done to verify that it's a "genuine" reply,
-# that is in general not possible anyway. The below will allow
-# all "replies" in to your clients at the 10.0.0.0/8 net.
-#pass {
-# from: 0.0.0.0/0 to: 10.0.0.0/8
-# command: bindreply udpreply
-# log: connect error
-#}
-
-
-# pass any http connects to the example.com domain if they
-# authenticate with username.
-# This matches "example.com" itself and everything ending in ".example.com".
-#pass {
-# from: 10.0.0.0/8 to: .example.com port = http
-# log: connect error
-# method: username
-#}
-
-# block any other http connects to the example.com domain.
-#block {
-# from: 0.0.0.0/0 to: .example.com port = http
-# log: connect error
-#}
-
-# everyone from our internal network, 10.0.0.0/8 is allowed to use
-# tcp and udp for everything else.
-#pass {
-# from: 10.0.0.0/8 to: 0.0.0.0/0
-# protocol: tcp udp
-#}
-
-# last line, block everyone else. This is the default but if you provide
-# one yourself you can specify your own logging/actions
-#block {
-# from: 0.0.0.0/0 to: 0.0.0.0/0
-# log: connect error
-#}
diff --git a/net-proxy/dante/files/sockd.conf-with-libwrap.patch b/net-proxy/dante/files/sockd.conf-with-libwrap.patch
deleted file mode 100644
index 97d2a33f71bb..000000000000
--- a/net-proxy/dante/files/sockd.conf-with-libwrap.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- sockd.conf.orig 2005-06-04 13:57:39.770322448 +0300
-+++ sockd.conf 2005-06-04 13:47:47.000000000 +0300
-@@ -18,12 +18,14 @@
- # Rules:
- # client block/pass
- # from to
-+# libwrap
- # log
- #
- # block/pass
- # from to
- # method
- # command
-+# libwrap
- # log
- # protocol
- # proxyprotocol
-@@ -73,6 +75,10 @@
- # it will use the unprivileged userid of "sockd".
- user.notprivileged: sockd
-
-+# when running libwrap commands,
-+# it will use the userid "sockd".
-+user.libwrap: sockd
-+
- #
- # some options to help clients with compatibility:
- #
-@@ -179,9 +185,11 @@
- #}
-
- # the people at the 172.16.0.0/12 are bad, no one should talk to them.
--# log the connect request.
-+# log the connect request and also provide an example on how to
-+# interact with libwrap.
- #block {
- # from: 0.0.0.0/0 to: 172.16.0.0/12
-+# libwrap: spawn finger @%a
- # log: connect error
- #}
-
diff --git a/net-proxy/dante/files/sockd.conf-with-pam.patch b/net-proxy/dante/files/sockd.conf-with-pam.patch
deleted file mode 100644
index d6735a1cf30e..000000000000
--- a/net-proxy/dante/files/sockd.conf-with-pam.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- sockd.conf.orig 2005-06-04 14:01:40.492727080 +0300
-+++ sockd.conf 2005-06-04 13:57:39.770322448 +0300
-@@ -58,6 +58,9 @@
- #or if you want to allow rfc931 (ident) too
- #method: username rfc931 none
-
-+#or for PAM authentification
-+#method: pam
-+
- #
- # An important section, pay attention.
- #
diff --git a/net-proxy/dante/files/socks.conf b/net-proxy/dante/files/socks.conf
deleted file mode 100644
index 4a7d1520a7b5..000000000000
--- a/net-proxy/dante/files/socks.conf
+++ /dev/null
@@ -1,127 +0,0 @@
-# The configfile is divided into two parts; first misc. settings,
-# then the routes. Objects in '[]' are optional.
-#
-#
-# recommended order is:
-# [debug]
-# [logoutput]
-# [resolveprotocol]
-#
-# routes:
-# from to via
-# [command]
-# [extension]
-# [protocol]
-# [proxyprotocol]
-
-
-#debug: 1 # uncomment to enable debugging
-
-#logoutput: stdout # users usually don't want to be bothered with that.
-
-# What protocol should be used for resolving hostnames? It's important
-# to set this right.
-#resolveprotocol: udp # default
-#resolveprotocol: tcp # set this if your socksserver only supports socksv4.
-#resolveprotocol: fake # set this if your clients can't access nameserver,
- # neither directly nor proxied.
-
-
-
-#
-# the routes
-#
-
-# specifying routes for accepting remote connections (via bind()) is
-# difficult since we can't know what the "to:" address is
-# until we actually get the connection Since we support letting
-# the client accept connections both via the proxyserver and
-# "directly" at the same time, we have two options though:
-# a) specify a route for bind (only) first going via the proxyserver.
-# This will also handle "direct" connections.
-# b) specify a route for bind (only) first going "direct".
-# This means clients will only be able to accept "direct"
-# connections.
-
-# we want to accept remote connections via the proxyserver.
-#route {
-# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.1.1.1 port = 1080
-# command: bind
-#}
-
-# we do not want to accept remote connections via the proxyserver.
-#route {
-# from: 0.0.0.0/0 to: 0.0.0.0/0 via: direct
-# command: bind
-#}
-
-
-# if you don't route all local connections via direct, you should
-# at least route nameserver connections via direct connections if you
-# can. That can make for much better performance, depending on
-# your setup. Make sure the nameserver line is the first.
-#
-# Assuming your nameserver runs on address 10.1.1.1, you can do it like this:
-#route {
-# from: 0.0.0.0/0 to: 10.1.1.1/32 port = domain via: direct
-#}
-
-
-# have a route making all connections to loopback addresses be direct.
-#route {
-# from: 0.0.0.0/0 to: 127.0.0.0/8 via: direct
-# command: connect udpassociate # everything but bind, bind confuses us.
-#}
-
-# Our net is the 10.0.0.0/8 net, let clients going to local address go
-# direct, not via server.
-#route {
-# from: 0.0.0.0/0 to: 10.0.0.0/8 via: direct
-#}
-
-# for poor souls trapped behind a msproxy server.
-#route {
-# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.1.1.1 port = 1745
-# protocol: tcp # server supports tcp
-# proxyprotocol: msproxy_v2 # server runs msproxy_v2
-#}
-
-# clients going anywhere else go via server listening at
-# IP address 10.1.1.1, port 1080. Note that unless you have
-# specified a direct connection for DNS, or the socksserver is resolvable
-# without network traffic, you can't give a hostname for the socksserver,
-# you must give a IP address. (the reasons for that are logical enough,
-# you would create a loop otherwise.)
-#route {
-# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.1.1.1 port = 1080
-# protocol: tcp udp # server supports tcp and udp.
-# proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
-# method: none #username # we are willing to authenticate via
-# # method "none", not "username".
-#}
-
-# this is identical to the above, but it matches hostnames instead.
-# This is if you have clients that are unable to resolve hostnames.
-# It can be important that hostname routes come after address routes.
-#route {
-# from: 0.0.0.0/0 to: . via: 10.1.1.1 port = 1080
-# protocol: tcp udp # server supports tcp and udp.
-# proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
-# method: none #username # we are willing to authenticate via
-# # method "none", not "username".
-#}
-
-# identical to above two routes, but using a httpproxy instead.
-#
-
-#route {
-# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.1.1.1 port = 3128
-# command: connect # only thing a httproxy supports.
-# proxyprotocol: http_v1.0
-#}
-
-#route {
-# from: 0.0.0.0/0 to: . via: 10.1.1.1 port = 3128
-# command: connect # only thing a httproxy supports.
-# proxyprotocol: http_v1.0
-#}
diff --git a/net-proxy/dante/metadata.xml b/net-proxy/dante/metadata.xml
deleted file mode 100644
index 7e79d0661fcb..000000000000
--- a/net-proxy/dante/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person"><email>robbat2@gentoo.org</email></maintainer>
-</pkgmetadata>
diff --git a/net-proxy/dnsproxy/Manifest b/net-proxy/dnsproxy/Manifest
deleted file mode 100644
index 99fd552ee434..000000000000
--- a/net-proxy/dnsproxy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dnsproxy-1.17.tar.gz 47128 BLAKE2B 37b033b4c8f515b516ebf4780f7d28f6924fd66b9ca826d98567e8d3aab139c9a91a39bd0e8cf6d38084fce86f9ce8cb56f93d16918240d0d0815787dc06a72f SHA512 499910f59306477870f2c1cc7899fed409c5a569be348d11d17277bf4208ecd44173606022566b91b09546f915f1d990d56936f92245501af9fecf2110e88c32
diff --git a/net-proxy/dnsproxy/dnsproxy-1.17-r1.ebuild b/net-proxy/dnsproxy/dnsproxy-1.17-r1.ebuild
deleted file mode 100644
index a9d22d44e75e..000000000000
--- a/net-proxy/dnsproxy/dnsproxy-1.17-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="The dnsproxy daemon is a proxy for DNS queries"
-HOMEPAGE="https://www.wolfermann.org/dnsproxy.html"
-SRC_URI="https://www.wolfermann.org/${P}.tar.gz"
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="
- dev-libs/libevent
-"
-RDEPEND="
- ${DEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.16-include.patch
-)
-
-src_prepare() {
- default
-
- # bug #900288
- eautoreconf
-}
-
-src_compile() {
- # https://github.com/awaw/dnsproxy/commit/7eba35568c87a21a668722b3b04c113e9160e789
- append-cppflags -D_GNU_SOURCE
- emake ${PN}
-}
-
-src_install() {
- dosbin ${PN}
- keepdir /var/empty
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- insinto /etc/${PN}
- newins ${PN}.conf ${PN}.conf.dist
-
- dodoc README
- doman ${PN}.1
-}
diff --git a/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch b/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch
deleted file mode 100644
index 81cbcce51839..000000000000
--- a/net-proxy/dnsproxy/files/dnsproxy-1.16-include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/dnsproxy.c
-+++ b/dnsproxy.c
-@@ -28,6 +28,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <grp.h> /* setgroups() */
- #include <unistd.h>
-
- #define GLOBALS 1
diff --git a/net-proxy/dnsproxy/files/dnsproxy.confd b/net-proxy/dnsproxy/files/dnsproxy.confd
deleted file mode 100644
index 48f8a51e57f0..000000000000
--- a/net-proxy/dnsproxy/files/dnsproxy.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-# Options for dnsproxy daemon (rarely you need to change these)
-DNSPROXY_CONFFILE="/etc/dnsproxy/dnsproxy.conf"
-DNSPROXY_PIDFILE="/var/run/dnsproxy.pid"
diff --git a/net-proxy/dnsproxy/files/dnsproxy.initd b/net-proxy/dnsproxy/files/dnsproxy.initd
deleted file mode 100644
index 7af2199cfab2..000000000000
--- a/net-proxy/dnsproxy/files/dnsproxy.initd
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e "${DNSPROXY_CONFFILE}" ] ; then
- eerror "You need to create and select the configuration file first."
- eerror "An example can be found in /etc/dnsproxy/dnsproxy.conf.dist"
- return 1
- fi
-}
-
-start() {
- ebegin "Starting dnsproxy"
- checkconfig && \
- start-stop-daemon --start --make-pidfile \
- --quiet -b --pidfile ${DNSPROXY_PIDFILE} \
- --exec /usr/sbin/dnsproxy -- -c "${DNSPROXY_CONFFILE}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping dnsproxy"
- start-stop-daemon --stop --quiet \
- --pidfile ${DNSPROXY_PIDFILE}
- eend $?
-}
diff --git a/net-proxy/dnsproxy/metadata.xml b/net-proxy/dnsproxy/metadata.xml
deleted file mode 100644
index 60494b11b52b..000000000000
--- a/net-proxy/dnsproxy/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-needed -->
- <longdescription>
- The dnsproxy daemon is a proxy for DNS queries. It forwards these queries to
- two previously configured nameservers: one for authoritative queries and another
- for recursive queries. The received answers are sent back to the client unchanged.
- No local caching is done.
- </longdescription>
- <upstream>
- <remote-id type="github">awaw/dnsproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/dnss/Manifest b/net-proxy/dnss/Manifest
deleted file mode 100644
index e1e7ce7044cd..000000000000
--- a/net-proxy/dnss/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dnss-0.1.1.tar.gz 23600 BLAKE2B 23761235f77bea100fe0d02ccbc7d29b31165347c0a00a6a72d04b63e3ece8a1a9f5871b96e9ba40f409f8a5aa51620a8341b82870791ab437d3d46c3c0d93ec SHA512 abf6ccf077264308795f8df46cb0d9866b1582dfaa13627cd98e3e3ddc07802565c70ae62e1248deba065558d67c49d8e57d5ab0d473149d28e23ca506531353
diff --git a/net-proxy/dnss/dnss-0.1.1.ebuild b/net-proxy/dnss/dnss-0.1.1.ebuild
deleted file mode 100644
index 864029ad0801..000000000000
--- a/net-proxy/dnss/dnss-0.1.1.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
-ZIG_SLOT="0.16"
-
-inherit zig systemd
-
-DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
-HOMEPAGE="https://codeberg.org/zacoons/dnss"
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="openrc systemd"
-
-RDEPEND="
- openrc? ( sys-apps/openrc )
- systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-
-SRC_URI="https://codeberg.org/zacoons/dnss/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/dnss"
-
-src_compile() {
- ezig build --release=fast
-}
-
-src_install() {
- zig_src_install
-
- # Example config
- if [[ ! -f "${S}/example.dnss.conf" ]]; then
- die "example.dnss.conf not found"
- fi
- insinto /etc
- newins "${S}/example.dnss.conf" dnss.conf.example
-
- # systemd service
- if use systemd; then
- if [[ ! -f "${S}/pkg/aur/systemd/dnss.service" ]]; then
- die "systemd service file not found at pkg/aur/systemd/dnss.service"
- fi
- systemd_dounit "${S}/pkg/aur/systemd/dnss.service"
- fi
-
- # OpenRC init script
- if use openrc; then
- if [[ ! -f "${S}/pkg/aur/openrc/dnss.service" ]]; then
- die "OpenRC script not found at pkg/aur/openrc/dnss"
- fi
- newinitd "${S}/pkg/aur/openrc/dnss" dnss
- fi
-}
diff --git a/net-proxy/dnss/dnss-9999.ebuild b/net-proxy/dnss/dnss-9999.ebuild
deleted file mode 100644
index 1287bafc4770..000000000000
--- a/net-proxy/dnss/dnss-9999.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-ZIG_SLOT="0.16"
-
-inherit zig systemd git-r3
-
-DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
-HOMEPAGE="https://codeberg.org/zacoons/dnss"
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS=""
-
-IUSE="openrc systemd"
-
-RDEPEND="
- openrc? ( sys-apps/openrc )
- systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}"
-
-EGIT_REPO_URI="https://codeberg.org/zacoons/dnss.git"
-
-src_compile() {
- ezig build --release=fast
-}
-
-src_install() {
- # Manually install the binary because zig_src_install may fail
- local binary="${BUILD_DIR}/zig-out/bin/dnss"
- [[ -f "${binary}" ]] || binary="${S}/zig-out/bin/dnss"
- [[ -f "${binary}" ]] || die "dnss binary not found"
- dobin "${binary}"
-
- # Example config
- if [[ ! -f "${S}/example.dnss.conf" ]]; then
- die "example.dnss.conf not found"
- fi
- insinto /etc
- newins "${S}/example.dnss.conf" dnss.conf.example
-
- # systemd service
- if use systemd; then
- if [[ ! -f "${S}/pkg/aur/systemd/dnss.service" ]]; then
- die "systemd service file not found at pkg/aur/systemd/dnss.service"
- fi
- systemd_dounit "${S}/pkg/aur/systemd/dnss.service"
- fi
-
- # OpenRC init script
- if use openrc; then
- if [[ ! -f "${S}/pkg/aur/openrc/dnss" ]]; then
- die "OpenRC script not found at pkg/aur/openrc/dnss"
- fi
- newinitd "${S}/pkg/aur/openrc/dnss" dnss
- fi
-}
diff --git a/net-proxy/dnss/metadata.xml b/net-proxy/dnss/metadata.xml
deleted file mode 100644
index 3b78ff4b1b58..000000000000
--- a/net-proxy/dnss/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>theron.york@cloudnuke.org</email>
- <name>Theron York</name>
- </maintainer>
- <upstream>
- <remote-id type="codeberg">zacoons/dnss</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/haproxy-dataplaneapi/Manifest b/net-proxy/haproxy-dataplaneapi/Manifest
deleted file mode 100644
index ab5a31ed9aaa..000000000000
--- a/net-proxy/haproxy-dataplaneapi/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST haproxy-dataplaneapi-3.0.3-vendor.tar.xz 2921660 BLAKE2B 9a23c19c93aa349770d10dafc13d3c4cd49e32b3e32be42efa93caec290341d538dab481959489f055193221e830f3c9259dd8579a49615b2c61676173d82c7e SHA512 4cda2790f6af14e3cade41ff84d2b61a31c88ef3a873dff01042c5f25b4a2e0947e49c402e60473b3fee555db4bee9f004a007e316c3dc38a940159081360562
-DIST haproxy-dataplaneapi-3.0.3.tar.gz 922986 BLAKE2B 4e313ad60a4754a41719be370c71826729e44ea2d01220f9710810ef558402e4ee5c7efa881c0cd3919abeee4830ccafda40874a2ee37ac7727851cefa8ec9e6 SHA512 dec30d8bd5c92ec4bae88090b8f22d3aedbd14db14f87cade64e79887faf3b50e7ca6f7fbbaf506ac393a09947479ca1acdd985661cf9384940a8f8ecfdb387a
-DIST haproxy-dataplaneapi-3.1.5-vendor.tar.xz 2620736 BLAKE2B dbb843f93680cfa62f62cc73abd111e451b5e2877d91acbb0130c2553da57effdae639ad6e795ab5ea71119b6084924b3cff13137259d7f6debaf1fae26e0845 SHA512 25c56935d8105605251c46b76ae519c941891e65c674b3a2467bdecb6b187087418675540b8bbcdca9607e946ade46388834d80e390d9a76017545ab91907087
-DIST haproxy-dataplaneapi-3.1.5.tar.gz 956585 BLAKE2B fee63a14108de5590f36e9efe96586b178ba81fbd348c087adc86edcb0b981139443f706d89d2e89e366663fef396d9507ac34acc333f5e2b022b1fd34717846 SHA512 0357364c69172d83122fd07b49d84ec123e55b3ec63f262c8965f9848cdeb9b22496a57d0da6481fa4d0b6d10e76165068bee865d7255d87c5548c4567eaa2e0
diff --git a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.0.3.ebuild b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.0.3.ebuild
deleted file mode 100644
index 10b3b3affc66..000000000000
--- a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.0.3.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module
-
-DESCRIPTION="haproxy dataplane api / sidecar"
-HOMEPAGE="https://github.com/haproxytech/dataplaneapi https://www.haproxy.com/documentation/dataplaneapi/latest/"
-
-SRC_URI="https://github.com/haproxytech/dataplaneapi/archive/v${PV}.tar.gz -> ${P}.tar.gz
- http://gentooexperimental.org/~patrick/${P}-vendor.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-S="${WORKDIR}/dataplaneapi-${PV}"
-
-src_compile() {
- ego build -o ./build/dataplaneapi ./cmd/dataplaneapi/
-}
-
-src_install() {
- dobin build/dataplaneapi
- dodoc README.md
-}
diff --git a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.1.5.ebuild b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.1.5.ebuild
deleted file mode 100644
index a113aa99ca10..000000000000
--- a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-3.1.5.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module
-
-DESCRIPTION="haproxy dataplane api / sidecar"
-HOMEPAGE="https://github.com/haproxytech/dataplaneapi https://www.haproxy.com/documentation/dataplaneapi/latest/"
-
-SRC_URI="https://github.com/haproxytech/dataplaneapi/archive/v${PV}.tar.gz -> ${P}.tar.gz
- http://gentooexperimental.org/~patrick/${P}-vendor.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-S="${WORKDIR}/dataplaneapi-${PV}"
-
-src_compile() {
- ego build -o ./build/dataplaneapi ./cmd/dataplaneapi/
-}
-
-src_install() {
- dobin build/dataplaneapi
- dodoc README.md
-}
diff --git a/net-proxy/haproxy-dataplaneapi/metadata.xml b/net-proxy/haproxy-dataplaneapi/metadata.xml
deleted file mode 100644
index decd4c87afd9..000000000000
--- a/net-proxy/haproxy-dataplaneapi/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>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <upstream>
- <remote-id type="github">haproxytech/dataplaneapi</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/haproxy/Manifest b/net-proxy/haproxy/Manifest
deleted file mode 100644
index a2d0df8df0af..000000000000
--- a/net-proxy/haproxy/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST haproxy-3.3.10.tar.gz 5278275 BLAKE2B 27a9e716aebd9a190c5702974df6ef24b3f883b987c22e9d8f13f6ac0e71eaae9d69d37cd3fb75a2e547f966c255f3e3e5845c58a8251c69627672df5ca5b2ed SHA512 d7a39a949a3d33d6bfa901a4d74f3e11d73c8e11c2fc10907edf3be90b84b2282b1c483a5ab5b0dc7a54530c01e5644b0e40b57a612704d7c2f11000bc4726cb
-DIST haproxy-3.3.9.tar.gz 5278733 BLAKE2B cbec9ad9cc4ca4a1ded2d3de19919f3852159462388010935ebb4ada87c09f361efd52038c01d2bef60f3bf5debe9b32636a761d3d26f53ee17933b650953a66 SHA512 f2a60c184505665b82ee50bf678da3e5ba9ac955e481a68910dc847d038dd612667ebe7220c520befb1bdf6eb64837545c0ac815fe310f15f7c208c307f197f2
diff --git a/net-proxy/haproxy/files/haproxy.confd b/net-proxy/haproxy/files/haproxy.confd
deleted file mode 100644
index 30739eb8bf23..000000000000
--- a/net-proxy/haproxy/files/haproxy.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# HAProxy config file(s), space separated
-#CONFIGS="/etc/haproxy/haproxy.cfg"
-
-# Additional HAProxy command line options
-HAPROXY_OPTS=""
-
-# If you want to make use ot the new seamless reload you can just write your own
-# reload_seamless function here. It will be called by the init script.
-# For more information on how to use that feature please have a look at the
-# "seamless_reload.txt" documentation file (requires net-proxy/haproxy[examples])
-#reload_seamless() {
-# checkpath -d -m 0700 haproxy:haproxy "/run/haproxy/"
-# socat /run/haproxy/socket - <<< "show servers state" > /run/haproxy/global.state
-#}
diff --git a/net-proxy/haproxy/files/haproxy.initd-r6 b/net-proxy/haproxy/files/haproxy.initd-r6
deleted file mode 100644
index 9b7c5fe973ba..000000000000
--- a/net-proxy/haproxy/files/haproxy.initd-r6
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_commands="checkconfig"
-extra_started_commands="reload"
-
-command="/usr/sbin/haproxy"
-
-pidfile="${HAPROXY_PIDFILE:-/run/${SVCNAME}.pid}"
-
-configs=
-
-if [ -z "${CONFIGS}" ]; then
- if [ -f "/etc/haproxy/${SVCNAME}.cfg" ]; then
- CONFIGS=/etc/haproxy/${SVCNAME}.cfg
- elif [ -f "/etc/${SVCNAME}.cfg" ]; then
- CONFIGS=/etc/${SVCNAME}.cfg # Deprecated
- fi
-fi
-
-for conf in $CONFIGS; do
- configs="${configs} -f ${conf}"
-done
-
-command_args="-D -p ${pidfile} ${configs} ${HAPROXY_OPTS}"
-
-depend() {
- need net
- use dns logger
-}
-
-checkconfig() {
- if [ -z "${CONFIGS}" ]; then
- eerror "No config(s) has been specified"
- return 1
- fi
-
- for conf in $CONFIGS; do
- if [ ! -f "${conf}" ]; then
- eerror "${conf} does not exist!"
- return 1
- fi
- done
-
- ebegin "Checking ${CONFIGS}"
- $command -q -c $configs $HAPROXY_OPTS
- eend $?
-}
-
-start_pre() {
- if [ "${RC_CMD}" != "restart" ]; then
- checkconfig || return 1
- fi
-}
-
-stop_pre() {
- if [ "${RC_CMD}" = "restart" ]; then
- checkconfig || return 1
- fi
-}
-
-stop() {
- local _t _pid
-
- _t="$(mktemp)"
- for _pid in $(cat ${pidfile}) ; do
- echo "${_pid}" > "${_t}"
- start-stop-daemon --stop --pidfile="${_t}"
- done
- rm -f "${_t}"
-}
-
-reload() {
- checkconfig || { eerror "Reloading failed, please fix your config(s) first"; return 1; }
-
- if [ "$(command -v reload_seamless)" = "reload_seamless" ]; then
- einfo "Calling user-defined reload_seamless()"
- reload_seamless || { eerror "reload_seamless() failed!"; return 1; }
- fi
-
- ebegin "Reloading ${SVCNAME}"
- $command -D -p "${pidfile}" $configs $HAPROXY_OPTS -sf $(cat "${pidfile}")
- eend $?
-}
diff --git a/net-proxy/haproxy/haproxy-3.3.10.ebuild b/net-proxy/haproxy/haproxy-3.3.10.ebuild
deleted file mode 100644
index 7f0e88572fd0..000000000000
--- a/net-proxy/haproxy/haproxy-3.3.10.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-
-inherit flag-o-matic linux-info lua-single systemd toolchain-funcs
-
-MY_P="${PN}-${PV/_beta/-dev}"
-
-DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
-HOMEPAGE="https://www.haproxy.org"
-SRC_URI="https://www.haproxy.org/download/$(ver_cut 1-2)/src/${MY_P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="+crypt doc examples +slz +net_ns +pcre pcre-jit pcre2 pcre2-jit prometheus-exporter
-ssl systemd +threads tools vim-syntax zlib lua device-atlas 51degrees wurfl"
-REQUIRED_USE="pcre-jit? ( pcre )
- pcre2-jit? ( pcre2 )
- pcre? ( !pcre2 )
- lua? ( ${LUA_REQUIRED_USE} )
- device-atlas? ( pcre )
- ?? ( slz zlib )"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- crypt? ( virtual/libcrypt:= )
- pcre? (
- dev-libs/libpcre
- pcre-jit? ( dev-libs/libpcre[jit] )
- )
- pcre2? (
- dev-libs/libpcre2:=
- pcre2-jit? ( dev-libs/libpcre2:=[jit] )
- )
- ssl? (
- dev-libs/openssl:0=
-
- )
- systemd? ( sys-apps/systemd )
- zlib? ( sys-libs/zlib )
- lua? ( ${LUA_DEPS} )
- device-atlas? ( dev-libs/device-atlas-api-c )"
-RDEPEND="${DEPEND}
- acct-group/haproxy
- acct-user/haproxy"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( CHANGELOG CONTRIBUTING MAINTAINERS README.md )
-EXTRAS=( admin/halog admin/iprange dev/tcploop dev/hpack )
-
-haproxy_use() {
- (( $# != 2 )) && die "${FUNCNAME} <USE flag> <make option>"
-
- usex "${1}" "USE_${2}=1" "USE_${2}="
-}
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
- if use net_ns; then
- CONFIG_CHECK="~NET_NS"
- linux-info_pkg_setup
- fi
-}
-
-src_compile() {
- local -a args=(
- V=1
- TARGET=linux-glibc
- )
-
- # TODO: PCRE2_WIDTH?
- args+=( $(haproxy_use threads THREAD) )
- args+=( $(haproxy_use crypt LIBCRYPT) )
- args+=( $(haproxy_use net_ns NS) )
- args+=( $(haproxy_use pcre PCRE) )
- args+=( $(haproxy_use pcre-jit PCRE_JIT) )
- args+=( $(haproxy_use pcre2 PCRE2) )
- args+=( $(haproxy_use pcre2-jit PCRE2_JIT) )
- args+=( $(haproxy_use ssl OPENSSL) )
- args+=( $(haproxy_use slz SLZ) )
- args+=( $(haproxy_use zlib ZLIB) )
- args+=( $(haproxy_use lua LUA) )
- args+=( $(haproxy_use 51degrees 51DEGREES) )
- args+=( $(haproxy_use device-atlas DEVICEATLAS) )
- args+=( $(haproxy_use wurfl WURFL) )
- args+=( $(haproxy_use systemd SYSTEMD) )
- args+=( $(haproxy_use prometheus-exporter PROMEX) )
-
- # Bug #668002
- if use ppc || use arm || use hppa; then
- TARGET_LDFLAGS=-latomic
- fi
-
- # HAProxy really needs some of those "SPEC_CFLAGS", like -fno-strict-aliasing
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]}
- emake -C admin/systemd CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) SBINDIR=/usr/sbin
-
- if use tools ; then
- for extra in ${EXTRAS[@]} ; do
- if [ "${extra}" = "admin/halog" ]; then
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} admin/halog/halog
- elif [ "${extra}" = "dev/hpack" ]; then
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} dev/hpack/{decode,gen-enc,gen-rht}
- else
- # Those two includes are a workaround for hpack Makefile missing those
- emake -C ${extra} \
- CFLAGS="${CFLAGS} -I../../include/ -I../../ebtree/" OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) ${args[@]}
- fi
- done
- fi
-}
-
-src_install() {
- dosbin haproxy
- dosym ../sbin/haproxy /usr/bin/haproxy
-
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
- newinitd "${FILESDIR}/${PN}.initd-r6" ${PN}
-
- doman doc/haproxy.1
-
- systemd_dounit admin/systemd/haproxy.service
-
- einstalldocs
-
- # The errorfiles are used by upstream defaults.
- insinto /etc/haproxy/errors/
- doins examples/errorfiles/*
-
- if use doc; then
- dodoc ROADMAP doc/*.txt
- #if use lua; then
- # TODO: doc/lua-api/
- #fi
- fi
-
- if use tools ; then
- has admin/halog "${EXTRAS[@]}" && dobin admin/halog/halog
- has admin/iprange "${EXTRAS[@]}" && { newbin admin/iprange/iprange haproxy_iprange; newbin admin/iprange/ip6range haproxy_ip6range; }
- has dev/tcploop "${EXTRAS[@]}" && newbin dev/tcploop/tcploop haproxy_tcploop
- has dev/hpack "${EXTRAS[@]}" && {
- newbin dev/hpack/gen-rht haproxy_gen-rht
- newbin dev/hpack/gen-enc haproxy_gen-enc
- newbin dev/hpack/decode haproxy_decode
- }
- fi
-
- if use examples ; then
- docinto examples
- dodoc examples/*.cfg
- dodoc doc/seamless_reload.txt
- fi
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax
- doins admin/syntax-highlight/haproxy.vim
- fi
-}
-
-pkg_postinst() {
- if [[ ! -f "${EROOT}/etc/haproxy/haproxy.cfg" ]] ; then
- ewarn "You need to create /etc/haproxy/haproxy.cfg before you start the haproxy service."
- ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created."
- ewarn "Make use of them with the \"user\" and \"group\" directives."
-
- if [[ -d "${EROOT}/usr/share/doc/${PF}" ]]; then
- einfo "Please consult the installed documentation for learning the configuration file's syntax."
- einfo "The documentation and sample configuration files are installed here:"
- einfo " ${EROOT}/usr/share/doc/${PF}"
- fi
- fi
-}
diff --git a/net-proxy/haproxy/haproxy-3.3.9.ebuild b/net-proxy/haproxy/haproxy-3.3.9.ebuild
deleted file mode 100644
index 7f0e88572fd0..000000000000
--- a/net-proxy/haproxy/haproxy-3.3.9.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-
-inherit flag-o-matic linux-info lua-single systemd toolchain-funcs
-
-MY_P="${PN}-${PV/_beta/-dev}"
-
-DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments"
-HOMEPAGE="https://www.haproxy.org"
-SRC_URI="https://www.haproxy.org/download/$(ver_cut 1-2)/src/${MY_P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="+crypt doc examples +slz +net_ns +pcre pcre-jit pcre2 pcre2-jit prometheus-exporter
-ssl systemd +threads tools vim-syntax zlib lua device-atlas 51degrees wurfl"
-REQUIRED_USE="pcre-jit? ( pcre )
- pcre2-jit? ( pcre2 )
- pcre? ( !pcre2 )
- lua? ( ${LUA_REQUIRED_USE} )
- device-atlas? ( pcre )
- ?? ( slz zlib )"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- crypt? ( virtual/libcrypt:= )
- pcre? (
- dev-libs/libpcre
- pcre-jit? ( dev-libs/libpcre[jit] )
- )
- pcre2? (
- dev-libs/libpcre2:=
- pcre2-jit? ( dev-libs/libpcre2:=[jit] )
- )
- ssl? (
- dev-libs/openssl:0=
-
- )
- systemd? ( sys-apps/systemd )
- zlib? ( sys-libs/zlib )
- lua? ( ${LUA_DEPS} )
- device-atlas? ( dev-libs/device-atlas-api-c )"
-RDEPEND="${DEPEND}
- acct-group/haproxy
- acct-user/haproxy"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( CHANGELOG CONTRIBUTING MAINTAINERS README.md )
-EXTRAS=( admin/halog admin/iprange dev/tcploop dev/hpack )
-
-haproxy_use() {
- (( $# != 2 )) && die "${FUNCNAME} <USE flag> <make option>"
-
- usex "${1}" "USE_${2}=1" "USE_${2}="
-}
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
- if use net_ns; then
- CONFIG_CHECK="~NET_NS"
- linux-info_pkg_setup
- fi
-}
-
-src_compile() {
- local -a args=(
- V=1
- TARGET=linux-glibc
- )
-
- # TODO: PCRE2_WIDTH?
- args+=( $(haproxy_use threads THREAD) )
- args+=( $(haproxy_use crypt LIBCRYPT) )
- args+=( $(haproxy_use net_ns NS) )
- args+=( $(haproxy_use pcre PCRE) )
- args+=( $(haproxy_use pcre-jit PCRE_JIT) )
- args+=( $(haproxy_use pcre2 PCRE2) )
- args+=( $(haproxy_use pcre2-jit PCRE2_JIT) )
- args+=( $(haproxy_use ssl OPENSSL) )
- args+=( $(haproxy_use slz SLZ) )
- args+=( $(haproxy_use zlib ZLIB) )
- args+=( $(haproxy_use lua LUA) )
- args+=( $(haproxy_use 51degrees 51DEGREES) )
- args+=( $(haproxy_use device-atlas DEVICEATLAS) )
- args+=( $(haproxy_use wurfl WURFL) )
- args+=( $(haproxy_use systemd SYSTEMD) )
- args+=( $(haproxy_use prometheus-exporter PROMEX) )
-
- # Bug #668002
- if use ppc || use arm || use hppa; then
- TARGET_LDFLAGS=-latomic
- fi
-
- # HAProxy really needs some of those "SPEC_CFLAGS", like -fno-strict-aliasing
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]}
- emake -C admin/systemd CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) SBINDIR=/usr/sbin
-
- if use tools ; then
- for extra in ${EXTRAS[@]} ; do
- if [ "${extra}" = "admin/halog" ]; then
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} admin/halog/halog
- elif [ "${extra}" = "dev/hpack" ]; then
- emake CFLAGS="${CFLAGS} \$(SPEC_CFLAGS)" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) EXTRA_OBJS="${EXTRA_OBJS}" TARGET_LDFLAGS="${TARGET_LDFLAGS}" PCRE_LIB=${ERROT}/usr/$(get_libdir) ${args[@]} dev/hpack/{decode,gen-enc,gen-rht}
- else
- # Those two includes are a workaround for hpack Makefile missing those
- emake -C ${extra} \
- CFLAGS="${CFLAGS} -I../../include/ -I../../ebtree/" OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC=$(tc-getCC) ${args[@]}
- fi
- done
- fi
-}
-
-src_install() {
- dosbin haproxy
- dosym ../sbin/haproxy /usr/bin/haproxy
-
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
- newinitd "${FILESDIR}/${PN}.initd-r6" ${PN}
-
- doman doc/haproxy.1
-
- systemd_dounit admin/systemd/haproxy.service
-
- einstalldocs
-
- # The errorfiles are used by upstream defaults.
- insinto /etc/haproxy/errors/
- doins examples/errorfiles/*
-
- if use doc; then
- dodoc ROADMAP doc/*.txt
- #if use lua; then
- # TODO: doc/lua-api/
- #fi
- fi
-
- if use tools ; then
- has admin/halog "${EXTRAS[@]}" && dobin admin/halog/halog
- has admin/iprange "${EXTRAS[@]}" && { newbin admin/iprange/iprange haproxy_iprange; newbin admin/iprange/ip6range haproxy_ip6range; }
- has dev/tcploop "${EXTRAS[@]}" && newbin dev/tcploop/tcploop haproxy_tcploop
- has dev/hpack "${EXTRAS[@]}" && {
- newbin dev/hpack/gen-rht haproxy_gen-rht
- newbin dev/hpack/gen-enc haproxy_gen-enc
- newbin dev/hpack/decode haproxy_decode
- }
- fi
-
- if use examples ; then
- docinto examples
- dodoc examples/*.cfg
- dodoc doc/seamless_reload.txt
- fi
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax
- doins admin/syntax-highlight/haproxy.vim
- fi
-}
-
-pkg_postinst() {
- if [[ ! -f "${EROOT}/etc/haproxy/haproxy.cfg" ]] ; then
- ewarn "You need to create /etc/haproxy/haproxy.cfg before you start the haproxy service."
- ewarn "It's best practice to not run haproxy as root, user and group haproxy was therefore created."
- ewarn "Make use of them with the \"user\" and \"group\" directives."
-
- if [[ -d "${EROOT}/usr/share/doc/${PF}" ]]; then
- einfo "Please consult the installed documentation for learning the configuration file's syntax."
- einfo "The documentation and sample configuration files are installed here:"
- einfo " ${EROOT}/usr/share/doc/${PF}"
- fi
- fi
-}
diff --git a/net-proxy/haproxy/metadata.xml b/net-proxy/haproxy/metadata.xml
deleted file mode 100644
index e639dedcf9ee..000000000000
--- a/net-proxy/haproxy/metadata.xml
+++ /dev/null
@@ -1,41 +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>idl0r@gentoo.org</email>
- <name>Christian Ruppert</name>
- </maintainer>
- <longdescription>
- HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation makes its integration into existing architectures very easy and riskless, while still offering the possibility not to expose fragile web servers to the Net.
-
- It can:
- - route HTTP requests depending on statically assigned cookies
- - spread the load among several servers while assuring server persistence through the use of HTTP cookies
- - switch to backup servers in the event a main one fails
- - accept connections to special ports dedicated to service monitoring
- - stop accepting connections without breaking existing ones
- - add/modify/delete HTTP headers both ways
- - block requests matching a particular pattern
- Its event-driven architecture allows it to easily handle thousands of simultaneous connections on hundreds of instances without risking the system's stability.
- </longdescription>
- <upstream>
- <remote-id type="cpe">cpe:/a:haproxy:haproxy</remote-id>
- </upstream>
- <use>
- <flag name="net_ns">Enable network namespace support (CONFIG_NET_NS)</flag>
- <flag name="pcre-jit">Use JIT support for PCRE</flag>
- <flag name="pcre2">Enable PCRE2 RegEx support</flag>
- <flag name="pcre2-jit">Use JIT support for PCRE2</flag>
- <flag name="prometheus-exporter">Also build the prometheus exporter</flag>
- <flag name="slz">Use <pkg>dev-libs/libslz</pkg> compression library</flag>
- <flag name="tools">Install additional tools (halog, iprange)</flag>
- <flag name="device-atlas">Use <pkg>dev-libs/device-atlas-api-c</pkg> library</flag>
- <flag name="51degrees">Device Detection using 51 Degrees</flag>
- <flag name="wurfl">Device Detection using WURFL</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/net-proxy/hatop/Manifest b/net-proxy/hatop/Manifest
deleted file mode 100644
index 545e28f8d5e3..000000000000
--- a/net-proxy/hatop/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hatop-0.8.2.tar.gz 138013 BLAKE2B c4a86952bf892ad989c6a28aa4bec503b24cbd11ec78cc9fb89625e30f7b1d39c0f8929018df03e7c8906d1b478f31be1003b0c37be0d09916787e1825780a60 SHA512 5e772394d72962bdd014f93ee94ea59814cee33e17c1864af5b3ec97a19c2c33a6ad13f24d0cf0baf78335d9a82cee28b60a03754430b0aa9132c1dd92753cdb
diff --git a/net-proxy/hatop/files/hatop-0.8.2-python312.patch b/net-proxy/hatop/files/hatop-0.8.2-python312.patch
deleted file mode 100644
index 68515d6d6bd1..000000000000
--- a/net-proxy/hatop/files/hatop-0.8.2-python312.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From 0c0a392d319ed495a55f8ad29291c4a7cbd5077a Mon Sep 17 00:00:00 2001
-From: sblondon <stephane.blondon@gmail.com>
-Date: Tue, 19 Mar 2024 19:33:17 +0100
-Subject: [PATCH] Fix syntax warnings in Python3.12 (#17)
-
-Python3.12 added new syntax warning if strings contain invalid sequence.
-
-The change is documented in:
-https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
----
- bin/hatop | 34 +++++++++++++++++-----------------
- 1 file changed, 17 insertions(+), 17 deletions(-)
-
-diff --git a/bin/hatop b/bin/hatop
-index bb69311..9aa9553 100755
---- a/bin/hatop
-+++ b/bin/hatop
-@@ -196,7 +196,7 @@ HAPROXY_CLI_MAXLINES = 1000
- CLI_MAXLINES = 1000
- CLI_MAXHIST = 100
- CLI_INPUT_LIMIT = 200
--CLI_INPUT_RE = re.compile('[a-zA-Z0-9_:\.\-\+; /#%]')
-+CLI_INPUT_RE = re.compile(r'[a-zA-Z0-9_:\.\-\+; /#%]')
- CLI_INPUT_DENY_CMD = ['prompt', 'set timeout cli', 'quit']
-
- # Note: Only the last 3 lines are visible instantly on 80x25
-@@ -214,20 +214,20 @@ SCREEN_YMAX = 100
- SCREEN_HPOS = 11
-
- HAPROXY_INFO_RE = {
--'software_name': re.compile('^Name:\s*(?P<value>\S+)'),
--'software_version': re.compile('^Version:\s*(?P<value>\S+)'),
--'software_release': re.compile('^Release_date:\s*(?P<value>\S+)'),
--'nproc': re.compile('^Nbproc:\s*(?P<value>\d+)'),
--'procn': re.compile('^Process_num:\s*(?P<value>\d+)'),
--'pid': re.compile('^Pid:\s*(?P<value>\d+)'),
--'uptime': re.compile('^Uptime:\s*(?P<value>[\S ]+)$'),
--'maxconn': re.compile('^Maxconn:\s*(?P<value>\d+)'),
--'curconn': re.compile('^CurrConns:\s*(?P<value>\d+)'),
--'maxpipes': re.compile('^Maxpipes:\s*(?P<value>\d+)'),
--'curpipes': re.compile('^PipesUsed:\s*(?P<value>\d+)'),
--'tasks': re.compile('^Tasks:\s*(?P<value>\d+)'),
--'runqueue': re.compile('^Run_queue:\s*(?P<value>\d+)'),
--'node': re.compile('^node:\s*(?P<value>\S+)'),
-+'software_name': re.compile(r'^Name:\s*(?P<value>\S+)'),
-+'software_version': re.compile(r'^Version:\s*(?P<value>\S+)'),
-+'software_release': re.compile(r'^Release_date:\s*(?P<value>\S+)'),
-+'nproc': re.compile(r'^Nbproc:\s*(?P<value>\d+)'),
-+'procn': re.compile(r'^Process_num:\s*(?P<value>\d+)'),
-+'pid': re.compile(r'^Pid:\s*(?P<value>\d+)'),
-+'uptime': re.compile(r'^Uptime:\s*(?P<value>[\S ]+)$'),
-+'maxconn': re.compile(r'^Maxconn:\s*(?P<value>\d+)'),
-+'curconn': re.compile(r'^CurrConns:\s*(?P<value>\d+)'),
-+'maxpipes': re.compile(r'^Maxpipes:\s*(?P<value>\d+)'),
-+'curpipes': re.compile(r'^PipesUsed:\s*(?P<value>\d+)'),
-+'tasks': re.compile(r'^Tasks:\s*(?P<value>\d+)'),
-+'runqueue': re.compile(r'^Run_queue:\s*(?P<value>\d+)'),
-+'node': re.compile(r'^node:\s*(?P<value>\S+)'),
- }
-
- HAPROXY_STAT_MAX_SERVICES = 1000
-@@ -236,9 +236,9 @@ Warning: You have reached the stat parser limit! (%d)
- Use --filter to parse specific service stats only.
- ''' % HAPROXY_STAT_MAX_SERVICES
- HAPROXY_STAT_FILTER_RE = re.compile(
-- '^(?P<iid>-?\d+)\s+(?P<type>-?\d+)\s+(?P<sid>-?\d+)$')
-+ r'^(?P<iid>-?\d+)\s+(?P<type>-?\d+)\s+(?P<sid>-?\d+)$')
- HAPROXY_STAT_PROXY_FILTER_RE = re.compile(
-- '^(?P<pxname>[a-zA-Z0-9_:\.\-]+)$')
-+ r'^(?P<pxname>[a-zA-Z0-9_:\.\-]+)$')
- HAPROXY_STAT_COMMENT = '#'
- HAPROXY_STAT_SEP = ','
- HAPROXY_STAT_CSV = [
diff --git a/net-proxy/hatop/hatop-0.8.2-r1.ebuild b/net-proxy/hatop/hatop-0.8.2-r1.ebuild
deleted file mode 100644
index 897fdac629f1..000000000000
--- a/net-proxy/hatop/hatop-0.8.2-r1.ebuild
+++ /dev/null
@@ -1,32 +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} )
-PYTHON_REQ_USE="ncurses"
-
-inherit python-r1
-
-DESCRIPTION="Ncurses client and real-time monitoring and displaying of HAProxy status"
-HOMEPAGE="https://github.com/jhunt/hatop"
-SRC_URI="https://github.com/jhunt/hatop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}"
-
-PATCHES=("${FILESDIR}/hatop-0.8.2-python312.patch")
-
-src_install() {
- python_foreach_impl python_doscript bin/hatop
-
- doman man/hatop.1
-
- dodoc CHANGES.rst KEYBINDS README.rst
-}
diff --git a/net-proxy/hatop/metadata.xml b/net-proxy/hatop/metadata.xml
deleted file mode 100644
index 37972c9b05f1..000000000000
--- a/net-proxy/hatop/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>idl0r@gentoo.org</email>
- <name>Christian Ruppert</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/jhunt/hatop/issues</bugs-to>
- <changelog>https://github.com/jhunt/hatop/releases</changelog>
- <remote-id type="github">jhunt/hatop</remote-id>
- </upstream>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/net-proxy/havp/Manifest b/net-proxy/havp/Manifest
deleted file mode 100644
index 8230eb7c1fcb..000000000000
--- a/net-proxy/havp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST havp-0.92a.tar.gz 121987 BLAKE2B 9d34d789ac1c5e6785fc337d661d48797d2622ec6638765219486ca8110c1ff2cb8e365f677bda68940bebaa41f339bfb3c561e08dc259b7ae9ca204964495c6 SHA512 3eb742519795a7d10520bdc1c78af0d3bf580a56e14f90bff9f519607a4e82cbf704372bd6da2fc05fcd436d580f4c226874d8df7770d22e2160b5d01afb9c62
diff --git a/net-proxy/havp/files/havp-0.92a-gcc12-time.patch b/net-proxy/havp/files/havp-0.92a-gcc12-time.patch
deleted file mode 100644
index 0faf90dca3a6..000000000000
--- a/net-proxy/havp/files/havp-0.92a-gcc12-time.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-https://bugs.gentoo.org/855575
---- a/havp/logfile.cpp
-+++ b/havp/logfile.cpp
-@@ -30,6 +30,7 @@
- #include <map>
- #include <cstdlib>
- #include <cstring>
-+#include <ctime>
-
- #define LOGSTRINGLENGTH 1000
-
diff --git a/net-proxy/havp/files/havp-0.92a-pkg-config-libclamav.patch b/net-proxy/havp/files/havp-0.92a-pkg-config-libclamav.patch
deleted file mode 100644
index ea761f7e3476..000000000000
--- a/net-proxy/havp/files/havp-0.92a-pkg-config-libclamav.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -5,6 +5,7 @@
- unset CDPATH
-
- AC_PROG_CXX
-+PKG_PROG_PKG_CONFIG
-
- AC_PREFIX_DEFAULT(/usr/local)
-
-@@ -83,48 +84,15 @@
- AC_DEFINE(SSLTUNNEL)
- fi
-
--AC_MSG_CHECKING(for ClamAV scanner library)
--
- if test "$enable_clamav" = "yes"
- then
-- clamprefix="`clamav-config --prefix 2>/dev/null`"
-- clamversion="`clamav-config --version 2>/dev/null`"
--
-- if test "x$clamprefix" = "x"
-- then
-- AC_MSG_RESULT([clamav-config not found])
--
-- echo ""
-- echo " Error finding ClamAV installation!"
-- echo " Add ClamAV binaries path to PATH and run configure again."
-- echo ""
-- echo " To disable ClamAV library support, use --disable-clamav."
-- echo ""
--
-- exit 1
-- fi
--
-- for cl in `clamav-config --cflags 2>/dev/null`; do
-- if test "x`echo $cl | perl -ne 'print if (/^-I/)' 2>/dev/null`" != "x"
-- then
-- CFLAGS="$CFLAGS $cl"
-- fi
-- done
--
-- for cl in `clamav-config --libs 2>/dev/null`; do
-- if test "x`echo $cl | perl -ne 'print if (/(^-L|thread|c_r)/)' 2>/dev/null`" != "x"
-- then
-- LDFLAGS="$LDFLAGS $cl"
-- fi
-- done
-- LDFLAGS="$LDFLAGS -lclamav"
--
-- SCANNEROBJECTS="clamlibscanner.o"
-- AC_DEFINE(USECLAMLIB)
--
-- AC_MSG_RESULT([found $clamversion in $clamprefix])
--else
-- AC_MSG_RESULT([disabled :-(])
-+ PKG_CHECK_MODULES(clamav, libclamav,
-+ [CFLAGS="$clamav_CFLAGS $CFLAGS"
-+ LDFLAGS="$clamav_LIBS $LDFLAGS"
-+
-+ SCANNEROBJECTS="clamlibscanner.o"
-+ AC_DEFINE(USECLAMLIB)
-+ ])
- fi
-
- AC_MSG_CHECKING(for Trend Micro scanner)
diff --git a/net-proxy/havp/files/havp-0.92a-run.patch b/net-proxy/havp/files/havp-0.92a-run.patch
deleted file mode 100644
index d13761bee86d..000000000000
--- a/net-proxy/havp/files/havp-0.92a-run.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- a/etc/havp/havp.config.in
-+++ b/etc/havp/havp.config.in
-@@ -39,7 +39,7 @@
- # /etc/init.d/havp script requires this to work.
- #
- # Default:
--# PIDFILE @localstatedir@/run/havp/havp.pid
-+# PIDFILE /run/havp/havp.pid
-
- #
- # For performance reasons several instances of HAVP have to run.
-@@ -539,7 +539,7 @@
- # Path to aveserver socket
- #
- # Default:
--# AVESOCKET /var/run/aveserver
-+# AVESOCKET /run/aveserver
-
-
- #####
-@@ -551,7 +551,7 @@
- # Path to sophie socket
- #
- # Default:
--# SOPHIESOCKET /var/run/sophie
-+# SOPHIESOCKET /run/sophie
-
-
- #####
-@@ -600,7 +600,7 @@
- # Path to avastd socket
- #
- # Default:
--# AVASTSOCKET /var/run/avast4/local.sock
-+# AVASTSOCKET /run/avast4/local.sock
-
- # ..OR if you use avastd TCP socket, uncomment to enable use
- #
-@@ -619,10 +619,10 @@
-
- # Path to arcavird socket
- #
--# For version 2008, default socket is /var/run/arcad.ctl
-+# For version 2008, default socket is /run/arcad.ctl
- #
- # Default:
--# ARCAVIRSOCKET /var/run/arcavird.socket
-+# ARCAVIRSOCKET /run/arcavird.socket
-
- # Used Arcavir version
- # 2007 = Version 2007 and earlier
diff --git a/net-proxy/havp/files/havp.initd b/net-proxy/havp/files/havp.initd
deleted file mode 100644
index 1c42fca33a50..000000000000
--- a/net-proxy/havp/files/havp.initd
+++ /dev/null
@@ -1,59 +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 clamd \
- squid apache2 bfilter mman junkbuster oops polipo privoxy tinyproxy wwwoffled
- #havp could be used in conjuction with any parent proxies enumerated above
-}
-
-get_havp_opt() {
- eval HAVP_$1=`awk '/^[ \t]*'$1'[ \t]+/ { print $2; }' < /etc/havp/havp.config`
-}
-
-checkconfig() {
- if [ ! -f /etc/havp/havp.config ] ; then
- eerror "No /etc/havp/havp.config file exists!"
- return 1
- fi
-
- local HAVP_USER
- get_havp_opt USER
- if [ -n "${HAVP_USER}" ] && ! getent passwd ${HAVP_USER} > /dev/null ; then
- eerror "${HAVP_USER} user is missing!"
- return 1
- fi
- local HAVP_GROUP
- get_havp_opt GROUP
- if [ -n "${HAVP_GROUP}" ] && ! getent group ${HAVP_GROUP} > /dev/null ; then
- eerror "${HAVP_GROUP} group is missing!"
- return 1
- fi
-}
-
-
-start() {
- checkconfig || return 1
-
- checkpath --directory \
- --owner "${HAVP_USER:-havp}:${HAVP_GROUP:-havp}" --mode 0755 /run/havp
- checkpath --directory \
- --owner "${HAVP_USER:-havp}:${HAVP_GROUP:-havp}" --mode 0700 /var/log/havp
- checkpath --directory \
- --owner "${HAVP_USER:-havp}:${HAVP_GROUP:-havp}" --mode 0750 /var/tmp/havp
-
- ebegin "Starting HTTP AntiVirus Proxy"
- start-stop-daemon --start --exec /usr/sbin/havp > /dev/null
- eend $?
-}
-
-stop() {
- local HAVP_PIDFILE
- get_havp_opt PIDFILE
-
- ebegin "Stopping HTTP AntiVirus Proxy"
- start-stop-daemon --stop --pidfile=${HAVD_PIDFILE:-/var/run/havp/havp.pid}
- eend $?
-}
diff --git a/net-proxy/havp/havp-0.92a-r3.ebuild b/net-proxy/havp/havp-0.92a-r3.ebuild
deleted file mode 100644
index ff931e27294d..000000000000
--- a/net-proxy/havp/havp-0.92a-r3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="HTTP AntiVirus Proxy"
-HOMEPAGE="http://www.havp.org/"
-SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="clamav ssl"
-
-DEPEND="clamav? ( >=app-antivirus/clamav-0.98.5 )"
-RDEPEND="
- ${DEPEND}
- acct-group/havp
- acct-user/havp
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-run.patch
- "${FILESDIR}"/${P}-pkg-config-libclamav.patch
- "${FILESDIR}"/${P}-gcc12-time.patch
-)
-
-src_prepare() {
- default
-
- sed -i configure.in -e '/^CFLAGS=/d' || die
- mv configure.{in,ac} || die
-
- eautoreconf
-}
-
-src_configure() {
- tc-export AR
- export CFLAGS="${CXXFLAGS}"
-
- local myeconfargs=(
- $(use_enable clamav)
- $(use_enable ssl ssl-tunnel)
- --localstatedir=/var
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- dosbin havp/havp
-
- newinitd "${FILESDIR}/havp.initd" havp
-
- rm -r etc/havp/havp.config.in || die
- insinto /etc
- doins -r etc/havp
-
- einstalldocs
-}
-
-pkg_postinst() {
- ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!"
- ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab."
-
- if use ssl; then
- echo
- ewarn "Note: ssl USE flag only enable SSL pass-through, which means that"
- ewarn " HTTPS pages will not be scanned for viruses!"
- ewarn " It is impossible to decrypt data sent through SSL connections without knowing"
- ewarn " the private key of the used certificate."
- fi
-
- if use clamav; then
- echo
- ewarn "If you plan to use clamav daemon, you should make sure clamav user can read"
- ewarn "/var/tmp/havp content. This can be accomplished by enabling AllowSupplementaryGroups"
- ewarn "in /etc/clamd.conf and adding clamav user to the havp group."
- fi
-}
diff --git a/net-proxy/havp/metadata.xml b/net-proxy/havp/metadata.xml
deleted file mode 100644
index 9a85a91ed599..000000000000
--- a/net-proxy/havp/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-needed -->
- <longdescription>
- HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus
- filter. It does not cache or filter content.
- </longdescription>
- <upstream>
- <remote-id type="github">HaveSec/HAVP</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/lyrebird/Manifest b/net-proxy/lyrebird/Manifest
deleted file mode 100644
index de989f5a5a86..000000000000
--- a/net-proxy/lyrebird/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST lyrebird-0.6.0-deps.tar.xz 57712612 BLAKE2B 0fa65aff919ba783be44039652979d82c06ffb86ab14c688cbff2e30091b2e2f88c072b4d0c277777394a1cfa068a351d619dcbeac5c822b87e360a50a770519 SHA512 405a590c932af9eef73d1b7c0a72e4b81e7ef8ce9367db134d0b3c08c3dd3ec0c6c03dacabbea9f336d607b4655b9dfe3b2666cc94432c46ed4d5df0bf3217f0
-DIST lyrebird-0.6.0.tar.bz2 96527 BLAKE2B 09ef8f7acd9874e46e431030fbda4733a2400b5e437ee86e81ccc9f4e60f56ec767018f2687087a79e7e2f89d2860cdd5746d9b678e4a81f95aa174ba9716547 SHA512 e3433b9e4e4939a60e7b387ee08619e739cedb63db02c5897ad8d82e3a16646342be88ef52f184cc221cce2c26527a75a02a83b23e2e6f8ff4e19d5d6cb1a9a2
diff --git a/net-proxy/lyrebird/lyrebird-0.6.0.ebuild b/net-proxy/lyrebird/lyrebird-0.6.0.ebuild
deleted file mode 100644
index 269aa4adc1f8..000000000000
--- a/net-proxy/lyrebird/lyrebird-0.6.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit eapi9-ver go-module
-
-DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4"
-HOMEPAGE="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
-SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2 -> ${P}.tar.bz2"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
-S="${WORKDIR}"/${PN}-${P}
-
-LICENSE="BSD CC0-1.0 BZIP2 GPL-3+ MIT public-domain"
-# Dependent licenses
-LICENSE+=" 0BSD Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ~riscv x86"
-IUSE="selinux"
-
-RDEPEND="selinux? ( sec-policy/selinux-obfs4proxy )"
-BDEPEND=">=dev-lang/go-1.21"
-
-DOCS=( README.md ChangeLog doc/obfs4-spec.txt )
-
-src_compile() {
- ego build ./cmd/${PN}
-}
-
-src_install() {
- dobin ${PN}
- doman doc/${PN}.1
-}
-
-pkg_postinst() {
- if ver_replacing -lt 0.1.0; then
- ewarn "Since version 0.1.0 the proxy executable is called '${PN}' rather than 'obfs4proxy'."
- ewarn "Please update your Tor configuration accordingly."
- ewarn
- fi
-}
diff --git a/net-proxy/lyrebird/metadata.xml b/net-proxy/lyrebird/metadata.xml
deleted file mode 100644
index 115e9d64a669..000000000000
--- a/net-proxy/lyrebird/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-proxy/metadata.xml b/net-proxy/metadata.xml
deleted file mode 100644
index b90aac898cd0..000000000000
--- a/net-proxy/metadata.xml
+++ /dev/null
@@ -1,32 +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-proxy category contains network proxy software.
- </longdescription>
- <longdescription lang="de">
- Die Kategorie net-proxy enthält verschiedene Netzwerk-Proxies.
- </longdescription>
- <longdescription lang="es">
- La categoría net-proxy contiene proxies de red.
- </longdescription>
- <longdescription lang="ja">
- net-proxyカテゴリーにはネットワーク・プロキシの
- ソフトウェアが含まれています。
- </longdescription>
- <longdescription lang="nl">
- De net-proxy categorie bevat verschillende netwerkproxy's.
- </longdescription>
- <longdescription lang="vi">
- Nhóm net-proxy chứa các phần mềm proxy mạng.
- </longdescription>
- <longdescription lang="it">
- La categoria net-proxy contiene software proxy come squid e privoxy.
- </longdescription>
- <longdescription lang="pt">
- A categoria net-proxy contém softwares de proxy de rede.
- </longdescription>
- <longdescription lang="pl">
- Kategoria net-proxy zawiera oprogramowanie związane z serwerami proxy.
- </longdescription>
-</catmetadata>
diff --git a/net-proxy/microsocks/Manifest b/net-proxy/microsocks/Manifest
deleted file mode 100644
index e3d585551842..000000000000
--- a/net-proxy/microsocks/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST microsocks-1.0.2.tar.gz 9092 BLAKE2B d6038d077809057e6a8c187e15a052283ff9751e38ab3645aff09604661f872a6542cdb4dc3ef778f0401b27f4e688a1fbf280f1bac082258a827714bd8963a5 SHA512 baee86b323ae460fc0f366815317aee7ab6039488c0badd2230f0f2ad0a72e5105e505e4ffa42e0834c570ba65f589b48dd942eb1a1f51b293ed1d6a6e814e0e
-DIST microsocks-1.0.3.tar.gz 9846 BLAKE2B 8e4e869914c6235c31989299131b259dff4ca9c27a514ed7a8c93ef460b3746630bd38b86da5a8b170d76a0807606c82cf7feff6c680e7e647a80e4f2cb937ef SHA512 cd2b4a689a4502e56900a87f88d09283a872fe367e4e0e1957800a32e195492d641266a1f2f85f861a135d6a207db92d2f0058785b80dfbf436d8ea805ca9322
diff --git a/net-proxy/microsocks/files/microsocks.confd b/net-proxy/microsocks/files/microsocks.confd
deleted file mode 100644
index 1c9387fb09c3..000000000000
--- a/net-proxy/microsocks/files/microsocks.confd
+++ /dev/null
@@ -1,4 +0,0 @@
-# /etc/conf.d/microsocks - config for microsocks
-#
-# see README.md or --help for possible parameters
-microsocks_args=""
diff --git a/net-proxy/microsocks/files/microsocks.initd b/net-proxy/microsocks/files/microsocks.initd
deleted file mode 100644
index a520e94920cc..000000000000
--- a/net-proxy/microsocks/files/microsocks.initd
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="microsocks daemon"
-description="Multithreaded, small, efficient SOCKS5 server"
-pidfile="/run/${RC_SVCNAME}.pid"
-command=/usr/bin/microsocks
-command_args="${microsocks_args}"
-command_background=1
-
-depend() {
- need net
-}
diff --git a/net-proxy/microsocks/metadata.xml b/net-proxy/microsocks/metadata.xml
deleted file mode 100644
index 340a1fb749f8..000000000000
--- a/net-proxy/microsocks/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>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <upstream>
- <remote-id type="github">rofl0r/microsocks</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/microsocks/microsocks-1.0.2.ebuild b/net-proxy/microsocks/microsocks-1.0.2.ebuild
deleted file mode 100644
index 104b63854d18..000000000000
--- a/net-proxy/microsocks/microsocks-1.0.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Multithreaded, small, efficient SOCKS5 server"
-HOMEPAGE="https://github.com/rofl0r/microsocks"
-SRC_URI="https://github.com/rofl0r/microsocks/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
- default
- sed -r -e 's:/usr/local:/usr:' -i Makefile || die
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}/${PN}.initd" ${PN}
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}
diff --git a/net-proxy/microsocks/microsocks-1.0.3.ebuild b/net-proxy/microsocks/microsocks-1.0.3.ebuild
deleted file mode 100644
index 6716bbd7c616..000000000000
--- a/net-proxy/microsocks/microsocks-1.0.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Multithreaded, small, efficient SOCKS5 server"
-HOMEPAGE="https://github.com/rofl0r/microsocks"
-SRC_URI="https://github.com/rofl0r/microsocks/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
- default
- sed -r -e 's:/usr/local:/usr:' -i Makefile || die
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}/${PN}.initd" ${PN}
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}
diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
deleted file mode 100644
index 56328291c9a1..000000000000
--- a/net-proxy/mitmproxy-linux/Manifest
+++ /dev/null
@@ -1,27 +0,0 @@
-DIST addr2line-0.25.0.crate 41982 BLAKE2B 0401c84ba99e49f1879e65f94b288f4f170f1fe9636647000461144c22f96ee8e222068318002c9d8202a21e338c41986fc008e5b2eac572e409a719c0a62591 SHA512 98c3184fb0d57968b1d27526002d476fbffa21493335d254d5d14dd975a7f579c14c8aa3cde196c63f2344093f3aaeb840222de54b0c09787c130f1b643f9c03
-DIST adler2-2.0.1.crate 13366 BLAKE2B 3b28bbd7f89424567ff1bb36b984bf4fd767370459f5548545218cbe1c9f082fedd932fccc7e6acd83a1dfa06a371124801a772e5555ede7d6c2cd1ac57930a4 SHA512 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
-DIST boringtun-2f3c85f5c4a601018c10b464b1ca890d9504bf6e.gh.tar.gz 219297 BLAKE2B af42c888259ce9d0d36c8b6925459e86fac14059e6b8a3532783050d77627f91c4cd7a0b61bd290e86bbe37ab155d9f798f5478b0f09650dabba08cdc9f60696 SHA512 485675e3fa9317d09814a67162199691df87d04b970c4f69536607584b07f6ab8d2379ef89b22d674e569b8a874a1298bc59a8537c077c81658594bbd502470e
-DIST cfg-if-1.0.1.crate 8683 BLAKE2B 7d7f98e46b98e0f6fe069fff5dede72390adb7522f13be35c37f99713641e98dff87bd58e594908565a6f42ec898f11597e8a82a01ca2e8e65b38563e09956a8 SHA512 56af0d562fe60022e8df9c5b4e9b2eed6d7ca1874c4d3bbb52148d6f3c6f7d30e0b63d4b1e652ccfc8881a663fb6f450a48447d5a8cce0c2e5a2ac12c6ac655f
-DIST compiler_builtins-0.1.160.crate 242364 BLAKE2B c85996e22b19e08eb4fb0d679b0b357d60f072ed2611b332d042f6d02d02f5c8fad6bad32baa5c86d5142ddeb79ff939fbb25ed68a9f8134f4a25c6cb961387c SHA512 b8a10cf1b1b42fdc070ba7b3ea4a018c912beb1540b1aef2622302e6ad876b1d488c8ef08b90d2fcab4d32d9c836c0fa552c52c1fe96afc2ad0e1be95c3ef6f6
-DIST dlmalloc-0.2.10.crate 86645 BLAKE2B e0b0369c83a5853ccc361439c33cce90b0448cfc00550d76bf49fd29095ad4528b65c513c77c2208ab09684c24721c4abf5f0dce378605da8361dc3e3f2cdc9e SHA512 5e04bfae17685a5b55f2d2550a790e73c5b377cde82c113275cf80e60c258746cf8f236942bc0717c96fd753332a7cb051ff773b7af6cc410061200b88857a81
-DIST dlmalloc-0.2.9.crate 85868 BLAKE2B c9b3f2b2ad3d43d4559ef0c390de5eb77c2e83c08bfb5a1a050a49d0e6f45391f4597efec8150267d346b09aa26e4b9f244b5d09333ec4154a386daef3f2c413 SHA512 5a9397b0d65f1f10d8e3e7bd84266129dd6a4e2a7c2822e84249121bb0badff15fb530242984efaa78744d919f49658d3c425d9f89dc2741b139eafa71b14ade
-DIST fortanix-sgx-abi-0.5.0.crate 13334 BLAKE2B ccdfdd2e7a0592b0efcd4269695b7367e1e6fd2da7aac3b6e2b174375e787ec00134c3156286656155839367c031aabb748e50c15aa539ab3b3da22de3fef132 SHA512 4239bd0fe3a2c9e0b4a0e0eb82bacb417e1f798fb4d908bb5cc021ddfe6e41688f8ee16f9a18cda692ef78afb264a440af7444cfde43a0c29d0299781ea43ccb
-DIST fortanix-sgx-abi-0.6.1.crate 13691 BLAKE2B e97992a0e93a290bef2adc7115a158385c0c8b59f50744a2a6c7a3b73d164c3dc7b6278118062c64cac98234d9ffffdb94365e79bb489ead5f48c222d87c8771 SHA512 422cee56dfc9066c2c9de032ba92ea5b9cd572193a10b94ce2a9886fb0875375497e7c46b4bc3684d14293b4f82733b519663c807bf73ded62e9c5b1cdd08b64
-DIST getopts-0.2.23.crate 21409 BLAKE2B fbe2c229f7aff2bdaac17ff5c670363c135e69651cb924af1950d79c7eace1616a30425a181cd0116004ca8167bcb1364e208d92ad16a2280f1e77798d680657 SHA512 8d4c08e88a8532d107052c34305b6381e8759958a12eafe8791816fbed85e405fe901aa11c8a8e0110a6d44f87cd1f55a332d2c76c7c12d13a86e00731842e43
-DIST gimli-0.32.0.crate 286715 BLAKE2B 761fa6ceaf967f03b235e07f05d596ea0535cbb38678f6c543f8ca682058450e29e82ffaf3960689b945646db0d2b7afe503ac4d6bdaa52c3ad4de7315295d73 SHA512 9ba4a781c98507fb5a4cd3a8a0fccc03cae5a78eb7e67d001f02396e157b340d6aabf96b7ce54e89bbc00ab61921d3434c355aa0b0b7b968056db2f526392c96
-DIST hashbrown-0.15.4.crate 140447 BLAKE2B f0b1aeaa46dc1354a9558d405bd1cbf72723e8a61a3322743f8bd6d2c17b336b9eedad27756799a054633797373b56b2b957d5ad923b19751074f0294f63d0b2 SHA512 bc96bfe26897240a370fe221515b5ad1dbd07c11de0cbfc1f7721ffbd97546b43a82a88461b3390a6edce9faeb156ca369ed95eecb29fa82c35726a325c26b52
-DIST hermit-abi-0.5.2.crate 17435 BLAKE2B 695192149342273199ffb026de57e2d906249757b9b4bbceb6b40d3b2298a942a75390aeaa3ad4cad71e5d44687379dfc49598bacdb2cf989ab48864c4b2b517 SHA512 0392a8350288e5d500967bee8e98626024b47a7da331f833b9528bd7318cf43f41eefa46aa6aebd19febfadcbcb2d7c9f70d6ca3631c1618d63c60366dbe7c15
-DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73
-DIST memchr-2.7.5.crate 97603 BLAKE2B ee41ef722d90265064db3ffe22d52eff8f7627ac1ae9b0bad6ca9fa06c1027dca8d67e594e03b03c944dbf85930d2dbf030c5aaed369020ca1a1ba00f153d91a SHA512 2606ee16a7dc02db95dac17cebd2cac9deb2e23d7ea62972cdb19145c06eaf75631347a49c4e6ceeff89fb6e90e992f9bca0a9c955eb5130f89ba2bd865936e1
-DIST miniz_oxide-0.8.9.crate 67132 BLAKE2B 1a11c5aeef43ac93635942e0c4f17538150f8307fb280b0d66436e4b6697638f0b1bafbdebb377a5dba14a75f213024201e325747419623e5f7d57060bba4445 SHA512 3f6fd786c5fa5b4abafaf21244dd4830d26688d5b6975522bda595206517f354d92d13fb95235667cbc39c0275371c737164d9c7a58e32e09da86eed2f239242
-DIST mitmproxy_linux-0.12.9.tar.gz 1299779 BLAKE2B 2fe79a859c8e15c21dc7b554dd0087c4f6d268f8fc7c2f4f9790fd6ef2dacae8126a55c666ab04477fb7e9ef1b62a2d814c1ee8ced427b8be89f3b1a59c1b4d2 SHA512 dafe7d2d92088ed05aacb505d22732e6d62d852464225cec712df2d2a9edf20a4cc53ad547e1f4a602396ca9d11b29128f38b7b076bedb905a86cace1e9fb127
-DIST mitmproxy_rs-0.12.9-crates.tar.xz 45242028 BLAKE2B b34979c3a573701a2f6f2f029a1cec05d4bc59013dc94c87a0e2b7d340c6bc8f7b2415d171b944f63a7d881ae87941a1e6fa61265218a3eea46fb7a127ef286d SHA512 ed4d48dd443eb777e5b387d38bf36ec6ee1d51e1c0aa650f0b27f8e34ae13a5c1eabfa766565879a661b2c4d6e458800e668f3a80a693eb9d5527ee0eb52314c
-DIST object-0.37.1.crate 338929 BLAKE2B b2bc4f27968ec308b8d569e71de449adf5cf545aa2054d65cda03cfa44e3d3b108bd39e1288e1c983d08656b4c50a384c2101f2bf049b7d67d42e60c95160cba SHA512 ca9c7857185b6fb7f81a594d73df10cace40b47d7475f8d4ac0c6be9c3f327dc98a86fd4fc8f70da762eb978a0427ecff1e3c181bd3efeefbf3d2f51615b9745
-DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad
-DIST r-efi-alloc-2.1.0.crate 14475 BLAKE2B b316af45913ed4fe3b3efd01f800aaafcad9d1d0d05a8ed3685a85246f458cf65f4da50229322ce059a9eea0d341af41b765ef321be31161ec07c3768d6f88ed SHA512 9213827d81f2809341b9ec101bb6d94dc5d4a0e8b87252a34bf21dc200dcc13d7b20013c7ec87ad0e9c24384f4b4f31b37f4bc2126bb8479db7bb1118ab7acef
-DIST rustc-demangle-0.1.25.crate 29590 BLAKE2B affc3a85edfae0bd4a3a0165a9fa8d0d8c5be7958b70f98769d24eb6fe44c33bb05c33fc312bf35c887ce927c2f8feeb287b50f4f230d8dd74109be8faa34999 SHA512 d130a885b62470f4429dd5a9b11cb81e045c42e093125c2fed1eb79d07dd0990cd38e049a314babd1fd8b8ffab0bbcb0453fc7aae3e3adb7006e943d416162a8
-DIST rustc-literal-escaper-0.0.2.crate 11073 BLAKE2B fe7423ab43605fabf26788a98629a1dc37da5ded1339ed13d63e00f7e4d6167284e82da42c439db3d09d580e8fd1a5c12b8192bb9a676de09f89f9ccd9912525 SHA512 01b3a3b918133bedd6ce02a182a1eeb1459d33cb538808951eb64dcdc3ced542768cfe76a226b825f827d8506d9bb967c562df5697c9b48f471494710c676db3
-DIST rustc-literal-escaper-0.0.5.crate 14220 BLAKE2B f871e30a7015cc0e498dfbd75d322d4263ca3a986cea898d86ea50c696421e8922d112719631d429bf51d19bec2fa3f1b7a2aa8dbff0f011a4e71d81db511371 SHA512 a14118bdf2c5024b48a2ee2c06b371e94d951eff50db37b8727d25dd8ac37249c7bdf6c7d450873e5810778e28d0da950e8c630ffe81d01b46860db94164fac4
-DIST unicode-width-0.2.1.crate 279344 BLAKE2B d4128c165016a76196e0eda9cc4a0edccf326cc3c7ecf0e1b43848446e758c703e9a9e843dbd256a523e1654ae3faaf6c172e21b0b6324757610fc5333c56e8e SHA512 705ce2ca2964761d9fcf014ef5ad9af2973b5f7c0c3561fece10378d817135afc5f24b9ac16290b98edecab77a01ddee9ec8dca5bd2b4eaec1f3124065ab8708
-DIST unwinding-0.2.7.crate 28125 BLAKE2B 5feb8262e1e7297311678525c7ba275fa2892d9cc05a2283fcfce424eb1d565be929e306d9c4ec9234771316f943578e2621abb4489b0ff40c85588f3c448f24 SHA512 a9d9988295fe5ecd0a06967714a41e3488aac4699748660baa91fb05cd34b34871ad37d38533d3e0baa64fb1ab9ba592edcf5fcb4441994c76de18b125c6e57e
-DIST wasi-0.11.1+wasi-snapshot-preview1.crate 28477 BLAKE2B bcc773ba28cbe8d820e9e9fbb275fb4451bc7f39b3bd88bcd93850bf2bdb5300489bd8eca27489ccc5f6269b00f4e1b505ae3a33a35d708cd5a414ad307be149 SHA512 29e3c903763db2580a15f50db487c5e1d4e90763e48d90a5b3f681e468a24f9df1a01773bd1ffa0e3cd293dd8cb4d6fbabfaa63c0e13889c811a56f4554ada49
diff --git a/net-proxy/mitmproxy-linux/files/mitmproxy-linux-0.11.5-no-host-aya-ebpf.patch b/net-proxy/mitmproxy-linux/files/mitmproxy-linux-0.11.5-no-host-aya-ebpf.patch
deleted file mode 100644
index 6b8a5888e0c6..000000000000
--- a/net-proxy/mitmproxy-linux/files/mitmproxy-linux-0.11.5-no-host-aya-ebpf.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/mitmproxy-linux-ebpf-common/Cargo.toml b/mitmproxy-linux-ebpf-common/Cargo.toml
-index aed3112..90254e3 100644
---- a/mitmproxy-linux-ebpf-common/Cargo.toml
-+++ b/mitmproxy-linux-ebpf-common/Cargo.toml
-@@ -8,9 +8,5 @@ edition.workspace = true
- rust-version.workspace = true
- publish.workspace = true
-
--# aya-ebpf currently does not compile on Windows.
--[target.'cfg(target_os = "linux")'.dependencies]
--aya-ebpf = { workspace = true }
--
- [lib]
- path = "src/lib.rs"
-diff --git a/mitmproxy-linux-ebpf-common/src/lib.rs b/mitmproxy-linux-ebpf-common/src/lib.rs
-index 0562ba7..1378f78 100644
---- a/mitmproxy-linux-ebpf-common/src/lib.rs
-+++ b/mitmproxy-linux-ebpf-common/src/lib.rs
-@@ -1,9 +1,5 @@
- #![no_std]
-
--// aya-ebpf currently does not compile on Windows.
--#[cfg(target_os = "linux")]
--use aya_ebpf::TASK_COMM_LEN;
--#[cfg(not(target_os = "linux"))]
- const TASK_COMM_LEN: usize = 16;
-
- type Pid = u32;
-diff --git a/mitmproxy-linux/Cargo.toml b/mitmproxy-linux/Cargo.toml
-index 55e3c57..0b02dd9 100644
---- a/mitmproxy-linux/Cargo.toml
-+++ b/mitmproxy-linux/Cargo.toml
-@@ -35,3 +35,2 @@ const-sha1 = "0.3.0"
--mitmproxy-linux-ebpf = { path = "../mitmproxy-linux-ebpf" }
-
- [target.'cfg(target_os = "linux")'.dev-dependencies]
diff --git a/net-proxy/mitmproxy-linux/metadata.xml b/net-proxy/mitmproxy-linux/metadata.xml
deleted file mode 100644
index eccf5e75b573..000000000000
--- a/net-proxy/mitmproxy-linux/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">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
- <upstream>
- <remote-id type="github">mitmproxy/mitmproxy_rs</remote-id>
- <remote-id type="pypi">mitmproxy-linux</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.9.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.9.ebuild
deleted file mode 100644
index 1795c536f9a8..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.9.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
- addr2line@0.25.0
- adler2@2.0.1
- cfg-if@1.0.1
- compiler_builtins@0.1.160
- dlmalloc@0.2.9
- dlmalloc@0.2.10
- fortanix-sgx-abi@0.5.0
- fortanix-sgx-abi@0.6.1
- getopts@0.2.23
- gimli@0.32.0
- hashbrown@0.15.4
- hermit-abi@0.5.2
- libc@0.2.174
- memchr@2.7.5
- miniz_oxide@0.8.9
- object@0.37.1
- r-efi-alloc@2.1.0
- r-efi@5.3.0
- rustc-demangle@0.1.25
- rustc-literal-escaper@0.0.2
- rustc-literal-escaper@0.0.5
- unwinding@0.2.7
- unicode-width@0.2.1
- wasi@0.11.1+wasi-snapshot-preview1
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.89.0
-RUST_MAX_VER=1.90.0
-
-declare -A GIT_CRATES=(
- [boringtun]='https://github.com/cloudflare/boringtun;2f3c85f5c4a601018c10b464b1ca890d9504bf6e;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{13..14} )
-RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
- https://github.com/mitmproxy/mitmproxy_rs/
- https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
- ${CARGO_CRATE_URIS}
- https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
- 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
- LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-
-BDEPEND="
- dev-util/bpf-linker
-"
-
-src_prepare() {
- local PATCHES=(
- # aya-ebpf overwrites libc functions with incompatible
- # implementations that break everything, and therefore
- # can only be used for bpf* targets
- # https://github.com/aya-rs/aya/issues/1254
- "${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
- )
-
- distutils-r1_src_prepare
-
- # replace upstream crate substitution with our crate substitution, sigh
- local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
- sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
- # this only implicitly builds mitmproxy-linux-ebpf, and is broken
- # https://github.com/mitmproxy/mitmproxy/issues/7663
- rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
- # first, we must build mitmproxy-linux-ebpf for the bpf target
- # bpf-linker requires BPF target that is only available in nightly
- local -x RUSTC_BOOTSTRAP=1
- # no clue why this needs to be explicit
- local -x RUSTFLAGS="-C linker=bpf-linker"
-
- local cmd=(
- "${CARGO}" build
- -Z build-std=core
- --bins
- --release
- --target=bpfel-unknown-none
- )
-
- pushd mitmproxy-linux-ebpf >/dev/null || die
- echo "${cmd[*]}" >&2
- "${cmd[@]}" || die "${cmd[*]} failed"
- popd >/dev/null || die
-
- export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
- cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}
diff --git a/net-proxy/mitmproxy-rs/Manifest b/net-proxy/mitmproxy-rs/Manifest
deleted file mode 100644
index 28ddd5d5dc3b..000000000000
--- a/net-proxy/mitmproxy-rs/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST boringtun-2f3c85f5c4a601018c10b464b1ca890d9504bf6e.gh.tar.gz 219297 BLAKE2B af42c888259ce9d0d36c8b6925459e86fac14059e6b8a3532783050d77627f91c4cd7a0b61bd290e86bbe37ab155d9f798f5478b0f09650dabba08cdc9f60696 SHA512 485675e3fa9317d09814a67162199691df87d04b970c4f69536607584b07f6ab8d2379ef89b22d674e569b8a874a1298bc59a8537c077c81658594bbd502470e
-DIST mitmproxy_rs-0.12.9-crates.tar.xz 45242028 BLAKE2B b34979c3a573701a2f6f2f029a1cec05d4bc59013dc94c87a0e2b7d340c6bc8f7b2415d171b944f63a7d881ae87941a1e6fa61265218a3eea46fb7a127ef286d SHA512 ed4d48dd443eb777e5b387d38bf36ec6ee1d51e1c0aa650f0b27f8e34ae13a5c1eabfa766565879a661b2c4d6e458800e668f3a80a693eb9d5527ee0eb52314c
-DIST mitmproxy_rs-0.12.9.tar.gz 1334424 BLAKE2B aed8aeebc1f6864ac31b6615491aa0fea6d5ee52c1f1dec2ffc68700fdeb3207ae504c4c9bc2c00c6b1531e66c58032200096c79c150944e667b22ce8088c0de SHA512 794211b9a3e623c0d59c172b8ea910f30031d000c41f470e5d78c1a87add01b20f15ec3dedd82924ce34ffcb1e7fcfd1a5557d638580f0e21b61aa3a522b286d
diff --git a/net-proxy/mitmproxy-rs/metadata.xml b/net-proxy/mitmproxy-rs/metadata.xml
deleted file mode 100644
index 2f0242522cf8..000000000000
--- a/net-proxy/mitmproxy-rs/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">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
- <upstream>
- <remote-id type="github">mitmproxy/mitmproxy_rs</remote-id>
- <remote-id type="pypi">mitmproxy-rs</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.9.ebuild b/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.9.ebuild
deleted file mode 100644
index 81ff1669f261..000000000000
--- a/net-proxy/mitmproxy-rs/mitmproxy-rs-0.12.9.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CRATvES=""
-
-declare -A GIT_CRATES=(
- [boringtun]='https://github.com/cloudflare/boringtun;2f3c85f5c4a601018c10b464b1ca890d9504bf6e;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{13..14} )
-RUST_MIN_VER=1.89.0
-RUST_MAX_VER=1.90.0
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
- https://github.com/mitmproxy/mitmproxy_rs/
- https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
- ${CARGO_CRATE_URIS}
- https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/${P/-/_}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
- 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
- LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-
-RDEPEND="
- ~net-proxy/mitmproxy-linux-${PV}[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # replace upstream crate substitution with our crate substitution, sigh
- local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
- sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-}
-
-python_test() {
- cargo_src_test --manifest-path mitmproxy-rs/Cargo.toml
-}
diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest
deleted file mode 100644
index 9df4ce2c5fe5..000000000000
--- a/net-proxy/mitmproxy/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST mitmproxy-12.2.1.gh.tar.gz 30996830 BLAKE2B 7f2ae2e8b98f3d800fc6ef73e848fda4b095bcf05498999a51ec938b635d560b04404e29181c484b178c8e37a2d234c7507fbbcbaca11865b9a186f1473c3494 SHA512 eed16d1df4b37ce9226ea4398077a4cd7d317cb2cd991a33399a2e57bd8d1a48dd74c132ce6610dc59e2d33784228e5ae23bb0a46821fd825a8cb8dc5496a79e
-DIST mitmproxy-12.2.2.gh.tar.gz 31005581 BLAKE2B 0625003c7e1de7e2ca3761b6572eb91494f9e0e2c85fbe12e017b64e2a9cd2e666f4b48f57078f95f932ca8a24a195f474ea786f97a3f8b099d52fe34b174d23 SHA512 6c0abfa5f771442bb8186bad3306e73d6d7c2216b282539a0d8813fac2d16ebb674458be483063553c5cdaa9ecce4f845634c3d3bd3a09f6b1b0d32bc7eac5bd
-DIST mitmproxy-12.2.3.gh.tar.gz 31006972 BLAKE2B 0eafcd1ac654a103a9310436aa7454666b634019a337204b6e0b331a97cb63cd62578d2d70ff475b8acd2589cc8b066bb619d1ed3611048fe7446125773af7c2 SHA512 c9962e0420e0198fcf844377a679a14486ccc4bacbe85e7ed8942ccdfbdc4c55dc85357981503375245f9eac6f8d96e7e95415f844eee13228cd085383166e98
diff --git a/net-proxy/mitmproxy/metadata.xml b/net-proxy/mitmproxy/metadata.xml
deleted file mode 100644
index 4d5fdb952b5c..000000000000
--- a/net-proxy/mitmproxy/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
- <longdescription lang="en">
- mitmproxy is your swiss-army knife for debugging,
- testing, privacy measurements, and penetration
- testing. It can be used to intercept, inspect, modify
- and replay web traffic such as HTTP/1, HTTP/2,
- WebSockets, or any other SSL/TLS-protected
- protocols. You can prettify and decode a variety of
- message types ranging from HTML to Protobuf, intercept
- specific messages on-the-fly, modify them before they
- reach their destination, and replay them to a client
- or server later on.
- </longdescription>
- <upstream>
- <remote-id type="github">mitmproxy/mitmproxy</remote-id>
- <remote-id type="pypi">mitmproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/mitmproxy/mitmproxy-12.2.1.ebuild b/net-proxy/mitmproxy/mitmproxy-12.2.1.ebuild
deleted file mode 100644
index 079b63316bd7..000000000000
--- a/net-proxy/mitmproxy/mitmproxy-12.2.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="
- https://www.mitmproxy.org/
- https://github.com/mitmproxy/mitmproxy/
- https://pypi.org/project/mitmproxy/
-"
-SRC_URI="
- https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-
-# aioquic-1.3.0 introduced breaking changes
-RDEPEND="
- >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
- =dev-python/aioquic-1.2*[${PYTHON_USEDEP}]
- >=dev-python/argon2-cffi-23.1.0[${PYTHON_USEDEP}]
- >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
- >=dev-python/bcrypt-5.0.0[${PYTHON_USEDEP}]
- >=dev-python/certifi-2019.9.11[${PYTHON_USEDEP}]
- >=dev-python/cryptography-42.0[${PYTHON_USEDEP}]
- >=dev-python/flask-3.0[${PYTHON_USEDEP}]
- >=dev-python/h11-0.16.0[${PYTHON_USEDEP}]
- >=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
- >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
- >=dev-python/kaitaistruct-0.10[${PYTHON_USEDEP}]
- >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
- <net-proxy/mitmproxy-rs-0.13[${PYTHON_USEDEP}]
- >=net-proxy/mitmproxy-rs-0.12.6[${PYTHON_USEDEP}]
- >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/publicsuffix2-2.20190812[${PYTHON_USEDEP}]
- >=dev-python/pyopenssl-24.3[${PYTHON_USEDEP}]
- >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
- >=dev-python/pyperclip-1.9.0[${PYTHON_USEDEP}]
- >=dev-python/ruamel-yaml-0.18.10[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.5.1[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}]
- ' 3.12)
- >=dev-python/urwid-2.6.14[${PYTHON_USEDEP}]
- >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/zstandard-0.15.0[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- >=dev-python/click-7.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # requires root?
- test/mitmproxy/proxy/test_mode_servers.py::test_tun_mode
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # unpin dependencies
- sed -i -r -e 's:,?<=?[0-9.]+,?::' pyproject.toml || die
-
- # hack pytest-9 compatibility in
- sed -i -e 's:tool\.pytest\.individual_coverage:ignoreme:' pyproject.toml || die
-}
diff --git a/net-proxy/mitmproxy/mitmproxy-12.2.2.ebuild b/net-proxy/mitmproxy/mitmproxy-12.2.2.ebuild
deleted file mode 100644
index 6d45147a1c7b..000000000000
--- a/net-proxy/mitmproxy/mitmproxy-12.2.2.ebuild
+++ /dev/null
@@ -1,84 +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} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="
- https://www.mitmproxy.org/
- https://github.com/mitmproxy/mitmproxy/
- https://pypi.org/project/mitmproxy/
-"
-SRC_URI="
- https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-
-# aioquic-1.3.0 introduced breaking changes
-RDEPEND="
- >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
- =dev-python/aioquic-1.2*[${PYTHON_USEDEP}]
- >=dev-python/argon2-cffi-23.1.0[${PYTHON_USEDEP}]
- >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
- >=dev-python/bcrypt-5.0.0[${PYTHON_USEDEP}]
- >=dev-python/certifi-2019.9.11[${PYTHON_USEDEP}]
- >=dev-python/cryptography-42.0[${PYTHON_USEDEP}]
- >=dev-python/flask-3.0[${PYTHON_USEDEP}]
- >=dev-python/h11-0.16.0[${PYTHON_USEDEP}]
- >=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
- >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
- >=dev-python/kaitaistruct-0.10[${PYTHON_USEDEP}]
- >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
- <net-proxy/mitmproxy-rs-0.13[${PYTHON_USEDEP}]
- >=net-proxy/mitmproxy-rs-0.12.6[${PYTHON_USEDEP}]
- >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/publicsuffix2-2.20190812[${PYTHON_USEDEP}]
- >=dev-python/pyopenssl-24.3[${PYTHON_USEDEP}]
- >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
- >=dev-python/pyperclip-1.9.0[${PYTHON_USEDEP}]
- >=dev-python/ruamel-yaml-0.18.10[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.5.1[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}]
- ' 3.12)
- >=dev-python/urwid-2.6.14[${PYTHON_USEDEP}]
- >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/zstandard-0.15.0[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- >=dev-python/click-7.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # requires root?
- test/mitmproxy/proxy/test_mode_servers.py::test_tun_mode
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # unpin dependencies
- sed -i -r -e 's:,?<=?[0-9.]+,?::' pyproject.toml || die
-
- # hack pytest-9 compatibility in
- sed -i -e 's:tool\.pytest\.individual_coverage:ignoreme:' pyproject.toml || die
-}
diff --git a/net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild b/net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild
deleted file mode 100644
index b186b2d7f8a4..000000000000
--- a/net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild
+++ /dev/null
@@ -1,84 +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} )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
-HOMEPAGE="
- https://www.mitmproxy.org/
- https://github.com/mitmproxy/mitmproxy/
- https://pypi.org/project/mitmproxy/
-"
-SRC_URI="
- https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-# aioquic-1.3.0 introduced breaking changes
-RDEPEND="
- >=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
- =dev-python/aioquic-1.2*[${PYTHON_USEDEP}]
- >=dev-python/argon2-cffi-23.1.0[${PYTHON_USEDEP}]
- >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
- >=dev-python/bcrypt-5.0.0[${PYTHON_USEDEP}]
- >=dev-python/certifi-2019.9.11[${PYTHON_USEDEP}]
- >=dev-python/cryptography-42.0[${PYTHON_USEDEP}]
- >=dev-python/flask-3.0[${PYTHON_USEDEP}]
- >=dev-python/h11-0.16.0[${PYTHON_USEDEP}]
- >=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
- >=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
- >=dev-python/kaitaistruct-0.10[${PYTHON_USEDEP}]
- >=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
- <net-proxy/mitmproxy-rs-0.13[${PYTHON_USEDEP}]
- >=net-proxy/mitmproxy-rs-0.12.6[${PYTHON_USEDEP}]
- >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/publicsuffix2-2.20190812[${PYTHON_USEDEP}]
- >=dev-python/pyopenssl-24.3[${PYTHON_USEDEP}]
- >=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
- >=dev-python/pyperclip-1.9.0[${PYTHON_USEDEP}]
- >=dev-python/ruamel-yaml-0.18.10[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.5.1[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}]
- ' 3.12)
- >=dev-python/urwid-2.6.14[${PYTHON_USEDEP}]
- >=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
- >=dev-python/zstandard-0.15.0[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- >=dev-python/click-7.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # requires root?
- test/mitmproxy/proxy/test_mode_servers.py::test_tun_mode
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # unpin dependencies
- sed -i -r -e 's:,?<=?[0-9.]+,?::' pyproject.toml || die
-
- # hack pytest-9 compatibility in
- sed -i -e 's:tool\.pytest\.individual_coverage:ignoreme:' pyproject.toml || die
-}
diff --git a/net-proxy/ngrok-bin/Manifest b/net-proxy/ngrok-bin/Manifest
deleted file mode 100644
index 16e78c93595a..000000000000
--- a/net-proxy/ngrok-bin/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST ngrok-bin-3.39.1-amd64.tgz 11635553 BLAKE2B 7256dee2f0aa2c97ca003d0b1e611f8c8759b7b5e7331f26f9f9e93f0b5fdde8f4c3a8f9002e539f87c670c2a543562c799bd857e558dc55df5be99b4f8b9759 SHA512 fc7b16221f97c9a41f41e0613f9fe3c8f9fec25e14d09fc46a5a44bd3dde6f4c369f6e25b867f52be53861b8b2f308f18fa6c087f778ae135fb345d8c398820e
-DIST ngrok-bin-3.39.1-arm.tgz 11046556 BLAKE2B 2daf74f4569b46dfb502eaf4cc10f1a0fe8130d6ac2459327cd71b76d9917a73b4cf98a7b590f80bc9e0576d23e0220345d1557ae53099012325ce0af529d29d SHA512 32181459d3a75d92397cb0080e73c91216f4a91ec3e3ee72cd5cd47b3aebb4bf2c584bb8771ce86b385aa122d96392801566bda1d579c7fce83259a78a3d50a8
-DIST ngrok-bin-3.39.1-arm64.tgz 10590966 BLAKE2B b914ab26c1e50d2e2b6a4e60447e89fec43f3df52f0232f8fb94923c37d1e3f38c527b9995b30368aa60dba8b429f86247df81c5cd99affd0d0ff0bbf001cacb SHA512 ce5fef77fb7b80a29954108b9a4205edb652479b51f074e7d021d326bfddf5d752b781ef25d1d26c5788b5c09ffcbf0b2c95255806f256ffb6f5b41673049c25
-DIST ngrok-bin-3.39.1-i386.tgz 11081245 BLAKE2B 2c5c077e197758158b8c7df62b1f5d5a1b0be41825c21e0da4ce956e5f311b736579b934b1cd24ebfe8aad5b9656da3c612c2495c9d1b74782ff6d14a5d0fcfe SHA512 b8e86394677f3d170f3865a80498f1f3cc5c9d438cf99c6fa2549aee3e0e01c1084563af44cc290bdd0ff266e7018e60eff7f48afeeb5beea4d526541b09b388
-DIST ngrok-bin-3.39.1-mips.tgz 10383583 BLAKE2B 7d7009ec1f2f908bf64019c781536ff42ce7e072b0303f40ee8c04ec9c297fd97323c601c380b2bd53988ae45b56f34674e72f4016e1789671c885ba6dbb3197 SHA512 74dd81f87ad43f22e17f208f8b4ee76902c0d4e96c5141526e2fb9d09fc2540ff49918a72ade226c5a60f3b79e0e260226e000d62d2332d5284406533e666d48
-DIST ngrok-bin-3.39.1-ppc64.tgz 10618503 BLAKE2B d8e14a20cb93ffde47d15303fdd405e4d0ea97cf339717092f9fe70a5c848cfea62046c890b469721086f4b7cc92b5d8312aa29a4b2afa96dd795ec83ac89395 SHA512 2ff20132bc7457192c7d21eed911ff3da927ab4dd62fae4564e4af4a5f04e679806fdad2046f4df01e83e5da8d957cb9699be8e9a670422edf85af8ae85cff1d
-DIST ngrok-bin-3.39.1-s390.tgz 11250973 BLAKE2B 7884dd0af2c79cc9d104bad6e043757e67a5597c692927d0bbb9a5eb956e28e17332f4aaf237dbf41f211061ba800699f11e761a4e40dec5f209a6a05f123da1 SHA512 e6eee051d01631c5bb6c893031e80c323ded896df43473bcb09b967f826c0f52e18d23ee65e5179813073ed0ed3ee7ae19988fca15468511188a83ddbf79668f
diff --git a/net-proxy/ngrok-bin/metadata.xml b/net-proxy/ngrok-bin/metadata.xml
deleted file mode 100644
index 2416314ff360..000000000000
--- a/net-proxy/ngrok-bin/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>sanieliathecat@gmail.com</email>
- <name>Aniela Starzyk</name>
- </maintainer>
-</pkgmetadata>
diff --git a/net-proxy/ngrok-bin/ngrok-bin-3.39.1.ebuild b/net-proxy/ngrok-bin/ngrok-bin-3.39.1.ebuild
deleted file mode 100644
index 96360b7d4d13..000000000000
--- a/net-proxy/ngrok-bin/ngrok-bin-3.39.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="ngrok is a reverse proxy, firewall, and API gateway"
-HOMEPAGE="https://ngrok.com"
-# Each supported arch should get their own bins
-SRC_URI="
- amd64? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -> ${P}-amd64.tgz )
- arm? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz -> ${P}-arm.tgz )
- arm64? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz -> ${P}-arm64.tgz )
- mips? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-mips.tgz -> ${P}-mips.tgz )
- ppc64? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-ppc64.tgz -> ${P}-ppc64.tgz )
- s390? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-s390x.tgz -> ${P}-s390.tgz )
- x86? ( https://bin.ngrok.com/c/bNyj1mQVY4c/ngrok-v3-stable-linux-386.tgz -> ${P}-i386.tgz )
-"
-S="${WORKDIR}/"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~mips ~ppc64 ~s390 ~x86"
-
-RESTRICT="mirror strip"
-QA_PREBUILT="*"
-
-src_compile() {
- :
-}
-
-src_install() {
- dobin ngrok
-}
diff --git a/net-proxy/nutcracker/Manifest b/net-proxy/nutcracker/Manifest
deleted file mode 100644
index d135fda95e43..000000000000
--- a/net-proxy/nutcracker/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST nutcracker-0.4.1.tar.gz 1163442 BLAKE2B 6838fbb5623ad49ef564176ba4c7d4e61cedb9693851cacc06d8ed09e3045b8cff9df1af8e21790cfa0e3f988b81a9c9cfa852449d532a432c05f3f4c3eace56 SHA512 581fae1d12feb983ed25b22cd6f597fd28b7070906ac29d3990669ae5c626a468914021cee152a6a2299a2838c838ad907e4c911b911ef04166ac7bbb2982da1
-DIST twemproxy-0.5.0.tar.gz 1298797 BLAKE2B f321fb7c44bb1abca2986f458b01234da50973fd75fee1eb2e22e6119be48adab5f45f78317aa99d234a246b26e579050df4b094658139d10207f817f26c14b1 SHA512 01a90b4596c0c50535b424f193b172f39d50432b91005bb36e08a6a37fdcb0ba612a905f49ff1c0acf0e168b7cdf7552425fb095f373c180801e1d68b1b0d1c9
diff --git a/net-proxy/nutcracker/files/nutcracker-0.3.0-use-system-libyaml.patch b/net-proxy/nutcracker/files/nutcracker-0.3.0-use-system-libyaml.patch
deleted file mode 100644
index a3cccd3cc5c0..000000000000
--- a/net-proxy/nutcracker/files/nutcracker-0.3.0-use-system-libyaml.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -195,11 +195,8 @@
- [AC_DEFINE([HAVE_STATS], [1], [Define to 1 if stats is not disabled])])
- AC_MSG_RESULT($disable_stats)
-
--# Untar the yaml-0.1.4 in contrib/ before config.status is rerun
--AC_CONFIG_COMMANDS_PRE([tar xvfz contrib/yaml-0.1.4.tar.gz -C contrib])
--
--# Call yaml-0.1.4 ./configure recursively
--AC_CONFIG_SUBDIRS([contrib/yaml-0.1.4])
-+# Use systems libyaml.
-+PKG_CHECK_MODULES([YAML], [yaml-0.1 >= 0.1])
-
- # Define Makefiles
- AC_CONFIG_FILES([Makefile
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,7 @@
-
- ACLOCAL_AMFLAGS = -I m4
-
--SUBDIRS = contrib src
-+SUBDIRS = src
-
- dist_man_MANS = man/nutcracker.8
-
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -7,7 +7,6 @@
- AM_CPPFLAGS += -I $(top_srcdir)/src/hashkit
- AM_CPPFLAGS += -I $(top_srcdir)/src/proto
- AM_CPPFLAGS += -I $(top_srcdir)/src/event
--AM_CPPFLAGS += -I $(top_srcdir)/contrib/yaml-0.1.4/include
-
- AM_CFLAGS =
- AM_CFLAGS += -Wall -Wshadow
-@@ -17,9 +16,10 @@
- AM_CFLAGS += -Wno-unused-parameter -Wno-unused-value
- AM_CFLAGS += -Wconversion -Wsign-compare
- AM_CFLAGS += -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations
-+AM_CFLAGS += $(YAML_CFLAGS)
-
- AM_LDFLAGS =
--AM_LDFLAGS += -lm -lpthread -rdynamic
-+AM_LDFLAGS += -lm -lpthread -rdynamic $(YAML_LIBS)
- if OS_SOLARIS
- AM_LDFLAGS += -lnsl -lsocket
- endif
-@@ -52,4 +52,3 @@
- nutcracker_LDADD = $(top_builddir)/src/hashkit/libhashkit.a
- nutcracker_LDADD += $(top_builddir)/src/proto/libproto.a
- nutcracker_LDADD += $(top_builddir)/src/event/libevent.a
--nutcracker_LDADD += $(top_builddir)/contrib/yaml-0.1.4/src/.libs/libyaml.a
diff --git a/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch b/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
deleted file mode 100644
index 888779a82514..000000000000
--- a/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -159,7 +159,7 @@ AS_IF([test "x$ac_cv_epoll_works" = "xno" &&
- AM_CONDITIONAL([OS_LINUX], [test "x$ac_cv_epoll_works" = "xyes"])
- AM_CONDITIONAL([OS_BSD], [test "x$ac_cv_kqueue_works" = "xyes"])
- AM_CONDITIONAL([OS_SOLARIS], [test "x$ac_cv_evports_works" = "xyes"])
--AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" == "FreeBSD 10"])
-+AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" = "FreeBSD 10"])
-
- # Package options
- AC_MSG_CHECKING([whether to enable debug logs and asserts])
diff --git a/net-proxy/nutcracker/files/nutcracker-0.5.0-md5_signature-lto-mismatch.patch b/net-proxy/nutcracker/files/nutcracker-0.5.0-md5_signature-lto-mismatch.patch
deleted file mode 100644
index bb493f209bb8..000000000000
--- a/net-proxy/nutcracker/files/nutcracker-0.5.0-md5_signature-lto-mismatch.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/861860
---- a/src/hashkit/nc_hashkit.h
-+++ b/src/hashkit/nc_hashkit.h
-@@ -55,7 +55,7 @@ typedef enum dist_type {
- #undef DEFINE_ACTION
-
- uint32_t hash_one_at_a_time(const char *key, size_t key_length);
--void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
-+void md5_signature(const unsigned char *key, unsigned long length, unsigned char *result);
- uint32_t hash_md5(const char *key, size_t key_length);
- uint32_t hash_crc16(const char *key, size_t key_length);
- uint32_t hash_crc32(const char *key, size_t key_length);
diff --git a/net-proxy/nutcracker/files/nutcracker-0.5.0-use-system-libyaml.patch b/net-proxy/nutcracker/files/nutcracker-0.5.0-use-system-libyaml.patch
deleted file mode 100644
index ddb6694f05b6..000000000000
--- a/net-proxy/nutcracker/files/nutcracker-0.5.0-use-system-libyaml.patch
+++ /dev/null
@@ -1,62 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in config.h.in~
-
- ACLOCAL_AMFLAGS = -I m4
-
--SUBDIRS = contrib src
-+SUBDIRS = src
-
- dist_man_MANS = man/nutcracker.8
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -197,11 +197,8 @@ AS_IF([test "x$disable_stats" = xyes],
- [AC_DEFINE([HAVE_STATS], [1], [Define to 1 if stats is not disabled])])
- AC_MSG_RESULT($disable_stats)
-
--# Untar the yaml-0.2.5 in contrib/ before config.status is rerun
--AC_CONFIG_COMMANDS_PRE([tar xvfz contrib/yaml-0.2.5.tar.gz -C contrib])
--
--# Call yaml-0.2.5 ./configure recursively
--AC_CONFIG_SUBDIRS([contrib/yaml-0.2.5])
-+# Use systems libyaml.
-+PKG_CHECK_MODULES([YAML], [yaml-0.1 >= 0.2.5])
-
- # Define Makefiles
- AC_CONFIG_FILES([Makefile
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -7,7 +7,6 @@ endif
- AM_CPPFLAGS += -I $(top_srcdir)/src/hashkit
- AM_CPPFLAGS += -I $(top_srcdir)/src/proto
- AM_CPPFLAGS += -I $(top_srcdir)/src/event
--AM_CPPFLAGS += -I $(top_srcdir)/contrib/yaml-0.2.5/include
-
- AM_CFLAGS =
- # about -fno-strict-aliasing: https://github.com/twitter/twemproxy/issues/276
-@@ -20,9 +19,10 @@ AM_CFLAGS += -Wno-unused-parameter -Wno-unused-value
- AM_CFLAGS += -Wconversion -Wsign-compare
- AM_CFLAGS += -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations
- AM_CFLAGS += -Wno-format-zero-length
-+AM_CFLAGS += $(YAML_CFLAGS)
-
- AM_LDFLAGS =
--AM_LDFLAGS += -lm -lpthread -rdynamic
-+AM_LDFLAGS += -lm -lpthread -rdynamic $(YAML_LIBS)
- if OS_SOLARIS
- AM_LDFLAGS += -lnsl -lsocket
- endif
-@@ -58,7 +58,6 @@ nutcracker_SOURCES = \
- nutcracker_LDADD = $(top_builddir)/src/hashkit/libhashkit.a
- nutcracker_LDADD += $(top_builddir)/src/proto/libproto.a
- nutcracker_LDADD += $(top_builddir)/src/event/libevent.a
--nutcracker_LDADD += $(top_builddir)/contrib/yaml-0.2.5/src/.libs/libyaml.a
-
- TESTS = test_all
- bin_PROGRAMS = test_all
-@@ -86,4 +85,3 @@ test_all_SOURCES = test_all.c \
- test_all_LDADD = $(top_builddir)/src/hashkit/libhashkit.a
- test_all_LDADD += $(top_builddir)/src/proto/libproto.a
- test_all_LDADD += $(top_builddir)/src/event/libevent.a
--test_all_LDADD += $(top_builddir)/contrib/yaml-0.2.5/src/.libs/libyaml.a
diff --git a/net-proxy/nutcracker/files/nutcracker.confd.2 b/net-proxy/nutcracker/files/nutcracker.confd.2
deleted file mode 100644
index 4029092e6e7e..000000000000
--- a/net-proxy/nutcracker/files/nutcracker.confd.2
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#USER="nobody"
-#PIDFILE="/var/run/nutcracker.pid"
-#CONF_FILE="/etc/nutcracker/nutcracker.yaml"
-
-#NUTCRACKER_BIN="/usr/bin/nutcracker"
-NUTCRACKER_OPTS="--daemonize"
diff --git a/net-proxy/nutcracker/files/nutcracker.initd.2 b/net-proxy/nutcracker/files/nutcracker.initd.2
deleted file mode 100644
index 7e96808f04bb..000000000000
--- a/net-proxy/nutcracker/files/nutcracker.initd.2
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-USER="${USER:-nobody}"
-PIDFILE="${PIDFILE:-/var/run/nutcracker.pid}"
-NUTCRACKER_BIN="${NUTCRACKER_BIN:-/usr/sbin/nutcracker}"
-CONF_FILE="${CONF_FILE:-/etc/nutcracker/nutcracker.yml}"
-
-depend() {
- need net
-}
-
-checkconf() {
- ebegin "Testing configuration"
- ${NUTCRACKER_BIN} --test-conf \
- --conf-file=${CONF_FILE} \
- >/dev/null 2>&1
- eend $?
-}
-
-start() {
- checkconf || exit 1
- ebegin "Starting Nutcracker"
- start-stop-daemon --start -u ${USER} \
- --name ${SVCNAME} \
- --exec ${NUTCRACKER_BIN} -- \
- --conf-file="${CONF_FILE}" \
- --pid-file=${PIDFILE} \
- ${NUTCRACKER_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Nutcracker"
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- eend $?
-}
-
diff --git a/net-proxy/nutcracker/metadata.xml b/net-proxy/nutcracker/metadata.xml
deleted file mode 100644
index 09f75e22b1eb..000000000000
--- a/net-proxy/nutcracker/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>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <upstream>
- <remote-id type="github">twitter/twemproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild b/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
deleted file mode 100644
index 3203b919e775..000000000000
--- a/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="A fast, light-weight proxy for Memcached and Redis. (Twitter's Twemproxy)"
-HOMEPAGE="https://github.com/twitter/twemproxy"
-SRC_URI="https://github.com/twitter/twemproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/twemproxy-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug doc"
-
-DEPEND=">=dev-libs/libyaml-0.1.4"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- # Let's use system libyaml
- "${FILESDIR}"/${PN}-0.3.0-use-system-libyaml.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use debug)
-}
-
-src_install() {
- default
-
- insinto /etc/nutcracker
- newins conf/nutcracker.yml nutcracker.yml.example
-
- newconfd "${FILESDIR}/nutcracker.confd.2" nutcracker
- newinitd "${FILESDIR}/nutcracker.initd.2" nutcracker
-
- if use doc; then
- dodoc -r notes
- fi
-}
diff --git a/net-proxy/nutcracker/nutcracker-0.5.0.ebuild b/net-proxy/nutcracker/nutcracker-0.5.0.ebuild
deleted file mode 100644
index e3f1f9d6fb92..000000000000
--- a/net-proxy/nutcracker/nutcracker-0.5.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="A fast, light-weight proxy for Memcached and Redis. (Twitter's Twemproxy)"
-HOMEPAGE="https://github.com/twitter/twemproxy"
-SRC_URI="https://github.com/twitter/twemproxy/releases/download/${PV}/twemproxy-${PV}.tar.gz"
-S="${WORKDIR}/twemproxy-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug doc"
-
-DEPEND=">=dev-libs/libyaml-0.2.5"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- # Let's use system libyaml
- "${FILESDIR}"/${PN}-0.5.0-use-system-libyaml.patch
- "${FILESDIR}"/${PN}-0.5.0-configure-bashism.patch
- "${FILESDIR}"/${PN}-0.5.0-md5_signature-lto-mismatch.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use debug)
-}
-
-src_install() {
- default
-
- insinto /etc/nutcracker
- newins conf/nutcracker.yml nutcracker.yml.example
-
- newconfd "${FILESDIR}/nutcracker.confd.2" nutcracker
- newinitd "${FILESDIR}/nutcracker.initd.2" nutcracker
-
- if use doc; then
- dodoc -r notes
- fi
-}
diff --git a/net-proxy/opera-proxy/Manifest b/net-proxy/opera-proxy/Manifest
deleted file mode 100644
index e14e243f60c8..000000000000
--- a/net-proxy/opera-proxy/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST opera-proxy-1.15.0-vendor.tar.xz 203136 BLAKE2B ebc1621769d8fbdddfbddcd2b2e2f3f276d599d232ddbfd2248c0e452da9010fd6aba68caff43e85241846ac0dff9ae7d733d46480387e79a326a73c6c28d97e SHA512 56d73fdea2d599b5e041de59a1ade4950fec4e2c653e5e3ceb01f5286761fe3ce5ac282268ac74973a7b32bf5881a0a369db2c932fefbc4b45dc7e2730eadf0b
-DIST opera-proxy-1.15.0.tar.gz 23465 BLAKE2B 8bd8d46bc6ffc2e6222f806fe15b5a01e95c263f26a70cf4ae4d9248dd1c39a7e399fdedf34c8d36b8d4c801348595aa57b510faa47002b7efd13ff29375a829 SHA512 96083e5974571b5999cfa8b628d527a841acdb0995e02a5d9e87a91fb4691fc8ff6ab4a28a8d3147a1bf80e5d57cd68a8f4dcacbed374f31cf19baf2a74db630
diff --git a/net-proxy/opera-proxy/files/opera-proxy.initd b/net-proxy/opera-proxy/files/opera-proxy.initd
deleted file mode 100644
index 23154d281d1c..000000000000
--- a/net-proxy/opera-proxy/files/opera-proxy.initd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-#
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-supervisor="supervise-daemon"
-command="/usr/bin/opera-proxy"
-command_user="nobody:nobody"
-pidfile="/run/opera-proxy.pid"
-
-depend() {
- need net
- use dns firewall
-}
diff --git a/net-proxy/opera-proxy/metadata.xml b/net-proxy/opera-proxy/metadata.xml
deleted file mode 100644
index cf80441252ca..000000000000
--- a/net-proxy/opera-proxy/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>cyber+gentoo@sysrq.in</email>
- <name>Anna</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Snawoot/opera-proxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/opera-proxy/opera-proxy-1.15.0.ebuild b/net-proxy/opera-proxy/opera-proxy-1.15.0.ebuild
deleted file mode 100644
index 7f1b63936c74..000000000000
--- a/net-proxy/opera-proxy/opera-proxy-1.15.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="Standalone Opera VPN proxies client"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="https://github.com/gentoo-golang-dist/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"
-
-LICENSE="MIT"
-# Go dependency licenses
-LICENSE+=" BSD BSD-2 MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-src_compile() {
- ego build -o opera-proxy
-}
-
-src_install() {
- dobin opera-proxy
- einstalldocs
-
- newinitd "${FILESDIR}"/opera-proxy.initd opera-proxy
-}
diff --git a/net-proxy/pingtunnel/Manifest b/net-proxy/pingtunnel/Manifest
deleted file mode 100644
index b5c4a81517cd..000000000000
--- a/net-proxy/pingtunnel/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST PingTunnel-0.72.tar.gz 64188 BLAKE2B 414a7e528f66c72f878eef73a48fa0d6e7ceeae51ea2d8ff33f4a4fae61a9427f669d29e9b06f502ded96d87a3fa6680236bca7f9ce90a9a14f94583bffa0716 SHA512 943fc571ca95bb6af59f2a74458470865a89a502145bb1e5cf9b86159d61d897418d10d100691337f299892af7aba65964624462068a77ef1645890a4abf5d17
diff --git a/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch b/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch
deleted file mode 100644
index cf421365917d..000000000000
--- a/net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/ptunnel.h
-+++ b/ptunnel.h
-@@ -45,7 +45,6 @@
-
- // Includes
- #ifndef WIN32
-- #include <sys/unistd.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
diff --git a/net-proxy/pingtunnel/files/pingtunnel-0.72_makefile.patch b/net-proxy/pingtunnel/files/pingtunnel-0.72_makefile.patch
deleted file mode 100644
index 27576bfd434f..000000000000
--- a/net-proxy/pingtunnel/files/pingtunnel-0.72_makefile.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -2,11 +2,26 @@
- # (c) 2004-2009 Daniel Stoedle, daniels@cs.uit.no
- # ptunnel.exe target added by Mike Miller, mike@mikeage.net
-
--CC = gcc
--CFLAGS = -Wall -g
--LDOPTS = -lpthread -lpcap
-+# set to 1 to enable debug symbols
-+DEBUG=0
-+
-+# set to 1 to enable selinux support
-+SELINUX=0
-+
-+CC ?= gcc
-+CFLAGS += -Wall
-+LIBS += -lpthread -lpcap
- PT_OBJS = ptunnel.o md5.o
-
-+ifeq ($(DEBUG),1)
-+CFLAGS += -g
-+endif
-+
-+ifeq ($(SELINUX),1)
-+CPPFLAGS += -DHAVE_SELINUX
-+LIBS += -lselinux
-+endif
-+
- WIN32_CC = mingw32-gcc
- WIN32_CFLAGS = -g -Wall -DWIN32 -I"c:\Program Files\WpdPack\Include"
- WIN32_LDOPTS = -lwpcap -lwsock32 -L"c:\Program Files\WpdPack\Lib"
-@@ -26,13 +41,13 @@
-
-
- install: ptunnel
-- install -d $(bindir)/
-- install -d $(mandir)/
-- install ./ptunnel $(bindir)/ptunnel
-- install ./ptunnel.8 $(mandir)/ptunnel.8
-+ install -d "$(DESTDIR)/$(bindir)/"
-+ install -d "$(DESTDIR)/$(mandir)/"
-+ install -m755 ./ptunnel "$(DESTDIR)/$(bindir)/ptunnel"
-+ install -m644 ./ptunnel.8 "$(DESTDIR)/$(mandir)/ptunnel.8"
-
- ptunnel: $(PT_OBJS)
-- $(CC) -o $@ $^ $(LDOPTS) `[ -e /usr/include/selinux/selinux.h ] && echo -lselinux`
-+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
-
- ptunnel.exe: $(WIN32_PT_OBJS)
- $(CC) -o $@ $^ $(WIN32_LDOPTS)
-@@ -47,7 +62,7 @@
- $(CC) $(CFLAGS) -MM *.c > $@
-
- %.o:%.c
-- $(CC) $(CFLAGS) `[ -e /usr/include/selinux/selinux.h ] && echo -DHAVE_SELINUX` -c -o $@ $<
-+ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-
- %.obj:%.c
- $(WIN32_CC) $(WIN32_CFLAGS) -c -o $@ $<
diff --git a/net-proxy/pingtunnel/metadata.xml b/net-proxy/pingtunnel/metadata.xml
deleted file mode 100644
index 7d015d9d300e..000000000000
--- a/net-proxy/pingtunnel/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription>Ptunnel is an application that allows you to reliably tunnel TCP connections to a remote host
-using ICMP echo request and reply packets, commonly known as ping requests and replies.</longdescription>
-</pkgmetadata>
diff --git a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild
deleted file mode 100644
index a9c9139962cd..000000000000
--- a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Tunnel TCP over ICMP"
-HOMEPAGE="https://www.cs.uit.no/~daniels/PingTunnel"
-SRC_URI="https://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE="selinux"
-
-RDEPEND="
- net-libs/libpcap
- selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/PingTunnel
-
-PATCHES=(
- "${FILESDIR}"/${P}_makefile.patch
- "${FILESDIR}"/${P}-musl.patch
-)
-HTML_DOCS=( web/. )
-
-src_configure() {
- tc-export CC
-}
-
-src_compile() {
- emake SELINUX=$(usex selinux 1 0)
-}
diff --git a/net-proxy/piper/Manifest b/net-proxy/piper/Manifest
deleted file mode 100644
index 31ac9f2e84e5..000000000000
--- a/net-proxy/piper/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST piper-1.14.tar.gz 20121 BLAKE2B 3036ea949ab02b5e21bfc485a507aaedf1200bec8fcae097f400246c9ed6518b5b81e886d1b5fc2bf0a159efddb78eb30a3eed140e38a33e86efbf408e8c7a1f SHA512 5e436a13f93adbdbebe6df6b6113d94c4e4c2ae0b7a8ad1c526d378b9e919aedc8e005ebabe84b5682fe75e066fc786da861ec5d28572e9f235349c8b106544e
diff --git a/net-proxy/piper/metadata.xml b/net-proxy/piper/metadata.xml
deleted file mode 100644
index aaab041e8885..000000000000
--- a/net-proxy/piper/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>robbat2@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/net-proxy/piper/piper-1.14-r1.ebuild b/net-proxy/piper/piper-1.14-r1.ebuild
deleted file mode 100644
index c1e89505539f..000000000000
--- a/net-proxy/piper/piper-1.14-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Tool for manipulating SOCKS5 servers"
-HOMEPAGE="http://www.qwirx.com/"
-SRC_URI="http://www.qwirx.com/piper/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-src_compile() {
- append-flags -g -Wall
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- dobin piper
- dodoc README
-}
diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest
deleted file mode 100644
index 5d44ae7b9650..000000000000
--- a/net-proxy/privoxy/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST privoxy-3.0.34-stable-src.tar.gz 1589785 BLAKE2B d879d3827dc1e6dd6a3d13ab07b788a235a16dcc4b050f17dd43543c0fad1cf9c9ceb2a0ae1ec3885798db5041a6c1fc2c270befd4d8ecf10254a58533458dba SHA512 f963419ae2cb6dd72cd892fa043768d99a4118792833de2e666d6a800fbe9a7fcb0641f15e3211e0b01a74609c65aeb60af1051f1a19daa1048314599679b685
-DIST privoxy-4.0.0-stable-src.tar.gz 1746840 BLAKE2B 194987c99fb8da78c369b354bae40557a5c6aafb6091df11b2752a013c24c43e56026e7ec51ebe168f200a5bfdf3ee28fa75867dabde8f2d2a525142b4198f2d SHA512 d89b75c486d403ce99bf439d8a5bacf59cc2c43b2acec55eddab24e818be20cfe23954ca01a20efa86c8afb38bea64bb91435b063144fd549a8c7e03a2320000
diff --git a/net-proxy/privoxy/files/privoxy-3.0.28-strip.patch b/net-proxy/privoxy/files/privoxy-3.0.28-strip.patch
deleted file mode 100644
index 2ca24330b46c..000000000000
--- a/net-proxy/privoxy/files/privoxy-3.0.28-strip.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Privory uses STRIP Makefile variable for passing strip argument,
-this clashes with STRIP set in the environment. So rename STRIP ->
-STRIP_ARGS and then use real STRIP instead of STRIP_PROG with
-fallback on predefined "strip" if STRIP is not set.
-
---- privoxy-3.0.28-stable/GNUmakefile.in.orig 2020-08-19 15:24:46.930551734 +0300
-+++ privoxy-3.0.28-stable/GNUmakefile.in 2020-08-19 16:12:18.214837417 +0300
-@@ -117,7 +117,7 @@
- CP = cp -f
- RMDIR = rmdir
- MKDIR = ./mkinstalldirs
--STRIP_PROG = strip
-+STRIP ?= strip
- SED = sed
- GREP = grep
- CAT = cat
-@@ -391,7 +391,7 @@
- @$(ECHO) "You have run autoconf && autoheader && ./configure right?"
- @$(ECHO) ""
- $(MAKE) $(PROGRAM)
-- $(STRIP_PROG) $(PROGRAM)
-+ $(STRIP) $(PROGRAM)
- $(LN) -s `pwd` ../privoxy-$(VERSION)-$(CODE_STATUS)
- # add program
- (cd .. && $(TAR) --exclude "PACKAGERS" -cvhf $(GEN_DIST_TAR_NAME) privoxy-$(VERSION)-$(CODE_STATUS)/$(PROGRAM))
-@@ -822,7 +822,7 @@
- fi)
-
- install-strip:
-- $(MAKE) install STRIP=-s
-+ $(MAKE) install STRIP_ARG=-s
-
- # FIXME: Test USER and GROUP on Slack to make sure this works as
- # intended.
-@@ -848,10 +848,10 @@
- $(DESTDIR)$(CONF_DEST)/templates $(DESTDIR)$(SHARE_DEST) \
- $(DESTDIR)$(LOG_DEST) $(DESTDIR)$(PID_DEST)
- @# Install the executable binary, strip if invoked as install-strip
-- @test -n "$(STRIP)" &&\
-+ @test -n "$(STRIP_ARG)" &&\
- $(ECHO) Installing $(PROGRAM) stripped executable to $(SBIN_DEST) ||\
- $(ECHO) Installing $(PROGRAM) executable to $(DESTDIR)$(SBIN_DEST)
-- $(INSTALL) $(INSTALL_P) $(STRIP) $(PROGRAM) $(DESTDIR)$(SBIN_DEST)
-+ $(INSTALL) $(INSTALL_P) $(STRIP_ARG) $(PROGRAM) $(DESTDIR)$(SBIN_DEST)
-
- @# Install the DOCS and man page. install-sh only does one file at a time.
- @# FIXME: only handles jpegs.
diff --git a/net-proxy/privoxy/files/privoxy-3.0.32-gentoo.patch b/net-proxy/privoxy/files/privoxy-3.0.32-gentoo.patch
deleted file mode 100644
index 4199b6e2a9cf..000000000000
--- a/net-proxy/privoxy/files/privoxy-3.0.32-gentoo.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff --git a/GNUmakefile.in b/GNUmakefile.in
-index fcd44c4f..8cf2364a 100644
---- a/GNUmakefile.in
-+++ b/GNUmakefile.in
-@@ -62,8 +62,8 @@ MAN_DIR = @mandir@
- MAN_DEST = $(MAN_DIR)/man8
- MAN_PAGE = privoxy.8
- SHARE_DEST = @datadir@
--DOC_DEST = $(SHARE_DEST)/doc/privoxy
--VAR_DEST = @localstatedir@
-+DOC_DEST = @docdir@
-+VAR_DEST = /var
- LOGS_DEST = $(VAR_DEST)/log/privoxy
- PIDS_DEST = $(VAR_DEST)/run
-
-@@ -892,8 +892,6 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T
- $(INSTALL) $(INSTALL_T) $(DOK_WEB)/man-page/*html $(DESTDIR)$$DOC/man-page;\
- $(INSTALL) $(INSTALL_T) $(DOK_WEB)/privoxy-index.html $(DESTDIR)$$DOC/index.html;\
- $(INSTALL) $(INSTALL_T) AUTHORS $(DESTDIR)$$DOC;\
-- $(INSTALL) $(INSTALL_T) LICENSE $(DESTDIR)$$DOC;\
-- $(INSTALL) $(INSTALL_T) LICENSE.GPLv3 $(DESTDIR)$$DOC;\
- $(INSTALL) $(INSTALL_T) README $(DESTDIR)$$DOC;\
- $(INSTALL) $(INSTALL_T) ChangeLog $(DESTDIR)$$DOC;\
- $(INSTALL) $(INSTALL_T) $(DOK_WEB)/p_doc.css $(DESTDIR)$$DOC;\
-@@ -964,34 +962,8 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T
- fi ;\
- $(ECHO) Installing configuration files to $(DESTDIR)$(CONF_DEST);\
- for i in $(CONFIGS); do \
-- if [ "$$i" = "default.action" ] || [ "$$i" = "default.filter" ] ; then \
-- $(RM) $(DESTDIR)$(CONF_DEST)/$$i ;\
-- $(ECHO) Installing fresh $$i;\
- $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST) || exit 1;\
-- elif [ -s "$(DESTDIR)$(CONF_DEST)/$$i" ]; then \
-- $(ECHO) Installing $$i as $$i.new ;\
-- $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST)/$$i.new || exit 1;\
-- NEW=1;\
-- else \
-- $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST) || exit 1;\
-- fi ;\
- done ;\
-- if [ -n "$$NEW" ]; then \
-- $(CHMOD) $(RWD_MODE) $(DESTDIR)$(CONF_DEST)/*.new || exit 1 ;\
-- $(ECHO) "Warning: Older config files are preserved. Check new versions for changes!" ;\
-- fi ;\
-- [ ! -f $(DESTDIR)$(LOG_DEST)/logfile ] && $(ECHO) Creating logfiles in $(DESTDIR)$(LOG_DEST) || \
-- $(ECHO) Checking logfiles in $(DESTDIR)$(LOG_DEST) ;\
-- $(TOUCH) $(DESTDIR)$(LOG_DEST)/logfile || exit 1 ;\
-- if [ x$$USER != x ]; then \
-- $(CHOWN) $$USER $(DESTDIR)$(LOG_DEST)/logfile || \
-- $(ECHO) "** WARNING ** current install user different from configured user. Logging may fail!!" ;\
-- fi ;\
-- if [ x$$GROUP_T != x ]; then \
-- $(CHGRP) $$GROUP_T $(DESTDIR)$(LOG_DEST)/logfile || \
-- $(ECHO) "** WARNING ** current install user different from configured user. Logging may fail!!" ;\
-- fi ;\
-- $(CHMOD) $(RWD_MODE) $(DESTDIR)$(LOG_DEST)/logfile || exit 1 ;\
- if [ "$(prefix)" = "/usr/local" ] || [ "$(prefix)" = "/usr" ]; then \
- if [ -f /etc/slackware-version ] && [ -d /etc/rc.d/ ] && [ -w /etc/rc.d/ ] ; then \
- $(SED) 's+%PROGRAM%+$(PROGRAM)+' slackware/rc.privoxy.in | \
-diff --git a/config b/config
-index da6d6b75..aefb55e1 100644
---- a/config
-+++ b/config
-@@ -259,7 +259,7 @@
- #
- # No trailing "/", please.
- #
--confdir .
-+confdir /etc/privoxy
- #
- # 2.2. templdir
- # ==============
-@@ -344,7 +344,7 @@ confdir .
- #
- # No trailing "/", please.
- #
--logdir .
-+logdir /var/log/privoxy
- #
- # 2.5. actionsfile
- # =================
-@@ -478,7 +478,7 @@ filterfile user.filter # User customizations
- # require additional software to do it. For details, please
- # refer to the documentation for your operating system.
- #
--logfile logfile
-+logfile privoxy.log
- #
- # 2.8. trustfile
- # ===============
-diff --git a/default.action.master b/default.action.master
-index 632984eb..8338431c 100644
---- a/default.action.master
-+++ b/default.action.master
-@@ -559,7 +559,7 @@ allow-ads = -block -filter{banners-by-size} -filter{banners-by-link}
- +client-header-tagger{image-requests} \
- +client-header-tagger{range-requests} \
- +hide-from-header{block} \
--+set-image-blocker{pattern} \
-++set-image-blocker{blank} \
- }
- standard.Cautious
-
-@@ -582,7 +582,7 @@ standard.Cautious
- +hide-from-header{block} \
- +hide-referrer{conditional-block} \
- +session-cookies-only \
--+set-image-blocker{pattern} \
-++set-image-blocker{blank} \
- }
- standard.Medium
-
-@@ -622,7 +622,7 @@ standard.Medium
- +hide-referrer{conditional-block} \
- +limit-connect{,} \
- +overwrite-last-modified{randomize} \
--+set-image-blocker{pattern} \
-++set-image-blocker{blank} \
- }
- standard.Advanced
-
diff --git a/net-proxy/privoxy/files/privoxy-3.0.33-configure-c99.patch b/net-proxy/privoxy/files/privoxy-3.0.33-configure-c99.patch
deleted file mode 100644
index 9dfba3faca39..000000000000
--- a/net-proxy/privoxy/files/privoxy-3.0.33-configure-c99.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Fix argument types in gmtime_r, localtime_r probes. Otherwise these
-probes always fail with stricter compilers even if there is C library
-support for these functions.
-
-Submitted upstream: <https://sourceforge.net/p/ijbswa/patches/149/>
-
---- a/configure.in
-+++ b/configure.in
-@@ -615,9 +615,9 @@ AC_CHECK_FUNC(gmtime_r, [
- AC_TRY_COMPILE([
- # include <time.h>
- ], [
-- struct time *t;
-- struct tm *tm;
-- (void) gmtime_r(t, tm)
-+ time_t t;
-+ struct tm tm;
-+ (void) gmtime_r(&t, &tm)
- ], [
- AC_MSG_RESULT(ok)
- AC_DEFINE(HAVE_GMTIME_R)
-@@ -633,9 +633,9 @@ AC_CHECK_FUNC(localtime_r, [
- AC_TRY_COMPILE([
- # include <time.h>
- ], [
-- struct time *t;
-- struct tm *tm;
-- (void) localtime_r(t, tm)
-+ time_t t;
-+ struct tm tm;
-+ (void) localtime_r(&t, &tm)
- ], [
- AC_MSG_RESULT(ok)
- AC_DEFINE(HAVE_LOCALTIME_R)
diff --git a/net-proxy/privoxy/files/privoxy.initd-3 b/net-proxy/privoxy/files/privoxy.initd-3
deleted file mode 100644
index 66159ea59838..000000000000
--- a/net-proxy/privoxy/files/privoxy.initd-3
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-CONFFILE=/etc/${SVCNAME}/config
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
- use net
-}
-
-start() {
- if [ ! -f "${CONFFILE}" ]; then
- eerror "Configuration file ${CONFFILE} not found!"
- return 1
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --quiet --exec /usr/sbin/privoxy --pidfile "${PIDFILE}" \
- -- --pidfile "${PIDFILE}" --user privoxy.privoxy "${CONFFILE}" #2>/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/net-proxy/privoxy/files/privoxy.logrotate b/net-proxy/privoxy/files/privoxy.logrotate
deleted file mode 100644
index aa7463bd572e..000000000000
--- a/net-proxy/privoxy/files/privoxy.logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/privoxy/privoxy.log /var/log/privoxy/jarfile {
- missingok
- notifempty
- create 0640 privoxy privoxy
- sharedscripts
- postrotate
- killall -HUP privoxy 2>/dev/null || true
- endscript
-}
diff --git a/net-proxy/privoxy/files/privoxy.service b/net-proxy/privoxy/files/privoxy.service
deleted file mode 100644
index 568123924781..000000000000
--- a/net-proxy/privoxy/files/privoxy.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Privoxy Web Proxy With Advanced Filtering Capabilities
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/privoxy --no-daemon --user privoxy.privoxy /etc/privoxy/config
-SuccessExitStatus=15
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/privoxy/metadata.xml b/net-proxy/privoxy/metadata.xml
deleted file mode 100644
index c7ae06e5fb9e..000000000000
--- a/net-proxy/privoxy/metadata.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>dlan@gentoo.org</email>
- <name>Yixun Lan</name>
- </maintainer>
- <longdescription>
- Privoxy is a non-caching web proxy with advanced filtering
- capabilities for enhancing privacy, modifying web page data
- and HTTP headers, controlling access, and removing ads and
- other obnoxious Internet junk. Privoxy has a flexible
- configuration and can be customized to suit individual
- needs and tastes. It has application for both stand-alone
- systems and multi-user networks.
- </longdescription>
- <use>
- <flag name="brotli">Decompress brotli compressed data using <pkg>app-arch/brotli</pkg> before filtering</flag>
- <flag name="client-tags">Enable support for client-specific tags</flag>
- <flag name="compression">Allow privoxy to compress buffered content before sending to the client, if it supports it</flag>
- <flag name="editor">Enable the web-based actions file editor</flag>
- <flag name="extended-host-patterns">Enable and require PCRE syntax in host patterns. You must convert action files to PCRE, see privoxy-url-pattern-translator.pl (see tools USE flag). Use at your own risk!</flag>
- <flag name="extended-statistics">Gather extended statistics</flag>
- <flag name="external-filters">Allow to filter content with scripts and programs. Experimental</flag>
- <flag name="fast-redirects">Support fast redirects</flag>
- <flag name="force">Allow single-page disable (force load)</flag>
- <flag name="fuzz">Exposes Privoxy internals to input from files or stdout. Intended for fuzzing testing</flag>
- <flag name="graceful-termination">Allow to shutdown Privoxy through the webinterface</flag>
- <flag name="image-blocking">Allows the +handle-as-image action, to send "blocked" images instead of HTML</flag>
- <flag name="jit">Enable PCRE jit (recommended)</flag>
- <flag name="lfs">Support large files (&gt;2GB) on 32-bit systems</flag>
- <flag name="mbedtls">Use <pkg>net-libs/mbedtls</pkg> for HTTPS filtering</flag>
- <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> for HTTPS filtering</flag>
- <flag name="png-images">Use PNG format instead of GIF for built-in images</flag>
- <flag name="sanitize">Enable asan, msan and usan sanitizers. Your compiler must support them</flag>
- <flag name="ssl">HTTPS inspection support. Enables privoxy to perform SSL MITM filtering, see docs, use with care</flag>
- <flag name="stats">Keep statistics</flag>
- <flag name="threads">Enable POSIX threads. Highly recommended, otherwise both build and run-time features may not work properly.</flag>
- <flag name="toggle">Support temporary disable toggle via web interface</flag>
- <flag name="tools">Install log parser, regression tester and user agent generator tools</flag>
- <flag name="whitelists">Support trust files (white lists)</flag>
- <flag name="zlib">Decompress zlib compressed data using <pkg>virtual/zlib</pkg> before filtering</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">ijbswa</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/privoxy/privoxy-3.0.34-r1.ebuild b/net-proxy/privoxy/privoxy-3.0.34-r1.ebuild
deleted file mode 100644
index bd5f7e2afa5d..000000000000
--- a/net-proxy/privoxy/privoxy-3.0.34-r1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd toolchain-funcs
-
-[ "${PV##*_}" = "beta" ] &&
- PRIVOXY_STATUS="beta" ||
- PRIVOXY_STATUS="stable"
-
-DESCRIPTION="A web proxy with advanced filtering capabilities for enhancing privacy"
-HOMEPAGE="https://www.privoxy.org https://sourceforge.net/projects/ijbswa/"
-SRC_URI="https://downloads.sourceforge.net/ijbswa/${P%_*}-${PRIVOXY_STATUS}-src.tar.gz"
-
-S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ppc ppc64 ~riscv ~sparc x86"
-IUSE="+acl brotli client-tags compression editor extended-host-patterns
-extended-statistics external-filters +fast-redirects +force fuzz
-graceful-termination +image-blocking ipv6 +jit lfs +mbedtls openssl
-png-images sanitize selinux ssl +stats +threads toggle tools whitelists
-+zlib"
-
-DEPEND="
- acct-group/privoxy
- acct-user/privoxy
- dev-libs/libpcre
- brotli? ( app-arch/brotli )
- ssl? (
- mbedtls? ( net-libs/mbedtls:0= )
- openssl? ( dev-libs/openssl:= )
- )
- zlib? ( virtual/zlib:= )
-"
-RDEPEND="${DEPEND}
- extended-host-patterns? ( dev-lang/perl )
- selinux? ( sec-policy/selinux-privoxy )
- tools? (
- net-misc/curl
- dev-lang/perl
- )
-"
-REQUIRED_USE="
- brotli? ( zlib )
- client-tags? ( threads )
- compression? ( zlib )
- extended-statistics? ( threads )
- fuzz? ( zlib )
- ssl? ( ^^ ( mbedtls openssl ) threads )
- toggle? ( editor )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.0.32-gentoo.patch
- "${FILESDIR}"/${PN}-3.0.28-strip.patch
- "${FILESDIR}"/${PN}-3.0.33-configure-c99.patch
-)
-
-pkg_pretend() {
- if ! use threads; then
- ewarn
- ewarn "Privoxy may be very slow without threads support, consider enabling it."
- ewarn "See also https://www.privoxy.org/faq/trouble.html#GENTOO-RICERS"
- ewarn "Additionally some features may not build or work poperly. You are on your own."
- ewarn
- fi
-}
-
-src_prepare() {
- default
- mv configure.in configure.ac || die
- sed -i "s|/p\.p/|/config.privoxy.org/|g" tools/privoxy-regression-test.pl || die
-
- # autoreconf needs to be called even if we don't modify any autotools source files
- # See main makefile
- eautoreconf
-}
-
-src_configure() {
- local myconf="--without-mbedtls --without-openssl"
- if use ssl; then
- myconf="$(use_with mbedtls) $(use_with openssl)"
- fi
- if use sanitize; then
- myconf+=" --with-usan"
- # msan is available in clang only
- # asan is broken with current configure tests in gcc
- tc-is-clang && myconf+=" --with-msan --with-asan"
- fi
-
- # --with-debug only enables debug CFLAGS
- # --with-docbook and --with-db2html and their deps are useless,
- # since docs are already pregenerated in the source tarball
- econf \
- --sysconfdir=/etc/privoxy \
- --disable-accept-filter \
- --enable-dynamic-pcre \
- --without-assertions \
- --with-user=privoxy \
- --with-group=privoxy \
- $(use_enable acl acl-support) \
- $(use_enable compression) \
- $(use_enable client-tags) \
- $(use_enable editor) \
- $(use_enable extended-host-patterns pcre-host-patterns) \
- $(use_enable extended-statistics) \
- $(use_enable fast-redirects) \
- $(use_enable force) \
- $(use_enable fuzz) \
- $(use_enable graceful-termination) \
- $(use_enable image-blocking) \
- $(use_enable jit pcre-jit-compilation) \
- $(use_enable ipv6 ipv6-support) \
- $(use_enable lfs large-file-support) \
- $(use_enable png-images no-gifs) \
- $(use_enable stats) \
- $(use_enable threads pthread) \
- $(use_enable toggle) \
- $(use_enable whitelists trust-files) \
- $(use_enable zlib) \
- $(use_with brotli) \
- ${myconf}
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}/privoxy.initd-3" privoxy
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/privoxy.logrotate" privoxy
-
- diropts -m 0750 -g privoxy -o privoxy
- keepdir /var/log/privoxy
-
- use extended-host-patterns && newbin tools/url-pattern-translator.pl privoxy-url-pattern-translator.pl
- if use tools; then
- dobin tools/{privoxy-log-parser.pl,privoxy-regression-test.pl}
- newbin tools/uagen.pl privoxy-uagen.pl
- fi
-
- rmdir "${ED}/var/run" || die
- chown privoxy:root "${ED}/etc/privoxy" || die
-}
-
-pkg_postinst() {
- if use extended-host-patterns; then
- ewarn
- ewarn "You enabled extended-host-patterns, now you *must* convert all action files in"
- ewarn "PCRE-compatible format, or privoxy will fail to start. Helper tool"
- ewarn "privoxy-url-pattern-translator.pl is available."
- ewarn
- fi
-}
diff --git a/net-proxy/privoxy/privoxy-4.0.0.ebuild b/net-proxy/privoxy/privoxy-4.0.0.ebuild
deleted file mode 100644
index cdbf258ba86a..000000000000
--- a/net-proxy/privoxy/privoxy-4.0.0.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
-
-inherit autotools systemd toolchain-funcs
-
-[ "${PV##*_}" = "beta" ] &&
- PRIVOXY_STATUS="beta" ||
- PRIVOXY_STATUS="stable"
-
-DESCRIPTION="A web proxy with advanced filtering capabilities for enhancing privacy"
-HOMEPAGE="https://www.privoxy.org https://sourceforge.net/projects/ijbswa/"
-SRC_URI="https://downloads.sourceforge.net/ijbswa/${P%_*}-${PRIVOXY_STATUS}-src.tar.gz"
-
-S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ppc ppc64 ~riscv ~sparc x86"
-IUSE="+acl brotli client-tags compression editor extended-host-patterns
-extended-statistics external-filters +fast-redirects +force fuzz
-graceful-termination +image-blocking ipv6 +jit lfs +mbedtls openssl
-png-images sanitize selinux ssl +stats +threads toggle tools whitelists
-+zlib"
-
-DEPEND="
- acct-group/privoxy
- acct-user/privoxy
- dev-libs/libpcre2
- brotli? ( app-arch/brotli )
- ssl? (
- mbedtls? ( net-libs/mbedtls:0= )
- openssl? ( dev-libs/openssl:= )
- )
- zlib? ( virtual/zlib:= )
-"
-RDEPEND="${DEPEND}
- extended-host-patterns? ( dev-lang/perl )
- selinux? ( sec-policy/selinux-privoxy )
- tools? (
- net-misc/curl
- dev-lang/perl
- )
-"
-REQUIRED_USE="
- brotli? ( zlib )
- client-tags? ( threads )
- compression? ( zlib )
- extended-statistics? ( threads )
- fuzz? ( zlib )
- ssl? ( ^^ ( mbedtls openssl ) threads )
- toggle? ( editor )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.0.32-gentoo.patch
- "${FILESDIR}"/${PN}-3.0.28-strip.patch
-)
-
-pkg_pretend() {
- if ! use threads; then
- ewarn
- ewarn "Privoxy may be very slow without threads support, consider enabling it."
- ewarn "See also https://www.privoxy.org/faq/trouble.html#GENTOO-RICERS"
- ewarn "Additionally some features may not build or work poperly. You are on your own."
- ewarn
- fi
-}
-
-src_prepare() {
- default
- mv configure.in configure.ac || die
- sed -i "s|/p\.p/|/config.privoxy.org/|g" tools/privoxy-regression-test.pl || die
-
- # autoreconf needs to be called even if we don't modify any autotools source files
- # See main makefile
- eautoreconf
-}
-
-src_configure() {
- local myconf="--without-mbedtls --without-openssl"
- if use ssl; then
- myconf="$(use_with mbedtls) $(use_with openssl)"
- fi
- if use sanitize; then
- myconf+=" --with-usan"
- # msan is available in clang only
- # asan is broken with current configure tests in gcc
- tc-is-clang && myconf+=" --with-msan --with-asan"
- fi
-
- # --with-debug only enables debug CFLAGS
- # --with-docbook and --with-db2html and their deps are useless,
- # since docs are already pregenerated in the source tarball
- econf \
- --sysconfdir=/etc/privoxy \
- --disable-accept-filter \
- --enable-dynamic-pcre \
- --enable-pcre2 \
- --without-assertions \
- --with-user=privoxy \
- --with-group=privoxy \
- $(use_enable acl acl-support) \
- $(use_enable compression) \
- $(use_enable client-tags) \
- $(use_enable editor) \
- $(use_enable extended-host-patterns pcre-host-patterns) \
- $(use_enable extended-statistics) \
- $(use_enable fast-redirects) \
- $(use_enable force) \
- $(use_enable fuzz) \
- $(use_enable graceful-termination) \
- $(use_enable image-blocking) \
- $(use_enable jit pcre-jit-compilation) \
- $(use_enable ipv6 ipv6-support) \
- $(use_enable lfs large-file-support) \
- $(use_enable png-images no-gifs) \
- $(use_enable stats) \
- $(use_enable threads pthread) \
- $(use_enable toggle) \
- $(use_enable whitelists trust-files) \
- $(use_enable zlib) \
- $(use_with brotli) \
- ${myconf}
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}/privoxy.initd-3" privoxy
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/privoxy.logrotate" privoxy
-
- diropts -m 0750 -g privoxy -o privoxy
- keepdir /var/log/privoxy
-
- use extended-host-patterns && newbin tools/url-pattern-translator.pl privoxy-url-pattern-translator.pl
- if use tools; then
- dobin tools/{privoxy-log-parser.pl,privoxy-regression-test.pl}
- newbin tools/uagen.pl privoxy-uagen.pl
- fi
-
- rmdir "${ED}/var/run" || die
- chown privoxy:root "${ED}/etc/privoxy" || die
-}
-
-pkg_postinst() {
- if use extended-host-patterns; then
- ewarn
- ewarn "You enabled extended-host-patterns, now you *must* convert all action files in"
- ewarn "PCRE-compatible format, or privoxy will fail to start. Helper tool"
- ewarn "privoxy-url-pattern-translator.pl is available."
- ewarn
- fi
-}
diff --git a/net-proxy/redsocks/Manifest b/net-proxy/redsocks/Manifest
deleted file mode 100644
index 6ac3501de323..000000000000
--- a/net-proxy/redsocks/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST redsocks-0.5.tar.gz 496403 BLAKE2B 7416340a7142669c72a8aeebc2c0775a393781de7fcbb63e4fbc71ce828658bc2b0615b394a990683c9fd13f41f050c92609dd956b4468bb06ec1ff261324c23 SHA512 678faca95b3570f793754abfe752b3d3580ea125aac8615ca2a1fce92cd50e7919832afe7cf5d1cc40b700045fca08f86ea1697d062ac8e7be706d166e69ff70
diff --git a/net-proxy/redsocks/files/redsocks.conf b/net-proxy/redsocks/files/redsocks.conf
deleted file mode 100644
index 76b2c5f893c4..000000000000
--- a/net-proxy/redsocks/files/redsocks.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-# Config file for /etc/init.d/redsocks
-
-# Path to the redsocks binary (needs to be absolute path).
-
-#REDSOCKS_BINARY="/usr/sbin/redsocks"
-
-# Path to the redsocks config (needs to be absolute path).
-
-#REDSOCKS_CONFIG="/etc/redsocks.conf"
-
-# Pid file to use (needs to be absolute path).
-
-#REDSOCKS_PIDFILE="/run/redsocks/redsocks.pid"
-
-rc_use="logger"
diff --git a/net-proxy/redsocks/files/redsocks.init-r2 b/net-proxy/redsocks/files/redsocks.init-r2
deleted file mode 100644
index 8ea9998a5da3..000000000000
--- a/net-proxy/redsocks/files/redsocks.init-r2
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command=${REDSOCKS_BINARY:=/usr/sbin/redsocks}
-: ${REDSOCKS_CONFIG:=/etc/redsocks.conf}
-pidfile=${REDSOCKS_PIDFILE:=/run/redsocks/redsocks.pid}
-command_args="-p ${pidfile} -c ${REDSOCKS_CONFIG}"
-
-extra_commands="checkconfig"
-extra_started_commands="reload"
-
-depend() {
- need localmount
- use dns
-}
-
-checkconfig() {
- if [ ! -f "${REDSOCKS_CONFIG}" ] ; then
- eerror "No ${REDSOCKS_CONFIG} file exists!"
- return 1
- fi
-
- "${command}" -t -c ${REDSOCKS_CONFIG} || return 1
-
- checkpath -d -o "redsocks:redsocks" -q "/run/redsocks"
-}
-
-start_pre() {
- checkconfig || return 1
-}
-
-stop_pre() {
- if [ "${RC_CMD}" = "restart" ] ; then
- checkconfig || return 1
- fi
-}
-
-reload() {
- checkconfig || return 1
-
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $?
-}
diff --git a/net-proxy/redsocks/files/redsocks.service b/net-proxy/redsocks/files/redsocks.service
deleted file mode 100644
index 9306dbb8857f..000000000000
--- a/net-proxy/redsocks/files/redsocks.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Transparent redirector of any TCP connection to proxy using your firewall
-
-[Service]
-Type=forking
-PIDFile=/run/redsocks/redsocks.pid
-User=redsocks
-RuntimeDirectory=redsocks
-ExecStartPre=/usr/sbin/redsocks -t -c /etc/redsocks.conf
-ExecStart=/usr/sbin/redsocks -c /etc/redsocks.conf \
- -p /run/redsocks/redsocks.pid
-ExecStopPost=/bin/rm /run/redsocks/redsocks.pid
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/redsocks/metadata.xml b/net-proxy/redsocks/metadata.xml
deleted file mode 100644
index 8acddc5f1f73..000000000000
--- a/net-proxy/redsocks/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">
- <email>mattst88@gentoo.org</email>
- <name>Matt Turner</name>
- </maintainer>
- <longdescription lang="en">
- Redirect any TCP connection to a SOCKS or HTTPS proxy server Redsocks
- is a daemon running on the local system, that will transparently tunnel
- any TCP connection via a remote SOCKS4, SOCKS5 or HTTP proxy server. It
- uses the system firewall's redirection facility to intercept TCP
- connections, thus the redirection is system-wide, with fine-grained
- control, and does not depend on LD_PRELOAD libraries.
-
- Redsocks supports tunneling TCP connections and UDP packets. It has
- authentication support for both, SOCKS and HTTP proxies.
-
- Also included is a small DNS server returning answers with the
- "truncated" flag set for any UDP query, forcing the resolver to use
- TCP.
- </longdescription>
- <upstream>
- <remote-id type="github">darkk/redsocks</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/redsocks/redsocks-0.5-r2.ebuild b/net-proxy/redsocks/redsocks-0.5-r2.ebuild
deleted file mode 100644
index 5a182c79906f..000000000000
--- a/net-proxy/redsocks/redsocks-0.5-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} != *9999* ]]; then
- SRC_URI="https://github.com/darkk/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/"${PN}"-release-"${PV}"
- KEYWORDS="~amd64 ~x86"
-else
- GIT_ECLASS="git-r3"
- EGIT_REPO_URI="https://github.com/darkk/${PN}.git"
-fi
-
-inherit systemd toolchain-funcs ${GIT_ECLASS}
-
-DESCRIPTION="Transparent redirector of any TCP connection to proxy"
-HOMEPAGE="http://darkk.net.ru/redsocks/"
-LICENSE="Apache-2.0 LGPL-2.1+ ZLIB"
-SLOT="0"
-IUSE="doc"
-RESTRICT="test"
-
-DEPEND="dev-libs/libevent:0="
-RDEPEND="
- ${DEPEND}
- acct-group/redsocks
- acct-user/redsocks
- net-firewall/iptables
-"
-
-src_compile() {
- CC="$(tc-getCC)" emake
-}
-
-src_install() {
- dosbin redsocks
- doman debian/redsocks.8
- use doc && dodoc README doc/*
- insinto /etc
- newins debian/redsocks.conf redsocks.conf
-
- newinitd "${FILESDIR}"/redsocks.init-r2 redsocks
- newconfd "${FILESDIR}"/redsocks.conf redsocks
-
- systemd_dounit "${FILESDIR}"/redsocks.service
-}
diff --git a/net-proxy/redsocks/redsocks-9999.ebuild b/net-proxy/redsocks/redsocks-9999.ebuild
deleted file mode 100644
index 5a182c79906f..000000000000
--- a/net-proxy/redsocks/redsocks-9999.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} != *9999* ]]; then
- SRC_URI="https://github.com/darkk/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/"${PN}"-release-"${PV}"
- KEYWORDS="~amd64 ~x86"
-else
- GIT_ECLASS="git-r3"
- EGIT_REPO_URI="https://github.com/darkk/${PN}.git"
-fi
-
-inherit systemd toolchain-funcs ${GIT_ECLASS}
-
-DESCRIPTION="Transparent redirector of any TCP connection to proxy"
-HOMEPAGE="http://darkk.net.ru/redsocks/"
-LICENSE="Apache-2.0 LGPL-2.1+ ZLIB"
-SLOT="0"
-IUSE="doc"
-RESTRICT="test"
-
-DEPEND="dev-libs/libevent:0="
-RDEPEND="
- ${DEPEND}
- acct-group/redsocks
- acct-user/redsocks
- net-firewall/iptables
-"
-
-src_compile() {
- CC="$(tc-getCC)" emake
-}
-
-src_install() {
- dosbin redsocks
- doman debian/redsocks.8
- use doc && dodoc README doc/*
- insinto /etc
- newins debian/redsocks.conf redsocks.conf
-
- newinitd "${FILESDIR}"/redsocks.init-r2 redsocks
- newconfd "${FILESDIR}"/redsocks.conf redsocks
-
- systemd_dounit "${FILESDIR}"/redsocks.service
-}
diff --git a/net-proxy/rejik/Manifest b/net-proxy/rejik/Manifest
deleted file mode 100644
index 7ab17756ec29..000000000000
--- a/net-proxy/rejik/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST banlists-2.x.x.tgz 116100 BLAKE2B 401d3cd995b7e2adcb28055c4f107799a87397a1ed06c698d70b2a4b755565759d7f56eb70a8d59a5ea04cdc51c6142d6bd03ebdd414133fd71792c66c5fe54e SHA512 068d01685e01679b2726da1cbc5f31f6aba54ab2194e8ab145bd2409e7fc71e3662445a8274b08746e5cdeadea2197f5a72a1abef98ec91267df851615b188b3
-DIST redirector-3.2.11.tgz 45758 BLAKE2B 39f83c8245d8a24c7454d40d607c851250bd9844f56ee8e9f43d64f32ac3cb52d9c1d9091e3d5126133d94fe59d5be8e8d99b7f2cb253c7731a73e344604a1ce SHA512 e4b20f11a46a84d47c8e6adc74f88f6092f9791e1b6050a3e3b4685cf4c510b55f32ea3d4c9a334dbe5753ee486b98ca73bb7e2d9854e2c8d299b7fd50fce2f8
diff --git a/net-proxy/rejik/metadata.xml b/net-proxy/rejik/metadata.xml
deleted file mode 100644
index b065aa0b631b..000000000000
--- a/net-proxy/rejik/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 -->
- <use>
- <flag name="banlists">Install upstream provided simple banlists</flag>
- </use>
-</pkgmetadata>
diff --git a/net-proxy/rejik/rejik-3.2.11.ebuild b/net-proxy/rejik/rejik-3.2.11.ebuild
deleted file mode 100644
index da5a1a17a739..000000000000
--- a/net-proxy/rejik/rejik-3.2.11.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="A squid redirector used for blocking unwanted content"
-HOMEPAGE="https://rejik.ru/"
-SRC_URI="https://rejik.ru/download/redirector-${PV}.tgz
- banlists? ( http://rejik.ru/download/banlists-2.x.x.tgz )"
-S="${WORKDIR}/redirector-${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="banlists"
-
-DEPEND="dev-libs/libpcre"
-RDEPEND="${DEPEND}
- dev-perl/Text-Iconv
- dev-perl/XML-Parser
- net-proxy/squid"
-
-src_prepare() {
- # Workaround for GCC 10 failure, bug #706766
- append-cflags -fcommon
-
- sed -i -e "s:INSTALL_PATH=/usr/local/rejik3:INSTALL_PATH=${ED}/opt/rejik:g" Makefile || die
- sed -i -e "s:/usr/local/rejik3:/opt/rejik:g" vars.h || die
- sed -i -e "s:SQUID_USER=nobody:SQUID_USER=squid:g" Makefile || die
- sed -i -e "s:SQUID_GROUP=nogroup:SQUID_GROUP=squid:g" Makefile || die
- # Respect CFLAGS
- sed -i -e "s;CC=gcc -Wall;CC=$(tc-getCC) $CFLAGS;" Makefile || die
- # Respect LDFLAGS
- sed -i -e "s:LIBS=-L/lib \`pcre-config --libs\`:LIBS=-L/lib \`pcre-config --libs\` $LDFLAGS:" Makefile || die
- #
- sed -i -e "s:error_log /usr/local/rejik3:error_log /var/log/rejik:g" redirector.conf.dist || die
- sed -i -e "s:change_log /usr/local/rejik3:change_log /var/log/rejik:g" redirector.conf.dist || die
- sed -i -e "s:/usr/local/rejik3:/opt/rejik:g" redirector.conf.dist || die
-
- default
-}
-
-src_install() {
- exeinto /opt/rejik
- insinto /opt/rejik
-
- doexe make-cache
- doexe redirector
- doins redirector.conf.dist
-
- insinto /opt/rejik/tools
- exeinto /opt/rejik/tools
-
- doexe tools/kill-cache
- doexe tools/benchmark
- doins tools/IN.gz
-
- fowners -R squid:squid /opt/rejik
- fperms 750 /opt/rejik
-
- keepdir /var/log/rejik
- fowners -R squid:squid /var/log/rejik
-
- if use banlists; then
- insinto /opt/rejik
- doins -r "${WORKDIR}/banlists"
- fi
-}
-
-pkg_postinst() {
- einfo ""
- einfo "Copy /opt/rejik/redirector.conf.dist to /opt/rejik/redirector.conf and add line"
- einfo "for squid 3.*"
- einfo "url_rewrite_program /opt/rejik/redirector /opt/rejik/redirector.conf "
- einfo "for squid 2.*"
- einfo "redirect_program /opt/rejik/redirector /opt/rejik/redirector.conf"
- einfo "to /etc/squid/squid.conf"
- einfo ""
- einfo "Don't forget to edit /opt/rejik/redirector.conf"
- einfo "Be sure redirector.conf has right permissions"
-}
diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest
deleted file mode 100644
index 077899cf5d8d..000000000000
--- a/net-proxy/shadowsocks-libev/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST shadowsocks-libev-3.3.5.tar.gz 303368 BLAKE2B bb7d6e64596710402db94085044c20315028395723828fa82dfba419bc41a0c740ece1f79c6cf05dda395d9442d553429f66d7f7b2de3cdd188d5b6adb0b8edf SHA512 c0cc869b4b7661ebd348bd5559c6a17c44b66a5f42374d97023adcfb525d934da3ed96245ff792ebc74870d30dd8f71fadcd89c79b2cd8a98d551ff7592508d0
diff --git a/net-proxy/shadowsocks-libev/files/shadowsocks.initd b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
deleted file mode 100644
index 994ba23e3b8b..000000000000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks.initd
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-SS_CONFIG="/etc/shadowsocks-libev/shadowsocks.json"
-
-SS_PIDFILE="/run/shadowsocks.pid"
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -f ${SS_CONFIG} ]; then
- ewarn "${SS_CONFIG} does not exist."
- fi
-
- SS_SVCNAME="${RC_SVCNAME#*.}"
- case ${SS_SVCNAME} in
- client)
- SS_COMMAND="/usr/bin/ss-local"
- return 0
- ;;
- server)
- SS_COMMAND="/usr/bin/ss-server"
- return 0
- ;;
- redir)
- SS_COMMAND="/usr/bin/ss-redir"
- return 0
- ;;
- tunnel)
- SS_COMMAND="/usr/bin/ss-tunnel"
- return 0
- ;;
- *)
- eerror "please choose to run as server or client mode"
- eerror " server: rc-update add shadowsocks.server default"
- eerror " client: rc-update add shadowsocks.client default"
- eerror " client: rc-update add shadowsocks.redir default"
- eerror " client: rc-update add shadowsocks.tunnel default"
- return 1
- ;;
- esac
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Shadowsocks: ${SS_SVCNAME} mode"
- start-stop-daemon --start --exec ${SS_COMMAND} \
- --user nobody --group nobody \
- -- -c ${SS_CONFIG} -f ${SS_PIDFILE} >/dev/null 2>&1 &
- eend $?
-}
-
-stop() {
- ebegin "Stopping Shadowsocks"
- start-stop-daemon --stop \
- --user nobody --group nobody \
- --pidfile ${SS_PIDFILE}
- eend $?
-}
-
diff --git a/net-proxy/shadowsocks-libev/files/shadowsocks.json b/net-proxy/shadowsocks-libev/files/shadowsocks.json
deleted file mode 100644
index a29c3a59b0ef..000000000000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "server":"server ip",
- "server_port":8388,
- "local_port":1080,
- "password":"password",
- "timeout":600,
- "method":"aes-256-cfb"
-}
diff --git a/net-proxy/shadowsocks-libev/metadata.xml b/net-proxy/shadowsocks-libev/metadata.xml
deleted file mode 100644
index 3016539a92b8..000000000000
--- a/net-proxy/shadowsocks-libev/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>dlan@gentoo.org</email>
- <name>Yixun Lan</name>
- </maintainer>
- <upstream>
- <remote-id type="github">shadowsocks/shadowsocks-libev</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild
deleted file mode 100644
index ba12d030c9d5..000000000000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="v${PV}"
-inherit autotools dot-a systemd
-
-DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low end boxes"
-HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev"
-
-#repack with git submodule populated: libbloom, libcork, libipset
-#SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz"
-
-SRC_URI="https://github.com/shadowsocks/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE="debug doc"
-
-RDEPEND="net-libs/mbedtls:0=
- >=net-libs/libbloom-1.6
- net-libs/libcork
- net-libs/libcorkipset
- >=dev-libs/libsodium-1.0.8:=
- dev-libs/libev
- net-dns/c-ares
- dev-libs/libpcre
- "
-DEPEND="${RDEPEND}
- sys-kernel/linux-headers
- doc? (
- app-text/asciidoc
- app-text/xmlto
- )
- "
-
-src_prepare() {
- sed -i -e 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' \
- configure.ac || die
- sed -i -e 's|-Werror||g' \
- configure.ac src/Makefile.am || die
-
- default
- eautoreconf
-}
-
-src_configure() {
- lto-guarantee-fat
-
- local myconf="
- $(use_enable debug assert)
- --enable-system-shared-lib
- "
- use doc || myconf+="--disable-documentation"
- econf ${myconf}
-}
-
-src_install() {
- default
- strip-lto-bytecode
-
- find "${D}" -name '*.la' -type f -delete || die
-
- insinto "/etc/${PN}"
- newins "${FILESDIR}/shadowsocks.json" shadowsocks.json
-
- newinitd "${FILESDIR}/shadowsocks.initd" shadowsocks
- dosym shadowsocks /etc/init.d/shadowsocks.server
- dosym shadowsocks /etc/init.d/shadowsocks.client
- dosym shadowsocks /etc/init.d/shadowsocks.redir
- dosym shadowsocks /etc/init.d/shadowsocks.tunnel
-
- dodoc -r acl
-
- for i in debian/${PN}*.service; do
- systemd_newunit $i $(basename $i)
- done
-}
-
-pkg_setup() {
- elog "You need to choose the mode"
- elog " server: rc-update add shadowsocks.server default"
- elog " client: rc-update add shadowsocks.client default"
- elog " redir: rc-update add shadowsocks.redir default"
- elog " tunnel: rc-update add shadowsocks.tunnel default"
-}
diff --git a/net-proxy/shadowsocks-rust/Manifest b/net-proxy/shadowsocks-rust/Manifest
deleted file mode 100644
index 210d4d89d4d2..000000000000
--- a/net-proxy/shadowsocks-rust/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST shadowsocks-rust-1.22.0-crates.tar.xz 46321660 BLAKE2B bbbc34bf545c1d32ef486fa1ab006837f856b868b9d14c59dd8e77356a42ca2b1e2bcac491327a30ad01f10c325179b03460179328c13666ca645d5328c0b521 SHA512 278536032dc9242b1698a61d16f73b74be88106982b5460d0cf24b4921e2e0e48f3bfcb43d5e1d7d2f7365001c167409e6daa22caafb42cf93cfb1ec243611f1
-DIST shadowsocks-rust-1.22.0.tar.gz 503479 BLAKE2B 657e2f69c3b846233e09ae9b3eba6b5bd6c86ade2d293ded3144c88fbe1565969a71750b74c0aa9713aa10b200fa990a8f2ca6e292485fc683e0391fd9dcfff9 SHA512 047f779d1ff991edc696a9d4c217ab1e0aed79a112c8e49eaf8dc95995f8a66beb95a651ee15edf38ad313528fb99e9420ec55b8761aef2bac672c8f5ba6c450
diff --git a/net-proxy/shadowsocks-rust/metadata.xml b/net-proxy/shadowsocks-rust/metadata.xml
deleted file mode 100644
index dbc0c0c80680..000000000000
--- a/net-proxy/shadowsocks-rust/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>strdenis02@gmail.com</email>
- <name>Denis Strizhkin</name>
- </maintainer>
- <upstream>
- <remote-id type="github">shadowsocks/shadowsocks-rust</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/shadowsocks-rust/shadowsocks-rust-1.22.0.ebuild b/net-proxy/shadowsocks-rust/shadowsocks-rust-1.22.0.ebuild
deleted file mode 100644
index 15e239e26f2c..000000000000
--- a/net-proxy/shadowsocks-rust/shadowsocks-rust-1.22.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.13.5
-
-EAPI=8
-
-CRATES="
-"
-
-inherit cargo systemd
-
-DESCRIPTION="A Rust port of shadowsocks"
-HOMEPAGE="https://shadowsocks.org"
-SRC_URI="
- ${CARGO_CRATE_URIS}
-"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+="
- https://github.com/shadowsocks/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/denisstrizhkin/${PN}-crates/releases/download/${PV}/${PN}-${PV}-crates.tar.xz
- "
-fi
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
- 0BSD Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0
- WTFPL-2
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-src_configure() {
- local myfeatures=(
- full
- )
- cargo_src_configure
-}
-
-src_install() {
- systemd_dounit debian/shadowsocks-rust-local@.service
- systemd_dounit debian/shadowsocks-rust-server@.service
- cargo_src_install
-}
diff --git a/net-proxy/snowflake/Manifest b/net-proxy/snowflake/Manifest
deleted file mode 100644
index 73b8beac0bd3..000000000000
--- a/net-proxy/snowflake/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST snowflake-v2.11.0.tar.gz 24974351 BLAKE2B 9d9876cd98e2346dde99be2fe134057743a68e9b4cb1480fa477839386188acc8c9ba789f80360ea17bdb2c995c07f76bb6782e36610bcb09cb88424fd36dc8c SHA512 801a78845cbd65967f4995b98015ddf2b2518f280beb179da6cf233d51c3dc16d0384255771f8f4e768d1c21bc8924299b541299c28eea510dcb14cdc0cb7356
-DIST snowflake-v2.12.1.tar.gz 26018920 BLAKE2B abc00c5232da56d8a19104c75211aa71360cd3f01d8b66888b435027323c8c724183e64520c1cec08ba3075a934967e294f415c62fd41812b76ab3f2d558f602 SHA512 5d39fb61223d92625bc6cff960c5ef4f6ac77f44207c4e958c23e9e4bfe86cb46c9c9312f4b10ee05ed94a7841a590e37ab2b371df5da290667a38a6167f5a30
diff --git a/net-proxy/snowflake/files/snowflake-proxy.initd b/net-proxy/snowflake/files/snowflake-proxy.initd
deleted file mode 100644
index 19c848b698e4..000000000000
--- a/net-proxy/snowflake/files/snowflake-proxy.initd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-#
-# shellcheck shell=sh
-
-supervisor="supervise-daemon"
-command="/usr/bin/snowflake-proxy"
-command_args="${SNOWFLAKE_PROXY_OPTS}"
-command_background=1
-command_user="nobody:nobody"
-
-depend() {
- after net
-}
diff --git a/net-proxy/snowflake/files/snowflake-proxy.service b/net-proxy/snowflake/files/snowflake-proxy.service
deleted file mode 100644
index 0cb15088088d..000000000000
--- a/net-proxy/snowflake/files/snowflake-proxy.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Snowflake Proxy
-Documentation=man:snowflake-proxy
-Documentation=https://snowflake.torproject.org
-After=network-online.target nss-lookup.target
-Wants=network-online.target
-
-[Service]
-ExecStart=/usr/bin/snowflake-proxy
-Restart=on-failure
-
-DynamicUser=true
-NoNewPrivileges=true
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/snowflake/metadata.xml b/net-proxy/snowflake/metadata.xml
deleted file mode 100644
index dcd4d673bb45..000000000000
--- a/net-proxy/snowflake/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>
- <bugs-to>https://anonticket.torproject.org</bugs-to>
- <changelog>https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/blob/main/ChangeLog</changelog>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/snowflake/snowflake-2.11.0-r1.ebuild b/net-proxy/snowflake/snowflake-2.11.0-r1.ebuild
deleted file mode 100644
index 001256e9480f..000000000000
--- a/net-proxy/snowflake/snowflake-2.11.0-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-MY_P="${PN}-v${PV}"
-JOB_ID="898266" # Keep this in sync with the link with "other" in releases
-DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
-HOMEPAGE="
- https://snowflake.torproject.org
- https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
-"
-SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/raw/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD Apache-2.0 BSD-2 CC0-1.0 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND=">=dev-lang/go-1.21"
-
-src_configure() {
- COMPONENTS=(
- broker
- client
- probetest
- proxy
- server
- )
-}
-
-src_compile() {
- for component in "${COMPONENTS[@]}"; do
- pushd ${component} || die
- einfo "Building ${component}"
- nonfatal ego build || die "${component}: build failed"
- popd || die
- done
-}
-
-src_test() {
- ego test ./...
-}
-
-src_install() {
- local component
- for component in "${COMPONENTS[@]}"; do
- newbin ${component}/${component} snowflake-${component}
- newdoc ${component}/README.md README_${component}.md
- done
-
- systemd_dounit "${FILESDIR}"/snowflake-proxy.service
- newinitd "${FILESDIR}"/snowflake-proxy.initd snowflake-proxy
-
- einstalldocs
- dodoc doc/*.txt doc/*.md
- doman doc/*.1
-}
diff --git a/net-proxy/snowflake/snowflake-2.12.1.ebuild b/net-proxy/snowflake/snowflake-2.12.1.ebuild
deleted file mode 100644
index 3b825e65019f..000000000000
--- a/net-proxy/snowflake/snowflake-2.12.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-MY_P="${PN}-v${PV}"
-JOB_ID="1413878" # Keep this in sync with the link with "other" in releases
-DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
-HOMEPAGE="
- https://snowflake.torproject.org
- https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
-"
-SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/file/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD Apache-2.0 BSD-2 CC0-1.0 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND=">=dev-lang/go-1.21"
-
-src_configure() {
- COMPONENTS=(
- broker
- client
- probetest
- proxy
- server
- )
-}
-
-src_compile() {
- for component in "${COMPONENTS[@]}"; do
- pushd ${component} || die
- einfo "Building ${component}"
- nonfatal ego build || die "${component}: build failed"
- popd || die
- done
-}
-
-src_test() {
- ego test ./...
-}
-
-src_install() {
- local component
- for component in "${COMPONENTS[@]}"; do
- newbin ${component}/${component} snowflake-${component}
- newdoc ${component}/README.md README_${component}.md
- done
-
- systemd_dounit "${FILESDIR}"/snowflake-proxy.service
- newinitd "${FILESDIR}"/snowflake-proxy.initd snowflake-proxy
-
- einstalldocs
- dodoc doc/*.txt doc/*.md
- doman doc/*.1
-}
diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest
deleted file mode 100644
index b233f742d904..000000000000
--- a/net-proxy/squid/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST squid-6.14.tar.xz 2548456 BLAKE2B 286f54ac85cb98bf759d0591c458d27d060759f4156136edf785adce80e5a49fe4d8d6648fcb40e3bc6bf171fa0a341d2b76804702f486266fc8daec8e1d6d58 SHA512 5905060ae8d70128516c26cf379ed5b434c02525efe0e17ac56d4e060af7542b4a7a41ac3eca5ba5a00867791aed18ed5ed0e247b18a376e1ae7bc13039782f5
-DIST squid-6.14.tar.xz.asc 745 BLAKE2B 5aede7d130194463cfa6ffea866ab483859cf47a92504141a18774c0ffeb93033e9c3ff90dd91bb73095df345829121e8e28898bedcfce327ae9047664199fb9 SHA512 5cc102787796db1cf4c71e9e21d3462becdd869eb72cd69a5c4ca74f60628a98a5543aabe7a0d0bc74c99a62bae0678d3ae6eab9dfe0e4dfb9c063678005f2e3
-DIST squid-6.9-memleak_fix.patch 22178 BLAKE2B bf87a98ac3ddcf27b817b7b09a1a7656cb6547c7c157d02a3daf4b337669180718e1df06040b9b4be252a9f60fc767d94ed698014113c072dd9b91ada08a1adc SHA512 38754b1f593dde3e7ab70601bdaaabf8c1c40beea0ae9913684d3de78d76cec4243abac8e315af2009b98e096a3b04c56181940f0528716278aaf7c44ea76dad
-DIST squid-7.5.tar.xz 2432664 BLAKE2B 3ceb6f9da34e9fdbf421de0058e211d1e71dcd2bffd6c26e139c01a272cdfe580b41ed4f3b11abd6a819fbeb6e37c8418824590a56058c369a8ca3efb5dbc5f3 SHA512 2abe4c7a719606b2f33a7e9af2a6e151a0c50bdf81210af5393f26d32fa3b3a4e88af2588b9b9d66513e83721e75a248c0891ee7099d32979948c2f3bb6c2a73
-DIST squid-7.5.tar.xz.asc 659 BLAKE2B f40d7575aa58111a85a71490a50ef5dde997d30cedd77cccb567a0bc2ed05d5a54e714415a0b9d72008ac64eab1d479d8aa23845ca0e8f2b6e43ca08da517fa0 SHA512 980bb4522d8b086c9ccee976d39dcd4d80a604f1720d44f6700c14d46418750c06b324b4394c648775e7306d5068b51ade8340c62215dbd20a8b665765518001
diff --git a/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch b/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch
deleted file mode 100644
index 219f2ab6cf70..000000000000
--- a/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/830099
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -6,11 +6,8 @@
- ##
-
- AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
--DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc src test-suite tools
-+DIST_SUBDIRS = compat lib scripts icons errors contrib doc src test-suite tools
- SUBDIRS = compat lib
--if ENABLE_LOADABLE_MODULES
--SUBDIRS += libltdl
--endif
- SUBDIRS += scripts icons errors doc src tools test-suite
-
- DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
diff --git a/net-proxy/squid/files/squid-6.12-ar.patch b/net-proxy/squid/files/squid-6.12-ar.patch
deleted file mode 100644
index babfae4f4547..000000000000
--- a/net-proxy/squid/files/squid-6.12-ar.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://github.com/squid-cache/squid/pull/1920
-
-From e9d43d7612ab7bd2b5d04ce0d24e06a342a506e1 Mon Sep 17 00:00:00 2001
-Message-ID: <e9d43d7612ab7bd2b5d04ce0d24e06a342a506e1.1729501292.git.sam@gentoo.org>
-From: Sam James <sam@gentoo.org>
-Date: Mon, 21 Oct 2024 09:56:38 +0100
-Subject: [PATCH] configure.ac: use AC_CHECK_TOOL for ar
-
-Use AC_CHECK_TOOL which checks the environment variable `$AR` as well, which
-is useful for us in Gentoo when cross-compiling.
-
-We could use AC_PROG_AR in newer autoconf or AM_PROG_AR in automake but
-the AR_R use is hardcoded in a bunch of places so not worth it.
-
-Bug: https://bugs.gentoo.org/911945
---- a/configure.ac
-+++ b/configure.ac
-@@ -129,7 +129,7 @@ AS_IF([test "x$ac_cv_path_PERL" = "xnone"],[
- AC_PATH_PROG(POD2MAN, pod2man, $FALSE)
- AM_CONDITIONAL(ENABLE_POD2MAN_DOC, test "x${ac_cv_path_POD2MAN}" != "x$FALSE")
-
--AC_PATH_PROG(AR, ar, $FALSE)
-+AC_CHECK_TOOL(AR, ar, :)
- AR_R="$AR r"
- AC_SUBST(AR_R)
-
---
-2.47.0
-
diff --git a/net-proxy/squid/files/squid-6.14-cachemgr-dont_show_hostname.patch b/net-proxy/squid/files/squid-6.14-cachemgr-dont_show_hostname.patch
deleted file mode 100644
index 315208646474..000000000000
--- a/net-proxy/squid/files/squid-6.14-cachemgr-dont_show_hostname.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://github.com/squid-cache/squid/commit/d94dbed6c700faeded8c4175f2a8d0f71c15755b.patch
-From d94dbed6c700faeded8c4175f2a8d0f71c15755b Mon Sep 17 00:00:00 2001
-From: Amos Jeffries <amosjeffries@squid-cache.org>
-Date: Wed, 5 Nov 2025 10:23:34 +1300
-Subject: [PATCH] Do not show arbitrary hostname in cachemgr.cgi output
-
---- a/tools/cachemgr.cc
-+++ b/tools/cachemgr.cc
-@@ -819,7 +819,7 @@ process_request(cachemgr_request * req)
- }
-
- if (!check_target_acl(req->hostname, req->port)) {
-- snprintf(buf, sizeof(buf), "target %s:%d not allowed in cachemgr.conf\n", req->hostname, req->port);
-+ snprintf(buf, sizeof(buf), "target host not allowed in cachemgr.conf\n");
- error_html(buf);
- return 1;
- }
diff --git a/net-proxy/squid/files/squid-6.14-proxy_auth_data.patch b/net-proxy/squid/files/squid-6.14-proxy_auth_data.patch
deleted file mode 100644
index fa0aaef12e43..000000000000
--- a/net-proxy/squid/files/squid-6.14-proxy_auth_data.patch
+++ /dev/null
@@ -1,187 +0,0 @@
-https://sources.debian.org/patches/squid/6.13-2+deb13u1/CVE-2025-62168.patch/
-From: Amos Jeffries <yadij@users.noreply.github.com>
-Date: Sat, 11 Oct 2025 16:33:02 +1300
-Subject: [PATCH] Bug 3390: Proxy auth data visible to scripts (#2249)
-
-Original changes to redact credentials from error page %R code
-expansion output was incomplete. It missed the parse failure
-case where ErrorState::request_hdrs raw buffer contained
-sensitive information.
-
-Also missed was the %W case where full request message headers
-were generated in a mailto link. This case is especially
-problematic as it may be delivered over insecure SMTP even if
-the error was secured with HTTPS.
-
-After this change:
-* The HttpRequest message packing code for error pages is de-duplicated
- and elides authentication headers for both %R and %W code outputs.
-* The %R code output includes the CRLF request message terminator.
-* The email_err_data directive causing advanced details to be added to
- %W mailto links is disabled by default.
-
-Also redact credentials from generated TRACE responses.
-
----------
-
-Co-authored-by: Alex Rousskov <rousskov@measurement-factory.com>
-
-origin: backport, https://github.com/squid-cache/squid/commit/0951a0681011dfca3d78c84fd7f1e19c78a4443f
-bug: https://github.com/squid-cache/squid/security/advisories/GHSA-c8cc-phh7-xmxr
-debian-bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118341
---- a/src/HttpRequest.cc
-+++ b/src/HttpRequest.cc
-@@ -341,7 +341,7 @@ HttpRequest::swapOut(StoreEntry * e)
-
- /* packs request-line and headers, appends <crlf> terminator */
- void
--HttpRequest::pack(Packable * p) const
-+HttpRequest::pack(Packable * const p, const bool maskSensitiveInfo) const
- {
- assert(p);
- /* pack request-line */
-@@ -349,8 +349,8 @@ HttpRequest::pack(Packable * p) const
- SQUIDSBUFPRINT(method.image()), SQUIDSBUFPRINT(url.path()),
- http_ver.major, http_ver.minor);
- /* headers */
-- header.packInto(p);
-- /* trailer */
-+ header.packInto(p, maskSensitiveInfo);
-+ /* indicate the end of the header section */
- p->append("\r\n", 2);
- }
-
---- a/src/HttpRequest.h
-+++ b/src/HttpRequest.h
-@@ -206,7 +206,7 @@ public:
-
- void swapOut(StoreEntry * e);
-
-- void pack(Packable * p) const;
-+ void pack(Packable * p, bool maskSensitiveInfo = false) const;
-
- static void httpRequestPack(void *obj, Packable *p);
-
---- a/src/cf.data.pre
-+++ b/src/cf.data.pre
-@@ -8944,12 +8944,18 @@ NAME: email_err_data
- COMMENT: on|off
- TYPE: onoff
- LOC: Config.onoff.emailErrData
--DEFAULT: on
-+DEFAULT: off
- DOC_START
- If enabled, information about the occurred error will be
- included in the mailto links of the ERR pages (if %W is set)
- so that the email body contains the data.
- Syntax is <A HREF="mailto:%w%W">%w</A>
-+
-+ SECURITY WARNING:
-+ Request headers and other included facts may contain
-+ sensitive information about transaction history, the
-+ Squid instance, and its environment which would be
-+ unavailable to error recipients otherwise.
- DOC_END
-
- NAME: deny_info
---- a/src/client_side_reply.cc
-+++ b/src/client_side_reply.cc
-@@ -94,7 +94,7 @@ clientReplyContext::clientReplyContext(ClientHttpRequest *clientContext) :
- void
- clientReplyContext::setReplyToError(
- err_type err, Http::StatusCode status, char const *uri,
-- const ConnStateData *conn, HttpRequest *failedrequest, const char *unparsedrequest,
-+ const ConnStateData *conn, HttpRequest *failedrequest, const char *,
- #if USE_AUTH
- Auth::UserRequest::Pointer auth_user_request
- #else
-@@ -104,9 +104,6 @@ clientReplyContext::setReplyToError(
- {
- auto errstate = clientBuildError(err, status, uri, conn, failedrequest, http->al);
-
-- if (unparsedrequest)
-- errstate->request_hdrs = xstrdup(unparsedrequest);
--
- #if USE_AUTH
- errstate->auth_user_request = auth_user_request;
- #endif
-@@ -995,11 +992,14 @@ clientReplyContext::traceReply()
- triggerInitialStoreRead();
- http->storeEntry()->releaseRequest();
- http->storeEntry()->buffer();
-+ MemBuf content;
-+ content.init();
-+ http->request->pack(&content, true /* hide authorization data */);
- const HttpReplyPointer rep(new HttpReply);
-- rep->setHeaders(Http::scOkay, nullptr, "text/plain", http->request->prefixLen(), 0, squid_curtime);
-+ rep->setHeaders(Http::scOkay, nullptr, "message/http", content.contentSize(), 0, squid_curtime);
-+ rep->body.set(SBuf(content.buf, content.size));
- http->storeEntry()->replaceHttpReply(rep);
-- http->request->swapOut(http->storeEntry());
-- http->storeEntry()->complete();
-+ http->storeEntry()->completeSuccessfully("traceReply() stored the entire response");
- }
-
- #define SENDING_BODY 0
---- a/src/errorpage.cc
-+++ b/src/errorpage.cc
-@@ -792,7 +792,6 @@ ErrorState::~ErrorState()
- {
- safe_free(redirect_url);
- safe_free(url);
-- safe_free(request_hdrs);
- wordlistDestroy(&ftp.server_msg);
- safe_free(ftp.request);
- safe_free(ftp.reply);
-@@ -850,7 +849,7 @@ ErrorState::Dump(MemBuf * mb)
- SQUIDSBUFPRINT(request->url.path()),
- AnyP::ProtocolType_str[request->http_ver.protocol],
- request->http_ver.major, request->http_ver.minor);
-- request->header.packInto(&str);
-+ request->header.packInto(&str, true /* hide authorization data */);
- }
-
- str.append("\r\n", 2);
-@@ -1112,18 +1111,10 @@ ErrorState::compileLegacyCode(Build &build)
- p = "[no request]";
- break;
- }
-- if (request) {
-- mb.appendf(SQUIDSBUFPH " " SQUIDSBUFPH " %s/%d.%d\n",
-- SQUIDSBUFPRINT(request->method.image()),
-- SQUIDSBUFPRINT(request->url.path()),
-- AnyP::ProtocolType_str[request->http_ver.protocol],
-- request->http_ver.major, request->http_ver.minor);
-- request->header.packInto(&mb, true); //hide authorization data
-- } else if (request_hdrs) {
-- p = request_hdrs;
-- } else {
-+ else if (request)
-+ request->pack(&mb, true /* hide authorization data */);
-+ else
- p = "[no request]";
-- }
- break;
-
- case 's':
---- a/src/errorpage.h
-+++ b/src/errorpage.h
-@@ -194,7 +194,6 @@ public:
- MemBuf *listing = nullptr;
- } ftp;
-
-- char *request_hdrs = nullptr;
- char *err_msg = nullptr; /* Preformatted error message from the cache */
-
- AccessLogEntryPointer ale; ///< transaction details (or nil)
---- a/src/tests/stub_HttpRequest.cc
-+++ b/src/tests/stub_HttpRequest.cc
-@@ -45,7 +45,7 @@ bool HttpRequest::expectingBody(const HttpRequestMethod &, int64_t &) const STUB
- bool HttpRequest::bodyNibbled() const STUB_RETVAL(false)
- int HttpRequest::prefixLen() const STUB_RETVAL(0)
- void HttpRequest::swapOut(StoreEntry *) STUB
--void HttpRequest::pack(Packable *) const STUB
-+void HttpRequest::pack(Packable *, bool) const STUB
- void HttpRequest::httpRequestPack(void *, Packable *) STUB
- HttpRequest * HttpRequest::FromUrl(const SBuf &, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
- HttpRequest * HttpRequest::FromUrlXXX(const char *, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
diff --git a/net-proxy/squid/files/squid-6.2-gentoo.patch b/net-proxy/squid/files/squid-6.2-gentoo.patch
deleted file mode 100644
index 2444c74a71d0..000000000000
--- a/net-proxy/squid/files/squid-6.2-gentoo.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,9 +33,6 @@ PRESET_CFLAGS="$CFLAGS"
- PRESET_CXXFLAGS="$CXXFLAGS"
- PRESET_LDFLAGS="$LDFLAGS"
-
--dnl Set default LDFLAGS
--AS_IF([test "x$LDFLAGS" = "x"],[LDFLAGS="-g"])
--
- # check for host OS detail
- AC_CANONICAL_HOST
- AC_MSG_CHECKING([simplified host os])
---- a/src/cf.data.pre
-+++ b/src/cf.data.pre
-@@ -1669,6 +1669,7 @@ acl Safe_ports port 280 # http-mgmt
- acl Safe_ports port 488 # gss-http
- acl Safe_ports port 591 # filemaker
- acl Safe_ports port 777 # multiling http
-+acl Safe_ports port 901 # SWAT
- CONFIG_END
- DOC_END
-
-@@ -7447,11 +7448,11 @@ COMMENT_END
-
- NAME: cache_mgr
- TYPE: string
--DEFAULT: webmaster
-+DEFAULT: root
- LOC: Config.adminEmail
- DOC_START
- Email-address of local cache manager who will receive
-- mail if the cache dies. The default is "webmaster".
-+ mail if the cache dies. The default is "root".
- DOC_END
-
- NAME: mail_from
---- a/src/debug/debug.cc
-+++ b/src/debug/debug.cc
-@@ -1144,7 +1144,7 @@ Debug::SettleSyslog()
- #if HAVE_SYSLOG && defined(LOG_LOCAL4)
-
- if (Debug::log_syslog) {
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, syslog_facility);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, syslog_facility);
- Module().syslogChannel.markOpened();
- }
-
---- a/src/main.cc
-+++ b/src/main.cc
-@@ -1867,7 +1867,7 @@ watch_child(const CommandLine &masterCommand)
-
- enter_suid();
-
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
-
- if (!opt_foreground)
- GoIntoBackground();
-@@ -1959,7 +1959,7 @@ watch_child(const CommandLine &masterCommand)
-
- if ((pid = fork()) == 0) {
- /* child */
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
- (void)execvp(masterCommand.arg0(), kidCommand.argv());
- int xerrno = errno;
- syslog(LOG_ALERT, "execvp failed: %s", xstrerr(xerrno));
-@@ -1971,7 +1971,7 @@ watch_child(const CommandLine &masterCommand)
- }
-
- /* parent */
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
-
- // If Squid received a signal while checking for dying kids (below) or
- // starting new kids (above), then do a fast check for a new dying kid
diff --git a/net-proxy/squid/files/squid-7.5-ar.patch b/net-proxy/squid/files/squid-7.5-ar.patch
deleted file mode 100644
index f71573b4fdee..000000000000
--- a/net-proxy/squid/files/squid-7.5-ar.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -140,7 +140,7 @@
- AC_PATH_PROG(POD2MAN, pod2man, $FALSE)
- AM_CONDITIONAL(ENABLE_POD2MAN_DOC, test "x${ac_cv_path_POD2MAN}" != "x$FALSE")
-
--AC_PATH_PROG(AR, ar, $FALSE)
-+AC_CHECK_TOOL(AR, ar, :)
- AR_R="$AR r"
- AC_SUBST(AR_R)
-
diff --git a/net-proxy/squid/files/squid-7.5-gentoo.patch b/net-proxy/squid/files/squid-7.5-gentoo.patch
deleted file mode 100644
index 5e5dbfd32061..000000000000
--- a/net-proxy/squid/files/squid-7.5-gentoo.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,9 +33,6 @@
- PRESET_CXXFLAGS="$CXXFLAGS"
- PRESET_LDFLAGS="$LDFLAGS"
-
--dnl Set default LDFLAGS
--AS_IF([test "x$LDFLAGS" = "x"],[LDFLAGS="-g"])
--
- # check for host OS detail
- AC_CANONICAL_HOST
- AC_MSG_CHECKING([simplified host os])
---- a/src/cf.data.pre
-+++ b/src/cf.data.pre
-@@ -1752,6 +1752,7 @@
- acl Safe_ports port 488 # gss-http
- acl Safe_ports port 591 # filemaker
- acl Safe_ports port 777 # multiling http
-+acl Safe_ports port 901 # SWAT
- CONFIG_END
- DOC_END
-
-@@ -7547,11 +7548,11 @@
-
- NAME: cache_mgr
- TYPE: string
--DEFAULT: webmaster
-+DEFAULT: root
- LOC: Config.adminEmail
- DOC_START
- Email-address of local cache manager who will receive
-- mail if the cache dies. The default is "webmaster".
-+ mail if the cache dies. The default is "root".
- DOC_END
-
- NAME: mail_from
---- a/src/debug/debug.cc
-+++ b/src/debug/debug.cc
-@@ -1147,7 +1147,7 @@
- #if HAVE_SYSLOG && defined(LOG_LOCAL4)
-
- if (Debug::log_syslog) {
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, syslog_facility);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, syslog_facility);
- Module().syslogChannel.markOpened();
- }
-
---- a/src/main.cc
-+++ b/src/main.cc
-@@ -1912,7 +1912,7 @@
-
- enter_suid();
-
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
-
- if (!opt_foreground)
- GoIntoBackground();
-@@ -2004,7 +2004,7 @@
-
- if ((pid = fork()) == 0) {
- /* child */
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
- (void)execvp(masterCommand.arg0(), kidCommand.argv());
- int xerrno = errno;
- syslog(LOG_ALERT, "execvp failed: %s", xstrerr(xerrno));
-@@ -2016,7 +2016,7 @@
- }
-
- /* parent */
-- openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL4);
-+ openlog(APP_SHORTNAME, LOG_PID | LOG_NDELAY, LOG_LOCAL4);
-
- // If Squid received a signal while checking for dying kids (below) or
- // starting new kids (above), then do a fast check for a new dying kid
diff --git a/net-proxy/squid/files/squid-7.5-use-system-libltdl.patch b/net-proxy/squid/files/squid-7.5-use-system-libltdl.patch
deleted file mode 100644
index 7b1ffbbd8431..000000000000
--- a/net-proxy/squid/files/squid-7.5-use-system-libltdl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -14,10 +14,6 @@
- errors \
- icons
-
--if ENABLE_LOADABLE_MODULES
--SUBDIRS += libltdl
--endif
--
- SUBDIRS += \
- lib \
- scripts \
diff --git a/net-proxy/squid/files/squid.confd-r2 b/net-proxy/squid/files/squid.confd-r2
deleted file mode 100644
index fea9a067a83b..000000000000
--- a/net-proxy/squid/files/squid.confd-r2
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Config file for /etc/init.d/squid
-
-SQUID_OPTS="-YC"
-
-# Kerberos keytab file to use. This is required if you enable kerberos authentication.
-SQUID_KEYTAB=""
-
-# Use max_filedescriptors setting in squid.conf to determine the maximum number
-# of filedescriptors squid can open.
-
-# Set whether Squid should receive two shutdown signals instead of one. If set to "yes",
-# Squid will skip the graceful shutdown step, and will try to immediately close all open
-# file descriptors and helpers. This is useful if you experience very long delays when
-# shutting down the caching proxy.
-SQUID_FAST_SHUTDOWN="no"
diff --git a/net-proxy/squid/files/squid.cron-r1 b/net-proxy/squid/files/squid.cron-r1
deleted file mode 100644
index f0fa84ed2cb3..000000000000
--- a/net-proxy/squid/files/squid.cron-r1
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# OpenRC init script supports multiple Squid instances, and exposes 'rotate'.
-if command -v rc-service >/dev/null; then
- SQUID_SERVICES=$(rc-status | awk '/ *squid.* started /{print $1}')
- for SQUID_SERVICE in $SQUID_SERVICES ; do
- rc-service "${SQUID_SERVICE}" rotate
- done
-
-# Systemd unit file supports only a single default squid instance,
-# and no 'rotate' support, so call squid directly.
-elif command -v systemctl >/dev/null; then
- SQUID_ACTIVE=$(systemctl --type=service --state=active | awk '/^ *squid\.service / {print $1}')
- [ -n "${SQUID_ACTIVE}" ] && squid -k rotate
-fi
diff --git a/net-proxy/squid/files/squid.initd-r7 b/net-proxy/squid/files/squid.initd-r7
deleted file mode 100644
index 7215b774736d..000000000000
--- a/net-proxy/squid/files/squid.initd-r7
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-SQUID_SVCNAME=$( echo "${RC_SVCNAME}" | tr -cd '[a-zA-Z0-9]' )
-
-extra_started_commands="reload rotate"
-
-depend() {
- use dns net
-}
-
-_getconfig() {
- # Make PIDFILE, CHROOTDIR, and CACHE_SWAP visible to other functions
- local CONFFILES="/etc/squid/${RC_SVCNAME}.conf /etc/squid/${RC_SVCNAME}.include /etc/squid/${RC_SVCNAME}.include.*"
- if [ ! -f /etc/squid/${RC_SVCNAME}.conf ]; then
- eerror "You need to create /etc/squid/${RC_SVCNAME}.conf first."
- eerror "The main configuration file and all included file names should have the following format:"
- eerror "${CONFFILES}"
- eerror "An example can be found in /etc/squid/squid.conf.default"
- return 1
- fi
- PIDFILE=$(cat ${CONFFILES} 2>/dev/null 3>/dev/null | awk '/^[ \t]*pid_filename[ \t]+/ { print $2 }')
- CHROOTDIR=$(cat ${CONFFILES} 2>/dev/null 3>/dev/null | awk '/^[ \t]*chroot[ \t]+/ { print $2 }')
- if [ -n "${CHROOTDIR}" ] && [ -n "${PIDFILE}" ]; then
- CHROOTDIR="${CHROOTDIR%/}"
- PIDFILE="${CHROOTDIR}${PIDFILE}"
- fi
- [ -z ${PIDFILE} ] && PIDFILE=/run/squid.pid
- if [ "${CHROOTDIR}/run/${RC_SVCNAME}.pid" != ${PIDFILE} ]; then
- eerror "/etc/squid/${RC_SVCNAME}.conf must set pid_filename to"
- eerror " /run/${RC_SVCNAME}.pid"
- if [ -n "${CHROOTDIR}" ]; then
- eerror "with chrootdir ${CHROOTDIR} set."
- fi
- eerror "CAUTION: http_port, cache_dir and *_log parameters must be different than"
- eerror " in any other instance of squid."
- eerror "Make sure the main configuration file and all included file names have the following format:"
- eerror "${CONFFILES}"
- return 1
- fi
- CACHE_SWAP=$(cat ${CONFFILES} 2>/dev/null 3>/dev/null | awk '/^[ \t]*cache_dir[ \t]+/ { if ( $2 == "rock" ) printf "%s/rock ", $3; else if ( $2 == "coss" ) printf "%s/stripe ", $3; else printf "%s/00 ", $3; }')
- [ -z "$CACHE_SWAP" ] && CACHE_SWAP="/var/cache/squid/00"
-
- return 0
-}
-
-checkconfig() {
- _getconfig || return 1
- local x
- for x in $CACHE_SWAP ; do
- if [ ! -e $x ] ; then
- ebegin "Initializing cache directory ${x%/*}"
- local ORIG_UMASK=$(umask)
- umask 027
-
- if ! (mkdir -p ${x%/*} && chown squid ${x%/*}) ; then
- eend 1
- return 1
- fi
-
- local INIT_CACHE_RESPONSE="$(/usr/sbin/squid -z -N -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME} 2>&1)"
- if [ $? != 0 ] || echo "$INIT_CACHE_RESPONSE" | grep -q "erminated abnormally" ; then
- umask $ORIG_UMASK
- eend 1
- echo "$INIT_CACHE_RESPONSE"
- return 1
- fi
-
- umask $ORIG_UMASK
- eend 0
- break
- fi
- done
-
- return 0
-}
-
-start() {
- checkconfig || return 1
- checkpath -d -q -m 0750 -o squid:squid /run/${RC_SVCNAME}
-
- # see https://wiki.squid-cache.org/MultipleInstances
- ebegin "Starting ${RC_SVCNAME} (service name ${SQUID_SVCNAME}) with KRB5_KTNAME=\"${SQUID_KEYTAB}\" /usr/sbin/squid ${SQUID_OPTS} -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
- KRB5_KTNAME="${SQUID_KEYTAB}" /usr/sbin/squid ${SQUID_OPTS} -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}
- eend $? && sleep 1
-}
-
-stop() {
- _getconfig || return 1
- ebegin "Stopping ${RC_SVCNAME} with /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
- if /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME} ; then
- if [ "x${SQUID_FAST_SHUTDOWN}" = "xyes" ]; then
- einfo "Attempting fast shutdown."
- /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}
- fi
- # Now we have to wait until squid has _really_ stopped.
- sleep 1
- if [ -f ${PIDFILE} ] ; then
- einfon "Waiting for squid to shutdown ."
- cnt=0
- while [ -f ${PIDFILE} ] ; do
- cnt=$(expr $cnt + 1)
- if [ $cnt -gt 90 ] ; then
- # Waited 180 seconds now. Fail.
- echo
- eend 1 "Failed."
- break
- fi
- sleep 2
- printf "."
- done
- echo
- fi
- else
- eerror "Squid shutdown failed, probably service is already down."
- fi
- eend 0
-}
-
-reload() {
- checkconfig || return 1
- ebegin "Reloading ${RC_SVCNAME} with /usr/sbin/squid -k reconfigure -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
- /usr/sbin/squid -k reconfigure -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}
- eend $?
-}
-
-rotate() {
- service_started ${RC_SVCNAME} || return 1
- ebegin "Rotating ${RC_SVCNAME} logs with /usr/sbin/squid -k rotate -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
- /usr/sbin/squid -k rotate -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}
- eend $?
-}
diff --git a/net-proxy/squid/files/squid.logrotate-r1 b/net-proxy/squid/files/squid.logrotate-r1
deleted file mode 100644
index 03cbca9b5f4a..000000000000
--- a/net-proxy/squid/files/squid.logrotate-r1
+++ /dev/null
@@ -1,11 +0,0 @@
-/var/log/squid/*.log {
- copytruncate
- compress
- notifempty
- missingok
- sharedscripts
- postrotate
- squid -k rotate 2>/dev/null
- endscript
-}
-
diff --git a/net-proxy/squid/files/squid.pam b/net-proxy/squid/files/squid.pam
deleted file mode 100644
index 75eeaa9db38d..000000000000
--- a/net-proxy/squid/files/squid.pam
+++ /dev/null
@@ -1,7 +0,0 @@
-#%PAM-1.0
-auth required pam_nologin.so
-auth include system-auth
-account include system-auth
-password include system-auth
-session optional pam_limits.so
-session include system-auth
diff --git a/net-proxy/squid/metadata.xml b/net-proxy/squid/metadata.xml
deleted file mode 100644
index 8a427f9e8ce6..000000000000
--- a/net-proxy/squid/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">
- <email>hlein@korelogic.com</email>
- <name>Hank Leininger</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="ecap">Adds support for loadable content adaptation modules (http://www.e-cap.org)</flag>
- <flag name="esi">Enable ESI for accelerators, will cause squid reverse proxies to be capable of the Edge Acceleration Specification (www.esi.org)</flag>
- <flag name="htcp">Enable HTCP protocol</flag>
- <flag name="logrotate">Use <pkg>app-admin/logrotate</pkg> for rotating logs</flag>
- <flag name="qos">Adds support for Quality of Service using netfilter conntrack - see qos_flow directive for more info</flag>
- <flag name="ssl-crtd">Adds support for dynamic SSL certificate generation in SslBump environments</flag>
- <flag name="tproxy">Enables real Transparent Proxy support for Linux Netfilter TPROXY</flag>
- <flag name="wccp">Enable Web Cache Coordination Protocol</flag>
- <flag name="wccpv2">Enable Web Cache Coordination V2 Protocol</flag>
- </use>
- <upstream>
- <remote-id type="github">squid-cache/squid</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/squid/squid-6.14-r1.ebuild b/net-proxy/squid/squid-6.14-r1.ebuild
deleted file mode 100644
index a65ddc3b159b..000000000000
--- a/net-proxy/squid/squid-6.14-r1.ebuild
+++ /dev/null
@@ -1,421 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/squid.gpg
-inherit autotools flag-o-matic linux-info pam systemd toolchain-funcs verify-sig
-
-DESCRIPTION="Full-featured web proxy cache"
-HOMEPAGE="https://www.squid-cache.org/"
-
-MY_PV_MAJOR=$(ver_cut 1)
-MY_PV_MINOR=$(ver_cut 2)
-# Upstream patch ID for the most recent bug-fixed update to the formal release.
-#r=-20181117-r0022167
-r=
-if [[ -z ${r} ]]; then
- SRC_URI="
- https://github.com/squid-cache/squid/releases/download/SQUID_${MY_PV_MAJOR}_${MY_PV_MINOR}/${P}.tar.xz
- https://dev.gentoo.org/~juippis/distfiles/squid-6.9-memleak_fix.patch
- verify-sig? ( https://github.com/squid-cache/squid/releases/download/SQUID_${MY_PV_MAJOR}_${MY_PV_MINOR}/${P}.tar.xz.asc )
- "
-else
- SRC_URI="
- http://static.squid-cache.org/Versions/v${MY_PV_MAJOR}/${P}${r}.tar.bz2
- https://dev.gentoo.org/~juippis/distfiles/squid-6.9-memleak_fix.patch
- "
- S="${S}${r}"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="caps gnutls pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test ecap"
-IUSE+=" esi ssl-crtd mysql postgres sqlite systemd perl qos tproxy +htcp valgrind +wccp +wccpv2"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="tproxy? ( caps ) qos? ( caps ) ssl-crtd? ( ssl )"
-
-DEPEND="
- acct-group/squid
- acct-user/squid
- dev-libs/libltdl
- sys-libs/tdb
- virtual/libcrypt:=
- caps? ( >=sys-libs/libcap-2.16 )
- ecap? ( net-libs/libecap:1 )
- esi? (
- dev-libs/expat
- dev-libs/libxml2:=
- )
- ldap? ( net-nds/openldap:= )
- gnutls? ( >=net-libs/gnutls-3.1.5:= )
- logrotate? ( app-admin/logrotate )
- nis? (
- net-libs/libtirpc:=
- net-libs/libnsl:=
- )
- kerberos? ( virtual/krb5 )
- pam? ( sys-libs/pam )
- qos? ( net-libs/libnetfilter_conntrack )
- ssl? (
- dev-libs/nettle:=
- !gnutls? (
- dev-libs/openssl:=
- )
- )
- sasl? ( dev-libs/cyrus-sasl )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="
- ${DEPEND}
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- perl? ( dev-lang/perl )
- samba? ( net-fs/samba )
- selinux? ( sec-policy/selinux-squid )
- sqlite? ( dev-perl/DBD-SQLite )
-"
-DEPEND+=" valgrind? ( dev-debug/valgrind )"
-BDEPEND="
- dev-lang/perl
- ecap? ( virtual/pkgconfig )
- test? ( dev-util/cppunit )
- verify-sig? ( sec-keys/openpgp-keys-squid )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.2-gentoo.patch
- "${FILESDIR}"/${PN}-4.17-use-system-libltdl.patch
- "${DISTDIR}"/${PN}-6.9-memleak_fix.patch
- "${FILESDIR}"/${PN}-6.12-ar.patch
- "${FILESDIR}"/${PN}-6.14-proxy_auth_data.patch
- "${FILESDIR}"/${PN}-6.14-cachemgr-dont_show_hostname.patch
-)
-
-pkg_pretend() {
- if use tproxy; then
- local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
- linux-info_pkg_setup
- fi
-}
-
-src_unpack() {
- if use verify-sig ; then
- # Needed for downloaded patch (which is unsigned, which is fine)
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
- fi
-
- default
-}
-
-src_prepare() {
- default
-
- # Fixup various paths
- sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
- INSTALL QUICKSTART \
- scripts/fileno-to-pathname.pl \
- scripts/check_cache.pl \
- tools/cachemgr.cgi.8 \
- tools/purge/conffile.hh \
- tools/purge/purge.1 || die
- sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
- INSTALL QUICKSTART || die
- sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
- QUICKSTART || die
- sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
- QUICKSTART \
- src/log/access_log.cc || die
- sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
- src/log/access_log.cc || die
- sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
- src/acl/external/unix_group/ext_unix_group_acl.8 \
- src/acl/external/session/ext_session_acl.8 || die
- sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
- scripts/check_cache.pl || die
- # /var/run/squid to /run/squid
- sed -i -e 's:$(localstatedir)::' \
- src/ipc/Makefile.am || die
- sed -i 's:/var/run/:/run/:g' tools/systemd/squid.service || die
-
- sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
- libltdl/configure.ac || die
-
- # https://bugs.gentoo.org/956509
- AT_NO_RECURSIVE="yes" eautoreconf
-}
-
-src_configure() {
- # Workaround for bug #921688
- append-cxxflags -std=gnu++17
-
- local myeconfargs=(
- --cache-file="${S}"/config.cache
-
- --datadir=/usr/share/squid
- --libexecdir=/usr/libexec/squid
- --localstatedir=/var
- --sysconfdir=/etc/squid
- --with-default-user=squid
- --with-logdir=/var/log/squid
- --with-pidfile=/run/squid.pid
-
- --enable-build-info="Gentoo ${PF} (r: ${r:-NONE})"
- --enable-log-daemon-helpers
- --enable-url-rewrite-helpers
- --enable-cache-digests
- --enable-delay-pools
- --enable-disk-io
- --enable-eui
- --enable-icmp
- --enable-ipv6
- --enable-follow-x-forwarded-for
- --enable-removal-policies="lru,heap"
- --disable-strict-error-checking
- --disable-arch-native
-
- --with-large-files
- --with-build-environment=default
-
- --with-tdb
-
- --without-included-ltdl
- --with-ltdl-include="${ESYSROOT}"/usr/include
- --with-ltdl-lib="${ESYSROOT}"/usr/$(get_libdir)
-
- $(use_with caps cap)
- $(use_enable snmp)
- $(use_with ssl openssl)
- $(use_with ssl nettle)
- $(use_with gnutls)
- $(use_with ldap)
- $(use_enable ssl-crtd)
- $(use_with systemd)
- $(use_with test cppunit)
- $(use_enable ecap)
- $(use_enable esi)
- $(use_enable esi expat)
- $(use_enable esi xml2)
- $(use_enable htcp)
- $(use_with valgrind valgrind-debug)
- $(use_enable wccp)
- $(use_enable wccpv2)
- )
-
- # Basic modules
- local basic_modules=(
- NCSA
- POP3
- getpwnam
-
- $(usev samba 'SMB')
- $(usev ldap 'SMB_LM LDAP')
- $(usev pam 'PAM')
- $(usev sasl 'SASL')
- $(usev nis 'NIS')
- $(usev radius 'RADIUS')
- )
-
- use nis && append-cppflags "-I${ESYSROOT}/usr/include/tirpc"
-
- if use mysql || use postgres || use sqlite; then
- basic_modules+=( DB )
- fi
-
- # Digests
- local digest_modules=(
- file
-
- $(usev ldap 'LDAP eDirectory')
- )
-
- # Kerberos
- local negotiate_modules=( none )
-
- myeconfargs+=( --without-mit-krb5 --without-heimdal-krb5 )
-
- if use kerberos; then
- # We intentionally overwrite negotiate_modules here to lose
- # the 'none'.
- negotiate_modules=( kerberos wrapper )
-
- if has_version app-crypt/heimdal; then
- myeconfargs+=(
- --without-mit-krb5
- --with-heimdal-krb5
- )
- else
- myeconfargs+=(
- --with-mit-krb5
- --without-heimdal-krb5
- )
- fi
- fi
-
- # NTLM modules
- local ntlm_modules=( none )
-
- if use samba ; then
- # We intentionally overwrite ntlm_modules here to lose
- # the 'none'.
- ntlm_modules=( SMB_LM )
- fi
-
- # External helpers
- local ext_helpers=(
- file_userip
- session
- unix_group
- delayer
- time_quota
-
- $(usev samba 'wbinfo_group')
- $(usev ldap 'LDAP_group eDirectory_userip')
- )
-
- use ldap && use kerberos && ext_helpers+=( kerberos_ldap_group )
- if use mysql || use postgres || use sqlite; then
- ext_helpers+=( SQL_session )
- fi
-
- # Storage modules
- local storeio_modules=(
- aufs
- diskd
- rock
- ufs
- )
-
- #
- local transparent
- if use kernel_linux; then
- myeconfargs+=(
- --enable-linux-netfilter
- $(usev qos '--enable-zph-qos --with-netfilter-conntrack')
- )
- fi
-
- tc-export_build_env BUILD_CXX
- export BUILDCXX="${BUILD_CXX}"
- export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
- tc-export CC AR
-
- # Should be able to drop this workaround with newer versions.
- # https://bugs.squid-cache.org/show_bug.cgi?id=4224
- tc-is-cross-compiler && export squid_cv_gnu_atomics=no
-
- # Bug #719662
- append-atomic-flags
-
- print_options_without_comma() {
- # IFS as ',' will cut off any trailing commas
- (
- IFS=','
- options=( $(printf "%s," "${@}") )
- echo "${options[*]}"
- )
- }
-
- myeconfargs+=(
- --enable-storeio=$(print_options_without_comma "${storeio_modules[@]}")
- --enable-auth-basic=$(print_options_without_comma "${basic_modules[@]}")
- --enable-auth-digest=$(print_options_without_comma "${digest_modules[@]}")
- --enable-auth-ntlm=$(print_options_without_comma "${ntlm_modules[@]}")
- --enable-auth-negotiate=$(print_options_without_comma "${negotiate_modules[@]}")
- --enable-external-acl-helpers=$(print_options_without_comma "${ext_helpers[@]}")
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- default
-
- # Suppress QA warning (bug #877729) for no tests executed
- # for some subsuites. The layout is odd and there's a bunch
- # of useless/stub directories which confuses it.
- find "${S}" -iname test-suite.log -delete || die
-}
-
-src_install() {
- default
-
- systemd_dounit tools/systemd/squid.service
-
- # Need suid root for looking into /etc/shadow
- fowners root:squid /usr/libexec/squid/basic_ncsa_auth
- fperms 4750 /usr/libexec/squid/basic_ncsa_auth
-
- if use pam; then
- fowners root:squid /usr/libexec/squid/basic_pam_auth
- fperms 4750 /usr/libexec/squid/basic_pam_auth
- fi
-
- # Pinger needs suid as well
- fowners root:squid /usr/libexec/squid/pinger
- fperms 4750 /usr/libexec/squid/pinger
-
- # These scripts depend on perl
- if ! use perl; then
- local perl_scripts=(
- basic_pop3_auth ext_delayer_acl helper-mux
- log_db_daemon security_fake_certverify
- storeid_file_rewrite url_lfs_rewrite
- )
-
- local script
- for script in "${perl_scripts[@]}"; do
- rm "${ED}"/usr/libexec/squid/${script} || die
- done
- fi
-
- # Cleanup
- rm -r "${D}"/run "${D}"/var/cache || die
-
- dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
- newdoc src/auth/negotiate/kerberos/README README.kerberos
- newdoc src/auth/basic/RADIUS/README README.RADIUS
- newdoc src/acl/external/kerberos_ldap_group/README README.kerberos_ldap_group
- dodoc RELEASENOTES.html
-
- if use pam; then
- newpamd "${FILESDIR}"/squid.pam squid
- fi
-
- newconfd "${FILESDIR}"/squid.confd-r2 squid
- newinitd "${FILESDIR}"/squid.initd-r7 squid
-
- if use logrotate ; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/squid.logrotate-r1 squid
- else
- exeinto /etc/cron.weekly
- newexe "${FILESDIR}"/squid.cron-r1 squid.cron
- fi
-
- diropts -m0750 -o squid -g squid
- keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
-
- # Hack for bug #834503 (see also bug #664940)
- # Please keep this for a few years until it's no longer plausible
- # someone is upgrading from < squid 5.7.
- mv "${ED}"/usr/share/squid/errors{,.new} || die
-}
-
-pkg_preinst() {
- # Remove file in EROOT that the directory collides with.
- rm -rf "${EROOT}"/usr/share/squid/errors || die
-
- # Following the collision protection check, reverse
- # src_install's rename in ED.
- mv "${ED}"/usr/share/squid/errors{.new,} || die
-}
-
-pkg_postinst() {
- elog "A good starting point to debug Squid issues is to use 'squidclient mgr:' commands such as 'squidclient mgr:info'."
-
- if [[ ${#r} -gt 0 ]]; then
- elog "You are using a release with the official ${r} patch! Make sure you mention that, or send the output of 'squidclient mgr:info' when asking for support."
- fi
-}
diff --git a/net-proxy/squid/squid-7.5.ebuild b/net-proxy/squid/squid-7.5.ebuild
deleted file mode 100644
index 1a3ffe6562f8..000000000000
--- a/net-proxy/squid/squid-7.5.ebuild
+++ /dev/null
@@ -1,410 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/squid.gpg
-inherit autotools flag-o-matic linux-info pam systemd toolchain-funcs verify-sig
-
-DESCRIPTION="Full-featured web proxy cache"
-HOMEPAGE="https://www.squid-cache.org/"
-
-MY_PV_MAJOR=$(ver_cut 1)
-MY_PV_MINOR=$(ver_cut 2)
-# Upstream patch ID for the most recent bug-fixed update to the formal release.
-#r=-20181117-r0022167
-r=
-if [[ -z ${r} ]]; then
- SRC_URI="
- https://github.com/squid-cache/squid/releases/download/SQUID_${MY_PV_MAJOR}_${MY_PV_MINOR}/${P}.tar.xz
- verify-sig? ( https://github.com/squid-cache/squid/releases/download/SQUID_${MY_PV_MAJOR}_${MY_PV_MINOR}/${P}.tar.xz.asc )
- "
-else
- SRC_URI="
- http://static.squid-cache.org/Versions/v${MY_PV_MAJOR}/${P}${r}.tar.bz2
- "
- S="${S}${r}"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="caps gnutls pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test ecap"
-IUSE+=" esi ssl-crtd mysql postgres sqlite systemd perl qos tproxy +htcp valgrind +wccp +wccpv2"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="tproxy? ( caps ) qos? ( caps ) ssl-crtd? ( ssl )"
-
-DEPEND="
- acct-group/squid
- acct-user/squid
- dev-libs/libltdl
- sys-libs/tdb
- virtual/libcrypt:=
- caps? ( >=sys-libs/libcap-2.16 )
- ecap? ( net-libs/libecap:1 )
- esi? (
- dev-libs/expat
- dev-libs/libxml2:=
- )
- ldap? ( net-nds/openldap:= )
- gnutls? ( >=net-libs/gnutls-3.4.0:= )
- logrotate? ( app-admin/logrotate )
- nis? (
- net-libs/libtirpc:=
- net-libs/libnsl:=
- )
- kerberos? ( virtual/krb5 )
- pam? ( sys-libs/pam )
- qos? ( net-libs/libnetfilter_conntrack )
- ssl? (
- >=dev-libs/nettle-3.4:=
- !gnutls? (
- dev-libs/openssl:=
- )
- )
- sasl? ( dev-libs/cyrus-sasl )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="
- ${DEPEND}
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- perl? ( dev-lang/perl )
- samba? ( net-fs/samba )
- selinux? ( sec-policy/selinux-squid )
- sqlite? ( dev-perl/DBD-SQLite )
-"
-DEPEND+=" valgrind? ( dev-debug/valgrind )"
-BDEPEND="
- dev-lang/perl
- virtual/pkgconfig
- test? ( dev-util/cppunit )
- verify-sig? ( sec-keys/openpgp-keys-squid )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-7.5-gentoo.patch
- "${FILESDIR}"/${PN}-7.5-use-system-libltdl.patch
- "${FILESDIR}"/${PN}-7.5-ar.patch
-)
-
-pkg_pretend() {
- if use tproxy; then
- local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
- linux-info_pkg_setup
- fi
-}
-
-src_unpack() {
- if use verify-sig ; then
- # Needed for downloaded patch (which is unsigned, which is fine)
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
- fi
-
- default
-}
-
-src_prepare() {
- default
-
- # Fixup various paths
- sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
- INSTALL QUICKSTART \
- scripts/fileno-to-pathname.pl \
- scripts/check_cache.pl || die
- sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
- INSTALL QUICKSTART || die
- sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
- QUICKSTART || die
- sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
- QUICKSTART \
- src/log/access_log.cc || die
- sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
- src/log/access_log.cc || die
- sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
- src/acl/external/unix_group/ext_unix_group_acl.8 \
- src/acl/external/session/ext_session_acl.8 || die
- sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
- scripts/check_cache.pl || die
- # /var/run/squid to /run/squid
- sed -i -e 's:$(localstatedir)::' \
- src/ipc/Makefile.am || die
- sed -i 's:/var/run/:/run/:g' tools/systemd/squid.service || die
-
- sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
- libltdl/configure.ac || die
-
- # https://bugs.gentoo.org/956509
- AT_NO_RECURSIVE="yes" eautoreconf
-}
-
-src_configure() {
- # Workaround for bug #921688
- append-cxxflags -std=gnu++17
-
- local myeconfargs=(
- --cache-file="${S}"/config.cache
-
- --datadir=/usr/share/squid
- --libexecdir=/usr/libexec/squid
- --localstatedir=/var
- --sysconfdir=/etc/squid
- --with-default-user=squid
- --with-logdir=/var/log/squid
- --with-pidfile=/run/squid.pid
-
- --enable-build-info="Gentoo ${PF} (r: ${r:-NONE})"
- --enable-log-daemon-helpers
- --enable-url-rewrite-helpers
- --enable-cache-digests
- --enable-delay-pools
- --enable-disk-io
- --enable-eui
- --enable-icmp
- --enable-ipv6
- --enable-follow-x-forwarded-for
- --enable-removal-policies="lru,heap"
- --disable-strict-error-checking
- --disable-arch-native
-
- --with-large-files
- --with-build-environment=default
-
- --with-tdb
-
- --without-included-ltdl
- --with-ltdl-include="${ESYSROOT}"/usr/include
- --with-ltdl-lib="${ESYSROOT}"/usr/$(get_libdir)
-
- $(use_with caps cap)
- $(use_enable snmp)
- $(use_with ssl openssl)
- $(use_with ssl nettle)
- $(use_with gnutls)
- $(use_with ldap)
- $(use_enable ssl-crtd)
- $(use_with systemd)
- $(use_with test cppunit)
- $(use_enable ecap)
- $(use_enable esi)
- $(use_enable esi expat)
- $(use_enable esi xml2)
- $(use_enable htcp)
- $(use_with valgrind valgrind-debug)
- $(use_enable wccp)
- $(use_enable wccpv2)
- )
-
- # Basic modules
- local basic_modules=(
- NCSA
- POP3
- getpwnam
-
- $(usev samba 'SMB')
- $(usev ldap 'LDAP')
- $(usev pam 'PAM')
- $(usev sasl 'SASL')
- $(usev nis 'NIS')
- $(usev radius 'RADIUS')
- )
-
- use nis && append-cppflags "-I${ESYSROOT}/usr/include/tirpc"
-
- if use mysql || use postgres || use sqlite; then
- basic_modules+=( DB )
- fi
-
- # Digests
- local digest_modules=(
- file
-
- $(usev ldap 'LDAP eDirectory')
- )
-
- # Kerberos
- local negotiate_modules=( none )
-
- myeconfargs+=( --without-mit-krb5 --without-heimdal-krb5 )
-
- if use kerberos; then
- # We intentionally overwrite negotiate_modules here to lose
- # the 'none'.
- negotiate_modules=( kerberos wrapper )
-
- if has_version app-crypt/heimdal; then
- myeconfargs+=(
- --without-mit-krb5
- --with-heimdal-krb5
- )
- else
- myeconfargs+=(
- --with-mit-krb5
- --without-heimdal-krb5
- )
- fi
- fi
-
- # NTLM modules
- local ntlm_modules=( none )
-
- if use samba ; then
- # We intentionally overwrite ntlm_modules here to lose
- # the 'none'.
- ntlm_modules=( SMB_LM )
- fi
-
- # External helpers
- local ext_helpers=(
- file_userip
- session
- unix_group
- delayer
- time_quota
-
- $(usev samba 'wbinfo_group')
- $(usev ldap 'LDAP_group eDirectory_userip')
- )
-
- use ldap && use kerberos && ext_helpers+=( kerberos_ldap_group )
- if use mysql || use postgres || use sqlite; then
- ext_helpers+=( SQL_session )
- fi
-
- # Storage modules
- local storeio_modules=(
- aufs
- diskd
- rock
- ufs
- )
-
- #
- local transparent
- if use kernel_linux; then
- myeconfargs+=(
- --enable-linux-netfilter
- $(usev qos '--enable-zph-qos --with-netfilter-conntrack')
- )
- fi
-
- tc-export_build_env BUILD_CXX
- export BUILDCXX="${BUILD_CXX}"
- export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
- tc-export CC AR
-
- # Should be able to drop this workaround with newer versions.
- # https://bugs.squid-cache.org/show_bug.cgi?id=4224
- tc-is-cross-compiler && export squid_cv_gnu_atomics=no
-
- # Bug #719662
- append-atomic-flags
-
- print_options_without_comma() {
- # IFS as ',' will cut off any trailing commas
- (
- IFS=','
- options=( $(printf "%s," "${@}") )
- echo "${options[*]}"
- )
- }
-
- myeconfargs+=(
- --enable-storeio=$(print_options_without_comma "${storeio_modules[@]}")
- --enable-auth-basic=$(print_options_without_comma "${basic_modules[@]}")
- --enable-auth-digest=$(print_options_without_comma "${digest_modules[@]}")
- --enable-auth-ntlm=$(print_options_without_comma "${ntlm_modules[@]}")
- --enable-auth-negotiate=$(print_options_without_comma "${negotiate_modules[@]}")
- --enable-external-acl-helpers=$(print_options_without_comma "${ext_helpers[@]}")
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- default
-
- # Suppress QA warning (bug #877729) for no tests executed
- # for some subsuites. The layout is odd and there's a bunch
- # of useless/stub directories which confuses it.
- find "${S}" -iname test-suite.log -delete || die
-}
-
-src_install() {
- default
-
- systemd_dounit tools/systemd/squid.service
-
- # Need suid root for looking into /etc/shadow
- fowners root:squid /usr/libexec/squid/basic_ncsa_auth
- fperms 4750 /usr/libexec/squid/basic_ncsa_auth
-
- if use pam; then
- fowners root:squid /usr/libexec/squid/basic_pam_auth
- fperms 4750 /usr/libexec/squid/basic_pam_auth
- fi
-
- # Pinger needs suid as well
- fowners root:squid /usr/libexec/squid/pinger
- fperms 4750 /usr/libexec/squid/pinger
-
- # These scripts depend on perl
- if ! use perl; then
- local perl_scripts=(
- basic_pop3_auth ext_delayer_acl helper-mux
- log_db_daemon security_fake_certverify
- storeid_file_rewrite url_lfs_rewrite
- )
-
- local script
- for script in "${perl_scripts[@]}"; do
- rm "${ED}"/usr/libexec/squid/${script} || die
- done
- fi
-
- # Cleanup
- rm -r "${D}"/run "${D}"/var/cache || die
-
- dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
- newdoc src/auth/negotiate/kerberos/README README.kerberos
- newdoc src/auth/basic/RADIUS/README README.RADIUS
- newdoc src/acl/external/kerberos_ldap_group/README README.kerberos_ldap_group
-
- if use pam; then
- newpamd "${FILESDIR}"/squid.pam squid
- fi
-
- newconfd "${FILESDIR}"/squid.confd-r2 squid
- newinitd "${FILESDIR}"/squid.initd-r7 squid
-
- if use logrotate ; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/squid.logrotate-r1 squid
- else
- exeinto /etc/cron.weekly
- newexe "${FILESDIR}"/squid.cron-r1 squid.cron
- fi
-
- diropts -m0750 -o squid -g squid
- keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
-
- # Hack for bug #834503 (see also bug #664940)
- # Please keep this for a few years until it's no longer plausible
- # someone is upgrading from < squid 5.7.
- mv "${ED}"/usr/share/squid/errors{,.new} || die
-}
-
-pkg_preinst() {
- # Remove file in EROOT that the directory collides with.
- rm -rf "${EROOT}"/usr/share/squid/errors || die
-
- # Following the collision protection check, reverse
- # src_install's rename in ED.
- mv "${ED}"/usr/share/squid/errors{.new,} || die
-}
-
-pkg_postinst() {
- if [[ ${#r} -gt 0 ]]; then
- elog "You are using a release with the official ${r} patch! Make sure you mention that when asking for support."
- fi
-}
diff --git a/net-proxy/squidguard/Manifest b/net-proxy/squidguard/Manifest
deleted file mode 100644
index 7deddebc4372..000000000000
--- a/net-proxy/squidguard/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST squidguard-1.6.0.tar.gz 1902233 BLAKE2B 36b422fb2424c79532e0d9dc237b4a60b7817190a45de3646a50031b341c5e94540f55adea7b3e8241b8d87fdec551c5c40d1f60ea90e25347305ef9e473b5d3 SHA512 d6e934f550cd777d58abda5f4fd905ccc396afc28e1ddb0bb842a9a3364cbe43db5c30834fe1ed7d93623a361dde50362a79ac2b660382c7e81b4f067f2ac65e
diff --git a/net-proxy/squidguard/files/blockedsites b/net-proxy/squidguard/files/blockedsites
deleted file mode 100644
index 46279a47eed4..000000000000
--- a/net-proxy/squidguard/files/blockedsites
+++ /dev/null
@@ -1 +0,0 @@
-sex.com
diff --git a/net-proxy/squidguard/files/squidGuard.conf.blocksites b/net-proxy/squidguard/files/squidGuard.conf.blocksites
deleted file mode 100644
index eaa8cdeef051..000000000000
--- a/net-proxy/squidguard/files/squidGuard.conf.blocksites
+++ /dev/null
@@ -1,13 +0,0 @@
-logdir /var/log/squidGuard
-dbhome /etc/squidGuard/db
-
-dest blockedsites {
- domainlist blockedsites
-}
-
-acl {
- default {
- pass !blockedsites all
- redirect http://www.sample.com/empty.png
- }
-}
diff --git a/net-proxy/squidguard/files/squidGuard.conf.minimal b/net-proxy/squidguard/files/squidGuard.conf.minimal
deleted file mode 100644
index 3b0ebf55c766..000000000000
--- a/net-proxy/squidguard/files/squidGuard.conf.minimal
+++ /dev/null
@@ -1,7 +0,0 @@
-logdir /var/log/squidGuard
-
-acl {
- default {
- pass all
- }
-}
diff --git a/net-proxy/squidguard/files/squidguard-1.6.0-C23.patch b/net-proxy/squidguard/files/squidguard-1.6.0-C23.patch
deleted file mode 100644
index 23121819391b..000000000000
--- a/net-proxy/squidguard/files/squidguard-1.6.0-C23.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://bugs.gentoo.org/898084
-https://bugs.gentoo.org/932312
-nothing defined HAVE_STDLIB_H to permit inclusion of stdlib.h,
-which caused failures to find correct version of db
-also fill the function definitions for C23
---- a/configure.ac
-+++ b/configure.ac
-@@ -5,6 +5,9 @@
- AC_INIT(src/main.c.in)
- AC_CONFIG_HEADER(src/config.h)
-
-+AC_INCLUDES_DEFAULT
-+AC_USE_SYSTEM_EXTENSIONS
-+
- dnl
- dnl Checks for programs.
- dnl
---- a/src/sg.h.in
-+++ b/src/sg.h.in
-@@ -360,7 +360,7 @@
- void sgEmergency __P(());
- void sgReloadConfig __P(());
- void sgHandlerSigHUP __P((int));
--void sgAlarm __P(());
-+void sgAlarm __P((int signal));
- int sgStrRcmp __P((char *, char *));
- int sgStrRncmp __P((char *, char *, int));
- int sgDomStrRncmp __P((char *, char *, int));
-@@ -431,7 +431,7 @@
- int sgRegExpMatch __P((struct sgRegExp *, char *));
- char *sgRegExpSubst __P((struct sgRegExp *, char *));
-
--void sgDbInit __P(());
-+void sgDbInit __P((struct sgDb *Db, char *file));
- void sgDbLoadTextFile __P((struct sgDb *, char *, int));
- void sgDbUpdate __P((struct sgDb *, char *, char *, size_t));
-
diff --git a/net-proxy/squidguard/files/squidguard-1.6.0-gcc-10.patch b/net-proxy/squidguard/files/squidguard-1.6.0-gcc-10.patch
deleted file mode 100644
index 650153f28011..000000000000
--- a/net-proxy/squidguard/files/squidguard-1.6.0-gcc-10.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/src/y.tab.c.bison 2020-03-08 20:05:00.750000000 +0300
-+++ b/src/y.tab.c.bison 2020-03-08 20:04:42.160000000 +0300
-@@ -217,7 +217,7 @@
-
- #include "sgEx.h"
-
--FILE *yyin, *yyout;
-+extern FILE *yyin, *yyout;
- char *configFile;
-
- int numTimeElements;
---- a/src/sg.h.in 2020-03-08 20:02:46.900000000 +0300
-+++ b/src/sg.h.in 2020-03-08 20:03:22.110000000 +0300
-@@ -115,7 +115,7 @@
- #define REDIRECT_PERMANENT "301:"
- #define REDIRECT_TEMPORARILY "302:"
-
--char *progname;
-+extern char *progname;
-
- struct LogFileStat {
- char *name;
-@@ -337,7 +337,7 @@
- struct AclDest *next;
- };
-
--int lineno;
-+extern int lineno;
-
- char *sgParseRedirect __P((char *, struct SquidInfo *, struct Acl *, struct AclDest *));
- char *sgAclAccess __P((struct Source *, struct Acl *, struct SquidInfo *));
---- a/src/main.c.in 2020-03-08 20:10:55.650000000 +0300
-+++ b/src/main.c.in 2020-03-08 20:11:13.590000000 +0300
-@@ -21,6 +21,9 @@
- #include <syslog.h>
- #endif
-
-+char *progname;
-+int lineno;
-+
- struct Setting *lastSetting = NULL;
- struct Setting *Setting = NULL; /* linked list, Calloc */
-
---- a/src/sg.y.in 2020-03-08 20:14:46.180000000 +0300
-+++ b/src/sg.y.in 2020-03-08 20:14:57.110000000 +0300
-@@ -35,7 +35,7 @@
-
- #include "sgEx.h"
-
--FILE *yyin, *yyout;
-+extern FILE *yyin, *yyout;
- char *configFile;
-
- int numTimeElements;
diff --git a/net-proxy/squidguard/files/squidguard-1.6.0-gentoo.patch b/net-proxy/squidguard/files/squidguard-1.6.0-gentoo.patch
deleted file mode 100644
index 1a2ca8218f41..000000000000
--- a/net-proxy/squidguard/files/squidguard-1.6.0-gentoo.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- squidGuard-1.6.orig/Makefile.in 2020-01-09 18:36:44.000000000 +0000
-+++ squidGuard-1.6/Makefile.in 2020-01-10 13:02:14.000000000 +0000
-@@ -43,7 +43,7 @@
- # Dependencies for installing
- #
-
--install: install-build install-conf
-+install: install-build
-
- install-conf:
- @echo Installing configuration file ;
---- squidGuard-1.6.orig/src/Makefile.in 2020-01-03 12:05:39.000000000 +0000
-+++ squidGuard-1.6/src/Makefile.in 2020-01-10 13:02:14.000000000 +0000
-@@ -110,6 +110,8 @@
- mv -f y.tab.c y.tab.c.bison
- mv -f y.tab.h y.tab.h.bison
-
-+sg.y sg.l:
-+
- #
- # Dependencies for installing
- #
-@@ -122,8 +124,8 @@
-
- install.bin:: squidGuard
- @echo making $@ in `basename \`pwd\``
-- @$(MKDIR) $(bindir) $(logdir) $(cfgdir)
-- $(INSTALL_PROGRAM) squidGuard $(bindir)/squidGuard
-+ @$(MKDIR) "$(DESTDIR)"/$(bindir) "$(DESTDIR)"/$(logdir) "$(DESTDIR)"/$(cfgdir)
-+ $(INSTALL_PROGRAM) squidGuard "$(DESTDIR)"/$(bindir)/squidGuard
-
- uninstall.bin::
- @echo making $@ in `basename \`pwd\``
diff --git a/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch b/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch
deleted file mode 100644
index f36a094edfe6..000000000000
--- a/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-https://bugs.gentoo.org/919449
-patch by joergd <joergd@bitquell.de>
---- a/configure.ac 2019-02-02 18:00:40.000000000 +0100
-+++ b/configure.ac 2025-01-13 12:13:48.087653985 +0100
-@@ -233,6 +233,9 @@
- AC_DEFINE(HAVE_LIBLDAP, 1, [Define if LDAP support should be compiled])
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <ldap.h>
-+ #ifdef HAVE_STDLIB_H
-+ #include <stdlib.h>
-+ #endif
- int main()
- {
- LDAP *p;
-@@ -342,6 +345,9 @@
- LIBS="$LIBS -ldb"
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <db.h>
-+ #ifdef HAVE_STDLIB_H
-+ #include <stdlib.h>
-+ #endif
- int main()
- {
- int major, minor, patch;
-@@ -377,6 +383,9 @@
-
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <db.h>
-+ #ifdef HAVE_STDLIB_H
-+ #include <stdlib.h>
-+ #endif
- int main()
- {
- int major, minor, patch;
-@@ -413,6 +422,9 @@
-
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <db.h>
-+ #ifdef HAVE_STDLIB_H
-+ #include <stdlib.h>
-+ #endif
- int main()
- {
- int major, minor, patch;
-@@ -441,6 +453,9 @@
-
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <db.h>
-+ #ifdef HAVE_STDLIB_H
-+ #include <stdlib.h>
-+ #endif
- int main()
- {
- int major, minor, patch;
diff --git a/net-proxy/squidguard/metadata.xml b/net-proxy/squidguard/metadata.xml
deleted file mode 100644
index 115e9d64a669..000000000000
--- a/net-proxy/squidguard/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-proxy/squidguard/squidguard-1.6.0-r1.ebuild b/net-proxy/squidguard/squidguard-1.6.0-r1.ebuild
deleted file mode 100644
index 32fc9e26092a..000000000000
--- a/net-proxy/squidguard/squidguard-1.6.0-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools db-use
-
-DESCRIPTION="Combined filter, redirector and access controller plugin for Squid"
-HOMEPAGE="http://www.squidguard.org"
-SRC_URI="mirror://debian/pool/main/s/squidguard/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86"
-
-IUSE="ldap"
-
-RDEPEND="
- acct-group/squid
- acct-user/squid
- || (
- sys-libs/db:5.3
- sys-libs/db:4.8
- )
- ldap? ( net-nds/openldap:= )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- app-alternatives/yacc:0
- app-alternatives/lex:0
-"
-
-suitable_db_version() {
- local tested_slots="5.3 4.8"
- for ver in ${tested_slots}; do
- if [[ -n $(db_findver sys-libs/db:${ver}) ]]; then
- echo ${ver}
- return 0
- fi
- done
- die "No suitable BerkDB versions found, aborting"
-}
-
-src_prepare() {
- eapply \
- "${FILESDIR}/${P}-gentoo.patch" \
- "${FILESDIR}/${P}-gcc-10.patch" \
- "${FILESDIR}/${P}-stdlib.patch"
-
- # Link only with specific BerkDB versions
- # Do not inject default paths for library searching
- db_version="$(suitable_db_version)"
- sed -i \
- -e "/\$LIBS -ldb/s/-ldb/-l$(db_libname ${db_version})/" \
- -e '/$LDFLAGS $db_lib $ldap_lib/d' \
- configure.ac || die
-
- eapply_user
- eautoreconf
-
- # Workaround for missing install-sh, bug #705374
- local amver=$(best_version dev-build/automake)
- amver=$(ver_cut 1-2 "${amver#dev-build/automake-}")
- cp -p "${BROOT}/usr/share/automake-${amver}/install-sh" . || die
-}
-
-src_configure() {
- econf \
- $(use_with ldap) \
- --with-db-inc="$(db_includedir ${db_version})" \
- --with-sg-config=/etc/squidGuard/squidGuard.conf \
- --with-sg-logdir=/var/log/squidGuard
-}
-
-src_install() {
- emake prefix="/usr" DESTDIR="${D}" install
-
- keepdir /var/log/squidGuard
- fowners squid:squid /var/log/squidGuard
-
- insinto /etc/squidGuard/sample
- doins "${FILESDIR}"/squidGuard.conf.*
- insinto /etc/squidGuard/sample/db
- doins "${FILESDIR}"/blockedsites
-
- dodoc ANNOUNCE CHANGELOG README
- docinto html
- dodoc doc/*.html
- docinto text
- dodoc doc/*.txt
-}
-
-pkg_postinst() {
- einfo "To enable squidGuard, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /usr/bin/squidGuard"
- einfo " url_rewrite_children 10"
- einfo ""
- einfo "Remember to edit /etc/squidGuard/squidGuard.conf first!"
- einfo "Examples can be found in /etc/squidGuard/sample/"
-}
diff --git a/net-proxy/squidguard/squidguard-1.6.0-r2.ebuild b/net-proxy/squidguard/squidguard-1.6.0-r2.ebuild
deleted file mode 100644
index 9ec784468837..000000000000
--- a/net-proxy/squidguard/squidguard-1.6.0-r2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools db-use
-
-DESCRIPTION="Combined filter, redirector and access controller plugin for Squid"
-HOMEPAGE="http://www.squidguard.org"
-SRC_URI="mirror://debian/pool/main/s/squidguard/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86"
-
-IUSE="ldap"
-
-RDEPEND="
- acct-group/squid
- acct-user/squid
- || (
- sys-libs/db:5.3
- sys-libs/db:4.8
- )
- ldap? ( net-nds/openldap:= )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- app-alternatives/yacc:0
- app-alternatives/lex:0
-"
-
-suitable_db_version() {
- local tested_slots="5.3 4.8"
- for ver in ${tested_slots}; do
- if [[ -n $(db_findver sys-libs/db:${ver}) ]]; then
- echo ${ver}
- return 0
- fi
- done
- die "No suitable BerkDB versions found, aborting"
-}
-
-PATCHES=(
- "${FILESDIR}/${P}-gentoo.patch"
- "${FILESDIR}/${P}-gcc-10.patch"
- "${FILESDIR}/${P}-stdlib.patch"
- "${FILESDIR}/${P}-C23.patch"
-)
-
-src_prepare() {
- default
-
- # Link only with specific BerkDB versions
- # Do not inject default paths for library searching
- db_version="$(suitable_db_version)"
- sed -i \
- -e "/\$LIBS -ldb/s/-ldb/-l$(db_libname ${db_version})/" \
- -e '/$LDFLAGS $db_lib $ldap_lib/d' \
- configure.ac || die
-
- eautoreconf
-
- # Workaround for missing install-sh, bug #705374
- local amver=$(best_version dev-build/automake)
- amver=$(ver_cut 1-2 "${amver#dev-build/automake-}")
- cp -p "${BROOT}/usr/share/automake-${amver}/install-sh" . || die
-}
-
-src_configure() {
- econf \
- $(use_with ldap) \
- --with-db-inc="$(db_includedir ${db_version})" \
- --with-sg-config=/etc/squidGuard/squidGuard.conf \
- --with-sg-logdir=/var/log/squidGuard
-}
-
-src_install() {
- emake prefix="/usr" DESTDIR="${D}" install
-
- keepdir /var/log/squidGuard
- fowners squid:squid /var/log/squidGuard
-
- insinto /etc/squidGuard/sample
- doins "${FILESDIR}"/squidGuard.conf.*
- insinto /etc/squidGuard/sample/db
- doins "${FILESDIR}"/blockedsites
-
- dodoc ANNOUNCE CHANGELOG README
- docinto html
- dodoc doc/*.html
- docinto text
- dodoc doc/*.txt
-}
-
-pkg_postinst() {
- einfo "To enable squidGuard, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /usr/bin/squidGuard"
- einfo " url_rewrite_children 10"
- einfo ""
- einfo "Remember to edit /etc/squidGuard/squidGuard.conf first!"
- einfo "Examples can be found in /etc/squidGuard/sample/"
-}
diff --git a/net-proxy/squirm/Manifest b/net-proxy/squirm/Manifest
deleted file mode 100644
index 3a57fbda2c60..000000000000
--- a/net-proxy/squirm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST squirm-1.26.tgz 24151 BLAKE2B 2e653575d0043c73d8a6ffc526af38c06e32c4bba7726bdc57d56b556ca2bbcf489ed6e009952c4559b3aa63ca79fb4569c30c1cd11b758d669656b192b2274f SHA512 f6d0ec06d796b053cbe77e3099aa15665dc42a0e48e7c5b48c25c35a02677152bbb868ed822460cd52a1e898ec0ad605c43fe408c19e85e473e04257c8ffd9be
diff --git a/net-proxy/squirm/files/squirm-1.26-fno-common.patch b/net-proxy/squirm/files/squirm-1.26-fno-common.patch
deleted file mode 100644
index 01e6b25f59d1..000000000000
--- a/net-proxy/squirm/files/squirm-1.26-fno-common.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://bugs.gentoo.org/709648
---- a/lists.c
-+++ b/lists.c
-@@ -38,6 +38,8 @@
-
-
- extern int dodo_mode;
-+struct pattern_file *pattern_head;
-+struct subnet_block *subnet_head;
-
-
- void init_lists(void)
---- a/lists.h
-+++ b/lists.h
-@@ -45,8 +45,8 @@
-
-
- /* the two chief lists */
--struct subnet_block *subnet_head;
--struct pattern_file *pattern_head;
-+extern struct subnet_block *subnet_head;
-+extern struct pattern_file *pattern_head;
-
-
-
diff --git a/net-proxy/squirm/files/squirm-1.26-gcc5.patch b/net-proxy/squirm/files/squirm-1.26-gcc5.patch
deleted file mode 100644
index 71063718b7a7..000000000000
--- a/net-proxy/squirm/files/squirm-1.26-gcc5.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/util.h
-+++ b/util.h
-@@ -24,5 +24,5 @@
- information.
- */
-
--inline void lower_case(char *str);
-+extern inline void lower_case(char *str);
- char *safe_strdup(const char *str);
diff --git a/net-proxy/squirm/files/squirm-1.26-gentoo.patch b/net-proxy/squirm/files/squirm-1.26-gentoo.patch
deleted file mode 100644
index 1f823d9e525c..000000000000
--- a/net-proxy/squirm/files/squirm-1.26-gentoo.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1,7 +1,7 @@
- # $Id$
-
- # The path to install squirm under
--PREFIX=/usr/local/squirm
-+PREFIX=/opt/squirm
-
- # The username that squid runs as (see cache_effective_user in squid.conf)
- USER=squid
-@@ -29,10 +29,10 @@
- CC=gcc
-
-
--OPTIMISATION=-O3
-+OPTIMISATION=
- BINARIES = squirm
-
--CFLAGS = -O3 -Wall -funroll-loops -DPREFIX=\"$(PREFIX)\"
-+CFLAGS += -DPREFIX=\"$(PREFIX)\"
- #CFLAGS = -Wall -g -DPREFIX=\"$(PREFIX)\"
- #CFLAGS = -Wall -g -DDEBUG
-
-@@ -45,7 +45,7 @@
- install -m 750 -o $(USER) -g $(GROUP) -d $(PREFIX)/logs
- install -m 660 -c -o root -g $(GROUP) squirm.conf.dist squirm.patterns.dist \
- $(PREFIX)/etc
-- install -m 755 -o root -g $(ROOT_GROUP) --strip squirm $(PREFIX)/bin
-+ install -m 755 -o root -g $(ROOT_GROUP) squirm $(PREFIX)/bin
-
- squirm.o: squirm.c $(HFILES)
- $(CC) -c squirm.c $(CFLAGS)
diff --git a/net-proxy/squirm/metadata.xml b/net-proxy/squirm/metadata.xml
deleted file mode 100644
index 115e9d64a669..000000000000
--- a/net-proxy/squirm/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-proxy/squirm/squirm-1.26-r1.ebuild b/net-proxy/squirm/squirm-1.26-r1.ebuild
deleted file mode 100644
index 1cfa2816e0e1..000000000000
--- a/net-proxy/squirm/squirm-1.26-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="A redirector for Squid"
-HOMEPAGE="http://squirm.foote.com.au"
-SRC_URI="http://squirm.foote.com.au/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-
-RDEPEND="net-proxy/squid"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-gentoo.patch
- "${FILESDIR}"/${P}-gcc5.patch
- "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_compile() {
- emake CC="$(tc-getCC)" LDOPTS="${LDFLAGS}"
-}
-
-src_install() {
- emake PREFIX="${ED}/opt/squirm" install
-}
-
-pkg_postinst() {
- einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /opt/squirm/bin/squirm"
- einfo " url_rewrite_children 10"
-}
diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
deleted file mode 100644
index 303dc65b2777..000000000000
--- a/net-proxy/sshuttle/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST sshuttle-1.3.0-docs.tar.xz 8596 BLAKE2B feef646cd450b74fd635aa942a2858dd360ee081668629b7c8a88dd3fdd9ed862bf3b37689961964d25f90ae77fb31f1ce2a53633e126f1fc7ca8adcda73f1d6 SHA512 03430d700411e3dd7d69a1bc56abf5be19cc9d128e5f7f1e07bbba992191a387b2ecfc1ec872347ad5f2b46ec09c20565f276d8fa85afd2442f195581f313562
-DIST sshuttle-1.3.1.gh.tar.gz 168091 BLAKE2B 69abafaf556d7601776b504278bac07b6d99f4538b7179ed80f6555d2b762f057a56ec7d6f600e55f36e52e313ef22ec9618673dd80c2d501ee97f329609671a SHA512 2188fa895f56d70dc12e2cf4b44828735763b8c87544579d832af0bae880aee71466a23453a0750a684b02d9d8b4757af00434818563104285a0983a56859c99
diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
deleted file mode 100644
index bde2871c1eab..000000000000
--- a/net-proxy/sshuttle/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">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">sshuttle</remote-id>
- <remote-id type="github">sshuttle/sshuttle</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/sshuttle/sshuttle-1.3.1.ebuild b/net-proxy/sshuttle/sshuttle-1.3.1.ebuild
deleted file mode 100644
index a90601d00e98..000000000000
--- a/net-proxy/sshuttle/sshuttle-1.3.1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-sshuttle-docs
-# Set to 1 if prebuilt, 0 if not
-# (the construct below is to allow overriding from env for script)
-: ${SSHUTTLE_DOCS_PREBUILT:=1}
-
-SSHUTTLE_DOCS_PREBUILT_DEV=sam
-SSHUTTLE_DOCS_VERSION=${PV%.*}.0
-# Default to generating docs (inc. man pages) if no prebuilt; overridden later
-SSHUTTLE_DOCS_USEFLAG="+doc"
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 linux-info
-
-DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
-HOMEPAGE="https://github.com/sshuttle/sshuttle https://pypi.org/project/sshuttle/"
-# No tests in sdist
-SRC_URI=" https://github.com/sshuttle/sshuttle/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-if [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
- SRC_URI+=" !doc? ( https://dev.gentoo.org/~${SSHUTTLE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${SSHUTTLE_DOCS_VERSION}-docs.tar.xz )"
- SSHUTTLE_DOCS_USEFLAG="doc"
-fi
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="${SSHUTTLE_DOCS_USEFLAG}"
-
-BDEPEND="
- doc? (
- dev-python/sphinx
- dev-python/furo
- )
-"
-RDEPEND="
- dev-python/psutil[${PYTHON_USEDEP}]
- || ( net-firewall/iptables net-firewall/nftables )
-"
-
-CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL ~NF_NAT"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- # Don't require pytest-cov when running tests
- sed -i "s/^addopts =/#\0/" setup.cfg || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- if use doc ; then
- emake -j1 -C docs html man
- fi
-}
-
-python_install_all() {
- # If USE=doc, there'll be newly generated docs which we install instead.
- if ! use doc && [[ ${SSHUTTLE_DOCS_PREBUILT} == 1 ]] ; then
- doman "${WORKDIR}"/${PN}-${SSHUTTLE_DOCS_VERSION}-docs/sshuttle.1
- else
- HTML_DOCS=( docs/_build/html/. )
- doman docs/_build/man/*
- fi
-
- distutils-r1_python_install_all
-}
diff --git a/net-proxy/tayga/Manifest b/net-proxy/tayga/Manifest
deleted file mode 100644
index ed9b04e8835f..000000000000
--- a/net-proxy/tayga/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tayga-0.9.2.tar.bz2 86022 BLAKE2B 9658960e0a8a4a419851a50f131a7dfb0790d0d188ad95ed5078033bd3a19180964a072dc177616b3451bc23dfa2b998058d73cc6aacfbb4b59c0b9173764440 SHA512 a7a81cccb7c3e32f00f142b1bac598b732dd748772b307561239d695418ada5302182d487e51d1cf95ed736c0180c01db2f33409d0b9343d6587b76cbb3bc573
-DIST tayga-0.9.6.tar.gz 156382 BLAKE2B 6b2b0393e91fa72e8d449c6e23e4cca29eab30eacba66ec42095bf32cd6d392e48fbb2b81490fa8a6d6e462428ba656f61a163d5a63fd0bde274cd2ecb63d5e6 SHA512 80cfcb2ca0d21ea6424cc4a9c5133716e9c954d4c52fd71e2aebc0432cb7222625dbf3661969413c80fd0f5e51a737511deb40920b7d0e90c90cd13c6ff5092f
diff --git a/net-proxy/tayga/files/tayga-0.9.2-Fix-implicit-function-declaration.patch b/net-proxy/tayga/files/tayga-0.9.2-Fix-implicit-function-declaration.patch
deleted file mode 100644
index 581aecc0a53f..000000000000
--- a/net-proxy/tayga/files/tayga-0.9.2-Fix-implicit-function-declaration.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-From 64b2c3859304c595e7099dd157596951ec21562b Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Tue, 25 Oct 2022 12:54:31 +0100
-Subject: [PATCH] Fix implicit function declaration
-
-Bug: https://bugs.gentoo.org/871678
---- a/nat64.c
-+++ b/nat64.c
-@@ -16,6 +16,7 @@
- */
-
- #include <tayga.h>
-+#include <sys/uio.h>
-
- extern struct config *gcfg;
-
diff --git a/net-proxy/tayga/files/tayga-0.9.2-manpage-RFC.patch b/net-proxy/tayga/files/tayga-0.9.2-manpage-RFC.patch
deleted file mode 100644
index e38489f839cf..000000000000
--- a/net-proxy/tayga/files/tayga-0.9.2-manpage-RFC.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/tayga.8
-+++ b/tayga.8
-@@ -1,4 +1,4 @@
--.TH TAYGA "8" "June 2011" "TAYGA 0.9.2" ""
-+.TH TAYGA "8" "Dec 2018" "TAYGA 0.9.2" ""
-
- .SH NAME
- tayga \- stateless NAT64 daemon
-@@ -19,10 +19,10 @@
- translates them to the other protocol, and then sends the translated packets
- back to the host using the same TUN interface.
- .P
--Translation is compliant with IETF Internet-Draft
--draft-ietf-behave-v6v4-xlate-23, and address mapping is performed in
--accordance with RFC 6052. Optionally, TAYGA may be configured to dynamically
--map IPv6 hosts to addresses drawn from a configured IPv4 address pool.
-+Translation is compliant with IETF RFC 6145, and address mapping is
-+performed in accordance with RFC 6052 or RFC 7757. Optionally, TAYGA may be
-+configured to dynamically map IPv6 hosts to addresses drawn from a
-+configured IPv4 address pool.
- .P
- As a stateless NAT, TAYGA requires a one-to-one mapping between IPv4 addresses
- and IPv6 addresses. Mapping multiple IPv6 addresses onto a single IPv4
---- a/tayga.conf.5
-+++ b/tayga.conf.5
-@@ -1,4 +1,4 @@
--.TH TAYGA.CONF "5" "June 2011" "TAYGA 0.9.2" ""
-+.TH TAYGA.CONF "5" "Dec 2018" "TAYGA 0.9.2" ""
- .SH NAME
- tayga.conf \- configuration file of the TAYGA stateless NAT64 daemon
- .SH DESCRIPTION
-@@ -75,12 +75,21 @@
- .B map
- directive.
- .TP
--.BI "map " "ipv4_address ipv6_address"
--Creates a static mapping between
--.I ipv4_address
-+.BI "map " "ipv4_address[/length] ipv6_address[/length]"
-+Creates a static mapping between RFC 7577 compliant hosts or subnets
-+.I ipv4_address[/length]
- and
--.I ipv6_address
-+.I ipv6_address[/length]
- to be used when translating IPv4 packets to IPv6 or IPv6 packets to IPv4.
-+If
-+.I /length
-+is not present, the
-+.I /length
-+after
-+.I ipv4_address
-+is treated as "/32" and that of
-+.I ipv6_address
-+as "/128".
- Multiple
- .B map
- directives are permitted in the tayga.conf file.
diff --git a/net-proxy/tayga/files/tayga-0.9.2-release-reserved-addr.patch b/net-proxy/tayga/files/tayga-0.9.2-release-reserved-addr.patch
deleted file mode 100644
index 60b07e01d826..000000000000
--- a/net-proxy/tayga/files/tayga-0.9.2-release-reserved-addr.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/addrmap.c
-+++ b/addrmap.c
-@@ -22,10 +22,6 @@
-
- int validate_ip4_addr(const struct in_addr *a)
- {
-- /* First octet == 0 */
-- if (!(a->s_addr & htonl(0xff000000)))
-- return -1;
--
- /* First octet == 127 */
- if ((a->s_addr & htonl(0xff000000)) == htonl(0x7f000000))
- return -1;
diff --git a/net-proxy/tayga/files/tayga-0.9.2-static-EAM.patch b/net-proxy/tayga/files/tayga-0.9.2-static-EAM.patch
deleted file mode 100644
index 6c00bf3f7ebb..000000000000
--- a/net-proxy/tayga/files/tayga-0.9.2-static-EAM.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-Description: Support SIIT-DC styled EAM static maps
- Introduce Explicit Address Mapping as defined in RFC7757. This extends the
- `map <ipv4> <ipv6>` into `map <ipv4 subnet> <ipv6 subnet>`.
- .
-Author: Benda Xu <heroxbd@gentoo.org>
-Forwarded: Nathan Lutchansky <lutchann@litech.org>
-Last-Update: 2024-01-09
-
---- a/conffile.c
-+++ b/conffile.c
-@@ -217,16 +217,43 @@
-
- m = alloc_map_static(ln);
-
-+ char *slash;
-+ slash = strchr(args[0], '/');
-+ unsigned int prefix4 = 32;
-+ if (slash) {
-+ prefix4 = atoi(slash+1);
-+ slash[0] = '\0';
-+ }
-+
- if (!inet_pton(AF_INET, args[0], &m->map4.addr)) {
-- slog(LOG_CRIT, "Expected an IPv4 address but found \"%s\" on "
-+ slog(LOG_CRIT, "Expected an IPv4 subnet but found \"%s\" on "
- "line %d\n", args[0], ln);
- exit(1);
- }
-+ m->map4.prefix_len = prefix4;
-+ calc_ip4_mask(&m->map4.mask, NULL, prefix4);
-+
-+ unsigned int prefix6 = 128;
-+ slash = strchr(args[1], '/');
-+ if (slash) {
-+ prefix6 = atoi(slash+1);
-+ slash[0] = '\0';
-+ }
-+
-+ if ((32 - prefix4) != (128 - prefix6)) {
-+ slog(LOG_CRIT, "IPv4 and IPv6 subnet must be of the same size, but found"
-+ " %s and %s on line %d\n", args[0], args[1], ln);
-+ exit(1);
-+ }
-+
- if (!inet_pton(AF_INET6, args[1], &m->map6.addr)) {
-- slog(LOG_CRIT, "Expected an IPv6 address but found \"%s\" on "
-+ slog(LOG_CRIT, "Expected an IPv6 subnet but found \"%s\" on "
- "line %d\n", args[1], ln);
- exit(1);
- }
-+ m->map6.prefix_len = prefix6;
-+ calc_ip6_mask(&m->map6.mask, NULL, prefix6);
-+
- if (validate_ip4_addr(&m->map4.addr) < 0) {
- slog(LOG_CRIT, "Cannot use reserved address %s in map "
- "directive, aborting...\n", args[0]);
-@@ -490,3 +517,10 @@
- slog(LOG_CRIT, "Unable to allocate config memory\n");
- exit(1);
- }
-+
-+/*
-+Local Variables:
-+c-basic-offset: 8
-+indent-tabs-mode: t
-+End:
-+*/
---- a/addrmap.c
-+++ b/addrmap.c
-@@ -97,7 +97,12 @@
-
- int calc_ip4_mask(struct in_addr *mask, const struct in_addr *addr, int len)
- {
-- mask->s_addr = htonl(~((1 << (32 - len)) - 1));
-+ if (len) {
-+ mask->s_addr = htonl(~((1 << (32 - len)) - 1));
-+ } else {
-+ /* len==0 */
-+ mask->s_addr = 0;
-+ }
- if (addr && (addr->s_addr & ~mask->s_addr))
- return -1;
- return 0;
-@@ -422,6 +427,9 @@
- case MAP_TYPE_STATIC:
- s = container_of(map4, struct map_static, map4);
- *addr6 = s->map6.addr;
-+ if (map4->prefix_len < 32) {
-+ addr6->s6_addr32[3] = s->map6.addr.s6_addr32[3] | (addr4->s_addr & ~map4->mask.s_addr);
-+ }
- break;
- case MAP_TYPE_RFC6052:
- s = container_of(map4, struct map_static, map4);
-@@ -564,7 +572,13 @@
- switch (map6->type) {
- case MAP_TYPE_STATIC:
- s = container_of(map6, struct map_static, map6);
-- *addr4 = s->map4.addr;
-+
-+ if (map6->prefix_len < 128) {
-+ addr4->s_addr = s->map4.addr.s_addr | (addr6->s6_addr32[3] & ~map6->mask.s6_addr32[3]);
-+ } else {
-+ *addr4 = s->map4.addr;
-+ }
-+
- break;
- case MAP_TYPE_RFC6052:
- if (extract_from_prefix(addr4, addr6, map6->prefix_len) < 0)
-@@ -629,3 +643,10 @@
- }
- }
- }
-+
-+/*
-+Local Variables:
-+c-basic-offset: 8
-+indent-tabs-mode: t
-+End:
-+*/
diff --git a/net-proxy/tayga/files/tayga.confd b/net-proxy/tayga/files/tayga.confd
deleted file mode 100644
index c601c33e58d3..000000000000
--- a/net-proxy/tayga/files/tayga.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# Should match the tayga.conf tun-device
-#rc_need="net.nat64"
diff --git a/net-proxy/tayga/files/tayga.initd b/net-proxy/tayga/files/tayga.initd
deleted file mode 100644
index f184a29b336c..000000000000
--- a/net-proxy/tayga/files/tayga.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-#
-
-description='tayga NAT64 gateway'
-pidfile=${pidfile:=/run/tayga.pid}
-user=${user:=nobody}
-group=${group:=nogroup}
-datadir=${datadir:=/var/db/tayga}
-
-command='/usr/sbin/tayga'
-command_args="--pidfile ${pidfile} -u ${user} -g ${group}"
-
-start_pre() {
- checkpath --directory --owner ${user}:${group} ${datadir}
- checkpath --owner ${user}:${group} ${datadir}/dynamic.map
-}
-
-
diff --git a/net-proxy/tayga/metadata.xml b/net-proxy/tayga/metadata.xml
deleted file mode 100644
index d2a7b7ae6db4..000000000000
--- a/net-proxy/tayga/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>zhuyifei1999@gmail.com</email>
- <name>YiFei Zhu</name>
- </maintainer>
- <maintainer type="person">
- <email>heroxbd@gentoo.org</email>
- <name>Benda Xu</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="github">apalrd/tayga</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/tayga/tayga-0.9.2-r4.ebuild b/net-proxy/tayga/tayga-0.9.2-r4.ebuild
deleted file mode 100644
index a9b959457ddf..000000000000
--- a/net-proxy/tayga/tayga-0.9.2-r4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Out-of-kernel stateless NAT64 implementation based on TUN"
-HOMEPAGE="http://www.litech.org/tayga/"
-SRC_URI="http://www.litech.org/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv"
-
-PATCHES=(
- "${FILESDIR}"/${P}-static-EAM.patch
- "${FILESDIR}"/${P}-manpage-RFC.patch
- "${FILESDIR}"/${P}-release-reserved-addr.patch
- "${FILESDIR}"/${PN}-0.9.2-Fix-implicit-function-declaration.patch
-)
-
-src_prepare() {
- default
- sed -e '/^CFLAGS/d' \
- -i configure.ac || die "sed failed"
- eautoreconf
-}
-
-src_install() {
- default
- newconfd "${FILESDIR}"/tayga.confd ${PN}
- newinitd "${FILESDIR}"/tayga.initd ${PN}
-}
diff --git a/net-proxy/tayga/tayga-0.9.6.ebuild b/net-proxy/tayga/tayga-0.9.6.ebuild
deleted file mode 100644
index c051c624952e..000000000000
--- a/net-proxy/tayga/tayga-0.9.6.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="Out-of-kernel stateless NAT64 implementation based on TUN"
-HOMEPAGE="https://github.com/apalrd/tayga"
-SRC_URI="https://github.com/apalrd/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv"
-
-src_prepare() {
- default
-
- export prefix="${EPREFIX}/usr"
- export sysconfdir="${EPREFIX}/etc"
- export servicedir="$(systemd_get_systemunitdir)"
-
- # Unconditionally install init scripts
- export WITH_SYSTEMD=1
- export WITH_OPENRC=1
-}
-
-src_compile() {
- # Disable dynamic version detection
- emake TAYGA_VERSION="${PV}" TAYGA_BRANCH=main TAYGA_COMMIT=RELEASE
-}
-
-pkg_postinst() {
- local src="${EROOT}/var/db/tayga"
- local dst="${EROOT}/var/lib/tayga"
-
- if [[ -d "${src}" ]]; then
- einfo "${src} exists. Upstream moved the state directory"
- einfo "to ${dst}. Attempting to follow suit..."
-
- if [[ -e "${dst}" ]]; then
- ewarn "${dst} exists, skipping move."
- else
- mv -- "${src}" "${dst}" || ewarn "Move failed."
- fi
- fi
-}
diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest
deleted file mode 100644
index a131be002033..000000000000
--- a/net-proxy/tinyproxy/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tinyproxy-1.11.2.tar.xz 185864 BLAKE2B ae8f1cc0fcfa3f2a6b239ad1f0f34bf21843cbf85613643b221359904e672d5c28c69bcb6b61f0244c5a3e6fd901b0c24488c3b80a0aa1f95b87ff90b175dc62 SHA512 008e43b770f946965d5a3fbad1881859e30b66a3a4a97cf9982e63d81139da7a8f23937601b72f32276166cd170008cafec9231b616fc840f05cae3c1329be35
-DIST tinyproxy-1.11.3.tar.xz 185212 BLAKE2B 68b1c70cc8dd53b04377528e4322ed2b6b9e84adf82f19c2e9882d83fe56a2524210a90fdc26c643aed52dbe2063b075aae8b87ac783fe60e164eb8ede9b7a11 SHA512 5e687188a4100409c2abb4784e9d21a02012fe7af04049d2c4db74ff52d8e2861cb290460975efd66ff296fbdde4dcf7de3ccdfe7898913a56f5e125357d88f4
diff --git a/net-proxy/tinyproxy/files/tinyproxy-1.10.0.initd b/net-proxy/tinyproxy/files/tinyproxy-1.10.0.initd
deleted file mode 100644
index 48688a2c19c5..000000000000
--- a/net-proxy/tinyproxy/files/tinyproxy-1.10.0.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-get_config() {
- res=$(awk '$1 == "'$1'" { s=$2 } END { print s }' "$CONFFILE")
-
- if [ "x$res" = "x" ]; then
- echo "$2"
- else
- eval echo "$res"
- fi
-}
-
-: ${CONFFILE:="/etc/${SVCNAME}/${SVCNAME}.conf"}
-
-command=/usr/bin/tinyproxy
-command_args="-c ${CONFFILE}"
-pidfile=$(get_config PidFile /run/tinyproxy/${SVCNAME}.pid)
-
-depend() {
- config "$CONFFILE"
-
- use dns
-
- [ "$(get_config Syslog Off)" = "On" ] && \
- use logger
-}
-
-start_pre() {
- piddir=$(dirname ${pidfile})
-
- if [ "${piddir}" = "/run" ]; then
- eerror "Please change your PidFile settings to be within the"
- eerror "/run/tinyproxy directory"
- eend 1
- else
- checkpath -d -o $(get_config User tinyproxy):$(get_config Group tinyproxy) ${piddir}
- fi
-}
diff --git a/net-proxy/tinyproxy/files/tinyproxy-1.10.0.service b/net-proxy/tinyproxy/files/tinyproxy-1.10.0.service
deleted file mode 100644
index e78310098778..000000000000
--- a/net-proxy/tinyproxy/files/tinyproxy-1.10.0.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Tinyproxy Web Proxy Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/tinyproxy -d -c /etc/tinyproxy/tinyproxy.conf
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/tinyproxy/files/tinyproxy-1.11.2_use-runstatedir.patch b/net-proxy/tinyproxy/files/tinyproxy-1.11.2_use-runstatedir.patch
deleted file mode 100644
index 4bc7d47a961b..000000000000
--- a/net-proxy/tinyproxy/files/tinyproxy-1.11.2_use-runstatedir.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-https://github.com/tinyproxy/tinyproxy/commit/942d0c6b03673ad816c42176422d7fe691143064
-From 942d0c6b03673ad816c42176422d7fe691143064 Mon Sep 17 00:00:00 2001
-From: Mohamed Akram <mohd.akram@outlook.com>
-Date: Sun, 2 Jun 2024 18:52:59 +0400
-Subject: [PATCH] Use appropriate installation path variables
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -173,6 +173,9 @@ fi
- dnl
- dnl Substitute the variables into the various Makefiles
- dnl
-+# runstatedir isn't available for Autoconf < 2.70
-+AS_IF([test -z "${runstatedir}"], [runstatedir='${localstatedir}/run'])
-+AC_SUBST([runstatedir])
- AC_SUBST(CFLAGS)
- AC_SUBST(LDFLAGS)
- AC_SUBST(CPPFLAGS)
-@@ -220,7 +223,6 @@ docs/Makefile
- docs/man5/Makefile
- docs/man5/tinyproxy.conf.txt
- docs/man8/Makefile
--docs/man8/tinyproxy.txt
- m4macros/Makefile
- tests/Makefile
- tests/scripts/Makefile
---- a/docs/man8/Makefile.am
-+++ b/docs/man8/Makefile.am
-@@ -9,6 +9,17 @@ M_NAME=TINYPROXY
- man_MANS = \
- $(MAN8_FILES:.txt=.8)
-
-+edit = sed \
-+ -e 's|@localstatedir[@]|$(localstatedir)|g' \
-+ -e 's|@runstatedir[@]|$(runstatedir)|g' \
-+ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-+ -e 's|@TINYPROXY_STATHOST[@]|$(TINYPROXY_STATHOST)|g'
-+
-+tinyproxy.txt: $(top_srcdir)/docs/man8/tinyproxy.txt.in Makefile
-+ @rm -f $@ $@.tmp
-+ $(AM_V_GEN) $(edit) $(top_srcdir)/docs/man8/$@.in > $@.tmp
-+ @mv $@.tmp $@
-+
- .txt.8:
- if HAVE_POD2MAN
- $(AM_V_GEN) $(POD2MAN) --center="Tinyproxy manual" \
---- a/docs/man8/tinyproxy.txt.in
-+++ b/docs/man8/tinyproxy.txt.in
-@@ -156,7 +156,11 @@ configuration variable `StatFile`.
-
- =head1 FILES
-
--`/etc/tinyproxy/tinyproxy.conf`, `/var/run/tinyproxy/tinyproxy.pid`, `/var/log/tinyproxy/tinyproxy.log`
-+F<@sysconfdir@/tinyproxy/tinyproxy.conf>
-+
-+F<@runstatedir@/tinyproxy/tinyproxy.pid>
-+
-+F<@localstatedir@/log/tinyproxy/tinyproxy.log>
-
- =head1 BUGS
-
---- a/etc/Makefile.am
-+++ b/etc/Makefile.am
-@@ -12,6 +12,7 @@ edit = sed \
- -e 's|@datarootdir[@]|$(datarootdir)|g' \
- -e 's|@pkgsysconfdir[@]|$(pkgsysconfdir)|g' \
- -e 's|@localstatedir[@]|$(localstatedir)|g' \
-+ -e 's|@runstatedir[@]|$(runstatedir)|g' \
- -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
- -e 's|@prefix[@]|$(prefix)|g' \
- -e 's|@TINYPROXY_STATHOST[@]|$(TINYPROXY_STATHOST)|g'
---- a/etc/tinyproxy.conf.in
-+++ b/etc/tinyproxy.conf.in
-@@ -124,7 +124,7 @@ LogLevel Info
- # can be used for signalling purposes.
- # If not specified, no pidfile will be written.
- #
--#PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid"
-+#PidFile "@runstatedir@/tinyproxy/tinyproxy.pid"
-
- #
- # XTinyproxy: Tell Tinyproxy to include the X-Tinyproxy header, which
-@@ -320,6 +320,3 @@ ViaProxyName "tinyproxy"
- # If not set then no rewriting occurs.
- #
- #ReverseBaseURL "http://localhost:8888/"
--
--
--
diff --git a/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf b/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf
deleted file mode 100644
index 5a89fcb6b7fc..000000000000
--- a/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/tinyproxy 0770 tinyproxy tinyproxy -
diff --git a/net-proxy/tinyproxy/metadata.xml b/net-proxy/tinyproxy/metadata.xml
deleted file mode 100644
index 7e73d74f0da4..000000000000
--- a/net-proxy/tinyproxy/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">
- <email>bkohler@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="filter-proxy">Enable filtering of domains/URLS</flag>
- <flag name="reverse-proxy">Enable reverse proxying</flag>
- <flag name="transparent-proxy">Enable transparent proxying</flag>
- <flag name="upstream-proxy">Enable upstream proxying</flag>
- <flag name="xtinyproxy-header">Include the X-Tinyproxy header</flag>
- </use>
- <upstream>
- <remote-id type="github">tinyproxy/tinyproxy</remote-id>
- <remote-id type="cpe">cpe:/a:tinyproxy_project:tinyproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.2-r1.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.2-r1.ebuild
deleted file mode 100644
index e12fe330f3c2..000000000000
--- a/net-proxy/tinyproxy/tinyproxy-1.11.2-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd tmpfiles
-
-DESCRIPTION="A lightweight HTTP/SSL proxy"
-HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
-SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
-
-IUSE="test debug +filter-proxy reverse-proxy transparent-proxy +upstream-proxy +xtinyproxy-header"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( xtinyproxy-header )"
-
-DEPEND="
- acct-group/tinyproxy
- acct-user/tinyproxy
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/tinyproxy-1.11.2_use-runstatedir.patch"
-)
-
-src_prepare() {
- default
-
- # Enable and change PidFile location, OpenRC relies on it
- sed -i \
- -e "s|nobody|${PN}|g" \
- -e "s|^#PidFile |PidFile |g" \
- etc/${PN}.conf.in || die "sed failed"
-
- sed -i -e "s# -Wp,-D_FORTIFY_SOURCE=2##" configure.ac || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable debug) \
- $(use_enable filter-proxy filter)
- $(use_enable reverse-proxy reverse)
- $(use_enable transparent-proxy transparent)
- $(use_enable upstream-proxy upstream)
- $(use_enable xtinyproxy-header xtinyproxy)
- --localstatedir=/var
- --runstatedir=/run
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- # The make check target does not run the test suite
- emake test
-}
-
-src_install() {
- default
-
- dodoc AUTHORS README.md
-
- diropts -m0775 -o ${PN} -g ${PN}
- keepdir /var/log/${PN}
-
- newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy
- systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service
- dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog "For filtering domains and URLs, enable filter option in the configuration"
- elog "file and add them to the filter file (one domain or URL per line)."
-}
diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.2.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.2.ebuild
deleted file mode 100644
index 3d72d958bdad..000000000000
--- a/net-proxy/tinyproxy/tinyproxy-1.11.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd tmpfiles
-
-DESCRIPTION="A lightweight HTTP/SSL proxy"
-HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
-SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
-
-IUSE="test debug +filter-proxy reverse-proxy transparent-proxy
-+upstream-proxy +xtinyproxy-header"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( xtinyproxy-header )"
-
-DEPEND="
- acct-group/tinyproxy
- acct-user/tinyproxy
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
-
- sed -i \
- -e "s|nobody|${PN}|g" \
- etc/${PN}.conf.in || die "sed failed"
-
- sed -i -e "s# -Wp,-D_FORTIFY_SOURCE=2##" configure.ac || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable debug) \
- $(use_enable filter-proxy filter) \
- $(use_enable reverse-proxy reverse) \
- $(use_enable transparent-proxy transparent) \
- $(use_enable upstream-proxy upstream) \
- $(use_enable xtinyproxy-header xtinyproxy) \
- --localstatedir=/var
-}
-
-src_test() {
- # The make check target does not run the test suite
- emake test
-}
-
-src_install() {
- default
-
- dodoc AUTHORS README.md
-
- diropts -m0775 -o ${PN} -g ${PN}
- keepdir /var/log/${PN}
-
- newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy
- systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service
- dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog "For filtering domains and URLs, enable filter option in the configuration"
- elog "file and add them to the filter file (one domain or URL per line)."
-}
diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.3.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.3.ebuild
deleted file mode 100644
index 28310f5341de..000000000000
--- a/net-proxy/tinyproxy/tinyproxy-1.11.3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd tmpfiles
-
-DESCRIPTION="A lightweight HTTP/SSL proxy"
-HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
-SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
-
-IUSE="test debug +filter-proxy reverse-proxy transparent-proxy +upstream-proxy +xtinyproxy-header"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( xtinyproxy-header )"
-
-DEPEND="
- acct-group/tinyproxy
- acct-user/tinyproxy
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
-
- # Enable and change PidFile location, OpenRC relies on it
- sed -i \
- -e "s|nobody|${PN}|g" \
- -e "s|^#PidFile |PidFile |g" \
- etc/${PN}.conf.in || die "sed failed"
-
- sed -i -e "s# -Wp,-D_FORTIFY_SOURCE=2##" configure.ac || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable debug) \
- $(use_enable filter-proxy filter)
- $(use_enable reverse-proxy reverse)
- $(use_enable transparent-proxy transparent)
- $(use_enable upstream-proxy upstream)
- $(use_enable xtinyproxy-header xtinyproxy)
- --localstatedir=/var
- --runstatedir=/run
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- # The make check target does not run the test suite
- emake test
-}
-
-src_install() {
- default
-
- dodoc AUTHORS README.md
-
- diropts -m0775 -o ${PN} -g ${PN}
- keepdir /var/log/${PN}
-
- newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy
- systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service
- dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog "For filtering domains and URLs, enable filter option in the configuration"
- elog "file and add them to the filter file (one domain or URL per line)."
-}
diff --git a/net-proxy/torsocks/Manifest b/net-proxy/torsocks/Manifest
deleted file mode 100644
index 7eb46bcd2860..000000000000
--- a/net-proxy/torsocks/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST torsocks-v2.5.0.tar.bz2 99062 BLAKE2B eeaf971e54421c91ee29e6e667fd2cb68bd92da383d1f8a88afc22525263a8eee8fffd57f8fb0fc24f35b817f524f819717e6fd3e50d1643278869030108acdc SHA512 49929e6eb1470d4382286773faa35541ae5c175883c76da800ffbbe3f9d754eed1d26cdff31b12f41b8562a7c6f3bbc8758feae2e57a86c9a4b34e325555fcea
diff --git a/net-proxy/torsocks/files/torsocks-2.4.0-configure.patch b/net-proxy/torsocks/files/torsocks-2.4.0-configure.patch
deleted file mode 100644
index 96af0b4ee510..000000000000
--- a/net-proxy/torsocks/files/torsocks-2.4.0-configure.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix bashism in libc.so filename check, and don't unconditionally set _F_S=2,
-as it clobbers e.g. _F_S=3.
---- a/configure.ac
-+++ b/configure.ac
-@@ -124,7 +124,7 @@ AS_CASE([$host_os],
- [linux*|kfreebsd*-gnu|freebsd*],
- [
- libc_name=`ldd /usr/bin/yes | grep 'libc\.' | cut -d ' ' -f 1 | tr -d '\t'`
-- if test "${libc_name}" == ""; then
-+ if test "${libc_name}" = ""; then
- # Default libc on most system.
- libc_name="libc.so.6"
- fi
-@@ -258,9 +258,6 @@ AX_CHECK_LINK_FLAG([-pie],[LDFLAGS="$LDFLAGS -pie"],[],[])
- AX_CHECK_LINK_FLAG([-z relro],[LDFLAGS="$LDFLAGS -z relro"],[],[])
- AX_CHECK_LINK_FLAG([-z now],[LDFLAGS="$LDFLAGS -z now"],[],[])
-
--dnl Add glibc hardening
--CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
--
- ##############################################################################
- # 10. Finish up
- ##############################################################################
diff --git a/net-proxy/torsocks/metadata.xml b/net-proxy/torsocks/metadata.xml
deleted file mode 100644
index 05a52c3a3b63..000000000000
--- a/net-proxy/torsocks/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" proxied="yes">
- <email>bacs@librecast.net</email>
- <name>Brett A C Sheffield</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <bugs-to>https://gitlab.torproject.org/tpo/core/torsocks/-/issues</bugs-to>
- <changelog>https://gitlab.torproject.org/tpo/core/torsocks/-/blob/main/ChangeLog</changelog>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/torsocks/torsocks-2.5.0.ebuild b/net-proxy/torsocks/torsocks-2.5.0.ebuild
deleted file mode 100644
index b2827a94ccdd..000000000000
--- a/net-proxy/torsocks/torsocks-2.5.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-UPSTREAM_P="${PN}-v${PV}"
-DESCRIPTION="Use most socks-friendly applications with Tor"
-HOMEPAGE="https://gitlab.torproject.org/tpo/core/torsocks"
-SRC_URI="https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v${PV}/${UPSTREAM_P}.tar.bz2"
-S="${WORKDIR}"/${UPSTREAM_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE="static-libs"
-
-# We do not depend on tor which might be running on a different box
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.4.0-configure.patch
-)
-
-src_prepare() {
- # Disable tests requiring network access.
- local test
- for test in dns fd_passing getpeername; do
- sed -i -e "/^ test_${test} \\\\\$/d" tests/Makefile.am || \
- die "failed to disable network tests"
- done
-
- default
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_install() {
- default
-
- # Remove libtool .la files
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-proxy/trojan/Manifest b/net-proxy/trojan/Manifest
deleted file mode 100644
index 0ccbae793dad..000000000000
--- a/net-proxy/trojan/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST trojan-1.16.0.tar.gz 51669 BLAKE2B 9238f9886820ca3625a894ac8de1e199e238029593634436f3aa529d5c576f2636d5183b64a2e6155a888fe8f45629c94625f02119fbfb4ada01b1bd9e502fcf SHA512 60aa8539731eee6f15cbcb18b20b45435fc2dfe439a2f67fe9770257c3b6ffe219efe376cfd909f748d523a18645c96f6859b8487cacaba04ac7d93cf762f153
diff --git a/net-proxy/trojan/files/README.gentoo b/net-proxy/trojan/files/README.gentoo
deleted file mode 100644
index caaf236f4c1c..000000000000
--- a/net-proxy/trojan/files/README.gentoo
+++ /dev/null
@@ -1,14 +0,0 @@
-Notes:
- 1) starting from version 1.16.0-r2, the daemon will
-run as user='trojan', previous it's run as user='nobody',
-you might want to fix the permissions at /etc/trojan/*.
-
- 2) Running Trojan with multi instances
-
- a) Using OpenRC
- Prepare /etc/trojan/${foo}.json first
- # ln -s /etc/init.d/trojan{,.${foo}}
- # rc-update add trojan.${foo} default
-
- b) Using Systemd
- # systemctl enable trojan.${foo}
diff --git a/net-proxy/trojan/files/trojan-1.16.0-boost-1.89.patch b/net-proxy/trojan/files/trojan-1.16.0-boost-1.89.patch
deleted file mode 100644
index 43f64cdb0095..000000000000
--- a/net-proxy/trojan/files/trojan-1.16.0-boost-1.89.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -36,7 +36,7 @@
- find_package(Threads REQUIRED)
- target_link_libraries(trojan ${CMAKE_THREAD_LIBS_INIT})
-
--find_package(Boost 1.66.0 REQUIRED COMPONENTS system program_options)
-+find_package(Boost 1.69.0 REQUIRED COMPONENTS program_options)
- include_directories(${Boost_INCLUDE_DIR})
- target_link_libraries(trojan ${Boost_LIBRARIES})
- if(MSVC)
diff --git a/net-proxy/trojan/files/trojan-1.16.0-cmake-minreqver-3.10.patch b/net-proxy/trojan/files/trojan-1.16.0-cmake-minreqver-3.10.patch
deleted file mode 100644
index 077914d69b7a..000000000000
--- a/net-proxy/trojan/files/trojan-1.16.0-cmake-minreqver-3.10.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 3.7.2)
-+cmake_minimum_required(VERSION 3.10)
- project(trojan CXX)
-
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
diff --git a/net-proxy/trojan/files/trojan.initd b/net-proxy/trojan/files/trojan.initd
deleted file mode 100644
index 9c86bf704b9b..000000000000
--- a/net-proxy/trojan/files/trojan.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-TJ_USER=trojan
-TJ_GROUP=trojan
-
-TJ_NAME=${SVCNAME##*.}
-if [ -n "${TJ_NAME}" -a "${SVCNAME}" != "trojan" ]; then
- TJ_PIDFILE="/run/trojan.${TJ_NAME}.pid"
- TJ_CONFIG="/etc/trojan/${TJ_NAME}.json"
- TJ_LOG="/var/log/trojan.${TJ_NAME}.log"
-else
- TJ_PIDFILE="/run/trojan.pid"
- TJ_CONFIG="/etc/trojan/config.json"
- TJ_LOG="/var/log/trojan.log"
-fi
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Trojan, Log File: ${TJ_LOG}"
- checkpath -f -m 0600 -o ${TJ_USER}:${TJ_GROUP} "${TJ_LOG}"
- start-stop-daemon --start --background \
- --user ${TJ_USER} --group ${TJ_GROUP} \
- --stdout "${TJ_LOG}" --stderr "${TJ_LOG}" \
- --make-pidfile --pidfile "${TJ_PIDFILE}" \
- --exec /usr/bin/trojan -- "${TJ_CONFIG}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping Trojan"
- start-stop-daemon --stop \
- --user ${TJ_USER} --group ${TJ_GROUP} \
- --pidfile "${TJ_PIDFILE}"
- eend $?
-}
diff --git a/net-proxy/trojan/metadata.xml b/net-proxy/trojan/metadata.xml
deleted file mode 100644
index c04b8ddb549e..000000000000
--- a/net-proxy/trojan/metadata.xml
+++ /dev/null
@@ -1,35 +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>yangmame@icloud.com</email>
- <name>Xin Yang</name>
- </maintainer>
- <maintainer type="person">
- <email>dlan@gentoo.org</email>
- <name>Yixun Lan</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription lang="en">
- An unidentifiable mechanism that helps you bypass GFW.
- Trojan features multiple protocols over TLS to avoid both
- active/passive detections and ISP QoS limitations.
- Trojan is not a fixed program or protocol. It's an idea,
- an idea that imitating the most common service, to an extent
- that it behaves identically, could help you get across the
- Great FireWall permanently, without being identified ever.
- We are the GreatER Fire; we ship Trojan Horses.
- </longdescription>
- <use>
- <flag name="mysql">build with MySQL support</flag>
- <flag name="nat">Build with NAT support</flag>
- <flag name="reuseport">Build with SO_REUSEPORT support</flag>
- <flag name="tcpfastopen">Force build with TCP Fast Open support</flag>
- </use>
- <upstream>
- <remote-id type="github">trojan-gfw/trojan</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/trojan/trojan-1.16.0-r4.ebuild b/net-proxy/trojan/trojan-1.16.0-r4.ebuild
deleted file mode 100644
index 6ae33e7dd18d..000000000000
--- a/net-proxy/trojan/trojan-1.16.0-r4.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2026 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_{13..14} )
-
-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} )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-cmake-minreqver-3.10.patch" # bug 964571
- "${FILESDIR}/${P}-boost-1.89.patch" # bug 963419
-)
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
- sed -i -e "/User/s/nobody/trojan/g" \
- 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
-}
diff --git a/net-proxy/tsocks/Manifest b/net-proxy/tsocks/Manifest
deleted file mode 100644
index 0b718fb43a5c..000000000000
--- a/net-proxy/tsocks/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tsocks-1.8b5-tordns1-gentoo-r4.patch.xz 18464 BLAKE2B 99bd4c210c2fa4c797c4d827df4ae53d13198b91083975b9f6d327bd762193663c1a0c8530ea5e65e82d54ccf6900a11aba50e19a2fb6209e0e8f1131985374b SHA512 711b2e3f5ac9b1a4fd63e32b6cb8090066ece8882e2ec0048bee6cba868712c80ca7f601f79405be40404af625c2ff6fefa8cba98b8a6ced95abe6becf34954f
-DIST tsocks-1.8beta5.tar.gz 83928 BLAKE2B a58b4866154deb72b551961578f90b270a7cc1fd2c5b4c08a5ddf99472e3c8e338cc9116c0c9d2d2e1e1c350a077b46cd08fb24390156eb1e60c4d7a10510e6d SHA512 b41636ea6b77abf0d1e3cda7bbca4e7ee96f3cdb1843f3a2c530650931e5567f67921de67b28ba9bab0f51df39770a3f7fb458cf7ac78aad7aa861923df2c4a9
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch
deleted file mode 100644
index e003475da5a3..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: tsocks-1.8/configure.in
-===================================================================
---- tsocks-1.8.orig/configure.in
-+++ tsocks-1.8/configure.in
-@@ -122,7 +122,7 @@ LIBS=
-
- dnl Checks for libraries.
- dnl Replace `main' with a function in -ldl:
--AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))
-+AC_CHECK_FUNC([dlsym], [], [AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))])
-
- dnl If we're using gcc here define _GNU_SOURCE
- AC_MSG_CHECKING("for RTLD_NEXT from dlfcn.h")
-@@ -312,7 +312,7 @@ AC_DEFINE_UNQUOTED(CLOSE_SIGNATURE, [${P
- dnl Find the correct poll prototype on this machine
- AC_MSG_CHECKING(for correct poll prototype)
- PROTO=
--for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
-+for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' 'struct pollfd ufds[[]], nfds_t nfds, int timeout'
- do
- if test "${PROTO}" = ""; then
- AC_TRY_COMPILE([
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-flags.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-flags.patch
deleted file mode 100644
index 70d8786c196b..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-flags.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- tsocks-1.8.orig/Makefile.in 2002-03-16 11:12:40.000000000 +0100
-+++ tsocks-1.8/Makefile.in 2009-06-20 13:56:56.000000000 +0200
-@@ -28,6 +28,7 @@
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- INCLUDES = -I.
- LIBS = @LIBS@
- SPECIALLIBS = @SPECIALLIBS@
-@@ -41,16 +42,16 @@
- all: ${TARGETS}
-
- ${VALIDATECONF}: ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o
-- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
-+ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
-
- ${INSPECT}: ${INSPECT}.c ${COMMON}.o
-- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
-+ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
-
- ${SAVE}: ${SAVE}.c
-- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
-+ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c
-
- ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
-- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
-+ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
- ln -sf ${SHLIB} ${LIB_NAME}.so
-
- %.so: %.c
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-ld_preload.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-ld_preload.patch
deleted file mode 100644
index 360e5b297fb6..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-ld_preload.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- tsocks-1.8.orig/tsocks 2002-03-16 11:27:18.000000000 +0100
-+++ tsocks-1.8/tsocks 2009-06-20 13:56:38.000000000 +0200
-@@ -46,14 +46,14 @@
- on)
- if [ -z "$LD_PRELOAD" ]
- then
-- export LD_PRELOAD="/usr/lib/libtsocks.so"
-+ export LD_PRELOAD="libtsocks.so"
- else
-- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
-- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
-+ echo $LD_PRELOAD | grep -q "libtsocks\.so" || \
-+ export LD_PRELOAD="libtsocks.so $LD_PRELOAD"
- fi
- ;;
- off)
-- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'`
-+ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/libtsocks.so \?//'`
- if [ -z "$LD_PRELOAD" ]
- then
- unset LD_PRELOAD
-@@ -68,10 +68,10 @@
- *)
- if [ -z "$LD_PRELOAD" ]
- then
-- export LD_PRELOAD="/usr/lib/libtsocks.so"
-+ export LD_PRELOAD="libtsocks.so"
- else
-- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
-- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
-+ echo $LD_PRELOAD | grep -q "libtsocks\.so" || \
-+ export LD_PRELOAD="libtsocks.so $LD_PRELOAD"
- fi
-
- if [ $# = 0 ]
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-options.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-options.patch
deleted file mode 100644
index d1f524b3147c..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-options.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- tsocks-1.8/configure.in.orig 2002-07-16 02:51:03.000000000 +0400
-+++ tsocks-1.8/configure.in 2019-03-22 01:38:19.065438275 +0300
-@@ -154,36 +154,36 @@
- ])
- ])
-
--if test "${enable_socksdns}" = "yes"; then
-+if test "x${enable_socksdns}" = "xyes"; then
- AC_DEFINE(USE_SOCKS_DNS)
- fi
-
--if test "x${enable_envconf}" = "x"; then
-+if test "x${enable_envconf}" = "xyes"; then
- AC_DEFINE(ALLOW_ENV_CONFIG)
- fi
-
--if test "${enable_oldmethod}" = "yes"; then
-+if test "x${enable_oldmethod}" = "xyes"; then
- AC_DEFINE(USE_OLD_DLSYM)
- oldmethod="yes"
- fi
-
--if test "x${enable_debug}" = "x"; then
-+if test "x${enable_debug}" = "xyes"; then
- AC_DEFINE(ALLOW_MSG_OUTPUT)
- fi
-
--if test "x${enable_hostnames}" = "x"; then
-+if test "x${enable_hostnames}" = "xyes"; then
- AC_DEFINE(HOSTNAMES)
- fi
-
--if test "${enable_socksdns}" = "yes" -a \
-- "x${enable_hostnames}" = "x" ; then
-+if test "x${enable_socksdns}" = "xyes" -a \
-+ "x${enable_hostnames}" != "xno" ; then
- AC_MSG_ERROR("--enable-socksdns is not valid without --disable-hostnames")
- fi
-
- dnl If we have to use the old method of overriding connect (i.e no
- dnl RTLD_NEXT) we need to know the location of the library that
- dnl contains connect(), select(), poll() and close()
--if test "${oldmethod}" = "yes"; then
-+if test "x${oldmethod}" = "xyes"; then
- dnl We need to find the path to the library, to do
- dnl this we use find on the usual suspects, i.e /lib and
- dnl /usr/lib
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-poll.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-poll.patch
deleted file mode 100644
index 233539564c61..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-poll.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/tsocks.c
-+++ b/tsocks.c
-@@ -659,10 +659,11 @@
- * be ready for writing), otherwise we'll just let the select loop
- * come around again (since we can't flag it for read, we don't know
- * if there is any data to be read and can't be bothered checking) */
-- if (conn->selectevents & WRITE) {
-- setevents |= POLLOUT;
-+ if (conn->selectevents & POLLOUT) {
-+ ufds[i].revents |= POLLOUT;
- nevents++;
- }
-+ ufds[i].events = conn->selectevents;
- }
- }
- } while (nevents == 0);
diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-rename.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-rename.patch
deleted file mode 100644
index 4962aacd6801..000000000000
--- a/net-proxy/tsocks/files/tsocks-1.8_beta5-rename.patch
+++ /dev/null
@@ -1,62 +0,0 @@
---- tsocks-1.8.orig/validateconf.c 2002-02-07 11:49:59.000000000 +0100
-+++ tsocks-1.8/validateconf.c 2009-06-20 13:56:38.000000000 +0200
-@@ -23,7 +23,7 @@
- */
-
- /* Global configuration variables */
--char *progname = "validateconf"; /* Name for error msgs */
-+char *progname = "tsocks-validateconf"; /* Name for error msgs */
-
- /* Header Files */
- #include <config.h>
---- tsocks-1.8.orig/tsocks.8 2002-03-16 11:20:51.000000000 +0100
-+++ tsocks-1.8/tsocks.8 2009-06-20 13:56:38.000000000 +0200
-@@ -127,8 +127,8 @@
- libtsocks in /etc/ld.so.preload. Please make sure you correctly enter the
- full path to the library in this file if you do this. If you get it wrong,
- you will be UNABLE TO DO ANYTHING with the machine and will have to boot
--it with a rescue disk and remove the file (or try the saveme program, see
--the INSTALL file for more info). THIS IS A ***WARNING***, please be
-+it with a rescue disk and remove the file (or try the tsocks-saveme program,
-+simply unlinks /etc/ld.so.preload ). THIS IS A ***WARNING***, please be
- careful. Also be sure the library is in the root filesystem as all hell
- will break loose if the directory it is in is not available at boot time.
-
---- tsocks-1.8.orig/tsocks.conf.5 2002-05-18 04:13:08.000000000 +0200
-+++ tsocks-1.8/tsocks.conf.5 2009-06-20 13:56:38.000000000 +0200
-@@ -139,21 +139,20 @@
- the version that server supports.
-
- .TP
--validateconf
--validateconf can be used to verify the configuration file. It checks the format
--of the file and also the contents for errors. Having read the file it dumps
--the configuration to the screen in a formatted, readable manner. This can be
--extremely useful in debugging problems.
--
--validateconf can read a configuration file from a location other than the
--location specified at compile time with the -f <filename> command line
--option.
--
--Normally validateconf simply dumps the configuration read to the screen (in
--a nicely readable format), however it also has a useful 'test' mode. When
--passed a hostname/ip on the command line like -t <hostname/ip>, validateconf
--determines which of the SOCKS servers specified in the configuration file
--would be used by tsocks to access the specified host.
-+tsocks-validateconf
-+tsocks-validateconf can be used to verify the configuration file. It checks
-+the format of the file and also the contents for errors. Having read the file
-+it dumps the configuration to the screen in a formatted, readable manner.
-+This can be extremely useful in debugging problems.
-+
-+tsocks-validateconf can read a configuration file from a location other than the
-+location specified at compile time with the -f <filename> command line option.
-+
-+Normally tsocks-validateconf simply dumps the configuration read to the screen
-+(in a nicely readable format), however it also has a useful 'test' mode. When
-+passed a hostname/ip on the command line like -t <hostname/ip>,
-+tsocks-validateconf determines which of the SOCKS servers specified in the
-+configuration file would be used by tsocks to access the specified host.
-
- .SH SEE ALSO
- tsocks(8)
diff --git a/net-proxy/tsocks/metadata.xml b/net-proxy/tsocks/metadata.xml
deleted file mode 100644
index 35f72bbb4fc7..000000000000
--- a/net-proxy/tsocks/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-needed -->
- <longdescription>tsocks' role is to allow non SOCKS aware applications (e.g telnet, ssh, ftp etc) to use SOCKS
-without any modification. It does this by intercepting the calls that applications make to establish network connections
-and negotating them through a SOCKS server as necessary.</longdescription>
- <use>
- <flag name="dns">Force DNS queries to use SOCKS server via tcp</flag>
- <flag name="envconf">Allow TSOCKS_CONF_FILE to specify configuration file</flag>
- <flag name="server-lookups">Allow hostname resolution _for_ SOCKS servers</flag>
- <flag name="tordns">Apply tordns patch which allows transparent TORification of the DNS queries</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">tsocks</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/tsocks/tsocks-1.8_beta5-r10.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5-r10.ebuild
deleted file mode 100644
index d8f02ba00a36..000000000000
--- a/net-proxy/tsocks/tsocks-1.8_beta5-r10.ebuild
+++ /dev/null
@@ -1,88 +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 toolchain-funcs multilib-minimal
-
-DESCRIPTION="Transparent SOCKS v4 proxying library"
-HOMEPAGE="http://tsocks.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/tsocks/${PN}-${PV/_}.tar.gz
- tordns? ( https://dev.gentoo.org/~bircoph/patches/${PN}-${PV/_beta/b}-tordns1-gentoo-r4.patch.xz )"
-
-S="${WORKDIR}/${P%%_*}"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="debug dns envconf tordns server-lookups"
-
-REQUIRED_USE="
- dns? ( !tordns !server-lookups )
- tordns? ( !dns !server-lookups )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-flags.patch"
- "${FILESDIR}/${P}-ld_preload.patch"
- "${FILESDIR}/${P}-rename.patch"
- "${FILESDIR}/${P}-bsd.patch"
- "${FILESDIR}/${P}-poll.patch"
- "${FILESDIR}/${P}-options.patch"
-)
-
-src_prepare() {
- default
- use tordns && eapply "../${PN}-${PV/_beta/b}-tordns1-gentoo-r4.patch"
-
- sed -i 's/TSOCKS_CONFFILE/TSOCKS_CONF_FILE/' tsocks.8 || die "sed tsocks.8 failed"
-
- mv configure.in configure.ac || die
- eautoreconf
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- tc-export CC
-
- # bug 920323 - fails with gcc-14
- #
- # The package is dead upstream so appending
- # -Wno-incompatible-pointer-types instead of touch the code
- append-flags -Wno-incompatible-pointer-types
-
- # NOTE: the docs say to install it into /lib. If you put it into
- # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
- # mounted in time :-( (Ben Lutgens) <lamer@gentoo.org>
- econf \
- $(use_enable debug) \
- $(use_enable dns socksdns) \
- $(use_enable envconf) \
- $(use_enable server-lookups hostnames) \
- --with-conf="${EPREFIX}"/etc/socks/tsocks.conf \
- --libdir="${EPREFIX}"/$(get_libdir)
-}
-
-multilib_src_compile() {
- # Fix QA notice lack of SONAME
- emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*}
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
- if multilib_is_native_abi; then
- newbin validateconf tsocks-validateconf
- newbin saveme tsocks-saveme
- dobin inspectsocks
- insinto /etc/socks
- doins tsocks.conf.*.example
- dodoc FAQ
- use tordns && dodoc README*
- fi
-}
-
-pkg_postinst() {
- einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
- einfo "The following executables have been renamed:"
- einfo " /usr/bin/saveme renamed to tsocks-saveme"
- einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
-}
diff --git a/net-proxy/tsocks/tsocks-1.8_beta5-r9.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5-r9.ebuild
deleted file mode 100644
index e9423538d61d..000000000000
--- a/net-proxy/tsocks/tsocks-1.8_beta5-r9.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs multilib-minimal
-
-DESCRIPTION="Transparent SOCKS v4 proxying library"
-HOMEPAGE="http://tsocks.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/tsocks/${PN}-${PV/_}.tar.gz
- tordns? ( https://dev.gentoo.org/~bircoph/patches/${PN}-${PV/_beta/b}-tordns1-gentoo-r4.patch.xz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="debug dns envconf tordns server-lookups"
-
-REQUIRED_USE="
- dns? ( !tordns !server-lookups )
- tordns? ( !dns !server-lookups )
-"
-
-S="${WORKDIR}/${P%%_*}"
-
-PATCHES=(
- "${FILESDIR}/${P}-flags.patch"
- "${FILESDIR}/${P}-ld_preload.patch"
- "${FILESDIR}/${P}-rename.patch"
- "${FILESDIR}/${P}-bsd.patch"
- "${FILESDIR}/${P}-poll.patch"
- "${FILESDIR}/${P}-options.patch"
-)
-
-src_prepare() {
- default
- use tordns && eapply "../${PN}-${PV/_beta/b}-tordns1-gentoo-r4.patch"
-
- sed -i 's/TSOCKS_CONFFILE/TSOCKS_CONF_FILE/' tsocks.8 || die "sed tsocks.8 failed"
-
- mv configure.in configure.ac || die
- eautoreconf
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- tc-export CC
-
- # NOTE: the docs say to install it into /lib. If you put it into
- # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
- # mounted in time :-( (Ben Lutgens) <lamer@gentoo.org>
- econf \
- $(use_enable debug) \
- $(use_enable dns socksdns) \
- $(use_enable envconf) \
- $(use_enable server-lookups hostnames) \
- --with-conf="${EPREFIX}"/etc/socks/tsocks.conf \
- --libdir="${EPREFIX}"/$(get_libdir)
-}
-
-multilib_src_compile() {
- # Fix QA notice lack of SONAME
- emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*}
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
- if multilib_is_native_abi; then
- newbin validateconf tsocks-validateconf
- newbin saveme tsocks-saveme
- dobin inspectsocks
- insinto /etc/socks
- doins tsocks.conf.*.example
- dodoc FAQ
- use tordns && dodoc README*
- fi
-}
-
-pkg_postinst() {
- einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
- einfo "The following executables have been renamed:"
- einfo " /usr/bin/saveme renamed to tsocks-saveme"
- einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
-}
diff --git a/net-proxy/wireproxy/Manifest b/net-proxy/wireproxy/Manifest
deleted file mode 100644
index da35b7de6992..000000000000
--- a/net-proxy/wireproxy/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST wireproxy-1.0.9-vendor.tar.xz 1162932 BLAKE2B 74a3b3647394c839b11be5aa8dadc7b8147977ac5ff6efdb9218e3dc2565c92d0a26cee97dfb86c7a30a358fbd4a009c023f55fb41c6db9f08aff1f07cd9cd22 SHA512 401b2667ef22c82ef543aa12418b7fc8d4f9a8c696c7b9fb107f0e86fbf6fd117ffdb6e7fe7a2eab3160993014917491a1d409f4a7a17c8a874569be4b5bfb1c
-DIST wireproxy-1.0.9.tar.gz 21752 BLAKE2B a1a421e0dbcc21cb00cfde99f40ad81e69618daf2db65de1316017b46a9f7264f7c1829be16fabe82e2210bb2a79a4e761aee3c94256bccc677f0d5288d918c7 SHA512 92e914b1cc4591990829ff3d7a6bce0a700af909d2bda11044c592c2a38e7f08a1ecb57419c49c8f493340e8757b5440e1635ce4d60eae8544075894dcb96027
-DIST wireproxy-1.1.2-vendor.tar.xz 1193304 BLAKE2B 07fc1283cff8914ba6778eeaef43e0ce782e7ede01b0f99ff1565e55b6d637f09d6877150e4337ab69123dd06827fb61b3811aff5bc32e7de12cfe381198ef6c SHA512 3481b7a733ce47a154b86fc82c84557469215b54619147c780fd981c865215acb74c1028a4aa195366ccf8ead7aa40807f2ee64b7bb0cb086a30945caa1ebf3f
-DIST wireproxy-1.1.2.tar.gz 28489 BLAKE2B 8a21c89d629d228a6d66b3bb457221d59d6a253cdb6ceb898e310d67a66569e67ead0e7892e84a6f24214520434e222d94c2e4b340feaf9f76d85fa1b395d08b SHA512 95e9943522e33bf22cc8db72cedae081113767af0304dc6efbb7a31fb1d23bbd8c4fd1b8199a60665f9381d5620de3a8bf383f4c8ef328c279b2d09573db236f
diff --git a/net-proxy/wireproxy/metadata.xml b/net-proxy/wireproxy/metadata.xml
deleted file mode 100644
index 92291850277b..000000000000
--- a/net-proxy/wireproxy/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">
- <name>Dale Sweeney</name>
- <email>agooglygooglr@gmail.com</email>
- </maintainer>
- <longdescription>
- wireproxy is a completely userspace application that connects to a wireguard peer,
- and exposes a socks5/http proxy or tunnels on the machine.
- </longdescription>
- <upstream>
- <remote-id type="github">whyvl/wireproxy</remote-id>
- <bugs-to>https://github.com/whyvl/wireproxy/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/wireproxy/wireproxy-1.0.9.ebuild b/net-proxy/wireproxy/wireproxy-1.0.9.ebuild
deleted file mode 100644
index 17416e21df76..000000000000
--- a/net-proxy/wireproxy/wireproxy-1.0.9.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="Wireguard client that exposes itself as a proxy"
-HOMEPAGE="https://github.com/whyvl/wireproxy"
-SRC_URI="https://github.com/whyvl/wireproxy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://github.com/iguanajuice/guru-distfiles/raw/refs/heads/main/net-proxy/wireproxy/${P}-vendor.tar.xz"
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_compile() {
- ego build ./cmd/wireproxy
-}
-
-src_install() {
- dobin wireproxy
-}
diff --git a/net-proxy/wireproxy/wireproxy-1.1.2.ebuild b/net-proxy/wireproxy/wireproxy-1.1.2.ebuild
deleted file mode 100644
index 17416e21df76..000000000000
--- a/net-proxy/wireproxy/wireproxy-1.1.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="Wireguard client that exposes itself as a proxy"
-HOMEPAGE="https://github.com/whyvl/wireproxy"
-SRC_URI="https://github.com/whyvl/wireproxy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://github.com/iguanajuice/guru-distfiles/raw/refs/heads/main/net-proxy/wireproxy/${P}-vendor.tar.xz"
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_compile() {
- ego build ./cmd/wireproxy
-}
-
-src_install() {
- dobin wireproxy
-}
diff --git a/net-proxy/wwwoffle/Manifest b/net-proxy/wwwoffle/Manifest
deleted file mode 100644
index 5ce0370709f5..000000000000
--- a/net-proxy/wwwoffle/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST wwwoffle-2.9j.tgz 1110599 BLAKE2B cc12a1043c2047f8150883871e112007f9cd028ae961e3495332c4afc06342f0b85c44d0c08ce204907c7abbdb3660afe15d0d146dde39fc914942f9ec492a9d SHA512 03f3177fac563ecab33288d1c193d3e193ff1c07413151fc5db1b85e0111b10815d572bcc59d188145b2851e57be0327f7c9e7538361a36e1a9457aa0d028818
diff --git a/net-proxy/wwwoffle/files/wwwoffle-2.9j-lto.patch b/net-proxy/wwwoffle/files/wwwoffle-2.9j-lto.patch
deleted file mode 100644
index 7dde7797ce0e..000000000000
--- a/net-proxy/wwwoffle/files/wwwoffle-2.9j-lto.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-https://bugs.gentoo.org/940608
-
-Sent via email to upstream by sam on 2024-10-15.
---- a/src/testprogs/test-gif.c
-+++ b/src/testprogs/test-gif.c
-@@ -19,8 +19,8 @@
- #include "errors.h"
-
-
--ssize_t wwwoffles_read_data(char *data,int len);
--ssize_t wwwoffles_write_data(char *data,int len);
-+ssize_t wwwoffles_read_data(char *data,size_t len);
-+ssize_t wwwoffles_write_data(char *data,size_t len);
-
- int main(int argc,char **argv)
- {
-@@ -55,7 +55,7 @@ int main(int argc,char **argv)
- This function is used as a callback from gifmodify.c and htmlmodify.l
- ++++++++++++++++++++++++++++++++++++++*/
-
--ssize_t wwwoffles_read_data(char *data,int len)
-+ssize_t wwwoffles_read_data(char *data,size_t len)
- {
- int n=read_data(0,data,len);
-
-@@ -75,7 +75,7 @@ ssize_t wwwoffles_read_data(char *data,int len)
- This function is used as a callback from gifmodify.c and htmlmodify.l
- ++++++++++++++++++++++++++++++++++++++*/
-
--ssize_t wwwoffles_write_data(char *data,int len)
-+ssize_t wwwoffles_write_data(char *data,size_t len)
- {
- write_data(1,data,len);
-
---- a/src/testprogs/test-modify.c
-+++ b/src/testprogs/test-modify.c
-@@ -21,8 +21,8 @@
- #include "errors.h"
-
-
--ssize_t wwwoffles_read_data(char *data,int len);
--ssize_t wwwoffles_write_data(char *data,int len);
-+ssize_t wwwoffles_read_data(char *data,size_t len);
-+ssize_t wwwoffles_write_data(char *data,size_t len);
-
- int main(int argc,char **argv)
- {
-@@ -72,7 +72,7 @@ int main(int argc,char **argv)
- This function is used as a callback from gifmodify.c and htmlmodify.l
- ++++++++++++++++++++++++++++++++++++++*/
-
--ssize_t wwwoffles_read_data(char *data,int len)
-+ssize_t wwwoffles_read_data(char *data,size_t len)
- {
- int n=read_data(0,data,len);
-
-@@ -92,7 +92,7 @@ ssize_t wwwoffles_read_data(char *data,int len)
- This function is used as a callback from gifmodify.c and htmlmodify.l
- ++++++++++++++++++++++++++++++++++++++*/
-
--ssize_t wwwoffles_write_data(char *data,int len)
-+ssize_t wwwoffles_write_data(char *data,size_t len)
- {
- write_data(1,data,len);
-
diff --git a/net-proxy/wwwoffle/files/wwwoffle-online.confd b/net-proxy/wwwoffle/files/wwwoffle-online.confd
deleted file mode 100644
index 63d1f821e7fb..000000000000
--- a/net-proxy/wwwoffle/files/wwwoffle-online.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Enter the interface that connects you to the outside world
-# This will correspond to /etc/wwwoffle/init.d/net.${IFACE}
-
-# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE
-
-#IFACE=ppp0
diff --git a/net-proxy/wwwoffle/files/wwwoffle-online.initd b/net-proxy/wwwoffle/files/wwwoffle-online.initd
deleted file mode 100644
index e8c9c677b8b6..000000000000
--- a/net-proxy/wwwoffle/files/wwwoffle-online.initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need wwwoffled
- use dns
-
- if [ -n ${IFACE} ];
- then
- need net.${IFACE}
- else
- ewarn "No IFACE is defined in /etc/conf.d/wwwoffle-online"
- need net
- fi
-}
-
-start() {
- ebegin "Starting wwwoffled-online"
- wwwoffle -online -c /etc/wwwoffle/wwwoffle.conf
- wwwoffle -fetch -c /etc/wwwoffle/wwwoffle.conf & > /dev/null 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Stopping wwwoffled-online"
- wwwoffle -offline -c /etc/wwwoffle/wwwoffle.conf
- eend $?
-}
diff --git a/net-proxy/wwwoffle/files/wwwoffle.initd b/net-proxy/wwwoffle/files/wwwoffle.initd
deleted file mode 100644
index 628c29f23cc0..000000000000
--- a/net-proxy/wwwoffle/files/wwwoffle.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
-}
-
-start() {
- ebegin "Starting wwwoffled"
- start-stop-daemon --start --quiet --exec /usr/sbin/wwwoffled \
- -u wwwoffle -- -c /etc/wwwoffle/wwwoffle.conf 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Stopping wwwoffled"
- start-stop-daemon --stop --quiet --name wwwoffled
- eend $?
-}
diff --git a/net-proxy/wwwoffle/metadata.xml b/net-proxy/wwwoffle/metadata.xml
deleted file mode 100644
index 1d20b26c6923..000000000000
--- a/net-proxy/wwwoffle/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 -->
-<longdescription>The wwwoffled program is a simple proxy server with special features for use
-with dial-up internet links. This means that it is possible to browse web pages and read them
-without having to remain connected.
-</longdescription>
-</pkgmetadata>
diff --git a/net-proxy/wwwoffle/wwwoffle-2.9j.ebuild b/net-proxy/wwwoffle/wwwoffle-2.9j.ebuild
deleted file mode 100644
index 83866d96d03f..000000000000
--- a/net-proxy/wwwoffle/wwwoffle-2.9j.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Web caching proxy suitable for non-permanent Internet connections"
-HOMEPAGE="https://www.gedanken.org.uk/software/wwwoffle/"
-SRC_URI="https://www.gedanken.org.uk/software/${PN}/download/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~riscv ~sparc x86"
-IUSE="gnutls zlib"
-
-RDEPEND="
- acct-group/wwwoffle
- acct-user/wwwoffle
- gnutls? ( net-libs/gnutls:= )
- zlib? ( virtual/zlib:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-alternatives/lex
- dev-lang/perl
-"
-# Unsure whether to depend on >=www-misc/htdig-3.1.6-r4 or not
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.9j-lto.patch
-)
-
-src_prepare() {
- default
-
- sed -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' -i cache/Makefile.in || die
-}
-
-src_configure() {
- local myeconfargs=(
- --with-ipv6
- $(use_with gnutls)
- $(use_with zlib)
- )
-
- CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- keepdir /var/spool/wwwoffle/search/hyperestraier/db
-
- # documentation fix
- # del empty doc dirs
- rmdir "${ED}/usr/doc/${PN}"/{it,nl,ru} || die
- dodir /usr/share/doc
- mv "${ED}/usr/doc/${PN}" "${ED}/usr/share/doc/${PF}" || die
- rmdir "${ED}/usr/doc" || die
-
- # install the wwwoffled init script
- newinitd "${FILESDIR}/${PN}.initd" wwwoffled
- newinitd "${FILESDIR}/${PN}-online.initd" wwwoffled-online
- newconfd "${FILESDIR}/${PN}-online.confd" wwwoffled-online
-
- keepdir /var/spool/wwwoffle/{http,outgoing,monitor,lasttime,lastout,local}
- for number in 1 2 3 4 5 6 7 8 9; do
- keepdir "/var/spool/wwwoffle/prevtime${number}" "/var/spool/wwwoffle/prevout${number}"
- done
-
- # empty dirs are removed during update
- keepdir /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db}
-
- touch "${ED}/var/spool/wwwoffle/search/htdig/wwwoffle-htdig.log"
- touch "${ED}/var/spool/wwwoffle/search/mnogosearch/wwwoffle-mnogosearch.log"
- touch "${ED}/var/spool/wwwoffle/search/namazu/wwwoffle-namazu.log"
-
- # TODO htdig indexing as part of initscripts
-
- # robots.txt modification - /var/spool/wwwoffle/html/en
- # - remove Disallow: /index
- sed -e "s|Disallow:.*/index|#Disallow: /index|" -i "${ED}/var/spool/wwwoffle/html/en/robots.txt" || die
-}
-
-pkg_preinst() {
- # Changing the user:group to wwwoffle:woffle
- fowners -R wwwoffle:wwwoffle /var/spool/wwwoffle /etc/wwwoffle
- sed \
- -e 's/^[# \t]\(run-[gu]id[ \t]*=[ \t]*\)[a-zA-Z0-9]*[ \t]*$/ \1wwwoffle/g' \
- -i "${ED}/etc/wwwoffle/wwwoffle.conf" || die
-
-}
-
-pkg_postinst() {
- # fix permissions for those upgrading
- local number
- for number in 1 2 3 4 5 6 7 8 9;
- do
- [[ ! -d "${EROOT}/var/spool/wwwoffle/prevtime${number}" ]] && \
- keepdir "${EROOT}/var/spool/wwwoffle/prevtime${number}"
- [[ ! -d "${EROOT}/var/spool/wwwoffle/prevout${number}" ]] && \
- keepdir "${EROOT}/var/spool/wwwoffle/prevout${number}"
- done
-
- [[ -f "${T}/stopped" ]] && ewarn "wwwoffled was stopped. /etc/init.d/wwwoffled start to restart AFTER etc-update"
-
- einfo "wwwoffled should run as an ordinary user now. The run-uid and run-gid should be set"
- einfo "to \"wwwoffle\" in your /etc/wwwoffle/wwwoffle.conf. Please uncomment this if it hasn't been already"
-
- einfo "This is for your own security. Otherwise wwwoffle is run as root which is relay bad if"
- einfo "there is an exploit in this program that allows remote/local users to execute arbitary"
- einfo "commands as the root user."
-}
diff --git a/net-proxy/xray-core/Manifest b/net-proxy/xray-core/Manifest
deleted file mode 100644
index 2e133dc56b0e..000000000000
--- a/net-proxy/xray-core/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST Xray-core-26.2.6-vendor.tar.xz 3480232 BLAKE2B dcee327a027d8f8f67e8ae48db4431897ad6dc71b2b1c5189b35e150bb545375cdc0112c36eee7dce6209fa5c005611be1b91a70a96737823e0d97ac872adc54 SHA512 c46f7dde7463e59279391e9786804b66a83a5910e262abe15218d222532ae196179b1d81aed2d871523f26d5c3dcc4d0ea0043778d40d724dadd8e06f4c5f51c
-DIST Xray-core-26.3.27-vendor.tar.xz 3439212 BLAKE2B f0d71aa3b2bcd3817d0ee9a665a6376e1a84307fc235e5193df12772b314f7b0c9f652c49f576ca607bdeb5e41f770e6892b69dfa321df27bcffdcff1143ab23 SHA512 1701f488e9c92388fc869147a406b2dcbb66ada7e3c3b4ca14c180110c6ee2fe7dbf7bfebc863ee5922703a06851cd00d43c4b7dc63809feb27595f03341a261
-DIST xray-core-26.2.6.tar.gz 778461 BLAKE2B a274aed48fdd944d790922be504d1994decad00f5912649f9a6512ffdc1dc25b26f47b548201ee27a1110e5af0a713fb92ed12e36df6818ee17d777e0f68d2db SHA512 11192582ad479045836c8d02b46040165b2acea653ace2a0694755783203836baa9fc3ea6804cb2326c94d81fa365a2a11c02d091ef0b1adfc680f511c66ad14
-DIST xray-core-26.3.27.tar.gz 822756 BLAKE2B d07afda4be673069e41b2c2ba9783314055bd9a458c3d1b53dee3fb6bebf80a301b707cbc66881597d82d53e3f1cebd1875604c07f657a8d2a865817cf945a29 SHA512 0a495884d34fff5c0b687d0a87bc8ea6eab7ca87c82a80978a85519140ea28d0809e13d5ba34d45a4e4e448d0da546d94e71260e5addca5e88d49bce65fa3079
diff --git a/net-proxy/xray-core/files/xray.service b/net-proxy/xray-core/files/xray.service
deleted file mode 100644
index 2c24daa71b2a..000000000000
--- a/net-proxy/xray-core/files/xray.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Xray Service
-After=network.target nss-lookup.target
-
-[Service]
-User=xray
-CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
-AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
-NoNewPrivileges=true
-ExecStart=/usr/bin/xray run -confdir /etc/xray/
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/xray-core/files/xray_at.service b/net-proxy/xray-core/files/xray_at.service
deleted file mode 100644
index 145bdd972191..000000000000
--- a/net-proxy/xray-core/files/xray_at.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Xray Service
-After=network.target nss-lookup.target
-
-[Service]
-User=xray
-CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
-AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
-NoNewPrivileges=true
-ExecStart=/usr/bin/xray run -config /etc/xray/%i.jsonc
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-proxy/xray-core/metadata.xml b/net-proxy/xray-core/metadata.xml
deleted file mode 100644
index acda1edaca2c..000000000000
--- a/net-proxy/xray-core/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>alexander@tsoy.me</email>
- <name>Alexander Tsoy</name>
- </maintainer>
- <longdescription lang="en">
- Project X originates from XTLS protocol, providing a set of network tools such as Xray-core and REALITY.
- </longdescription>
- <upstream>
- <remote-id type="github">XTLS/Xray-core</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/xray-core/xray-core-26.2.6.ebuild b/net-proxy/xray-core/xray-core-26.2.6.ebuild
deleted file mode 100644
index 9bec07ffa47d..000000000000
--- a/net-proxy/xray-core/xray-core-26.2.6.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="A unified platform for anti-censorship"
-HOMEPAGE="https://github.com/XTLS/Xray-core/"
-
-if [[ "${PV}" == 9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/XTLS/Xray-core.git"
-else
- SRC_URI="
- https://github.com/XTLS/Xray-core/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/puleglot/Xray-core/releases/download/v${PV}/Xray-core-${PV}-vendor.tar.xz
-"
- KEYWORDS="~amd64 ~arm64"
- S="${WORKDIR}/Xray-core-${PV}"
-fi
-
-# main
-LICENSE="MPL-2.0"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT"
-SLOT="0"
-
-RESTRICT="test"
-
-RDEPEND="
- acct-user/xray
- acct-group/xray"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-lang/go-1.25.5:="
-
-src_unpack() {
- if [[ "${PV}" == 9999* ]]; then
- git-r3_src_unpack
- pushd "${S}" || die
- # upstream bumped required go version to 1.25.7 for no particular reason
- # gvisor.dev/gvisor requires 1.25.5
- sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
- ego mod tidy
- popd || die
- go-module_live_vendor
- else
- default
- fi
-}
-
-src_prepare() {
- # upstream bumped required go version to 1.25.7 for no particular reason
- # gvisor.dev/gvisor requires 1.25.5
- sed -E -i'' 's/^go 1\.25\..*/go 1.25.5/' go.mod || die
- default
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- local CUSTOM_VER="$(git rev-parse --short HEAD)"
- else
- local CUSTOM_VER="${PV}"
- fi
-
- CGO_ENABLED=0 ego build -ldflags="-X github.com/xtls/xray-core/core.build=${CUSTOM_VER}" \
- -trimpath -o xray -v ./main
-}
-
-src_install() {
- default
-
- dobin xray
- systemd_dounit "${FILESDIR}"/xray.service
- systemd_newunit "${FILESDIR}"/xray_at.service "xray@.service"
-
- keepdir /etc/xray
-}
diff --git a/net-proxy/xray-core/xray-core-26.3.27.ebuild b/net-proxy/xray-core/xray-core-26.3.27.ebuild
deleted file mode 100644
index 8329255c021a..000000000000
--- a/net-proxy/xray-core/xray-core-26.3.27.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="A unified platform for anti-censorship"
-HOMEPAGE="https://github.com/XTLS/Xray-core/"
-
-if [[ "${PV}" == 9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/XTLS/Xray-core.git"
-else
- SRC_URI="
- https://github.com/XTLS/Xray-core/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/puleglot/Xray-core/releases/download/v${PV}/Xray-core-${PV}-vendor.tar.xz
-"
- KEYWORDS="~amd64 ~arm64"
- S="${WORKDIR}/Xray-core-${PV}"
-fi
-
-# main
-LICENSE="MPL-2.0"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT"
-SLOT="0"
-
-RESTRICT="test"
-
-RDEPEND="
- acct-user/xray
- acct-group/xray"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-lang/go-1.26:="
-
-src_unpack() {
- if [[ "${PV}" == 9999* ]]; then
- git-r3_src_unpack
- pushd "${S}" || die
- ego mod tidy
- popd || die
- go-module_live_vendor
- else
- default
- fi
-}
-
-src_prepare() {
- default
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- local CUSTOM_VER="$(git rev-parse --short HEAD)"
- else
- local CUSTOM_VER="${PV}"
- fi
-
- CGO_ENABLED=0 ego build -ldflags="-X github.com/xtls/xray-core/core.build=${CUSTOM_VER}" \
- -trimpath -o xray -v ./main
-}
-
-src_install() {
- default
-
- dobin xray
- systemd_dounit "${FILESDIR}"/xray.service
- systemd_newunit "${FILESDIR}"/xray_at.service "xray@.service"
-
- keepdir /etc/xray
-}
diff --git a/net-proxy/xray-core/xray-core-9999.ebuild b/net-proxy/xray-core/xray-core-9999.ebuild
deleted file mode 100644
index 8329255c021a..000000000000
--- a/net-proxy/xray-core/xray-core-9999.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="A unified platform for anti-censorship"
-HOMEPAGE="https://github.com/XTLS/Xray-core/"
-
-if [[ "${PV}" == 9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/XTLS/Xray-core.git"
-else
- SRC_URI="
- https://github.com/XTLS/Xray-core/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/puleglot/Xray-core/releases/download/v${PV}/Xray-core-${PV}-vendor.tar.xz
-"
- KEYWORDS="~amd64 ~arm64"
- S="${WORKDIR}/Xray-core-${PV}"
-fi
-
-# main
-LICENSE="MPL-2.0"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT"
-SLOT="0"
-
-RESTRICT="test"
-
-RDEPEND="
- acct-user/xray
- acct-group/xray"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-lang/go-1.26:="
-
-src_unpack() {
- if [[ "${PV}" == 9999* ]]; then
- git-r3_src_unpack
- pushd "${S}" || die
- ego mod tidy
- popd || die
- go-module_live_vendor
- else
- default
- fi
-}
-
-src_prepare() {
- default
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- local CUSTOM_VER="$(git rev-parse --short HEAD)"
- else
- local CUSTOM_VER="${PV}"
- fi
-
- CGO_ENABLED=0 ego build -ldflags="-X github.com/xtls/xray-core/core.build=${CUSTOM_VER}" \
- -trimpath -o xray -v ./main
-}
-
-src_install() {
- default
-
- dobin xray
- systemd_dounit "${FILESDIR}"/xray.service
- systemd_newunit "${FILESDIR}"/xray_at.service "xray@.service"
-
- keepdir /etc/xray
-}
diff --git a/net-proxy/ziproxy/Manifest b/net-proxy/ziproxy/Manifest
deleted file mode 100644
index 4d6c43380ed1..000000000000
--- a/net-proxy/ziproxy/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ziproxy-3.3.2.tar.xz 205992 BLAKE2B 0822c54fe1448588b14fbed58d8ffce27910db78959ec1f6344dd644dfaf222ef70d4389ec9f751457991e75bfdb59a8ee3964051beae279cba3486e1af7ccb2 SHA512 9e4cca86a29d970357c14369d4c8adc1902f334a60ce8d50872c36a65cf75f580eb92e185382f4a9bcfe31ddcc3ceee4f3a8cbeea395b6c09542bce0784b0b57
diff --git a/net-proxy/ziproxy/files/ziproxy-3.3.2-Fix-clang-build-errors.patch b/net-proxy/ziproxy/files/ziproxy-3.3.2-Fix-clang-build-errors.patch
deleted file mode 100644
index cae83134d32e..000000000000
--- a/net-proxy/ziproxy/files/ziproxy-3.3.2-Fix-clang-build-errors.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From b997a5283812e67992aa7e1577c7482ce5b1ce24 Mon Sep 17 00:00:00 2001
-From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
-Date: Mon, 14 Nov 2022 19:36:05 -0600
-Subject: [PATCH] Fix clang build errors
-
--Werror,-Wdeprecated-non-prototype
--Werror,-Wimplicit-function-declaration
-
-Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
----
- src/image.c | 1 +
- src/netd.c | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/image.c b/src/image.c
-index e7a8d8c..821f892 100644
---- a/src/image.c
-+++ b/src/image.c
-@@ -56,6 +56,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <assert.h>
-
- #include <gif_lib.h>
-diff --git a/src/netd.c b/src/netd.c
-index 937a52e..4d4a936 100644
---- a/src/netd.c
-+++ b/src/netd.c
-@@ -84,7 +84,7 @@
- #include "txtfiletools.h"
- #include "session.h"
-
--int proxy_server ();
-+int proxy_server(struct in_addr *addr_low, struct in_addr *addr_high);
- int proxy_handlereq (SOCKET sock_client, const char *client_addr, struct sockaddr_in *socket_host);
- void process_request (const char *client_addr, struct sockaddr_in *socket_host, SOCKET sock_child_out);
- void daemon_sigcatch (int);
---
-2.37.4
-
diff --git a/net-proxy/ziproxy/files/ziproxy-3.3.2-fix_gcc15.patch b/net-proxy/ziproxy/files/ziproxy-3.3.2-fix_gcc15.patch
deleted file mode 100644
index b2db56e2dcd5..000000000000
--- a/net-proxy/ziproxy/files/ziproxy-3.3.2-fix_gcc15.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-see https://sourceforge.net/p/ziproxy/bugs/37/
-fix c23 https://bugs.gentoo.org/943947
---- a/src/image.c
-+++ b/src/image.c
-@@ -1216,7 +1216,7 @@ int jpg2bitmap(char *inbuf, int insize,
- return IMG_RET_OK;
- }
-
--static boolean jpeg_dest_empty_output_buffer()
-+static boolean jpeg_dest_empty_output_buffer(struct jpeg_compress_struct *)
- {
- return FALSE; //output file larger than original..
- }
diff --git a/net-proxy/ziproxy/files/ziproxy.confd b/net-proxy/ziproxy/files/ziproxy.confd
deleted file mode 100644
index 9a4a12137c6a..000000000000
--- a/net-proxy/ziproxy/files/ziproxy.confd
+++ /dev/null
@@ -1,18 +0,0 @@
-# configuraton file for /etc/init.d/ziproxy
-#
-# you can symlink /etc/init.d/ziproxy to a different name
-# and then copy this config to a new file with the same name
-# as the symlinked init-script to run multiple instances of
-# ziproxy. You have to change the location for CONFIG then
-# of course... ;-)
-
-# Full path to ziproxy.conf file (instead of default one).
-#
-#CONFIG="/etc/ziproxy/ziproxy.conf"
-
-# Limit incoming connections only from the specified address(es).
-# This option has the same meaning, but higher precedence as
-# "OnlyFrom=" option in configuration file. Uncomment it
-# if you want to set it.
-#
-#ONLYFROM="<IP.address or hostname>"
diff --git a/net-proxy/ziproxy/files/ziproxy.initd-r1 b/net-proxy/ziproxy/files/ziproxy.initd-r1
deleted file mode 100644
index 7336e3c9f658..000000000000
--- a/net-proxy/ziproxy/files/ziproxy.initd-r1
+++ /dev/null
@@ -1,25 +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() {
- local OPT="-d"
- ebegin "Starting ${SVCNAME}"
-
- [ -n "${CONFIG}" ] && OPT="${OPT} -c ${CONFIG}"
- [ -n "${ONLYFROM}" ] && OPT="${OPT} -f ${ONLYFROM}"
-
- start-stop-daemon --start \
- --exec /usr/sbin/ziproxy -- ${OPT} -u ziproxy -g ziproxy -p /var/run/${SVCNAME}.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid
- eend $?
-}
diff --git a/net-proxy/ziproxy/metadata.xml b/net-proxy/ziproxy/metadata.xml
deleted file mode 100644
index 1c7270e3d884..000000000000
--- a/net-proxy/ziproxy/metadata.xml
+++ /dev/null
@@ -1,13 +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">
- Ziproxy is a http compression and optimizer, non-caching, fully configurable
- proxy. Ziproxy features JPEG, GIF, PNG, JPEG2k and GZIP recompression for
- lower HTTP traffic through low speed links, among other features.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">ziproxy</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/ziproxy/ziproxy-3.3.2-r1.ebuild b/net-proxy/ziproxy/ziproxy-3.3.2-r1.ebuild
deleted file mode 100644
index 4dae15ab4f30..000000000000
--- a/net-proxy/ziproxy/ziproxy-3.3.2-r1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic
-
-DESCRIPTION="Forwarding, non-caching, compressing web proxy server"
-HOMEPAGE="https://ziproxy.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
-IUSE="sasl xinetd"
-
-RDEPEND="
- acct-group/ziproxy
- acct-user/ziproxy
- media-libs/giflib:=
- media-libs/libpng:=
- media-libs/libjpeg-turbo:=
- virtual/zlib:=
- sasl? ( dev-libs/cyrus-sasl )
- xinetd? ( virtual/inetd )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-Fix-clang-build-errors.patch
- "${FILESDIR}"/${P}-fix_gcc15.patch
-)
-
-src_prepare() {
- default
-
- # fix sample config file
- sed -i \
- -e "s:/var/ziproxy/:${EPREFIX}/var/lib/ziproxy/:g" \
- etc/ziproxy/ziproxy.conf || die
-
- # fix sample xinetd config
- sed -i \
- -e "s:/usr/bin/:/usr/sbin/:g" \
- -e "s:\(.*port.*\):\1\n\ttype\t\t\t= UNLISTED:g" \
- -e "s:root:ziproxy:g" \
- etc/xinetd.d/ziproxy || die
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/861863
- # Upstream is sourceforge and has been dead for 3 years. No upstream bug reported.
- filter-lto
-
- # fix -Wincompatible-pointer-types-discards-qualifiers
- append-cppflags -DUSE_CUSTOM_STRING_ROUTINES=OFF
-
- local myeconfargs=(
- --without-jasper
- $(use_with sasl sasl2)
- --with-cfgfile="${EPREFIX}"/etc/ziproxy/ziproxy.conf
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodir /usr/sbin
- mv -vf "${ED}"/usr/{,s}bin/ziproxy || die
-
- dobin src/tools/ziproxy_genhtml_stats.sh
-
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
- insinto /etc
- doins -r etc/ziproxy
-
- insinto /var/lib/ziproxy/error
- doins var/ziproxy/error/*.html
-
- if use xinetd; then
- insinto /etc/xinetd.d
- doins etc/xinetd.d/ziproxy
- fi
-
- diropts -m0750 -o ziproxy -g ziproxy
- keepdir /var/log/ziproxy
-}