diff --git a/net-proxy/clash-premium-bin/Manifest b/net-proxy/clash-premium-bin/Manifest deleted file mode 100644 index f2d2d3f3e37..00000000000 --- a/net-proxy/clash-premium-bin/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST clash-linux-amd64-2023.06.30.gz 7327087 BLAKE2B 88a3919dcd6074e9ac00ac4debcb0774d392f6783ef1c5c336be3ca5cfe83b6cfb1dec7d27d3c2ecf7d3374902c8e535289a8ee3ea9670eabd97fc009179f614 SHA512 02a03e0e6379369db96254eb39be0f602dc51b27388d59ab930404811014d63b7a882ce64d8a68ac6402d7168bae469e322cee1aa191b67c4074de50147579c5 -DIST clash-linux-arm64-2023.06.30.gz 6661989 BLAKE2B c57b142ed7462d6bfcf39c83c6743dc626925980a116b57017634142dd571272e0499481de14622eb3690176cc5958f8b9ad2a61d6da7c56d53b43b052069c66 SHA512 2e487220aca6a5b994e8fecbcc006271660a20b59e995b5d7838ca6c90bb96493641ad3b30fe0d965f29a5f4e7f04cd35eef1f4d55497dd54422721126fba724 diff --git a/net-proxy/clash-premium-bin/clash-premium-bin-2023.06.30.ebuild b/net-proxy/clash-premium-bin/clash-premium-bin-2023.06.30.ebuild deleted file mode 100644 index 9a0b66effd4..00000000000 --- a/net-proxy/clash-premium-bin/clash-premium-bin-2023.06.30.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="Close-sourced pre-built Clash binary with TUN support" -HOMEPAGE="https://github.com/Dreamacro/clash" -SRC_URI=" - amd64? ( https://release.dreamacro.workers.dev/${PV}/clash-linux-amd64-${PV}.gz ) - arm64? ( https://release.dreamacro.workers.dev/${PV}/clash-linux-arm64-${PV}.gz ) -" -LICENSE="all-rights-reserved" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" -RDEPEND="!net-proxy/clash" - -S="${WORKDIR}" - -src_install() { - newbin clash-linux* clash - # Thanks to liuyujielol for service files - systemd_newunit "${FILESDIR}/clash-r1.service" clash.service - newinitd "${FILESDIR}"/clash.initd clash - newconfd "${FILESDIR}"/clash.confd clash - keepdir /etc/clash -} diff --git a/net-proxy/clash-premium-bin/files/clash-r1.service b/net-proxy/clash-premium-bin/files/clash-r1.service deleted file mode 100644 index 3f6ac3f893d..00000000000 --- a/net-proxy/clash-premium-bin/files/clash-r1.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Clash daemon, A rule-based proxy in Go. -After=network.target - -[Service] -DynamicUser=yes -ReadWritePaths=/etc/clash -CacheDirectory=clash -LogsDirectory=clash -RuntimeDirectory=clash -StateDirectory=clash -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -NoNewPrivileges=true -ExecStart=/usr/bin/clash -f /etc/clash/config.yaml -d /var/cache/clash -Restart=on-failure -RestartPreventExitStatus=23 -LimitNPROC=10000 -LimitNOFILE=1000000 - -[Install] -WantedBy=multi-user.target diff --git a/net-proxy/clash-premium-bin/files/clash.confd b/net-proxy/clash-premium-bin/files/clash.confd deleted file mode 100644 index 8c44c6a1987..00000000000 --- a/net-proxy/clash-premium-bin/files/clash.confd +++ /dev/null @@ -1,4 +0,0 @@ -# /etc/conf.d/clash: config file for /etc/init.d/clash - -# Insert any other options needed -CLASH_OPTS="-d /etc/clash" diff --git a/net-proxy/clash-premium-bin/files/clash.initd b/net-proxy/clash-premium-bin/files/clash.initd deleted file mode 100644 index 1bae87e5ef2..00000000000 --- a/net-proxy/clash-premium-bin/files/clash.initd +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/run/clash.pid" -command="/usr/bin/clash" -command_args="${CLASH_OPTS}" -command_background="yes" - -depend() { - need net -} diff --git a/net-proxy/clash-premium-bin/files/clash.service b/net-proxy/clash-premium-bin/files/clash.service deleted file mode 100644 index 5fe1bbe26b1..00000000000 --- a/net-proxy/clash-premium-bin/files/clash.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=Clash daemon, A rule-based proxy in Go. -After=network.target - -[Service] -DynamicUser=yes -CacheDirectory=clash -LogsDirectory=clash -RuntimeDirectory=clash -StateDirectory=clash -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -NoNewPrivileges=true -ExecStart=/usr/bin/clash -f /etc/clash/config.yaml -Restart=on-failure -RestartPreventExitStatus=23 -LimitNPROC=10000 -LimitNOFILE=1000000 - -[Install] -WantedBy=multi-user.target diff --git a/net-proxy/clash-premium-bin/files/clash_at.service b/net-proxy/clash-premium-bin/files/clash_at.service deleted file mode 100644 index 8f4adedfa4d..00000000000 --- a/net-proxy/clash-premium-bin/files/clash_at.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=Clash daemon, A rule-based proxy in Go. -After=network.target - -[Service] -DynamicUser=yes -CacheDirectory=clash/%i -LogsDirectory=clash/%i -RuntimeDirectory=clash/%i -StateDirectory=clash/%i -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -NoNewPrivileges=true -ExecStart=/usr/bin/clash -f /etc/clash/%i.yaml -Restart=on-failure -RestartPreventExitStatus=23 -LimitNPROC=10000 -LimitNOFILE=1000000 - -[Install] -WantedBy=multi-user.target diff --git a/net-proxy/clash-premium-bin/metadata.xml b/net-proxy/clash-premium-bin/metadata.xml deleted file mode 100644 index cdd05d50bad..00000000000 --- a/net-proxy/clash-premium-bin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - ston - ston.jia@qq.com - - - Dreamacro/clash - -