From 2a1d38ac5d6f2780c80a1325608e2e1a0a5b45b1 Mon Sep 17 00:00:00 2001 From: Steve Illichevskiy Date: Thu, 2 Oct 2014 08:07:38 +0400 Subject: [PATCH 1/6] Update debian folder to build deb pakage Add manpage --- debian/changelog | 6 +- debian/compat | 2 +- debian/control | 24 +++--- debian/copyright | 23 +++--- debian/docs | 3 + debian/files | 1 + debian/install | 4 +- debian/rules | 26 +++--- debian/telegram-cli.8 | 48 +++++++++++ debian/telegram-cli.debhelper.log | 12 +++ debian/telegram-cli.manpages | 1 + debian/telegram-cli/DEBIAN/control | 25 ++++++ debian/telegram-cli/DEBIAN/md5sums | 7 ++ .../usr/share/doc/telegram-cli/README-LUA | 78 ++++++++++++++++++ .../usr/share/doc/telegram-cli/README.es.gz | Bin 0 -> 2447 bytes .../usr/share/doc/telegram-cli/README.md.gz | Bin 0 -> 3167 bytes .../doc/telegram-cli/changelog.Debian.gz | Bin 0 -> 148 bytes .../usr/share/doc/telegram-cli/copyright | 31 +++++++ 18 files changed, 254 insertions(+), 37 deletions(-) create mode 100644 debian/files create mode 100644 debian/telegram-cli.8 create mode 100644 debian/telegram-cli.debhelper.log create mode 100644 debian/telegram-cli.manpages create mode 100644 debian/telegram-cli/DEBIAN/control create mode 100644 debian/telegram-cli/DEBIAN/md5sums create mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA create mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz create mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README.md.gz create mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz create mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/copyright diff --git a/debian/changelog b/debian/changelog index c83e5f7..5b7ff4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -telegram-cli (0.1-1) unstable; urgency=low +telegram-cli (1.0.5.1-1) unstable; urgency=low - * Initial release (Closes #737563) + * Initial release - -- Cleto Martín Mon, 03 Feb 2014 20:00:03 +0000 + -- Steve Illichevsky Wed, 01 Oct 2014 21:06:28 +0400 diff --git a/debian/compat b/debian/compat index ec63514..45a4fb7 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +8 diff --git a/debian/control b/debian/control index 5e7e1f0..06be8de 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,16 @@ Source: telegram-cli Section: net -Priority: optional -Maintainer: Cleto Martín -Build-Depends: debhelper (>= 8.0.0), - autotools-dev, - autoconf-archive, - libreadline-dev, - libconfig-dev, - libssl-dev, - lua5.2, - liblua5.2-dev -Standards-Version: 3.9.4 +Priority: extra +Maintainer: Steve Illichevsky +Build-Depends: debhelper (>= 8.0.0), + autotools-dev, + autoconf-archive, + libreadline-dev, + libconfig-dev, + libssl-dev, + lua5.1, + liblua5.1-dev +Standards-Version: 3.9.2 Homepage: https://github.com/vysheng/tg Vcs-Git: git://github.com/vysheng/tg.git Vcs-Browser: https://github.com/vysheng/tg @@ -33,4 +33,4 @@ Description: Command-line interface for Telegram messenger * Group chat: create and manage groups. * Secret chat: secured and encrypted conversations. * Contact management: add/edit/remove contacts. - * Multimedia support: send/load photos and videos. + * Multimedia support: send/load photos and videos. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright index 2e46990..80d85f4 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,19 +1,19 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: http://dep.debian.net/deps/dep5 Upstream-Name: telegram-cli Source: https://github.com/vysheng/tg Files: * -Copyright: 2013 Vitaly Valtman -License: GPL-2.0+ +Copyright: 2013-2014 vysheng +License: GPL-3.0+ Files: debian/* -Copyright: 2014 Cleto Martín -License: GPL-2.0+ +Copyright: 2014 Steve Illichevsky +License: GPL-3.0+ -License: GPL-2.0+ - This package is free software; you can redistribute it and/or modify +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, @@ -22,7 +22,10 @@ License: GPL-2.0+ GNU General Public License for more details. . You should have received a copy of the GNU General Public License - along with this program. If not, see + along with this program. If not, see . . On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/docs b/debian/docs index b43bf86..227dafc 100644 --- a/debian/docs +++ b/debian/docs @@ -1 +1,4 @@ +README.es +README-LUA README.md +#telegram-cli.8 diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..cc7e0ea --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +telegram-cli_1.0.5.1-1_i386.deb net extra diff --git a/debian/install b/debian/install index f0f94de..8d1bd8d 100644 --- a/debian/install +++ b/debian/install @@ -1 +1,3 @@ -telegram usr/bin +bin/telegram-cli usr/bin +bin/tlc usr/bin +tg-server.pub etc/telegrsm-cli \ No newline at end of file diff --git a/debian/rules b/debian/rules index 0f41aca..6d3c781 100755 --- a/debian/rules +++ b/debian/rules @@ -1,17 +1,23 @@ #!/usr/bin/make -f # -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d'-') PACKAGE_NAME=$(shell dpkg-parsechangelog | sed -n 's/^Source: //p') - %: - dh $@ --with autotools-dev - + dh $@ --with autotools-dev build-orig: - mkdir -p $(PACKAGE_NAME)-$(VERSION) - tar --exclude=ax_lua.m4 --exclude=debian --exclude=\.pc \ - --exclude=$(PACKAGE_NAME)-$(VERSION) -cf - . \ - | ( cd $(PACKAGE_NAME)-$(VERSION) && tar xf - ) - tar -cf ../$(PACKAGE_NAME)_$(VERSION).orig.tar $(PACKAGE_NAME)-$(VERSION) - $(RM) -r $(PACKAGE_NAME)-$(VERSION) - xz ../$(PACKAGE_NAME)_$(VERSION).orig.tar + mkdir -p $(PACKAGE_NAME)-$(VERSION) + tar --exclude=ax_lua.m4 --exclude=debian --exclude=\.pc \ + --exclude=$(PACKAGE_NAME)-$(VERSION) -cf - . \ + | ( cd $(PACKAGE_NAME)-$(VERSION) && tar xf - ) + tar -cf ../$(PACKAGE_NAME)_$(VERSION).orig.tar $(PACKAGE_NAME)-$(VERSION) + $(RM) -r $(PACKAGE_NAME)-$(VERSION) + xz ../$(PACKAGE_NAME)_$(VERSION).orig.tar \ No newline at end of file diff --git a/debian/telegram-cli.8 b/debian/telegram-cli.8 new file mode 100644 index 0000000..d0c29a0 --- /dev/null +++ b/debian/telegram-cli.8 @@ -0,0 +1,48 @@ +.TH man 8 "02 October 2014" "1.0.5.1" "telegram-cli man page" +.SH NAME +telegram-cli \- Command-line interface for Telegram messenger +.SH SYNOPSIS +telegram-cli -k [keyfile] +.SH DESCRIPTION + Telegram messenger is a cloud-based instant messaging designed for + smart phones and similar to Whatsapp but more flexible, and + powerful. You can send messages, photos, videos and documents to + people who are in your phone contacts (and have Telegram). Telegram + also supports secret chats whose provide a private (encrypted) way of + communication. + . + This package contains a command-line based client for Telegram with + the following features: + * Colored terminal messages. + * Message management: history, stats, etc. + * Group chat: create and manage groups. + * Secret chat: secured and encrypted conversations. + * Contact management: add/edit/remove contacts. + * Multimedia support: send/load photos and videos. +.SH OPTIONS +Telegram-cli Usage + -u specify username (would not be asked during authorization) + -k specify location of public key (possible multiple entries) + -v increase verbosity (0-ERROR 1-WARNIN 2-NOTICE 3+-DEBUG-levels) + -N message num mode + -c config file name + -p use specified profile + -l log level + -f during authorization fetch all messages since registration + -E diable auto accept of encrypted chats + -s lua script file + -W send dialog_list query and wait for answer before reading input + -C disable color output + -R disable readline + -d daemon mode + -L log file name + -U change uid after start + -G change gid after start + -D disable output + -P port to listen for input commands + -S unix socket to create +.SH SEE ALSO +.SH BUGS +No known bugs. +.SH AUTHOR +Vitaliy Vatman (-@-) \ No newline at end of file diff --git a/debian/telegram-cli.debhelper.log b/debian/telegram-cli.debhelper.log new file mode 100644 index 0000000..10f2286 --- /dev/null +++ b/debian/telegram-cli.debhelper.log @@ -0,0 +1,12 @@ +dh_autotools-dev_updateconfig +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_installdirs +dh_auto_install +dh_install +dh_installdocs +dh_installchangelogs +dh_installexamples +dh_installmanpages diff --git a/debian/telegram-cli.manpages b/debian/telegram-cli.manpages new file mode 100644 index 0000000..dc36f16 --- /dev/null +++ b/debian/telegram-cli.manpages @@ -0,0 +1 @@ +debian/telegram-cli.8 diff --git a/debian/telegram-cli/DEBIAN/control b/debian/telegram-cli/DEBIAN/control new file mode 100644 index 0000000..781da1a --- /dev/null +++ b/debian/telegram-cli/DEBIAN/control @@ -0,0 +1,25 @@ +Package: telegram-cli +Version: 1.0.5.1-1 +Architecture: i386 +Maintainer: Steve Illichevsky +Installed-Size: 2393 +Depends: libc6 (>= 2.8), libconfig8 (>= 1.3.2-2), libevent-2.0-5 (>= 2.0.16-stable), liblua5.1-0, libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.1.4) +Section: net +Priority: extra +Homepage: https://github.com/vysheng/tg +Description: Command-line interface for Telegram messenger + Telegram messenger is a cloud-based instant messaging designed for + smart phones and similar to Whatsapp but more flexible, and + powerful. You can send messages, photos, videos and documents to + people who are in your phone contacts (and have Telegram). Telegram + also supports secret chats whose provide a private (encrypted) way of + communication. + . + This package contains a command-line based client for Telegram with + the following features: + * Colored terminal messages. + * Message management: history, stats, etc. + * Group chat: create and manage groups. + * Secret chat: secured and encrypted conversations. + * Contact management: add/edit/remove contacts. + * Multimedia support: send/load photos and videos. diff --git a/debian/telegram-cli/DEBIAN/md5sums b/debian/telegram-cli/DEBIAN/md5sums new file mode 100644 index 0000000..d4b5946 --- /dev/null +++ b/debian/telegram-cli/DEBIAN/md5sums @@ -0,0 +1,7 @@ +ccff83397f23c2d1bab75059c742e11f usr/bin/telegram-cli +a0daa671f7b9a4f7503494abcc182f84 usr/bin/tlc +c129ddac4b2f1e1f78b69e1d8eb10558 usr/share/doc/telegram-cli/README-LUA +0ade98b594fb92d79ba3aa69411949aa usr/share/doc/telegram-cli/README.es.gz +0136d70c21b079cb72401a7f9f67efcb usr/share/doc/telegram-cli/README.md.gz +04a875e9e8d89a55e1d11747f87aca46 usr/share/doc/telegram-cli/changelog.Debian.gz +2f35632c84ef58586c1255f261454859 usr/share/doc/telegram-cli/copyright diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA b/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA new file mode 100644 index 0000000..7c2853a --- /dev/null +++ b/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA @@ -0,0 +1,78 @@ +To use lua with client you should write lua script. You can specify it from config ("lua_script" option) or from command_line [-s]. + +It should have several functions: + on_binlog_replay_end() - it is called when replay of old events end. Any updates prior this call were already received by this client + some time ago. + + on_get_difference_end() - it is called after first get_difference call. So we received all updates after last client execute. + + on_our_id(our_id) - Informs about id of currently logged in user. + + on_msg_receive(msg) - it is called when we receive new msg (!! may be called before on_binlog_replay_end, than it is old msg). + + on_user_update(user,what_changed) - updated info about user. what_changed is array of strings. + on_chat_update(user,what_changed) - updated info about user. what_changed is array of strings. + on_secret_chat_update(user,what_changed) - updated info about user. what_changed is array of strings. + + + +Also, you can call several functions. Each this function last two arguments, are cb_function and cb_extra. +These functions may return false immidiately if something is bad with args, or return true and call cb_function in future. +cb_function would have two or three arguments: first cb_extra, second success (1 or 0), third result (if applicable). + +If you want to pass msg to function, you should pass it's id. +If you want to pass peer to function, you should pass it's print_name. +Or, you can pass string user#id chat#id and secret_chat#id as peer. It is in some cases better. For example if you want to postpone and you are afraid, that print_name would be changed in the meantime. + +Function_list (arguments are listed aside from cb_function and cb_extra, : + get_contact_list () + get_dialog_list () + + rename_chat (chat, new_name) + chat_set_photo (chat, file) + + send_msg (peer, text) + fwd_msg (peer, msg) + + send_photo (peer, file) + send_video (peer, file) + send_audio (peer, file) + send_document (peer, file) + send_text (peer, file) + + load_photo(msg) + load_video(msg) + load_video_thumb(msg) + load_audio(msg) + load_document(msg) + load_document_thumb(msg) + + chat_info (chat) + user_info (user) + + get_history (peer, limit) + + chat_add_user (chat, user) + chat_del_user (chat, user) + + add_contactt (phone, first_name, last_name) + rename_contactt (phone, first_name, last_name) + + msg_search (peer, text) + msg_global_search (text) + + mark_read (peer) + + set_profile_photo (file) + + create_secret_chat (user) + create_group_chat (user, name) + + delete_msg (msg) + restore_msg (number) + + status_online () + status_offline () + +Also, you have function + postpone (cb_function, cb_extra, timeout). It will call your cb_function in specified number of seconds (number of seconds may be double). diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz b/debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz new file mode 100644 index 0000000000000000000000000000000000000000..7c7810b0773c80fd415f4f9f6eff3a981d91b888 GIT binary patch literal 2447 zcmV;A32^owiwFP!000021FcwFZxlHeey?BQA)^sNsj8hYdy5#fAzUU>fM^2JN@3J; zSGl_lu5#f^C*j}ZaUSxp+P8V_KepeoU6+Ocvl5Y@t6lcFpYMF`ogMZ{D6urWVU4g> zv`b;w(aAA8|L**em#SuGjyrFEySs9(vj=7A3|~u|SF+G%S+1|_3WrL!EV_2N`}J+R zS@s?N*mHix=7MSOYVJf`uu~8rfX@LyeE!b-MwXx|S%u&QQm8IEQe4%mvDB}W|TQ8%5D zjUas=WY;UWSPJ)L*(EpCO0GrOaEtU6ILz{w(36h~Ntkcx<<^_QsqdWlR63+a_acrD9wB$Xqh`BdK4DkQ@!+lk7_HK$Uc0)Eo6 z*K^-GPkIjexLRLp#ygi&d}T;A%%lmKeGd_C$*J3|;gC|-HnwC(i^+Al{ zM3ZQQSqhf(HM3Wij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mLqV+aqB8mVI{rm)65UL+4gSUtZ8N)MxjvMpx<9RHkpUJE^|;bKmefh zsY6M!gd3e18;#?|nP{ysCHJoK3B^0)u-;_MgGQo{c<|D_Jb33W4~N8^vY?fL!@z*n z1+AkMKo=oV#yWp8JNi=6skPu2zH;=qL@Q9P{DN##9rn7fgVQ&E_>L3lOfbm8^Y@%O zGSaaBZj)-S=|-z^A z?u0P;LGTv!5XjVKh~X>#9-}#}>xRED2r3bTj6A5zm1&)jE%K$IGVb{t`1F~F0@uem zNsb(8N}7WSRhBvx>&BGb{m!al-H}mB_N4Tc#S_4jSoTkgb--)Il@MjX5)R} z9ne#E_>cD~ZKbxsg#H!)G2k^LeTUP1sbC8@0}Jzg{xtdt!34a^a7_er|GjXmZ&$Lo zSD^(vsK$=&9o)<~PM$nhs^9K3m{=o?T6u=G4ewOTp^ zbH(@29`x&$MlkkKS;`8tlEt#;_IV~$=z2WtWaGh4jam^p7U0ab zve3V&B}NeDFyc54*6yJ1SCNRJt)(}R`o=2c6aOO6aG`g`g9~L#rJ8;2llshcuDIt; z)D2e*p2Q2W87YFnkD;dj;%1gN@?0)j%06U@@oqa zr>sxa3fIv1!3T1)g~UL2tHwgp6^b4ZEN|YOZ;rjeRZ)*maW>InaPKLG4nF9=Rq^+R zkqWH!J}vHp6u~2_9Zw91&O%bd$3KRc@VR1QC1yMNjNyS04;&;}SKg?xr`2K9@t;+C zWCHhGm!ZETA>#2zAijkr6PB7Dyp`lyE&JuI)ZUbYR3BQ^4FP_VK?X40{{Z02$*71P F006RtLsS3& literal 0 HcmV?d00001 diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz b/debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz new file mode 100644 index 0000000000000000000000000000000000000000..e55a81ff95f0df9870a2651b0b99a299c0dc784b GIT binary patch literal 148 zcmV;F0BipriwFP!000020}ac&3c@fH2H?F<@sHjTPD&N27hF3zI5@|6sKL_|a;fy~ z?fSu&S-6jOP) +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. From b964338980d333a6d4b751ef4046d204bf34c718 Mon Sep 17 00:00:00 2001 From: Steve Illichevskiy Date: Thu, 2 Oct 2014 08:09:29 +0400 Subject: [PATCH 2/6] Clear from trash --- debian/telegram-cli.debhelper.log | 12 --- debian/telegram-cli/DEBIAN/control | 25 ------ debian/telegram-cli/DEBIAN/md5sums | 7 -- .../usr/share/doc/telegram-cli/README-LUA | 78 ------------------ .../usr/share/doc/telegram-cli/README.es.gz | Bin 2447 -> 0 bytes .../usr/share/doc/telegram-cli/README.md.gz | Bin 3167 -> 0 bytes .../doc/telegram-cli/changelog.Debian.gz | Bin 148 -> 0 bytes .../usr/share/doc/telegram-cli/copyright | 31 ------- 8 files changed, 153 deletions(-) delete mode 100644 debian/telegram-cli.debhelper.log delete mode 100644 debian/telegram-cli/DEBIAN/control delete mode 100644 debian/telegram-cli/DEBIAN/md5sums delete mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA delete mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz delete mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/README.md.gz delete mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz delete mode 100644 debian/telegram-cli/usr/share/doc/telegram-cli/copyright diff --git a/debian/telegram-cli.debhelper.log b/debian/telegram-cli.debhelper.log deleted file mode 100644 index 10f2286..0000000 --- a/debian/telegram-cli.debhelper.log +++ /dev/null @@ -1,12 +0,0 @@ -dh_autotools-dev_updateconfig -dh_auto_configure -dh_auto_build -dh_auto_test -dh_prep -dh_installdirs -dh_auto_install -dh_install -dh_installdocs -dh_installchangelogs -dh_installexamples -dh_installmanpages diff --git a/debian/telegram-cli/DEBIAN/control b/debian/telegram-cli/DEBIAN/control deleted file mode 100644 index 781da1a..0000000 --- a/debian/telegram-cli/DEBIAN/control +++ /dev/null @@ -1,25 +0,0 @@ -Package: telegram-cli -Version: 1.0.5.1-1 -Architecture: i386 -Maintainer: Steve Illichevsky -Installed-Size: 2393 -Depends: libc6 (>= 2.8), libconfig8 (>= 1.3.2-2), libevent-2.0-5 (>= 2.0.16-stable), liblua5.1-0, libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.1.4) -Section: net -Priority: extra -Homepage: https://github.com/vysheng/tg -Description: Command-line interface for Telegram messenger - Telegram messenger is a cloud-based instant messaging designed for - smart phones and similar to Whatsapp but more flexible, and - powerful. You can send messages, photos, videos and documents to - people who are in your phone contacts (and have Telegram). Telegram - also supports secret chats whose provide a private (encrypted) way of - communication. - . - This package contains a command-line based client for Telegram with - the following features: - * Colored terminal messages. - * Message management: history, stats, etc. - * Group chat: create and manage groups. - * Secret chat: secured and encrypted conversations. - * Contact management: add/edit/remove contacts. - * Multimedia support: send/load photos and videos. diff --git a/debian/telegram-cli/DEBIAN/md5sums b/debian/telegram-cli/DEBIAN/md5sums deleted file mode 100644 index d4b5946..0000000 --- a/debian/telegram-cli/DEBIAN/md5sums +++ /dev/null @@ -1,7 +0,0 @@ -ccff83397f23c2d1bab75059c742e11f usr/bin/telegram-cli -a0daa671f7b9a4f7503494abcc182f84 usr/bin/tlc -c129ddac4b2f1e1f78b69e1d8eb10558 usr/share/doc/telegram-cli/README-LUA -0ade98b594fb92d79ba3aa69411949aa usr/share/doc/telegram-cli/README.es.gz -0136d70c21b079cb72401a7f9f67efcb usr/share/doc/telegram-cli/README.md.gz -04a875e9e8d89a55e1d11747f87aca46 usr/share/doc/telegram-cli/changelog.Debian.gz -2f35632c84ef58586c1255f261454859 usr/share/doc/telegram-cli/copyright diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA b/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA deleted file mode 100644 index 7c2853a..0000000 --- a/debian/telegram-cli/usr/share/doc/telegram-cli/README-LUA +++ /dev/null @@ -1,78 +0,0 @@ -To use lua with client you should write lua script. You can specify it from config ("lua_script" option) or from command_line [-s]. - -It should have several functions: - on_binlog_replay_end() - it is called when replay of old events end. Any updates prior this call were already received by this client - some time ago. - - on_get_difference_end() - it is called after first get_difference call. So we received all updates after last client execute. - - on_our_id(our_id) - Informs about id of currently logged in user. - - on_msg_receive(msg) - it is called when we receive new msg (!! may be called before on_binlog_replay_end, than it is old msg). - - on_user_update(user,what_changed) - updated info about user. what_changed is array of strings. - on_chat_update(user,what_changed) - updated info about user. what_changed is array of strings. - on_secret_chat_update(user,what_changed) - updated info about user. what_changed is array of strings. - - - -Also, you can call several functions. Each this function last two arguments, are cb_function and cb_extra. -These functions may return false immidiately if something is bad with args, or return true and call cb_function in future. -cb_function would have two or three arguments: first cb_extra, second success (1 or 0), third result (if applicable). - -If you want to pass msg to function, you should pass it's id. -If you want to pass peer to function, you should pass it's print_name. -Or, you can pass string user#id chat#id and secret_chat#id as peer. It is in some cases better. For example if you want to postpone and you are afraid, that print_name would be changed in the meantime. - -Function_list (arguments are listed aside from cb_function and cb_extra, : - get_contact_list () - get_dialog_list () - - rename_chat (chat, new_name) - chat_set_photo (chat, file) - - send_msg (peer, text) - fwd_msg (peer, msg) - - send_photo (peer, file) - send_video (peer, file) - send_audio (peer, file) - send_document (peer, file) - send_text (peer, file) - - load_photo(msg) - load_video(msg) - load_video_thumb(msg) - load_audio(msg) - load_document(msg) - load_document_thumb(msg) - - chat_info (chat) - user_info (user) - - get_history (peer, limit) - - chat_add_user (chat, user) - chat_del_user (chat, user) - - add_contactt (phone, first_name, last_name) - rename_contactt (phone, first_name, last_name) - - msg_search (peer, text) - msg_global_search (text) - - mark_read (peer) - - set_profile_photo (file) - - create_secret_chat (user) - create_group_chat (user, name) - - delete_msg (msg) - restore_msg (number) - - status_online () - status_offline () - -Also, you have function - postpone (cb_function, cb_extra, timeout). It will call your cb_function in specified number of seconds (number of seconds may be double). diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz b/debian/telegram-cli/usr/share/doc/telegram-cli/README.es.gz deleted file mode 100644 index 7c7810b0773c80fd415f4f9f6eff3a981d91b888..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2447 zcmV;A32^owiwFP!000021FcwFZxlHeey?BQA)^sNsj8hYdy5#fAzUU>fM^2JN@3J; zSGl_lu5#f^C*j}ZaUSxp+P8V_KepeoU6+Ocvl5Y@t6lcFpYMF`ogMZ{D6urWVU4g> zv`b;w(aAA8|L**em#SuGjyrFEySs9(vj=7A3|~u|SF+G%S+1|_3WrL!EV_2N`}J+R zS@s?N*mHix=7MSOYVJf`uu~8rfX@LyeE!b-MwXx|S%u&QQm8IEQe4%mvDB}W|TQ8%5D zjUas=WY;UWSPJ)L*(EpCO0GrOaEtU6ILz{w(36h~Ntkcx<<^_QsqdWlR63+a_acrD9wB$Xqh`BdK4DkQ@!+lk7_HK$Uc0)Eo6 z*K^-GPkIjexLRLp#ygi&d}T;A%%lmKeGd_C$*J3|;gC|-HnwC(i^+Al{ zM3ZQQSqhf(HM3WijJ4$uK^%@Nqi4fXAKkFPk#H!C(xL6CsI~dXrz_u#{&-H7p`wzQ z^li&8e4jckRF<7;1BDC35sk&)iG@TXc_)?pz(=R4t9^)U!I01N9_d8Wtc9_$OC@lO zG7-=z=1AiKrM1T#l8n@%sF-*wD(_G=FvnI#c8(QgG|~g^G;FNoT$;@_DPY2wU?ag? zCsW5VaS6EH{6~kZJKa{o_OY1=ODhc=%d%MN&w0gOp0R)9oI*d#WH5qO2gA=*-vmRf z1{|$gdvS45;G?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F~F0@uem zNsb(8N}7WSRhBvx>&BGb{m!al-H}mB_N4Tc#S_4jSoTkgb--)Il@MjX5)R} z9ne#E_>cD~ZKbxsg#H!)G2k^LeTUP1sbC8@0}Jzg{xtdt!34a^a7_er|GjXmZ&$Lo zSD^(vsK$=&9o)<~PM$nhs^9K3m{=o?T6u=G4ewOTp^ zbH(@29`x&$MlkkKS;`8tlEt#;_IV~$=z2WtWaGh4jam^p7U0ab zve3V&B}NeDFyc54*6yJ1SCNRJt)(}R`o=2c6aOO6aG`g`g9~L#rJ8;2llshcuDIt; z)D2e*p2Q2W87YFnkD;dj;%1gN@?0)j%06U@@oqa zr>sxa3fIv1!3T1)g~UL2tHwgp6^b4ZEN|YOZ;rjeRZ)*maW>InaPKLG4nF9=Rq^+R zkqWH!J}vHp6u~2_9Zw91&O%bd$3KRc@VR1QC1yMNjNyS04;&;}SKg?xr`2K9@t;+C zWCHhGm!ZETA>#2zAijkr6PB7Dyp`lyE&JuI)ZUbYR3BQ^4FP_VK?X40{{Z02$*71P F006RtLsS3& diff --git a/debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz b/debian/telegram-cli/usr/share/doc/telegram-cli/changelog.Debian.gz deleted file mode 100644 index e55a81ff95f0df9870a2651b0b99a299c0dc784b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmV;F0BipriwFP!000020}ac&3c@fH2H?F<@sHjTPD&N27hF3zI5@|6sKL_|a;fy~ z?fSu&S-6jOP) -License: GPL-3.0+ - -License: GPL-3.0+ - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. From 4290ed97e9821422c068e5cf2341ebb22f18ec9c Mon Sep 17 00:00:00 2001 From: Steve Illichevsky Date: Thu, 2 Oct 2014 08:49:06 +0400 Subject: [PATCH 3/6] Return copyright --- debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/copyright b/debian/copyright index 80d85f4..add9298 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: telegram-cli Source: https://github.com/vysheng/tg Files: * -Copyright: 2013-2014 vysheng +Copyright: 2013-2014 Vitaly Valtman License: GPL-3.0+ Files: debian/* From 8e493a58edb21d2d67be6df8e9dc8b6d6f05349e Mon Sep 17 00:00:00 2001 From: Steve Illichevsky Date: Thu, 2 Oct 2014 08:51:51 +0400 Subject: [PATCH 4/6] Fix path to tg-server.pub --- debian/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/install b/debian/install index 8d1bd8d..9641bf9 100644 --- a/debian/install +++ b/debian/install @@ -1,3 +1,3 @@ bin/telegram-cli usr/bin bin/tlc usr/bin -tg-server.pub etc/telegrsm-cli \ No newline at end of file +tg-server.pub etc/telegram-cli From ed322812a41d4ef438578fe194a3e673067359d4 Mon Sep 17 00:00:00 2001 From: Steve Illichevsky Date: Thu, 2 Oct 2014 08:58:02 +0400 Subject: [PATCH 5/6] Create server.pub --- server.pub | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 server.pub diff --git a/server.pub b/server.pub new file mode 100644 index 0000000..5e38bb0 --- /dev/null +++ b/server.pub @@ -0,0 +1,8 @@ +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAwVACPi9w23mF3tBkdZz+zwrzKOaaQdr01vAbU4E1pvkfj4sqDsm6 +lyDONS789sVoD/xCS9Y0hkkC3gtL1tSfTlgCMOOul9lcixlEKzwKENj1Yz/s7daS +an9tqw3bfUV/nqgbhGX81v/+7RFAEd+RwFnK7a+XYl9sluzHRyVVaTTveB2GazTw +Efzk2DWgkBluml8OREmvfraX3bkHZJTKX4EQSjBbbdJ2ZXIsRrYOXfaA+xayEGB+ +8hdlLmAjbCVfaigxX0CDqWeR1yFL9kwd9P0NsZRPsmoqVwMbMu7mStFai6aIhc3n +Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB +-----END RSA PUBLIC KEY----- From d7477ecc6e6dd49e321e1fdf5357d730f6a52215 Mon Sep 17 00:00:00 2001 From: Steve Illichevsky Date: Thu, 2 Oct 2014 08:59:28 +0400 Subject: [PATCH 6/6] Fix server.pub Placed to default directory. User now not need to specify server key with -k server.pub --- debian/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/install b/debian/install index 9641bf9..27a3105 100644 --- a/debian/install +++ b/debian/install @@ -1,3 +1,3 @@ bin/telegram-cli usr/bin bin/tlc usr/bin -tg-server.pub etc/telegram-cli +server.pub etc/telegram-cli