Created attachment 536466 [details] mtproxy-9999.ebuild Hello. Here is the ebuild for the official implementation of Telegram Messenger MTProxy Server. There is one downside. I only have Gentoo with systemd so I didn't write OpenRC init.d scripts. In other it is fully functional, including Makefile patch for Gentoo build system.
Created attachment 536468 [details] metadata.xml
Created attachment 536470 [details, diff] mtproxy-9999-compile-flags.patch
Created attachment 536474 [details] mtproxy-config.service
Created attachment 536476 [details] mtproxy-config.timer
Created attachment 536478 [details] mtproxy.conf
Created attachment 536480 [details] mtproxy.service
Created attachment 536482 [details] mtproxy.sh
ebuild mtproxy-9999.ebuild digest command gives External commands disallowed while sourcing ebuild: please, do sed -i.saved 's:\x0D$::' to convert the files format from dos to unix adding -Wno-error=format-security to CFLAGS was necessary too thx
(In reply to Jimmy.Jazz from comment #8) > please, do sed -i.saved 's:\x0D$::' to convert the files format from dos to > unix My original files have correct unix line endings. However I used "paste text as attachment" option to attach them. I'll try to attach the files directly.
Created attachment 536504 [details] metadata.xml
Created attachment 536508 [details] mtproxy.sh
Created attachment 536510 [details] mtproxy-9999.ebuild
Created attachment 536512 [details, diff] mtproxy-9999-compile-flags.patch
Created attachment 536514 [details] mtproxy.conf
Created attachment 536516 [details] mtproxy.service
Created attachment 536520 [details] mtproxy-config.service
Created attachment 536522 [details] mtproxy-config.timer
(In reply to Jimmy.Jazz from comment #8) > adding -Wno-error=format-security to CFLAGS was necessary too Did you encounter any compile error? How to reproduce this? I'm getting no errors and warnings with sys-devel/gcc: 6.4.0-r1::gentoo and standard ("-O2 -march=<my_arch> -pipe") or even empty CFLAGS.