summaryrefslogtreecommitdiff
path: root/net-vpn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-23 14:56:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-23 14:56:14 +0100
commitb818f6a820dceae80d6e3faac5fdf7be0c6fcbe2 (patch)
treeecc35732c51ff9d610d4a9e0cc77e940ef5ac9da /net-vpn
parent2bae4d8bcdc3862f8d7cf1963acc0a9036762d2d (diff)
gentoo auto-resync : 23:08:2024 - 14:56:14
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/Manifest.gzbin7894 -> 8062 bytes
-rw-r--r--net-vpn/candy/Manifest4
-rw-r--r--net-vpn/candy/candy-5.10.3.ebuild42
-rw-r--r--net-vpn/candy/files/README.gentoo10
-rw-r--r--net-vpn/candy/metadata.xml23
-rw-r--r--net-vpn/tailscale/Manifest2
-rw-r--r--net-vpn/tailscale/tailscale-1.72.0.ebuild4
7 files changed, 83 insertions, 2 deletions
diff --git a/net-vpn/Manifest.gz b/net-vpn/Manifest.gz
index 45494d0138a0..e2e2dc323aba 100644
--- a/net-vpn/Manifest.gz
+++ b/net-vpn/Manifest.gz
Binary files differ
diff --git a/net-vpn/candy/Manifest b/net-vpn/candy/Manifest
new file mode 100644
index 000000000000..d8c37abcc056
--- /dev/null
+++ b/net-vpn/candy/Manifest
@@ -0,0 +1,4 @@
+AUX README.gentoo 243 BLAKE2B 5d1f06d45faa91aea39845067d3b29d602edde6debbedee5fc99a1064b0d02844a942cc7686b73de5333353586e523150717321df97bb64b94776d639a39eef5 SHA512 6e3122217df1a20be8cb32fa024a668febf23c2b553582e7c007af3f3d245e4f32db385f93555c14133bc1e370591b95afe45fc677ece5f4e122c5887a5dbbb3
+DIST candy-5.10.3.gh.tar.gz 115258 BLAKE2B 70d698d69fbb0a28adeb1ba515a1a1f6986c083d3a04b688bfd5b7ead98941bac46af47cd745b74928fc56466ebe3fa7d570f7ecaa1716b2eac948d9eaf52fe2 SHA512 c56ab81f599c5fbf72c509265b3fc0189a17e36b8738e536f21702585e7994c706a277d8c1dbf8b68e7f3609518fec0b4daccc0b180d375463e898bb7d41bbdc
+EBUILD candy-5.10.3.ebuild 762 BLAKE2B 75e7d0254ba7cfaa65e4767dfdb69383aa3c8a5c718f65449451f63941938e4feb57f8678b2935f8b054c42eab52f6057e269d16ceaeb9068a0aa87a1bb16b09 SHA512 6fe6cc205790770453d1d2956bca77272b163c960ce95f74850908e892331c1075794eb43687417b9bf7ead3cf4085f9d4a3d5b1d13fe3a076dcf4689863a2b2
+MISC metadata.xml 652 BLAKE2B 06b58cdfd20b29707d598e13d11b7d5416a764db3a28898e63046f819bbe6a83c2c43e88d9b1045a6a25d36c2ebcac60d38e1b1807729664ef30c291254d0585 SHA512 0fc493eab187b7bd73387d08002312f540f75671f17f82a7c84f9669ee31fd33c67752cd7baf2b65094057dc24d551f2deaea1a650466b94110fda5dcc1997c5
diff --git a/net-vpn/candy/candy-5.10.3.ebuild b/net-vpn/candy/candy-5.10.3.ebuild
new file mode 100644
index 000000000000..9460dccd05c1
--- /dev/null
+++ b/net-vpn/candy/candy-5.10.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd readme.gentoo-r1
+
+DESCRIPTION="A reliable, low-latency, and anti-censorship virtual private network"
+HOMEPAGE="https://github.com/lanthora/candy"
+SRC_URI="https://github.com/lanthora/candy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+DEPEND="
+ dev-libs/poco
+ dev-libs/openssl
+ dev-libs/spdlog
+ dev-libs/libfmt
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_install(){
+ cmake_src_install
+ default
+
+ insinto /etc
+ doins candy.cfg
+
+ systemd_dounit candy.service
+ systemd_dounit candy@.service
+ newinitd candy.initd candy
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/net-vpn/candy/files/README.gentoo b/net-vpn/candy/files/README.gentoo
new file mode 100644
index 000000000000..810d833321b0
--- /dev/null
+++ b/net-vpn/candy/files/README.gentoo
@@ -0,0 +1,10 @@
+Notes:
+ Running candy with multi instances
+
+ 1) Using OpenRC
+ Prepare /etc/candy.d/${foo}.cfg first
+ # ln -s /etc/init.d/candy{,.${foo}}
+ # rc-update add candy.${foo} default
+
+ 2) Using Systemd
+ # systemctl enable candy@${foo}
diff --git a/net-vpn/candy/metadata.xml b/net-vpn/candy/metadata.xml
new file mode 100644
index 000000000000..997cf71315bb
--- /dev/null
+++ b/net-vpn/candy/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <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>
+ <upstream>
+ <remote-id type="github">lanthora/candy</remote-id>
+ <maintainer>
+ <name>lanthora</name>
+ <email>lanthora@outlook.com</email>
+ </maintainer>
+ </upstream>
+</pkgmetadata>
diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest
index 5d359f45cd67..4707f927202d 100644
--- a/net-vpn/tailscale/Manifest
+++ b/net-vpn/tailscale/Manifest
@@ -3,5 +3,5 @@ AUX tailscaled.confd 147 BLAKE2B abea10fa6d05304a0c953dfd0fa1a4c10054129294d8554
AUX tailscaled.initd 416 BLAKE2B b4196852147dad2bf9a948b3d36f2d3b02e18266174d0a1f3b252ceca71132d232fa1de63a1b03992ccb39dcbdbb29b69791bf51e2e130c7192271114887c1e5 SHA512 a65a386715cfd21a02723ec6c7d05f874e0ac370142867c8145a7f9701cce0eacc2861aed69041363ca6e01fa5f87941464c653822ae187f1ea5ab66a1587bd2
DIST tailscale-1.72.0-deps.tar.xz 226770144 BLAKE2B 4c23fe678a320f674cafb9e3d9f80c9a698bb6133ac8a64fe6024822e03a93ce9cdfcb0838370a8cb6da38da6d6f0241c9599f3a1b11224d1dd531ba00efa629 SHA512 848e83af5f26883cd7f56e19749cf02a489a5a7e0a0c7e23d4df6f44d59d311e7f28ddd4e67c29626c6d7d8232d867d249a6f8287177bddab59c5279a3cf776d
DIST tailscale-1.72.0.tar.gz 3031783 BLAKE2B 58e7609a8481ee0bbf58ad3b3d924d88192c201ea32d4efbf015201d2d67a8a330ee93452bdd23c902065bcd924f18e793ac531348c2c34591fab15c2c2eb01b SHA512 ed1b853bde7a5aadc469e2d2e810db8b800514d8278b24d3f2453ecc3e89b4198999e52f3bbc7743302ab60ad78432d5222808ce7e7739befd9bd15ad2eda20a
-EBUILD tailscale-1.72.0.ebuild 1551 BLAKE2B 6d8ae150c01384e439e70d591f0185ebf6e90dad20030ad727605611b096f359060581d861e2228997f59af98f2a88e213451847f70ab7d6d035ec6cca369132 SHA512 9b40f9299c7e71bd27bebf49fc52a5755af1ccdde4b6ee93650aa36a674cc166df6243b5730971f692404c207b49a18a8f21fcd5acbe3e5b7f05e1641dce6b82
+EBUILD tailscale-1.72.0.ebuild 1583 BLAKE2B 5b15115cc9d8c39803d3269ee1bd06282db04e5536e577e4af868b2607390a9e184e48ca780465b25d838e89021e6a614a06010cc80123559fba4e92fd05e793 SHA512 dff51f42e7c9072162cea306a09411c0de5e4e29ddf3cf755fc4df8f78d47d53f15128c0bc5a24c7dc07f60045d20eb81a44e3979c7c392ec6745766031ea6d8
MISC metadata.xml 333 BLAKE2B 2ab80664e8a4588d485b0ac9fe9dcd8addcca7bf59e091052db0dd7fb09abf985c81490c795cd2daa97447282885c322fbe6202c8ae0c22e92cd2f2a2b9b02b6 SHA512 fc80f602a7d40a2aea28d1e24b717cf080c77f773578fb3ed8bae40b99f7664c693d486c6e40aa2e83d2256b851d27ca9876417e18ac356ddfec51a90cc049f7
diff --git a/net-vpn/tailscale/tailscale-1.72.0.ebuild b/net-vpn/tailscale/tailscale-1.72.0.ebuild
index 9953b94ae170..8e7f0dd0cdf3 100644
--- a/net-vpn/tailscale/tailscale-1.72.0.ebuild
+++ b/net-vpn/tailscale/tailscale-1.72.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit go-module systemd tmpfiles
+inherit go-module linux-info systemd tmpfiles
# These settings are obtained by running ./build_dist.sh shellvars` in
# the upstream repo.
@@ -20,6 +20,8 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+CONFIG_CHECK="~TUN"
+
RDEPEND="net-firewall/iptables"
BDEPEND=">=dev-lang/go-1.22"