summaryrefslogtreecommitdiff
path: root/net-vpn/frp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-28 03:58:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-28 03:58:39 +0100
commite5985b8e66b3b43c34328efb47b9b12e8ce5a690 (patch)
treea6dfa5de0a8939409fa203b13d2b292e6bf5e1bf /net-vpn/frp
parent62082029157d2ef97a43e34ce34a55877afa8a58 (diff)
gentoo auto-resync : 28:10:2022 - 03:58:39
Diffstat (limited to 'net-vpn/frp')
-rw-r--r--net-vpn/frp/Manifest2
-rw-r--r--net-vpn/frp/frp-0.45.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/net-vpn/frp/Manifest b/net-vpn/frp/Manifest
index 870318ac5c56..7adcbcad2818 100644
--- a/net-vpn/frp/Manifest
+++ b/net-vpn/frp/Manifest
@@ -6,7 +6,9 @@ DIST frp-0.42.0-deps.tar.xz 40716624 BLAKE2B 60f8f1486c0c83627954f45d55fff6e4256
DIST frp-0.42.0.tar.gz 1280863 BLAKE2B 5377aeb7ef83ace3a36772bf56ab671a91688da6d6b54ce23833221cc7cadee1107a3a5d1ad8a615bb7b4e6cc6eca214888449481ad18584ca03f1b0bc484be2 SHA512 b61786a1023a09d9f854e09c406ac241c4a8684fb903511b70adc7527c44d80df92b2d3493fe49e9e04d19dbd994b8fe866285862c88ff89f090860c3bda1987
DIST frp-0.43.0.tar.gz 1282855 BLAKE2B d2e60e89de8823ae129f91aa2cf50fe5101bcc3c42d63fde48febf89cb2511e5ecabaf799803cf6ba0042b523ef1a3de19fb7d027a34074df0ccb40ba8393b86 SHA512 e6ccbf98d9d8fb714f37784ca582684b9f27994cf3f74b7081043285394243a8e9114b65f0918b64207a99064422312d700d01adaed085175314ad0ae238eb8f
DIST frp-0.44.0.tar.gz 1284095 BLAKE2B 35464acd0dcdf3eeeb326c612eeef457baad5a8a7eb36a28183fd3dd1f1eb585914ed290a0897928244ac1319f45358c0b19ae3606cb149501c7ead79ba2e26e SHA512 6a5d0f4985075e260bc7970031391b457a3c7b8ea05628f17b551ea9afc0f2454db76caaad49250a2aecdd7ca26abc8ff74ee705a4c44319d33a92e5c055fd56
+DIST frp-0.45.0-vendor.tar.gz 5301832 BLAKE2B 23198a326678f3ec5357ce1bd6c7abff26a27dce6810653ef0262fb3f5c68165481ec75218ded64c90a357fafefba11b0a9c0afc4dc7e3a229ad8cc245a76fc3 SHA512 b94dd5adec82ae940044d448ec4551ca24ec3c8f1a9d870327a76a9a7d3b39e7dc567199a999b85879637dca3d46df65f8f46d11c3dbe10653a20f2eb7521f9a
EBUILD frp-0.42.0.ebuild 867 BLAKE2B 5cf05d20c378625fdba349796b2a84ade9c58fc180b7cf94f9710f00843471b7a9486db0fb48063e46fce7f661985a0a1f4176a76fd4c63a4a8dde512b1d621b SHA512 e61f2e1721b0afbcb1777f26559ba426b6d7330d359a20db09c68e3d393ea808bdc689132cd8b71e9b9e31aa6885a10388cf906deae433e7423ca00da2eda7d2
EBUILD frp-0.43.0.ebuild 1013 BLAKE2B e44c3ec402f582c4a17132e45379ec5be8e87b6574e16575be82e26e452078472985d1e0f4a4b34b7cd7f685c3d469cb6db68e6f4ce70e204a3c4d197cff27a0 SHA512 50182b1948739fe3fe16f0fd9e6573340d1e6d51bbbcb5d98998f8fa584d2498b2d8628453c529e025a4e4497714be4906b13c58cc04b848741893d0e8e96ca9
EBUILD frp-0.44.0.ebuild 1013 BLAKE2B e44c3ec402f582c4a17132e45379ec5be8e87b6574e16575be82e26e452078472985d1e0f4a4b34b7cd7f685c3d469cb6db68e6f4ce70e204a3c4d197cff27a0 SHA512 50182b1948739fe3fe16f0fd9e6573340d1e6d51bbbcb5d98998f8fa584d2498b2d8628453c529e025a4e4497714be4906b13c58cc04b848741893d0e8e96ca9
+EBUILD frp-0.45.0.ebuild 990 BLAKE2B 56e537db90e618c9c97f8b3e0e406f7885283ccdd7c729027312e09b42de832ca22b9cda21213e6b8b56648a304aa1a23ed3290134392f66f0fd8e75b4923b1b SHA512 4aa23f563ac27bb068f754abd39991e004b2b30194de80a160a14517896338d89e572c120d3ac7c1216948c504076e8bddc2037baa1affaee46fd834b08ad974
MISC metadata.xml 322 BLAKE2B 8438877d202ce024eb32c6ba8196e1d6bf14b2e29179be7a0c92fb521f110b2501f29f8961752b5bfe07e2c5ddbaae6f1ea087713259c26c3255e985003d56a5 SHA512 3204b6e7ff9565b4677ffa681e88c440e12fea53936d31cd6617f6e86180f92729e5f28f7b81419b131150a89fec364a073249047cf1a36066199b76e5c174ab
diff --git a/net-vpn/frp/frp-0.45.0.ebuild b/net-vpn/frp/frp-0.45.0.ebuild
new file mode 100644
index 000000000000..86b8693dbf14
--- /dev/null
+++ b/net-vpn/frp/frp-0.45.0.ebuild
@@ -0,0 +1,37 @@
+# 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/zmedico/frp/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE=""
+S=${WORKDIR}/${P}-vendor
+
+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
+}