public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/trojan/
Date: Sat, 19 Jan 2019 12:10:11 +0000 (UTC)	[thread overview]
Message-ID: <1547899802.6827f2a4c03ff3d3ee6f888631d53cbf370462ec.monsieurp@gentoo> (raw)

commit:     6827f2a4c03ff3d3ee6f888631d53cbf370462ec
Author:     YangMame <me <AT> yangmame <DOT> org>
AuthorDate: Tue Jan 15 02:18:05 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 12:10:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6827f2a4

net-proxy/trojan: version bump to 1.10.0, drop old.

Signed-off-by: Xin Yang <yangmame <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/10835
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 net-proxy/trojan/Manifest                          |  3 +-
 .../{trojan-1.8.1.ebuild => trojan-1.10.0.ebuild}  |  3 +-
 net-proxy/trojan/trojan-1.9.0.ebuild               | 46 ----------------------
 3 files changed, 3 insertions(+), 49 deletions(-)

diff --git a/net-proxy/trojan/Manifest b/net-proxy/trojan/Manifest
index a19c9e2df55..a98743f222c 100644
--- a/net-proxy/trojan/Manifest
+++ b/net-proxy/trojan/Manifest
@@ -1,2 +1 @@
-DIST trojan-1.8.1.tar.gz 37199 BLAKE2B be93a119ca95e5f4151db6ab58ffaa123d5bd304247d7835ca34ba870808d7e246d551c204d60ffb2a982f2fcb2c35ada1d9823e7f931b36377f99ebd0f48bd6 SHA512 1e2b8e2ddb02b2009181a980781574e6e6375c98475bda4096b70a9c00e61c5ca445f28730e195a5179b85bf5464a6dcb1bcb6ba8dc841d95c9a111f8f87c511
-DIST trojan-1.9.0.tar.gz 37704 BLAKE2B 5ddfab3408c0f665e0c43e1f23d4d5df6c2222d38f3525b524b6689e5b25603f928f718bcba7bbd077b7db1c241aea629d01c8dbefc1d35c3dc3d29757c04885 SHA512 3d671d1944bf79879bde8ba74d9c3270e475ff1c5d35ff1ef367391fdce223bd24e4c1072ae8506002e5ee10944bfbe10cfb434e8908c9670535c38b275293fa
+DIST trojan-1.10.0.tar.gz 38230 BLAKE2B 2cfa77ebfbae62edef983d1e57e3ce00a61118f6458cab353af60960e2586750fcd0c4237631481cfdfc8ed0ddad586e1d649046269c7e9177594869c187d8d1 SHA512 9d9a74218369f8094b292b8892e5f877ccec7d8912657491bb37da8e9ae4817f07a83fe401e33bbbdd2ac9c50c1440f3a021f93d85999b43df4849b0a04049cf

diff --git a/net-proxy/trojan/trojan-1.8.1.ebuild b/net-proxy/trojan/trojan-1.10.0.ebuild
similarity index 90%
rename from net-proxy/trojan/trojan-1.8.1.ebuild
rename to net-proxy/trojan/trojan-1.10.0.ebuild
index b6c8edf97d8..fb823826e18 100644
--- a/net-proxy/trojan/trojan-1.8.1.ebuild
+++ b/net-proxy/trojan/trojan-1.10.0.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} )
 
-inherit cmake-utils python-any-r1
+inherit cmake-utils python-any-r1 systemd
 
 DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW"
 HOMEPAGE="https://github.com/trojan-gfw/${PN}"
@@ -31,6 +31,7 @@ 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

diff --git a/net-proxy/trojan/trojan-1.9.0.ebuild b/net-proxy/trojan/trojan-1.9.0.ebuild
deleted file mode 100644
index b6c8edf97d8..00000000000
--- a/net-proxy/trojan/trojan-1.9.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} )
-
-inherit cmake-utils python-any-r1
-
-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.54.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
-		-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
-}


             reply	other threads:[~2019-01-19 12:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-19 12:10 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-23 11:09 [gentoo-commits] repo/gentoo:master commit in: net-proxy/trojan/ Yixun Lan
2024-04-13 14:10 Michał Górny
2023-05-20 12:32 Joonas Niilola
2022-09-04 13:03 David Seifert
2022-06-01  1:51 Sam James
2021-12-03  1:23 Yixun Lan
2021-06-07 16:49 Sam James
2021-01-21  1:52 Yixun Lan
2020-09-27  9:12 Yixun Lan
2020-07-09 14:15 Yixun Lan
2020-04-17 14:05 Yixun Lan
2020-04-07 13:43 Yixun Lan
2020-04-07 13:43 Yixun Lan
2020-04-01 14:38 Joonas Niilola
2020-02-08 18:55 David Seifert
2020-02-03  6:38 Joonas Niilola
2019-12-15  8:21 Joonas Niilola
2019-12-15  8:21 Joonas Niilola
2019-07-22  3:30 Michał Górny
2019-07-22  3:30 Michał Górny
2018-10-21 18:07 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1547899802.6827f2a4c03ff3d3ee6f888631d53cbf370462ec.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox