add debian dir, version to 3.1.3b2

This commit is contained in:
zebra-lucky 2018-07-25 17:27:15 +03:00
parent 509ebd9453
commit 91bcbbc46d
13 changed files with 253 additions and 1 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
electrum-zcash (3.1.3~rc2-0ppa1~ubuntu18.04.1) bionic; urgency=medium
* Port to ppa
-- Maksym Yuzhakov <zebra.lucky@gmail.com> Sun, 18 Mar 2018 00:09:53 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

76
debian/control vendored Normal file
View File

@ -0,0 +1,76 @@
Source: electrum-zcash
Section: utils
Priority: optional
Maintainer: Maksym Yuzhakov <zebra.lucky@gmail.com>
Build-Depends:
debhelper (>= 9),
dh-python,
python3-all-dev,
python3-setuptools,
pyqt5-dev-tools,
python3-pyaes (>= 1.6.1),
python3-ecdsa (>= 0.10),
python3-pbkdf2 (>= 1.3),
python3-requests (>= 2.2.1),
python3-qrcode (>= 5.3),
python3-protobuf (>= 3.0.0),
python3-dnspython (>= 1.11.1),
python3-jsonrpclib-pelix (>= 0.3.1),
python3-socks (>= 1.6.5),
python3-pyblake2 (>=0.9.3),
Standards-Version: 4.1.3
Homepage: https://github.com/zebra-lucky/electrum-zcash
X-Python3-Version: >= 3.4
Package: python3-electrum-zcash
Architecture: all
Section: python
Depends:
trezor (>= 0.9.1),
python3-trezor (>= 0.9.1),
keepkey (>= 4.0.2),
python3-keepkey (>= 4.0.2),
python3-btchip (>= 0.1.26),
${misc:Depends},
${python3:Depends},
Description: Easy to use Zcash client - Python module
This package provides a lightweight Zcash client which protects
you from losing your Zcash coins in a backup mistake or computer
failure. Also, Electrum-Zcash does not require waiting time because it does
not download the Zcash blockchain.
.
This package provides the "electrum_zcash" Python 3 module which can be used
to access a Zcash wallet from Python programs.
Package: electrum-zcash
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-electrum-zcash (= ${binary:Version}),
Recommends: python3-pyqt5
Description: Easy to use Zcash client
This package provides a lightweight Zcash client which protects
you from losing your Zcash coins in a backup mistake or computer
failure. Also, Electrum-Zcash does not require waiting time because it does
not download the Zcash blockchain.
.
Features of Electrum-Zcash:
.
* Instant on: Your client does not download the blockchain. It uses a
network of specialized servers that index the blockchain.
* Forgiving: Your wallet can be recovered from a secret seed.
* Safe: Your seed and private keys are encrypted on your hard drive.
They are never sent to the servers.
* Low trust: Information received from the servers is verified using
SPV. Servers are authenticated using SSL.
* No downtimes: Your client is not tied to a particular server; it
will switch instantly if your server is down.
* Ubiquitous: You can use the same wallet on different computers, they
will synchronize automatically.
* Cold Storage: Sign transactions from a computer that is always
offline. Broadcast them using a machine that does not have your keys.
* Reachable: You can export your private keys into other Zcash
clients.
* Established: Electrum-Zcash is open source and was first released in
November 2011.

44
debian/copyright vendored Normal file
View File

@ -0,0 +1,44 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: electrum-zcash
Source: https://github.com/zebra-lucky/electrum-zcash/
Files: *
Copyright: Electrum Team
License: Expat
Comment:
Various authors are described in the AUTHORS file, including parts on
which they worked and hold license.
Files: lib/*
Copyright: 2011-2018 Thomas Voegtlin
License: Expat
Files: plugins/*
Copyright: 2014-2018 Thomas Voegtlin
License: Expat
Files: debian/*
Copyright: 2018 Maksym Yuzhakov
License: Expat
License: Expat
The MIT License (MIT)
.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

75
debian/electrum-zcash.1 vendored Normal file
View File

@ -0,0 +1,75 @@
.TH electrum-zcash 1 "23 June 2013" "electrum-zcash"
.SH NAME
electrum-zcash \- Lightweight Zcash client
.SH SYNOPSIS
.B electrum-zcash [options] command [options]
.SH DESCRIPTION
.PP
Electrum-Zcash is a lightweight Zcash client.
.br
Electrum-Zcash protects from losing zcash coins in a backup mistake or computer
failure. It allows recovery of wallet from a passphrase which you can
learn by heart or write it down on a paper.
.br
Since electrum-zcash does not download the entire blockchain there
is no waiting time when the client is started.
.TP
\fB\-g GUI, \-\-gui=GUI\fR
Select user interface, possible values are qt, lite, gtk or text
.TP
\fB\-w WALLET_PATH, \-\-wallet=WALLET_PATH\fR
Use wallet from WALLET_PATH, default is default_wallet.dat.
.TP
\fB\-o, \-\-offline\fR
Remain offline.
.TP
\fB\-a, \-\-all\fR
Show all addresses.
.TP
\fB\-b, \-\-balance\fR
Show the balance of listed addresses
.TP
\fB\-l, \-\-labels\fR
Show the labels of listed addresses
.TP
\fB\-f TX_FEE, \-\-fee=TX_FEE\fR
set tx fee
.TP
\fB\-F FROM_ADDR, \-\-fromad
dr=FROM_ADDR\fR
.PP
set source address for payto/mktx. if it isn't in the wallet, it will
ask for the private key unless supplied in the format
public_key:private_key. It's not saved in the wallet.
.TP
\fB\-c CHANGE_ADDR, \-\-changeaddr=CHANGE_ADDR\fR
.PP
set the change address for payto/mktx. default is a spare address, or
the source address if it's not in the wallet.
.TP
\fB\-s SERVER, \-\-server=SERVER\fR
set server host:port:protocol, where protocol is t or h
.TP
\fB\-p PROXY, \-\-proxy=PROXY\fR
set proxy [type:]host[:port], where type is socks4,socks5 or http
.TP
\fB\-v, \-\-verbose\fR
show debugging information
.TP
\fB\-P, \-\-portable\fR
portable wallet
.TP
\fB\-L LANGUAGE, \-\-lang=LANGUAGE\fR
default language used in GUI
.TP
\fB\-u, \-\-usb\fR
Turn on support for hardware wallets (EXPERIMENTAL).
.SH AUTHORS
Electrum-Zcash client was initially written by ThomasV
<\fIthomasv@gitorious\fR>
.br
This manual page was written by Vasudev Kamath
<\fIkamathvasudev@gmail.com\fR> for Debian Project (but can be used by
others).

1
debian/electrum-zcash.manpages vendored Normal file
View File

@ -0,0 +1 @@
debian/electrum-zcash.1

View File

@ -0,0 +1,13 @@
Index: electrum-zcash/electrum-zcash
===================================================================
--- electrum-zcash.orig/electrum-zcash 2018-06-12 22:15:35.699293303 +0300
+++ electrum-zcash/electrum-zcash 2018-06-12 22:20:02.122480853 +0300
@@ -26,6 +26,8 @@
import os
import sys
+os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION']='python'
+
script_dir = os.path.dirname(os.path.realpath(__file__))
is_bundle = getattr(sys, 'frozen', False)
is_local = not is_bundle and os.path.exists(os.path.join(script_dir, "electrum-zcash.desktop"))

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
fix-keepkey-with-trezor.diff

10
debian/py3dist-overrides vendored Normal file
View File

@ -0,0 +1,10 @@
pyaes python3-pyaes (>= 1.6.1)
ecdsa python3-ecdsa (>= 0.10)
pbkdf2 python3-pbkdf2 (>= 1.3)
requests python3-requests (>= 2.2.1)
qrcode python3-qrcode (>= 5.3)
protobuf python3-protobuf (>= 3.0.0)
dnspython python3-dnspython (>= 1.11.1)
jsonrpclib-pelix python3-jsonrpclib-pelix (>= 0.3.1)
PySocks python3-socks (>= 1.6.5)
pyblake2 python3-pyblake2 (>= 0.9.3)

24
debian/rules vendored Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/make -f
export PYBUILD_NAME=electrum-zcash
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_installchangelogs::
dh_installchangelogs -k RELEASE-NOTES
override_dh_auto_build::
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
dh_auto_build
override_dh_auto_install::
dh_auto_install
mkdir -p debian/electrum-zcash/usr/bin \
debian/electrum-zcash/usr/share
mv debian/python3-electrum-zcash/usr/bin \
debian/electrum-zcash/usr
mv debian/python3-electrum-zcash/usr/share/applications \
debian/electrum-zcash/usr/share
mv debian/python3-electrum-zcash/usr/share/pixmaps \
debian/electrum-zcash/usr/share

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@ -0,0 +1 @@
extend-diff-ignore="^[^/]+.egg-info/"

View File

@ -1,4 +1,4 @@
ELECTRUM_VERSION = '3.1.3b1' # version of the client package
ELECTRUM_VERSION = '3.1.3b2' # version of the client package
PROTOCOL_VERSION = '1.2' # protocol version requested
# The hash of the mnemonic seed must begin with this