commit: 352f6f4872a73e1c367e86cafddf965a52fd8b87 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Fri Oct 10 14:03:19 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Fri Oct 10 14:03:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352f6f48
net-vpn/candy: add 6.1.2 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> net-vpn/candy/Manifest | 1 + net-vpn/candy/candy-6.1.2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/net-vpn/candy/Manifest b/net-vpn/candy/Manifest index 7f597ea5a908..90a8c59a41fe 100644 --- a/net-vpn/candy/Manifest +++ b/net-vpn/candy/Manifest @@ -1,2 +1,3 @@ DIST candy-6.0.4.gh.tar.gz 338217 BLAKE2B 7fb9b842fff0611e21f3a539ded4e0080b685ffe5c41731a0b77ac12754a5b8f99497ebe3ed7acb964fe0e90ca9cd6cdee7cb6d5d69c256aa7c174c5251450af SHA512 807d3b9bce3d675d7da9aedcaf940bd25eef8154e20fec79e53800d972983a667be624947e5dae8005cb0d63607f8d9d5e90f66488d2541be38e79c7728c5f7a DIST candy-6.1.1.gh.tar.gz 337323 BLAKE2B 37b8629e0c84f82cf5d91a394d63d1f25747d4d659eab3849d24cbff8a006db82d31a17907bab3481f4dd77aaadc822bb34027337e30f63a916ae141a57d5e8c SHA512 2124e545d32f7424315b613ad13c5792dc97c5833c905e5ca65e3b7e400f51c86847dc9ec16e015933b41b6ab2c98f2e26f9bfc82d1284cbfc45a9c8708586e3 +DIST candy-6.1.2.gh.tar.gz 337474 BLAKE2B 86041405cf2263215beaaeed5f34b9c69ef0641bb97d8f0ed357c9e24d340ab44aff36ae39ead6664f660dc2e8877c29e3627dc1b2fc0aa1258ffbd9c8a0f409 SHA512 0384371e12ae3aadc026a4f3f9c0129e896bc610d1da799ee6658c74a4ca24f058f4ee4f833261c5a8ae55a32e406081fd035a98de21ac561eb85259a944db4e diff --git a/net-vpn/candy/candy-6.1.2.ebuild b/net-vpn/candy/candy-6.1.2.ebuild new file mode 100644 index 000000000000..5322bf2b14e1 --- /dev/null +++ b/net-vpn/candy/candy-6.1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2024-2025 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 [email protected] + newinitd candy.initd candy + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}
