commit:     7f5d4c75a6e10b7ec7d7f371940f342c10b5a7b1
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 12:09:43 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 12:11:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5d4c75

net-vpn/candy: add 5.10.4

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-vpn/candy/Manifest            |  1 +
 net-vpn/candy/candy-5.10.4.ebuild | 42 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/net-vpn/candy/Manifest b/net-vpn/candy/Manifest
index 5c32f1d0d2a1..8be113b96228 100644
--- a/net-vpn/candy/Manifest
+++ b/net-vpn/candy/Manifest
@@ -1 +1,2 @@
 DIST candy-5.10.3.gh.tar.gz 115258 BLAKE2B 
70d698d69fbb0a28adeb1ba515a1a1f6986c083d3a04b688bfd5b7ead98941bac46af47cd745b74928fc56466ebe3fa7d570f7ecaa1716b2eac948d9eaf52fe2
 SHA512 
c56ab81f599c5fbf72c509265b3fc0189a17e36b8738e536f21702585e7994c706a277d8c1dbf8b68e7f3609518fec0b4daccc0b180d375463e898bb7d41bbdc
+DIST candy-5.10.4.gh.tar.gz 115673 BLAKE2B 
d150cdf06cd003f0d42e176538a204b8c4cab114bde2c363162a8a75d22e7911abf6a0944a142d6be5ee49116dc24b61d20588390dff7496b51995079ed05457
 SHA512 
09653777c4653c786d03d8a2141988e1b6f33f0b81b46815d3c13e7d7ca40957d15d654a7d58dd72f02574197183e9198563e871ab4d23f228f87a81cccd0b2d

diff --git a/net-vpn/candy/candy-5.10.4.ebuild 
b/net-vpn/candy/candy-5.10.4.ebuild
new file mode 100644
index 000000000000..36c322c1a7fa
--- /dev/null
+++ b/net-vpn/candy/candy-5.10.4.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:0=
+       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 [email protected]
+       newinitd candy.initd candy
+
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       readme.gentoo_print_elog
+}

Reply via email to