diff options
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/Manifest.gz | bin | 5876 -> 5870 bytes | |||
-rw-r--r-- | net-proxy/haproxy/Manifest | 4 | ||||
-rw-r--r-- | net-proxy/haproxy/haproxy-1.9.2.ebuild (renamed from net-proxy/haproxy/haproxy-1.9.1.ebuild) | 0 | ||||
-rw-r--r-- | net-proxy/mitmproxy/Manifest | 2 | ||||
-rw-r--r-- | net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild | 83 | ||||
-rw-r--r-- | net-proxy/trojan/Manifest | 6 | ||||
-rw-r--r-- | net-proxy/trojan/trojan-1.10.0.ebuild (renamed from net-proxy/trojan/trojan-1.8.1.ebuild) | 3 | ||||
-rw-r--r-- | net-proxy/trojan/trojan-1.9.0.ebuild | 46 |
8 files changed, 91 insertions, 53 deletions
diff --git a/net-proxy/Manifest.gz b/net-proxy/Manifest.gz Binary files differindex 044c94c33531..aa45db1ef39d 100644 --- a/net-proxy/Manifest.gz +++ b/net-proxy/Manifest.gz diff --git a/net-proxy/haproxy/Manifest b/net-proxy/haproxy/Manifest index bcc315f2d322..913e5a3f1c3d 100644 --- a/net-proxy/haproxy/Manifest +++ b/net-proxy/haproxy/Manifest @@ -12,7 +12,7 @@ DIST haproxy-1.8.13.tar.gz 2063046 BLAKE2B 9ebccf2520719cdf209bc9a87bf28d015b5b6 DIST haproxy-1.8.17.tar.gz 2077525 BLAKE2B b4419d541a82399995df448410a8756301ad561001bfe45cfa1c21f6f01bfadb51bb58aeda2e8e34f0580356c8ca136568fd8f2d86507a88e3cd84924b861d5c SHA512 0887d5d84c2cce9355fae032ba82e4b7b94c89d3053f209046a555101b5750c10b51feb38fd14245f806fb4f50ec1dcdf2b23b4f80578abd4a27693fc29b91b1 DIST haproxy-1.8.8.tar.gz 2054534 BLAKE2B 5eabd37dfb79783dc20425cbb16ca1e1afed23861f66c9e8a738dd56d9ca35b3ceb2604c308543ca99222aa867e11ff613fc09012669882a4bdaaff03cb76450 SHA512 8310f84b364348600273c295a3b315a79cba1f782b86b47d8d47b3ffd1e6fb62fd278c4f2dfa185d0a269f73c1067695a763733736877989a941162b625462a1 DIST haproxy-1.8.9.tar.gz 2057051 BLAKE2B d81d18f68a27ae8a77660c1ecb1dfc28599263ebfd57f25ea574af2b101b35eb7a1a89ba4034b55dfa89673ae6ac4c0dca5428b4b494a02184b1b157850ce96b SHA512 e59c29af3a39d6212f012ae8341b169436e10e42fadaf8f1aa68d2bb7ee181fd1fe3b74640bfcd8c37c17dfc5062b36bd69d90290d7c59cd3e4648ef2ab1c8dd -DIST haproxy-1.9.1.tar.gz 2336844 BLAKE2B 8a01a9cc6994c9fa99e0d8ccbcf4a7b65efb964bbbcea2d706fa39efb44590f3bf1fc458e52a5946a7e4953548f7dbd3bbd1bf8ec2fa3fa5c48dda2e72a6b516 SHA512 f621fd80a0b923133b0e1fe92c0a286a2cde29c0f55c0ee82bb4bb6a0cda40213289d5bb7102376b0ad390e9e26f959644fbea596ace8b9bcb10292011b92bf5 +DIST haproxy-1.9.2.tar.gz 2350356 BLAKE2B ba147007999d65d214545e5c20567aaa3db67a292eb0df1e1e4aaaeeb7e1c90f593725b112cd222537346cec45b557a2a99e30ef5d4a91bb4b5804212b765121 SHA512 42ad5048c85ac9fdc7ba1b00917508255ffb66f63df1c24382beba6f77765d786b0ab16ddafe5e290f81ea07bd15c63277b5749c4bafab0721e57f837b1bebf8 EBUILD haproxy-1.5.14.ebuild 3269 BLAKE2B fed37e73d128612260d8266045891a5e271ba399ee61af005409ab07b089297f4ca39adb67c50e0721efa9b7cdc112f0d5d30a65cb60ac027684ddb69e606c9c SHA512 41d1cfec30d177661f4402143ccf1335f5407adeb9f1581ea866011b1ec26c99da67fb2edd33e71e96b64665fa9c62641fd4b5dc1cd1383cc49877a0ce4292b4 EBUILD haproxy-1.5.19-r2.ebuild 3283 BLAKE2B 698bb63a7c0b97aa62e1c3b12de9689ababa6407dc98870bd73fed0d7aad4f2e08f13faf466aa40d8c420618dcd82e2292a54b4a779772a8e106e7f88194c7b0 SHA512 f8056a851fb9800bcced3827d1294b8b81115c5da3ae603067bb4d10e276c9e053823ba72ebabf21955a7fe241911256e87d4f086eb029a5c1e3d144c15ebfc3 EBUILD haproxy-1.6.11-r2.ebuild 4672 BLAKE2B 74b3adb390a7fa1d596e8e91f4ca5fbb46d7dfd201527956a514a3f0855f575b2fc1115b388126d8e54a1a80f13b5b62acb59f53eb92a5bd9ef3f02ab3867c38 SHA512 843c39796ab641d5036dc2f1d151da41acc5820713dd2c2857c551d684b0a5922abead4e9c2afb031bb75635842e9ead645ced6d9cebfa97ccc2f719caed8c58 @@ -23,6 +23,6 @@ EBUILD haproxy-1.8.13.ebuild 4886 BLAKE2B 61bc37ea42b0dd5bc447b68cb45532c184f14a EBUILD haproxy-1.8.17.ebuild 4886 BLAKE2B 94d1654d71261f4d4e3d4984cf2afae1721c3f5d85f5caec1f7ba7be2a2f3c0889a2de02fd542b18f8a2fe0222debfd35f47c3fdcde0cbb8122dc493fec021a5 SHA512 a006987c4cf8f56bca0347537cf86e9282d5f0b5cb1864665104d1e93da53084711bac338dce99b1f6cdccfa1fec7534dc58cb7139c126fcc3b6131d371b7dce EBUILD haproxy-1.8.8.ebuild 4889 BLAKE2B a40d2bf75ece4fcba6f0ac6e8bfcf81763ded4b315781183230a8b514f5931de4c383afbe8d4152f4d2d4d496fd2421f2f10d04e4240b52a7ab15f3c31bc0864 SHA512 2e132cd3018d845450a94857a544c0306a5cf0efe08d5102a7096a424355a4b628bf85c69f02f812577d134ebabef197aa2bb4ff6f5b8f8d3609d072a55af86e EBUILD haproxy-1.8.9.ebuild 4885 BLAKE2B beb86eb5714d77b8dad4ac0abc55b46a0e4727ceae1a503ff1febe3943f6393f8ce99f97c098e4046c17de04a32c4f9d0a8708fd4c81eeb69e82f900f156285a SHA512 93290df98b67334d2c89ced563d15d25943a5c87c691fdce2ace423ca38acc364f9307f8a28a6654fb390d41c72ec627e005d0179d10138d92396365496ab8b8 -EBUILD haproxy-1.9.1.ebuild 4999 BLAKE2B 068dd442f30c7b815164143fbc33a7bd390d0684a68b3096dde76b31e68cccf662a33589180a81006794e1e0a477dbb6ec9c62faa002ec56beda02bc0d3b062e SHA512 56bd202b4c16c9ddd2e2aa13eeb953e5a00b3975e5427ba7d02db2d78ab7f71857a13b3122cae77fc3b7c33cb58c12a48220b408ebca57622f47b7d497395aff +EBUILD haproxy-1.9.2.ebuild 4999 BLAKE2B 068dd442f30c7b815164143fbc33a7bd390d0684a68b3096dde76b31e68cccf662a33589180a81006794e1e0a477dbb6ec9c62faa002ec56beda02bc0d3b062e SHA512 56bd202b4c16c9ddd2e2aa13eeb953e5a00b3975e5427ba7d02db2d78ab7f71857a13b3122cae77fc3b7c33cb58c12a48220b408ebca57622f47b7d497395aff EBUILD haproxy-1.9.9999.ebuild 4889 BLAKE2B a40d2bf75ece4fcba6f0ac6e8bfcf81763ded4b315781183230a8b514f5931de4c383afbe8d4152f4d2d4d496fd2421f2f10d04e4240b52a7ab15f3c31bc0864 SHA512 2e132cd3018d845450a94857a544c0306a5cf0efe08d5102a7096a424355a4b628bf85c69f02f812577d134ebabef197aa2bb4ff6f5b8f8d3609d072a55af86e MISC metadata.xml 2071 BLAKE2B 303b68ae0788743ec5a8d893e69a87fd2d22188b2166f75c23cd2a47c06e69bfe43745016fafd64b5b298f7b56453fcbfb6b4d9bfede1e08e0c603bce7b0955f SHA512 4ac7fd3dcae2293fa3cdb54fba7dfd9cfbc28f5fca33442dd970861ca26672a0b21d825d36099fbf234831a403fb41eabe02d48eca2a971eaef857516427394b diff --git a/net-proxy/haproxy/haproxy-1.9.1.ebuild b/net-proxy/haproxy/haproxy-1.9.2.ebuild index 2212a12930ac..2212a12930ac 100644 --- a/net-proxy/haproxy/haproxy-1.9.1.ebuild +++ b/net-proxy/haproxy/haproxy-1.9.2.ebuild diff --git a/net-proxy/mitmproxy/Manifest b/net-proxy/mitmproxy/Manifest index a51233561e1b..25d2a3749c42 100644 --- a/net-proxy/mitmproxy/Manifest +++ b/net-proxy/mitmproxy/Manifest @@ -2,7 +2,9 @@ AUX mitmproxy-0.10-jsbeautifier-imports.patch 1505 BLAKE2B 3575de61b375031282ce4 DIST mitmproxy-0.10.1.tar.gz 3426109 BLAKE2B 0e0822310d8b97041e6f25cb760297fb83a8544c24b0419d8215a7a65874a1c6763c6095c2e80b89231dc1de2a946471d6436713c092a1b95e7cb441f0617112 SHA512 2bef02f07942177044afa24749c4e8e2ba1aae5ee33e2cbffbecc557a09351865b70dc92b9acfd285716a82c84026a3eb93f889176fd288c1e8d67a415a5c79a DIST mitmproxy-0.11.1.tar.gz 6253324 BLAKE2B a3d3e06834a545138574246887c1ab5dab90d933b3995a613dabee2f6c55a436dfcb2220ded90ef91f5238d6bfcb10b2a1f64dcf801baa93598d6a8c13fadd1b SHA512 f265441825b22e2a7ec3c8f2f3152d123fbd6ac463fd4de0e973e24b2ab9feaf28689d3c995bb361ff06a88a6d88536b642944463573117640b1c096b79f20b1 DIST mitmproxy-0.11.3.tar.gz 6172130 BLAKE2B 9001882db499e1e4a6ec082fef661a3369a36a218f3f19c08fc75d403b29b6aff22512c159a25250894e5419069ef662b691272eb5a7fbd23e2fb3e49d269adf SHA512 81184b3034b78d51368b4066adcc8337fc59332c80ce085c854610f70cd96531612520c1b751135e26093265c5475c8fef5fcb0908b77b5a18a5c605c0c94934 +DIST mitmproxy-4.0.4.tar.gz 27131713 BLAKE2B 2748b0f3b66e1f5840aae792a1b4cd8ef8efa3673fa24bc0c3e15474b36d68c0f6b2203cf629b6444545b8c6223752232b2ce8526290fe5d74916946e8917a03 SHA512 e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3 EBUILD mitmproxy-0.10.1.ebuild 1389 BLAKE2B fec1b89165a6223e24655fe4fe1623b03eb3fbfe7aa9b1922734f15dddd1bb238667bea835ef13f6996e88ee9c3fa682a579e02e17354fe9b48899bff3ba2e6d SHA512 3d0205bd73b8129a31dd70ccbc64f8b8b632e67f85cab0beabde3b92023b477470d641ece4b2ad527c9fbe0f7572972a8046adb551a67fbc8a6e7bc1df5766cb EBUILD mitmproxy-0.11.1.ebuild 1516 BLAKE2B e9543a5a8041a47947e8a463260d37629b7f6995a0a47bcb8a6e452167294191ca269d76e7de4b998325e844335d76fb2b3b60296bfc0f14183fc118c854c244 SHA512 f25695010fea1bbbfe139cd3f13c8be66913941f3bde96bc67b712d5ae001582a5685dba52337b9f61a50c6d3ecd92657df349d3e1153e17ca04eb1fa56aae47 EBUILD mitmproxy-0.11.3.ebuild 1440 BLAKE2B 5a1d4efaab7ec09af0d3b72b5d2466790330d7fdb850fae973db10c518ba9557ab3fe3ac095f35bd0ae5ee23ab375b67bd01eed1208d72ea483f0da914d99658 SHA512 bb035673e7ea497660486e19547fbcd060dae5a2eeb6f181b65bcaab980c8cfd37b9f217541eb0d7cf2bf2f0983f4a4b6eaa41ad17c633dbd578faccfc7656fa +EBUILD mitmproxy-4.0.4.ebuild 2517 BLAKE2B 8b62b47ec8127b3a48f89091de3f3dab53bde97e95d81c14285ac5d57783abebceb2e2ef4033d55fb224d45c8c1f0a538af04ca13969cdacb39d263a94da1588 SHA512 6cad8977b0ea0ed213b1c2b05f67f27b1461113d97affa3c1e10e6d3b964f87db4f422cee61a4f919a2f7a55f62935c038b63f3b5745f5ffaf7d461fbdbcc7e7 MISC metadata.xml 318 BLAKE2B f422f86b4b441eca44aba5cbb5b26f619d779d04a9b0196c7308b38094cf7a1f71fa542dc66c431ff24922e510b30a9ca5c32dff68530f1bdbb3e64a4ebf6178 SHA512 8f7a5435cf5b7219e6f4827289dcbfb9ff4d4e5e1f70aa9694934276e9e4aa0d84a8a052c022eaa4358528b7869504037fd371d037d4e447d0d6c6536f46815f diff --git a/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild new file mode 100644 index 000000000000..dd3a3a0d8083 --- /dev/null +++ b/net-proxy/mitmproxy/mitmproxy-4.0.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) +inherit distutils-r1 + +DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy" +HOMEPAGE="https://mitmproxy.org/" +SRC_URI="https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + >=dev-python/blinker-1.4[${PYTHON_USEDEP}] + >=dev-python/brotlipy-0.7.0[${PYTHON_USEDEP}] + >=dev-python/certifi-2015.11.20.1[${PYTHON_USEDEP}] + >=dev-python/click-6.2[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] + >=dev-python/hyper-h2-3.0.1[${PYTHON_USEDEP}] + >=dev-python/hyperframe-5.1.0[${PYTHON_USEDEP}] + >=dev-python/kaitaistruct-0.7[${PYTHON_USEDEP}] + >=dev-python/ldap3-2.5[${PYTHON_USEDEP}] + >=dev-python/passlib-1.6.5[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.6.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.3.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.5[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.3[${PYTHON_USEDEP}] + >=dev-python/pyperclip-1.6.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-1.5.4[${PYTHON_USEDEP}] + >=www-servers/tornado-4.3[${PYTHON_USEDEP}] + >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.11.0[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/flask-1.0[${PYTHON_USEDEP}] + >=dev-python/parver-0.1[${PYTHON_USEDEP}] + >=dev-python/pytest-3.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # loosen dependencies + sed -i '/>/s/>.*/",/g' setup.py || die + + # remove failing tests + sed -e 's/test_iframe_injector/_&/g' \ + -i test/examples/test_examples.py || die + + sed -e 's/test_find_unclaimed_URLs/_&/g' \ + -i test/examples/test_xss_scanner.py || die + + rm test/mitmproxy/addons/test_readfile.py || die + + sed \ + -e 's/test_mode_none_should_pass_without_sni/_&/g' \ + -e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \ + -e 's/test_mode_strict_w_confdir_should_pass/_&/g' \ + -i test/mitmproxy/net/test_tcp.py || die + + sed \ + -e 's/test_verification_w_confdir/_&/g' \ + -e 's/test_verification_w_pemfile/_&/g' \ + -i test/mitmproxy/proxy/test_server.py || die + + # needs pytest-asyncio + rm test/mitmproxy/tools/test_main.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pytest -vv || die +} diff --git a/net-proxy/trojan/Manifest b/net-proxy/trojan/Manifest index 901e192ea21b..e53e562976ff 100644 --- a/net-proxy/trojan/Manifest +++ b/net-proxy/trojan/Manifest @@ -1,6 +1,4 @@ AUX trojan.initd 542 BLAKE2B 2e5597381353f1aa8da392027b9a4179da08bb387a776f584bd508f9e7d20747317d78ed7506e97047eb809e0e9726f3f52a9f75a2aacf26d349ec8628b23acb SHA512 1e1f230c96c1d7f8c6f0dc23c40eb8895d004448d802c85d62b34e186bea964753e28e90978075dcbe9fbc2e73074564303f6e28cf12633e424230a2d415910e -DIST trojan-1.8.1.tar.gz 37199 BLAKE2B be93a119ca95e5f4151db6ab58ffaa123d5bd304247d7835ca34ba870808d7e246d551c204d60ffb2a982f2fcb2c35ada1d9823e7f931b36377f99ebd0f48bd6 SHA512 1e2b8e2ddb02b2009181a980781574e6e6375c98475bda4096b70a9c00e61c5ca445f28730e195a5179b85bf5464a6dcb1bcb6ba8dc841d95c9a111f8f87c511 -DIST trojan-1.9.0.tar.gz 37704 BLAKE2B 5ddfab3408c0f665e0c43e1f23d4d5df6c2222d38f3525b524b6689e5b25603f928f718bcba7bbd077b7db1c241aea629d01c8dbefc1d35c3dc3d29757c04885 SHA512 3d671d1944bf79879bde8ba74d9c3270e475ff1c5d35ff1ef367391fdce223bd24e4c1072ae8506002e5ee10944bfbe10cfb434e8908c9670535c38b275293fa -EBUILD trojan-1.8.1.ebuild 966 BLAKE2B 1f2463f68e2064c9f66b0fb9c9c2a5bb0a7253d4b45c55eb44b4a0a0020590673d871dd4bc2b45af5b081720f4157985155336f606bc03304af8c025de1bdef7 SHA512 205b38ffac20f40e55b03c567dcb21e2451c94d2c1cecfae5f4a84494ee287dbddd26a91991f48837bc293529baa61983b50eb9e1db23cd68d0bd731b2fadbf5 -EBUILD trojan-1.9.0.ebuild 966 BLAKE2B 1f2463f68e2064c9f66b0fb9c9c2a5bb0a7253d4b45c55eb44b4a0a0020590673d871dd4bc2b45af5b081720f4157985155336f606bc03304af8c025de1bdef7 SHA512 205b38ffac20f40e55b03c567dcb21e2451c94d2c1cecfae5f4a84494ee287dbddd26a91991f48837bc293529baa61983b50eb9e1db23cd68d0bd731b2fadbf5 +DIST trojan-1.10.0.tar.gz 38230 BLAKE2B 2cfa77ebfbae62edef983d1e57e3ce00a61118f6458cab353af60960e2586750fcd0c4237631481cfdfc8ed0ddad586e1d649046269c7e9177594869c187d8d1 SHA512 9d9a74218369f8094b292b8892e5f877ccec7d8912657491bb37da8e9ae4817f07a83fe401e33bbbdd2ac9c50c1440f3a021f93d85999b43df4849b0a04049cf +EBUILD trojan-1.10.0.ebuild 1028 BLAKE2B 2ecbef8706b6f9243c073b9f3b87387c138a27fc0948d6b720e0d36150f9e615bf5320d350847757bd22e777889ded6e07a1b6916f680c6ca14113fe2072ffdf SHA512 577bd8b91b8ddef0f4eee215f30aa65f5245e70e3014ce1c6f6f441eb5ab2cf9633abf42c22e95e601e87b7c3ba4a428cbbe6de9a419bf61161abb782c1f559e MISC metadata.xml 1023 BLAKE2B cea392d59eea944198e523e0dfdab0325180568d9f3f39e40fc7c94c43a1c8b9811e787da5174f4f0b85d932778b34dcf4a07afccc4cf02972de57e7a3004ad4 SHA512 b1a1a6bdb8ea7d62bce25a439753c85e5e340be804ac8a71a3fbbd4f671270c174f9db77b72c2d00cdc1ede7cea6f7a86d2401e6cb8c8f9e395573c9216dfa4b diff --git a/net-proxy/trojan/trojan-1.8.1.ebuild b/net-proxy/trojan/trojan-1.10.0.ebuild index b6c8edf97d81..fb823826e18d 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 b6c8edf97d81..000000000000 --- 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 -} |