pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/electrum



Module Name:    pkgsrc
Committed By:   js
Date:           Wed Nov  4 20:45:46 UTC 2020

Modified Files:
        pkgsrc/finance/electrum: Makefile PLIST distinfo
Added Files:
        pkgsrc/finance/electrum/patches: patch-electrum-ecc_fast.py

Log Message:
Update finance/electrum to 4.0.4

# Release 4.0.4 - (Oct 15, 2020)
 * PSBT: fix regression in 4.0.3 where UTXO data was not included in
   QR codes (#6600)
 * new feature: "Cancel tx" (#6641). The Qt/kivy GUI allows cancelling
   an unconfirmed RBF tx by double-spending its inputs to self.
 * Windows binary:
   - fix some issues with QR scanning by building zbar ourselves (#6593)
   - when using setup exe, also install a debug binary (#6603)
 * Ledger: fix "The derivation path is unusual" warnings (#6512)
   (needs Bitcoin app 1.4.8+ installed on device)
 * A few other minor bugfixes and usability improvements.

# Release 4.0.3 - (Sep 11, 2020)
 * PSBT: restore compatibility with Bitcoin Core following CVE-2020-14199:
   we now allow a PSBT input to have both UTXO and WITNESS_UTXO (#6429).
   (PSBTs created since 4.0.1 already contained UTXO for segwit inputs)
 * Hardware wallets:
   - bitbox02: better multisig UX: implement get_soft_device_id (#6386)
   - coldcard: fix "show address" for multisig (#6517)
   - all: run all device communication on a dedicated thread (#6561).
     This should resolve some threading issues.
 * new feature: "Automated BIP39 recovery" (#6219, #6155)
   When restoring from a BIP39 seed, add option to scan many known
   derivation paths for history, and show them to user to choose from.
 * show derivation path of keystores in Qt GUI Wallet>Information (#4700)
 * fix "signtransaction" RPC command (#6502)
 * Dependencies: pyaes is no longer needed (#6563)
 * The tar.gz source dist now bundles make_libsecp256k1.sh, to help
   users getting libsecp256k1 (#6323).
 * A few other minor bugfixes and usability improvements.

# Release 4.0.2 - (July 8, 2020)
 - rm old corrupted non-bip70 invoices (#6345)
 - other minor fixes

# Release 4.0.1 - (July 3, 2020)
 * Lightning Network support (experimental)
   - Our implementation of Lightning relies on Electrum servers to
     query channel states. Since servers can lie about the state of a
     channel, users should either use a server that they trust, or
     setup a private watchtower (see below). A watchtower is also
     recommended for lightning wallets that remain offline for
     extended periods of time (the default CSV 'to_self_delay' is 1
     week). Please note that Electrum Personal Server (EPS) cannot be
     used with lightning wallets, because channels funding addresses
     are arbitrary.
   - Lightning funds cannot be restored from seed. Instead, users need
     to create static backups of their channels. Static backups cannot
     be used to perform lightning transactions, they can only be used
     to trigger a remote-force-close of a channel.
   - Lightning-enabled wallet files must not be copied. Instead, a
     backup of the wallet can be created from the Qt menu, and it will
     contain static backups of all its channels. Backups can also be
     exported for each channel (e.g. via QR code), and imported in
     another wallet. Since backups are encrypted with a key derived
     from the wallet's xpub, they can only be imported into another
     instance of the same wallet, or a watch-only version of it. The
     force-close is not triggered automatically when the backup is
     imported; imported backups can live inside a wallet file.
   - Lightning can be enabled in the GUI (Wallet>Information) or from
     the CLI (init_lightning). Lightning is currently restricted to HD
     p2wpkh wallets (including watch-only and hardware wallets). The
     Qt GUI, CLI/RPC, and the kivy GUI (Android) all have LN support,
     with feature-richness in that order.
   - LN protocol details: dataloss_protect and static_remotekey are
     required; varonion and payment_secret are implemented, MPP not yet.
     Channels are not announced ('private'), forwarding is disabled.
     We do not serve gossip queries, only consume them.
   - Submarine swaps: the GUI integrates a service that offers
     atomically exchanging on-chain and lightning bitcoins for a fee.
     Electrum Technologies runs a central server for this, powered by
     the Boltz backend.
   - Watchtowers: Electrum can run a local watchtower (GUI setting),
     or it can connect to a remote watchtower. A watchtower contains
     pre-signed transactions and does not need your private keys. A
     local watchtower will watch your channels whenever an Electrum
     instance is running, without needing access to your wallet file.
     An Electrum daemon can be configured to be used as a remote
     watchtower by setting 'watchtower_address', 'watchtower_user' and
     'watchtower_password'.
 * Partially Signed Bitcoin Transactions (PSBT, BIP-174) are supported
   (#5721). The previous Electrum partial transaction format is no
   longer supported, i.e. this is an incompatible change. Users should
   make sure that all instances of Electrum they use to co-sign or
   offline sign, are updated together.
 * Hardware wallets: several fixes in general; notable changes:
   - The BitBox02 is now supported (#5993)
   - Multisig support for Coldcard (#5440)
   - Compatibility with latest Trezor fw (#6064, #6198, #5692)
 * Dependencies (see README for install instructions):
   - libsecp256k1 is now required (previously optional). python-ecdsa
     remains a dependency but it is now only used for DNSSEC.
   - Added: either one of pycryptodomex or cryptography is now required,
     mainly due to LN (previously pycryptodomex was optional, for fast AES)
   - Removed: jsonrpclib-pelix, the JSON-RPC library used for CLI/daemon
 * Qt GUI: several changes, notably:
   - Separation between output selection and transaction finalization.
   - Coin selection moved to the Coins tab, and it affects all txns,
     e.g. RBF fee-bumping, LN channel opens, submarine swaps.
   - Editable tx preview dialog that allows e.g. changing the locktime,
     toggling RBF, and manual coinjoins.
 * HTTP PayServer: The configuration of a bitcoin-accepting website
   using Electrum has been simplified and requires fewer steps (see
   documentation). The Payserver supports BIP70 and Lightning payments.
 * Android:
   - We now build two APKs, one for ARMv7 and one for ARMv8
   - The kivy GUI now supports importing BIP39 seeds
   - Each wallet on kivy now can have a separate generic password,
     using which the wallet files are encrypted. An optional PIN,
     shared among all wallets, can be added to get prompted for spends.
 * The API of several CLI/RPC commands have changed, and several new
   commands have been introduced (mainly for LN).
 * Distributables:
   - The .tar.gz source dist is now built reproducibly.
     Relatedly, we no longer distribute a .zip sdist.
   - The MacOS binary now conforms to macOS 10.15; it is notarized
     by Apple. This required bumping the min macOS version to 10.13.
     Startup times should now be faster on 10.15. (#6128, #6225)
 * Transactions:
   - we now grind low R for ECDSA signatures to match bitcoind (#5820)
 * Lots and lots of other minor bugfixes and improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/electrum/Makefile \
    pkgsrc/finance/electrum/PLIST pkgsrc/finance/electrum/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/finance/electrum/patches/patch-electrum-ecc_fast.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/electrum/Makefile
diff -u pkgsrc/finance/electrum/Makefile:1.1 pkgsrc/finance/electrum/Makefile:1.2
--- pkgsrc/finance/electrum/Makefile:1.1        Tue Apr 14 20:05:49 2020
+++ pkgsrc/finance/electrum/Makefile    Wed Nov  4 20:45:46 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/04/14 20:05:49 js Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/04 20:45:46 js Exp $
 
-VERSION=       3.3.8
+VERSION=       4.0.4
 DISTNAME=      Electrum-${VERSION}
 PKGNAME=       electrum-${VERSION}
 CATEGORIES=    finance
@@ -15,18 +15,19 @@ NO_BUILD=                   yes
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 # Ordered the same as in contrib/requirements.txt
-DEPENDS+=      ${PYPKGPREFIX}-aes-[0-9]*:../../security/py-aes
-DEPENDS+=      ${PYPKGPREFIX}-ecdsa>=0.13:../../security/py-ecdsa
+DEPENDS+=      ${PYPKGPREFIX}-ecdsa>=0.14:../../security/py-ecdsa
 DEPENDS+=      ${PYPKGPREFIX}-qrcode-[0-9]*:../../graphics/py-qrcode
-DEPENDS+=      ${PYPKGPREFIX}-protobuf-[0-9]*:../../devel/py-protobuf
-DEPENDS+=      ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
-DEPENDS+=      ${PYPKGPREFIX}-jsonrpclib-pelix-[0-9]*:../../textproc/py-jsonrpclib-pelix
+DEPENDS+=      ${PYPKGPREFIX}-protobuf>=3.12:../../devel/py-protobuf
+DEPENDS+=      ${PYPKGPREFIX}-dns<2.0:../../net/py-dns
 # Seems to work without qdarkstyle? Commented out as it's currently not packaged
-#DEPENDS+=     ${PYPKGPREFIX}-qdarkstyle-[0-9]*:../../
-DEPENDS+=      ${PYPKGPREFIX}-aiorpcX<0.19:../../net/py-aiorpcX
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.3.0:../../www/py-aiohttp
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp-socks-[0-9]*:../../www/py-aiohttp-socks
+#DEPENDS+=     ${PYPKGPREFIX}-qdarkstyle<2.9:../../
+DEPENDS+=      ${PYPKGPREFIX}-aiorpcX>0.18<0.19:../../net/py-aiorpcX
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.3.0<4.0.0:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp-socks>=0.3:../../www/py-aiohttp-socks
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
+DEPENDS+=      ${PYPKGPREFIX}-bitstring-[0-9]*:../../devel/py-bitstring
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
+DEPENDS+=      libsecp256k1>=0.1:../../security/libsecp256k1
 
 REPLACE_PYTHON+=       lib/*.py
 
Index: pkgsrc/finance/electrum/PLIST
diff -u pkgsrc/finance/electrum/PLIST:1.1 pkgsrc/finance/electrum/PLIST:1.2
--- pkgsrc/finance/electrum/PLIST:1.1   Tue Apr 14 20:05:49 2020
+++ pkgsrc/finance/electrum/PLIST       Wed Nov  4 20:45:46 2020
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2020/04/14 20:05:49 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/04 20:45:46 js Exp $
+bin/electrum
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -19,12 +20,19 @@ ${PYSITELIB}/electrum/base_wizard.pyo
 ${PYSITELIB}/electrum/bip32.py
 ${PYSITELIB}/electrum/bip32.pyc
 ${PYSITELIB}/electrum/bip32.pyo
+${PYSITELIB}/electrum/bip39_recovery.py
+${PYSITELIB}/electrum/bip39_recovery.pyc
+${PYSITELIB}/electrum/bip39_recovery.pyo
+${PYSITELIB}/electrum/bip39_wallet_formats.json
 ${PYSITELIB}/electrum/bitcoin.py
 ${PYSITELIB}/electrum/bitcoin.pyc
 ${PYSITELIB}/electrum/bitcoin.pyo
 ${PYSITELIB}/electrum/blockchain.py
 ${PYSITELIB}/electrum/blockchain.pyc
 ${PYSITELIB}/electrum/blockchain.pyo
+${PYSITELIB}/electrum/channel_db.py
+${PYSITELIB}/electrum/channel_db.pyc
+${PYSITELIB}/electrum/channel_db.pyo
 ${PYSITELIB}/electrum/checkpoints.json
 ${PYSITELIB}/electrum/checkpoints_testnet.json
 ${PYSITELIB}/electrum/coinchooser.py
@@ -46,6 +54,9 @@ ${PYSITELIB}/electrum/currencies.json
 ${PYSITELIB}/electrum/daemon.py
 ${PYSITELIB}/electrum/daemon.pyc
 ${PYSITELIB}/electrum/daemon.pyo
+${PYSITELIB}/electrum/dns_hacks.py
+${PYSITELIB}/electrum/dns_hacks.pyc
+${PYSITELIB}/electrum/dns_hacks.pyo
 ${PYSITELIB}/electrum/dnssec.py
 ${PYSITELIB}/electrum/dnssec.pyc
 ${PYSITELIB}/electrum/dnssec.pyo
@@ -61,6 +72,9 @@ ${PYSITELIB}/electrum/exchange_rate.pyo
 ${PYSITELIB}/electrum/gui/__init__.py
 ${PYSITELIB}/electrum/gui/__init__.pyc
 ${PYSITELIB}/electrum/gui/__init__.pyo
+${PYSITELIB}/electrum/gui/icons/bitbox02.png
+${PYSITELIB}/electrum/gui/icons/bitbox02_unpaired.png
+${PYSITELIB}/electrum/gui/icons/bitcoin.png
 ${PYSITELIB}/electrum/gui/icons/camera_dark.png
 ${PYSITELIB}/electrum/gui/icons/camera_white.png
 ${PYSITELIB}/electrum/gui/icons/clock1.png
@@ -93,6 +107,7 @@ ${PYSITELIB}/electrum/gui/icons/keepkey_
 ${PYSITELIB}/electrum/gui/icons/key.png
 ${PYSITELIB}/electrum/gui/icons/ledger.png
 ${PYSITELIB}/electrum/gui/icons/ledger_unpaired.png
+${PYSITELIB}/electrum/gui/icons/lightning.png
 ${PYSITELIB}/electrum/gui/icons/lock.png
 ${PYSITELIB}/electrum/gui/icons/lock.svg
 ${PYSITELIB}/electrum/gui/icons/microphone.png
@@ -153,15 +168,30 @@ ${PYSITELIB}/electrum/gui/qt/address_lis
 ${PYSITELIB}/electrum/gui/qt/amountedit.py
 ${PYSITELIB}/electrum/gui/qt/amountedit.pyc
 ${PYSITELIB}/electrum/gui/qt/amountedit.pyo
+${PYSITELIB}/electrum/gui/qt/bip39_recovery_dialog.py
+${PYSITELIB}/electrum/gui/qt/bip39_recovery_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/bip39_recovery_dialog.pyo
+${PYSITELIB}/electrum/gui/qt/channel_details.py
+${PYSITELIB}/electrum/gui/qt/channel_details.pyc
+${PYSITELIB}/electrum/gui/qt/channel_details.pyo
+${PYSITELIB}/electrum/gui/qt/channels_list.py
+${PYSITELIB}/electrum/gui/qt/channels_list.pyc
+${PYSITELIB}/electrum/gui/qt/channels_list.pyo
 ${PYSITELIB}/electrum/gui/qt/completion_text_edit.py
 ${PYSITELIB}/electrum/gui/qt/completion_text_edit.pyc
 ${PYSITELIB}/electrum/gui/qt/completion_text_edit.pyo
+${PYSITELIB}/electrum/gui/qt/confirm_tx_dialog.py
+${PYSITELIB}/electrum/gui/qt/confirm_tx_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/confirm_tx_dialog.pyo
 ${PYSITELIB}/electrum/gui/qt/console.py
 ${PYSITELIB}/electrum/gui/qt/console.pyc
 ${PYSITELIB}/electrum/gui/qt/console.pyo
 ${PYSITELIB}/electrum/gui/qt/contact_list.py
 ${PYSITELIB}/electrum/gui/qt/contact_list.pyc
 ${PYSITELIB}/electrum/gui/qt/contact_list.pyo
+${PYSITELIB}/electrum/gui/qt/custom_model.py
+${PYSITELIB}/electrum/gui/qt/custom_model.pyc
+${PYSITELIB}/electrum/gui/qt/custom_model.pyo
 ${PYSITELIB}/electrum/gui/qt/exception_window.py
 ${PYSITELIB}/electrum/gui/qt/exception_window.pyc
 ${PYSITELIB}/electrum/gui/qt/exception_window.pyo
@@ -177,6 +207,15 @@ ${PYSITELIB}/electrum/gui/qt/installwiza
 ${PYSITELIB}/electrum/gui/qt/invoice_list.py
 ${PYSITELIB}/electrum/gui/qt/invoice_list.pyc
 ${PYSITELIB}/electrum/gui/qt/invoice_list.pyo
+${PYSITELIB}/electrum/gui/qt/lightning_dialog.py
+${PYSITELIB}/electrum/gui/qt/lightning_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/lightning_dialog.pyo
+${PYSITELIB}/electrum/gui/qt/lightning_tx_dialog.py
+${PYSITELIB}/electrum/gui/qt/lightning_tx_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/lightning_tx_dialog.pyo
+${PYSITELIB}/electrum/gui/qt/locktimeedit.py
+${PYSITELIB}/electrum/gui/qt/locktimeedit.pyc
+${PYSITELIB}/electrum/gui/qt/locktimeedit.pyo
 ${PYSITELIB}/electrum/gui/qt/main_window.py
 ${PYSITELIB}/electrum/gui/qt/main_window.pyc
 ${PYSITELIB}/electrum/gui/qt/main_window.pyo
@@ -204,9 +243,15 @@ ${PYSITELIB}/electrum/gui/qt/request_lis
 ${PYSITELIB}/electrum/gui/qt/seed_dialog.py
 ${PYSITELIB}/electrum/gui/qt/seed_dialog.pyc
 ${PYSITELIB}/electrum/gui/qt/seed_dialog.pyo
+${PYSITELIB}/electrum/gui/qt/settings_dialog.py
+${PYSITELIB}/electrum/gui/qt/settings_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/settings_dialog.pyo
 ${PYSITELIB}/electrum/gui/qt/stylesheet_patcher.py
 ${PYSITELIB}/electrum/gui/qt/stylesheet_patcher.pyc
 ${PYSITELIB}/electrum/gui/qt/stylesheet_patcher.pyo
+${PYSITELIB}/electrum/gui/qt/swap_dialog.py
+${PYSITELIB}/electrum/gui/qt/swap_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/swap_dialog.pyo
 ${PYSITELIB}/electrum/gui/qt/transaction_dialog.py
 ${PYSITELIB}/electrum/gui/qt/transaction_dialog.pyc
 ${PYSITELIB}/electrum/gui/qt/transaction_dialog.pyo
@@ -219,6 +264,9 @@ ${PYSITELIB}/electrum/gui/qt/util.pyo
 ${PYSITELIB}/electrum/gui/qt/utxo_list.py
 ${PYSITELIB}/electrum/gui/qt/utxo_list.pyc
 ${PYSITELIB}/electrum/gui/qt/utxo_list.pyo
+${PYSITELIB}/electrum/gui/qt/watchtower_dialog.py
+${PYSITELIB}/electrum/gui/qt/watchtower_dialog.pyc
+${PYSITELIB}/electrum/gui/qt/watchtower_dialog.pyo
 ${PYSITELIB}/electrum/gui/stdio.py
 ${PYSITELIB}/electrum/gui/stdio.pyc
 ${PYSITELIB}/electrum/gui/stdio.pyo
@@ -231,15 +279,56 @@ ${PYSITELIB}/electrum/i18n.pyo
 ${PYSITELIB}/electrum/interface.py
 ${PYSITELIB}/electrum/interface.pyc
 ${PYSITELIB}/electrum/interface.pyo
+${PYSITELIB}/electrum/invoices.py
+${PYSITELIB}/electrum/invoices.pyc
+${PYSITELIB}/electrum/invoices.pyo
 ${PYSITELIB}/electrum/json_db.py
 ${PYSITELIB}/electrum/json_db.pyc
 ${PYSITELIB}/electrum/json_db.pyo
-${PYSITELIB}/electrum/jsonrpc.py
-${PYSITELIB}/electrum/jsonrpc.pyc
-${PYSITELIB}/electrum/jsonrpc.pyo
 ${PYSITELIB}/electrum/keystore.py
 ${PYSITELIB}/electrum/keystore.pyc
 ${PYSITELIB}/electrum/keystore.pyo
+${PYSITELIB}/electrum/lnaddr.py
+${PYSITELIB}/electrum/lnaddr.pyc
+${PYSITELIB}/electrum/lnaddr.pyo
+${PYSITELIB}/electrum/lnchannel.py
+${PYSITELIB}/electrum/lnchannel.pyc
+${PYSITELIB}/electrum/lnchannel.pyo
+${PYSITELIB}/electrum/lnhtlc.py
+${PYSITELIB}/electrum/lnhtlc.pyc
+${PYSITELIB}/electrum/lnhtlc.pyo
+${PYSITELIB}/electrum/lnmsg.py
+${PYSITELIB}/electrum/lnmsg.pyc
+${PYSITELIB}/electrum/lnmsg.pyo
+${PYSITELIB}/electrum/lnonion.py
+${PYSITELIB}/electrum/lnonion.pyc
+${PYSITELIB}/electrum/lnonion.pyo
+${PYSITELIB}/electrum/lnpeer.py
+${PYSITELIB}/electrum/lnpeer.pyc
+${PYSITELIB}/electrum/lnpeer.pyo
+${PYSITELIB}/electrum/lnrouter.py
+${PYSITELIB}/electrum/lnrouter.pyc
+${PYSITELIB}/electrum/lnrouter.pyo
+${PYSITELIB}/electrum/lnsweep.py
+${PYSITELIB}/electrum/lnsweep.pyc
+${PYSITELIB}/electrum/lnsweep.pyo
+${PYSITELIB}/electrum/lntransport.py
+${PYSITELIB}/electrum/lntransport.pyc
+${PYSITELIB}/electrum/lntransport.pyo
+${PYSITELIB}/electrum/lnutil.py
+${PYSITELIB}/electrum/lnutil.pyc
+${PYSITELIB}/electrum/lnutil.pyo
+${PYSITELIB}/electrum/lnverifier.py
+${PYSITELIB}/electrum/lnverifier.pyc
+${PYSITELIB}/electrum/lnverifier.pyo
+${PYSITELIB}/electrum/lnwatcher.py
+${PYSITELIB}/electrum/lnwatcher.pyc
+${PYSITELIB}/electrum/lnwatcher.pyo
+${PYSITELIB}/electrum/lnwire/onion_wire.csv
+${PYSITELIB}/electrum/lnwire/peer_wire.csv
+${PYSITELIB}/electrum/lnworker.py
+${PYSITELIB}/electrum/lnworker.pyc
+${PYSITELIB}/electrum/lnworker.pyo
 ${PYSITELIB}/electrum/locale/ar_SA/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/be_BY/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/bg_BG/LC_MESSAGES/electrum.mo
@@ -268,6 +357,7 @@ ${PYSITELIB}/electrum/locale/ro_RO/LC_ME
 ${PYSITELIB}/electrum/locale/ru_RU/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/sk_SK/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/sl_SI/LC_MESSAGES/electrum.mo
+${PYSITELIB}/electrum/locale/sr_CS/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/sv_SE/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/ta_IN/LC_MESSAGES/electrum.mo
 ${PYSITELIB}/electrum/locale/th_TH/LC_MESSAGES/electrum.mo
@@ -282,9 +372,6 @@ ${PYSITELIB}/electrum/logging.pyo
 ${PYSITELIB}/electrum/mnemonic.py
 ${PYSITELIB}/electrum/mnemonic.pyc
 ${PYSITELIB}/electrum/mnemonic.pyo
-${PYSITELIB}/electrum/msqr.py
-${PYSITELIB}/electrum/msqr.pyc
-${PYSITELIB}/electrum/msqr.pyo
 ${PYSITELIB}/electrum/network.py
 ${PYSITELIB}/electrum/network.pyc
 ${PYSITELIB}/electrum/network.pyo
@@ -315,6 +402,15 @@ ${PYSITELIB}/electrum/plugins/audio_mode
 ${PYSITELIB}/electrum/plugins/audio_modem/qt.py
 ${PYSITELIB}/electrum/plugins/audio_modem/qt.pyc
 ${PYSITELIB}/electrum/plugins/audio_modem/qt.pyo
+${PYSITELIB}/electrum/plugins/bitbox02/__init__.py
+${PYSITELIB}/electrum/plugins/bitbox02/__init__.pyc
+${PYSITELIB}/electrum/plugins/bitbox02/__init__.pyo
+${PYSITELIB}/electrum/plugins/bitbox02/bitbox02.py
+${PYSITELIB}/electrum/plugins/bitbox02/bitbox02.pyc
+${PYSITELIB}/electrum/plugins/bitbox02/bitbox02.pyo
+${PYSITELIB}/electrum/plugins/bitbox02/qt.py
+${PYSITELIB}/electrum/plugins/bitbox02/qt.pyc
+${PYSITELIB}/electrum/plugins/bitbox02/qt.pyo
 ${PYSITELIB}/electrum/plugins/coldcard/__init__.py
 ${PYSITELIB}/electrum/plugins/coldcard/__init__.pyc
 ${PYSITELIB}/electrum/plugins/coldcard/__init__.pyo
@@ -351,12 +447,6 @@ ${PYSITELIB}/electrum/plugins/email_requ
 ${PYSITELIB}/electrum/plugins/email_requests/qt.py
 ${PYSITELIB}/electrum/plugins/email_requests/qt.pyc
 ${PYSITELIB}/electrum/plugins/email_requests/qt.pyo
-${PYSITELIB}/electrum/plugins/greenaddress_instant/__init__.py
-${PYSITELIB}/electrum/plugins/greenaddress_instant/__init__.pyc
-${PYSITELIB}/electrum/plugins/greenaddress_instant/__init__.pyo
-${PYSITELIB}/electrum/plugins/greenaddress_instant/qt.py
-${PYSITELIB}/electrum/plugins/greenaddress_instant/qt.pyc
-${PYSITELIB}/electrum/plugins/greenaddress_instant/qt.pyo
 ${PYSITELIB}/electrum/plugins/hw_wallet/__init__.py
 ${PYSITELIB}/electrum/plugins/hw_wallet/__init__.pyc
 ${PYSITELIB}/electrum/plugins/hw_wallet/__init__.pyo
@@ -445,9 +535,6 @@ ${PYSITELIB}/electrum/plugins/safe_t/cli
 ${PYSITELIB}/electrum/plugins/safe_t/cmdline.py
 ${PYSITELIB}/electrum/plugins/safe_t/cmdline.pyc
 ${PYSITELIB}/electrum/plugins/safe_t/cmdline.pyo
-${PYSITELIB}/electrum/plugins/safe_t/pinmatrix.py
-${PYSITELIB}/electrum/plugins/safe_t/pinmatrix.pyc
-${PYSITELIB}/electrum/plugins/safe_t/pinmatrix.pyo
 ${PYSITELIB}/electrum/plugins/safe_t/qt.py
 ${PYSITELIB}/electrum/plugins/safe_t/qt.pyc
 ${PYSITELIB}/electrum/plugins/safe_t/qt.pyo
@@ -511,9 +598,15 @@ ${PYSITELIB}/electrum/servers_testnet.js
 ${PYSITELIB}/electrum/simple_config.py
 ${PYSITELIB}/electrum/simple_config.pyc
 ${PYSITELIB}/electrum/simple_config.pyo
+${PYSITELIB}/electrum/sql_db.py
+${PYSITELIB}/electrum/sql_db.pyc
+${PYSITELIB}/electrum/sql_db.pyo
 ${PYSITELIB}/electrum/storage.py
 ${PYSITELIB}/electrum/storage.pyc
 ${PYSITELIB}/electrum/storage.pyo
+${PYSITELIB}/electrum/submarine_swaps.py
+${PYSITELIB}/electrum/submarine_swaps.pyc
+${PYSITELIB}/electrum/submarine_swaps.pyo
 ${PYSITELIB}/electrum/synchronizer.py
 ${PYSITELIB}/electrum/synchronizer.pyc
 ${PYSITELIB}/electrum/synchronizer.pyo
@@ -532,9 +625,9 @@ ${PYSITELIB}/electrum/version.pyo
 ${PYSITELIB}/electrum/wallet.py
 ${PYSITELIB}/electrum/wallet.pyc
 ${PYSITELIB}/electrum/wallet.pyo
-${PYSITELIB}/electrum/websockets.py
-${PYSITELIB}/electrum/websockets.pyc
-${PYSITELIB}/electrum/websockets.pyo
+${PYSITELIB}/electrum/wallet_db.py
+${PYSITELIB}/electrum/wallet_db.pyc
+${PYSITELIB}/electrum/wallet_db.pyo
 ${PYSITELIB}/electrum/wordlist/chinese_simplified.txt
 ${PYSITELIB}/electrum/wordlist/english.txt
 ${PYSITELIB}/electrum/wordlist/japanese.txt
@@ -543,4 +636,3 @@ ${PYSITELIB}/electrum/wordlist/spanish.t
 ${PYSITELIB}/electrum/x509.py
 ${PYSITELIB}/electrum/x509.pyc
 ${PYSITELIB}/electrum/x509.pyo
-bin/electrum
Index: pkgsrc/finance/electrum/distinfo
diff -u pkgsrc/finance/electrum/distinfo:1.1 pkgsrc/finance/electrum/distinfo:1.2
--- pkgsrc/finance/electrum/distinfo:1.1        Tue Apr 14 20:05:49 2020
+++ pkgsrc/finance/electrum/distinfo    Wed Nov  4 20:45:46 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/04/14 20:05:49 js Exp $
+$NetBSD: distinfo,v 1.2 2020/11/04 20:45:46 js Exp $
 
-SHA1 (Electrum-3.3.8.tar.gz) = 5a46dc474b1d67ebef1883eb0450fe90aebbe566
-RMD160 (Electrum-3.3.8.tar.gz) = ef9f1d379665ce0af0c3994d51b87950be08ab90
-SHA512 (Electrum-3.3.8.tar.gz) = 5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6
-Size (Electrum-3.3.8.tar.gz) = 8911228 bytes
+SHA1 (Electrum-4.0.4.tar.gz) = f304a6169049f016259b0dfde33c2c61402b9919
+RMD160 (Electrum-4.0.4.tar.gz) = 891a2da148fbf582bfce54a9af7179f96d5d15e4
+SHA512 (Electrum-4.0.4.tar.gz) = e0ead0f85875e320177d4aa5839f6c6d0c8d4ad5f78d77ca7bcef99dee87a53195c13a82f475fbfa5a4a82b1a7101f00338c72537fd2bab4b4c89bb3c7e67716
+Size (Electrum-4.0.4.tar.gz) = 10542682 bytes
+SHA1 (patch-electrum-ecc_fast.py) = fa8b7d784f51890f356429ac9ba48f1bb0a3b7fc

Added files:

Index: pkgsrc/finance/electrum/patches/patch-electrum-ecc_fast.py
diff -u /dev/null pkgsrc/finance/electrum/patches/patch-electrum-ecc_fast.py:1.1
--- /dev/null   Wed Nov  4 20:45:46 2020
+++ pkgsrc/finance/electrum/patches/patch-electrum-ecc_fast.py  Wed Nov  4 20:45:46 2020
@@ -0,0 +1,34 @@
+$NetBSD: patch-electrum-ecc_fast.py,v 1.1 2020/11/04 20:45:46 js Exp $
+
+Don't assume libsecp256k1 is in site-packages/electrum.
+
+--- electrum/ecc_fast.py.orig  2000-11-11 11:11:11.000000000 +0000
++++ electrum/ecc_fast.py
+@@ -9,6 +9,7 @@ from ctypes import (
+     byref, c_byte, c_int, c_uint, c_char_p, c_size_t, c_void_p, create_string_buffer,
+     CFUNCTYPE, POINTER, cast
+ )
++import sysconfig
+ 
+ from .logging import get_logger
+ 
+@@ -38,16 +39,13 @@ class LibModuleMissing(Exception): pass
+ 
+ def load_library():
+     if sys.platform == 'darwin':
+-        library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.0.dylib'),
+-                         'libsecp256k1.0.dylib')
++        library_paths = (os.path.join(sysconfig.get_config_var('LIBDIR'), 'libsecp256k1.0.dylib'),)
+     elif sys.platform in ('windows', 'win32'):
+-        library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1-0.dll'),
+-                         'libsecp256k1-0.dll')
++        library_paths = (os.path.join(sysconfig.get_config_var('LIBDIR'), 'libsecp256k1-0.dll'),)
+     elif 'ANDROID_DATA' in os.environ:
+         library_paths = ('libsecp256k1.so',)
+     else:  # desktop Linux and similar
+-        library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.so.0'),
+-                         'libsecp256k1.so.0')
++        library_paths = (os.patah.join(sysconfig.get_config_var('LIBDIR'), 'libsecp256k1.so.0'),)
+ 
+     exceptions = []
+     secp256k1 = None



Home | Main Index | Thread Index | Old Index