Created attachment 444710 [details] usable shadowsocks-libev.ebuild of version 2.5.0 Hi! Recently shadowsocks-libev introduced crypto_stream_chacha20_ietf_xor_ic() function and asciidoc dependency, and its code base includes a copy of libsodium for this. However the existing ebuild uses polarssl and openssl as --with-crypto-library args. I fixed these and and upgraded version to latest one, hope it can be accepted :)
hey, thanks for reporting this! I've pushed 2.5.0 with few modifications https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd013bd721d8997ea9dabe24d376f3417b805a4
I tried and can't compile, the error message is: encrypt.c: In function 'crypto_stream_xor_ic': encrypt.c:290:9: error: implicit declaration of function 'crypto_stream_chacha20_ietf_xor_ic' [-Werror=implicit-function-declaration] This is the problem I reported.. The version of dev-libs/libsodium in Gentoo portage is 1.0.2 as of now, from 1.0.8 on it would have definition of crypto_stream_chacha20_ietf_xor_ic() function. Requiring user to add higher version of libsodium in package.accept_keywords and wait newer version to be stable needs some time, I think compile without system-libs(then econf uses libsodium inside shadowsocks-libev) would be a quick solution for now..
(In reply to aihuxiaoxiongmao from comment #2) in this case, I would simply add >=dev-libs/libsodium-1.0.8 restriction - best way of reflecting idea of upstream. besides, all versions of net-proxy/shadowsocks-libev are in testing state (~keywords), we won't guarantee it work with the stable version of dev-libs/libsodium