summaryrefslogtreecommitdiff
path: root/net-vpn/frp/frp-0.44.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-26 01:33:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-26 01:33:45 +0000
commit15bb7733ddb1f16a0e3936969282ecc42419829a (patch)
tree56c720cc03bec3e9758966b4083b5916feca6962 /net-vpn/frp/frp-0.44.0.ebuild
parent026061ba423025e6713112920f290759cdee03c4 (diff)
gentoo auto-resync : 26:12:2023 - 01:33:45
Diffstat (limited to 'net-vpn/frp/frp-0.44.0.ebuild')
-rw-r--r--net-vpn/frp/frp-0.44.0.ebuild37
1 files changed, 0 insertions, 37 deletions
diff --git a/net-vpn/frp/frp-0.44.0.ebuild b/net-vpn/frp/frp-0.44.0.ebuild
deleted file mode 100644
index a9d8f761c7f8..000000000000
--- a/net-vpn/frp/frp-0.44.0.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 go-module systemd
-
-DESCRIPTION="A reverse proxy that exposes a server behind a NAT or firewall to the internet"
-HOMEPAGE="https://github.com/fatedier/frp"
-SRC_URI="https://github.com/fatedier/frp/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~zmedico/dist/frp-0.42.0-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE=""
-
-src_prepare() {
- # patch LDFLAGS to preserve symbol table #792408
- sed -e "s|^\\(LDFLAGS :=\\) -s \\(.*\\)|\1 \2|" -i Makefile || die
- default
-}
-
-src_compile() {
- emake all
-}
-
-src_install() {
- local x
- dobin bin/{frpc,frps}
- dodoc README*.md
- systemd_dounit "${FILESDIR}"/frp{c,s}.service
- systemd_newunit "${FILESDIR}"/frpc_at_.service frpc@.service
- systemd_newunit "${FILESDIR}"/frps_at_.service frps@.service
- insinto /etc/frp
- for x in conf/*.ini; do mv "${x}"{,.example}; done
- doins conf/*.example
-}