Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658542 - net-proxy/mtproxy: MT-Proto proxy
Summary: net-proxy/mtproxy: MT-Proto proxy
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 22:44 UTC by Anna Tikhomirova
Modified: 2019-08-23 20:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mtproxy-9999.ebuild (file_658542.txt,1.01 KB, text/plain)
2018-06-19 22:44 UTC, Anna Tikhomirova
Details
metadata.xml (file_658542.txt,265 bytes, text/plain)
2018-06-19 22:45 UTC, Anna Tikhomirova
Details
mtproxy-9999-compile-flags.patch (file_658542.txt,4.81 KB, patch)
2018-06-19 22:46 UTC, Anna Tikhomirova
Details | Diff
mtproxy-config.service (file_658542.txt,131 bytes, text/plain)
2018-06-19 22:46 UTC, Anna Tikhomirova
Details
mtproxy-config.timer (file_658542.txt,165 bytes, text/plain)
2018-06-19 22:47 UTC, Anna Tikhomirova
Details
mtproxy.conf (file_658542.txt,609 bytes, text/plain)
2018-06-19 22:48 UTC, Anna Tikhomirova
Details
mtproxy.service (file_658542.txt,226 bytes, text/plain)
2018-06-19 22:48 UTC, Anna Tikhomirova
Details
mtproxy.sh (file_658542.txt,3.33 KB, text/plain)
2018-06-19 22:49 UTC, Anna Tikhomirova
Details
metadata.xml (metadata.xml,257 bytes, text/xml)
2018-06-20 16:02 UTC, Anna Tikhomirova
Details
mtproxy.sh (mtproxy.sh,3.23 KB, application/x-shellscript)
2018-06-20 16:03 UTC, Anna Tikhomirova
Details
mtproxy-9999.ebuild (mtproxy-9999.ebuild,985 bytes, text/plain)
2018-06-20 16:03 UTC, Anna Tikhomirova
Details
mtproxy-9999-compile-flags.patch (mtproxy-9999-compile-flags.patch,4.65 KB, patch)
2018-06-20 16:03 UTC, Anna Tikhomirova
Details | Diff
mtproxy.conf (mtproxy.conf,592 bytes, text/plain)
2018-06-20 16:04 UTC, Anna Tikhomirova
Details
mtproxy.service (mtproxy.service,213 bytes, text/plain)
2018-06-20 16:04 UTC, Anna Tikhomirova
Details
mtproxy-config.service (mtproxy-config.service,125 bytes, text/plain)
2018-06-20 16:04 UTC, Anna Tikhomirova
Details
mtproxy-config.timer (mtproxy-config.timer,155 bytes, text/plain)
2018-06-20 16:05 UTC, Anna Tikhomirova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Tikhomirova 2018-06-19 22:44:48 UTC
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.
Comment 1 Anna Tikhomirova 2018-06-19 22:45:47 UTC
Created attachment 536468 [details]
metadata.xml
Comment 2 Anna Tikhomirova 2018-06-19 22:46:28 UTC
Created attachment 536470 [details, diff]
mtproxy-9999-compile-flags.patch
Comment 3 Anna Tikhomirova 2018-06-19 22:46:59 UTC
Created attachment 536474 [details]
mtproxy-config.service
Comment 4 Anna Tikhomirova 2018-06-19 22:47:27 UTC
Created attachment 536476 [details]
mtproxy-config.timer
Comment 5 Anna Tikhomirova 2018-06-19 22:48:09 UTC
Created attachment 536478 [details]
mtproxy.conf
Comment 6 Anna Tikhomirova 2018-06-19 22:48:45 UTC
Created attachment 536480 [details]
mtproxy.service
Comment 7 Anna Tikhomirova 2018-06-19 22:49:23 UTC
Created attachment 536482 [details]
mtproxy.sh
Comment 8 Jimmy.Jazz 2018-06-20 15:41:11 UTC
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
Comment 9 Anna Tikhomirova 2018-06-20 16:00:57 UTC
(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.
Comment 10 Anna Tikhomirova 2018-06-20 16:02:34 UTC
Created attachment 536504 [details]
metadata.xml
Comment 11 Anna Tikhomirova 2018-06-20 16:03:00 UTC
Created attachment 536508 [details]
mtproxy.sh
Comment 12 Anna Tikhomirova 2018-06-20 16:03:26 UTC
Created attachment 536510 [details]
mtproxy-9999.ebuild
Comment 13 Anna Tikhomirova 2018-06-20 16:03:47 UTC
Created attachment 536512 [details, diff]
mtproxy-9999-compile-flags.patch
Comment 14 Anna Tikhomirova 2018-06-20 16:04:09 UTC
Created attachment 536514 [details]
mtproxy.conf
Comment 15 Anna Tikhomirova 2018-06-20 16:04:27 UTC
Created attachment 536516 [details]
mtproxy.service
Comment 16 Anna Tikhomirova 2018-06-20 16:04:43 UTC
Created attachment 536520 [details]
mtproxy-config.service
Comment 17 Anna Tikhomirova 2018-06-20 16:05:02 UTC
Created attachment 536522 [details]
mtproxy-config.timer
Comment 18 Anna Tikhomirova 2018-06-20 16:11:56 UTC
(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.