From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D51D138334 for ; Mon, 22 Jul 2019 03:30:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B7E8E0849; Mon, 22 Jul 2019 03:30:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0048AE0849 for ; Mon, 22 Jul 2019 03:30:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B67F348600 for ; Mon, 22 Jul 2019 03:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84AEA703 for ; Mon, 22 Jul 2019 03:30:04 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563765997.278aaf70a77abe9d1f62b1720e93fdd41c21524f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/trojan/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/trojan/Manifest net-proxy/trojan/trojan-1.12.3.ebuild X-VCS-Directories: net-proxy/trojan/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 278aaf70a77abe9d1f62b1720e93fdd41c21524f X-VCS-Branch: master Date: Mon, 22 Jul 2019 03:30:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: facecec0-283e-4259-88f4-3aba9e3842bc X-Archives-Hash: 35ac6060d3a6c5dbc300ebcfce477555 commit: 278aaf70a77abe9d1f62b1720e93fdd41c21524f Author: YangMame yangmame org> AuthorDate: Mon Jul 22 01:57:42 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 22 03:26:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278aaf70 net-proxy/trojan: version bump to 1.12.3 Signed-off-by: Xin Yang icloud.com> Signed-off-by: Michał Górny gentoo.org> net-proxy/trojan/Manifest | 1 + net-proxy/trojan/trojan-1.12.3.ebuild | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/net-proxy/trojan/Manifest b/net-proxy/trojan/Manifest index d1d3c306277..94a4620a90e 100644 --- a/net-proxy/trojan/Manifest +++ b/net-proxy/trojan/Manifest @@ -1,2 +1,3 @@ DIST trojan-1.10.0.tar.gz 38230 BLAKE2B 2cfa77ebfbae62edef983d1e57e3ce00a61118f6458cab353af60960e2586750fcd0c4237631481cfdfc8ed0ddad586e1d649046269c7e9177594869c187d8d1 SHA512 9d9a74218369f8094b292b8892e5f877ccec7d8912657491bb37da8e9ae4817f07a83fe401e33bbbdd2ac9c50c1440f3a021f93d85999b43df4849b0a04049cf DIST trojan-1.12.2.tar.gz 41742 BLAKE2B 7090c426c66877ed31a61b8b678d5169094af4687b37622cacac758ce907154f579b5a5455d850ed1ca5fb70e8793a13c3c4aa20015cca70d78d0ce51c747e2c SHA512 1cf0eb7cf740f6212140886e481adb00883f7132ba21d346812a2c23fca35222b93251b3cdaba6b6dad66b15f743d8627a5d42e28f32aaef5cab682ea37b5983 +DIST trojan-1.12.3.tar.gz 41786 BLAKE2B f6306210a46316906b919fefb245a7c379ddcf785513bfbc3b8fc6a9c78e1c8cf22069533f58086fb4ffad05b625ab2b2fcacf2256520833ea49c0f307cee296 SHA512 f59afa28446dfef8680d7530aaff3609566b2873416bb11f8981ef111f63ed8deeacb2093373012547ede02dfb9beb8d92655b8f9ebafd6012c45b3ce787c22f diff --git a/net-proxy/trojan/trojan-1.12.3.ebuild b/net-proxy/trojan/trojan-1.12.3.ebuild new file mode 100644 index 00000000000..e394deff72a --- /dev/null +++ b/net-proxy/trojan/trojan-1.12.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_5,3_6,3_7} ) + +inherit cmake-utils python-any-r1 systemd + +DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW" +HOMEPAGE="https://github.com/trojan-gfw/${PN}" +SRC_URI="https://github.com/trojan-gfw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="mysql test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/boost-1.66.0:= + >=dev-libs/openssl-1.0.2:= + mysql? ( dev-db/mysql-connector-c:= ) +" +DEPEND=" + ${RDEPEND} + test? ( net-misc/curl ${PYTHON_DEPS} ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_MYSQL=$(usex mysql) + -DSYSTEMD_SERVICE=ON + -DSYSTEMD_SERVICE_PATH=$(systemd_get_systemunitdir) + -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}/trojan.initd" trojan +} + +src_test() { + cmake-utils_src_test -j1 +}