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..add9298 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 Vitaly Valtman +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..27a3105 100644 --- a/debian/install +++ b/debian/install @@ -1 +1,3 @@ -telegram usr/bin +bin/telegram-cli usr/bin +bin/tlc usr/bin +server.pub etc/telegram-cli 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.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/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-----