Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
js f591e7d8f2 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.
2020-11-04 20:45:46 +00:00
archivers archivers: Resurrect file-roller package based on the new GNOME 3 version 2020-11-04 13:02:52 +00:00
audio forked-daapd: Link to merged PR 2020-11-02 20:17:15 +00:00
benchmarks (benchmarks/phoronix-test-suite) fix build, add patch for [check-portability.awk] 2020-10-10 12:57:41 +00:00
biology openbabel: do not download dependencies during build 2020-11-04 19:54:12 +00:00
bootstrap Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld. 2020-10-28 16:52:43 +00:00
cad dinotrace: fix dependency pattern 2020-10-30 23:12:35 +00:00
chat Update chat/matrix-synapse to 1.22.0 2020-10-27 21:52:35 +00:00
comms (comms/openobex) Updated 1.7.1 to 1.7.2. ChangeLog unknown. Adapt to Doxygen 1.8.20 2020-10-06 03:46:02 +00:00
converters bdf2psf: update to 1.198. 2020-11-01 15:11:16 +00:00
cross (cross/avr-libc) Adapt to doxygen 1.8.20, PKGREVISION++ 2020-10-06 02:06:05 +00:00
databases postgresql-promscale_extension: fix HOMEPAGE 2020-11-03 23:05:49 +00:00
devel Fix packaging with PKGMANDIR!=man, found in bulk builds. 2020-11-04 20:27:24 +00:00
distfiles
doc doc: Added security/libsecp256k1 version 0.1 2020-11-04 20:35:34 +00:00
editors editors/feathernotes: update to 0.8.0 2020-11-02 20:20:01 +00:00
emulators Avoid an assertion when sparc %pc/%npc are set to invalid values (like 2020-11-02 17:17:15 +00:00
filesystems Update glusterfs to 8.2 2020-09-27 01:13:11 +00:00
finance Update finance/electrum to 4.0.4 2020-11-04 20:45:46 +00:00
fonts fontforge: align the block 2020-11-01 10:58:54 +00:00
games dMagnetic: update to 0.27. 2020-11-01 16:48:39 +00:00
geography geoclue: Update to 2.5.6 2020-11-04 16:46:59 +00:00
graphics py-pygraphviz: updated to 1.6 2020-11-04 10:01:29 +00:00
ham chirp: Update to 20201014 2020-10-15 23:29:56 +00:00
inputmethod (inputmethod/ibus) Fix recent bulkbuild error, Cannot convert from `void Extension... 2020-10-17 05:25:46 +00:00
lang go-module.mk: "make show-go-modules" now prints an rcs id preamble 2020-11-03 18:44:13 +00:00
licenses Add evilwm-license 2020-10-11 08:53:28 +00:00
mail evolution-data-server: Dependencies need libsecret 2020-11-04 14:56:53 +00:00
math py-sympy: mark incompatible with Python 2.7 2020-10-29 23:19:59 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs texlive-collection-latexrecommended: Move META_PACKAGE higher. 2020-10-25 08:14:05 +00:00
misc libreoffice: notes for future reference 2020-11-04 18:35:32 +00:00
mk Support PKGPATH with "make package-name" 2020-11-04 16:38:59 +00:00
multimedia multimedia: Remove libmp4v2, successor mp4v2 2020-11-02 10:16:57 +00:00
net snmptt: Update to 1.4.2 2020-11-04 18:32:26 +00:00
news sfeed_curses: Update to 0.9.4 2020-10-26 10:07:33 +00:00
packages
parallel threadingbuildingblocks: Update to 2020.3 2020-09-05 11:34:07 +00:00
pkgtools pkgin: Update to 20.11.0. 2020-11-02 14:25:39 +00:00
print poppler-data: update to 0.4.10. 2020-10-31 13:53:03 +00:00
regress *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
security Add security/libsecp256k1 2020-11-04 20:32:18 +00:00
shells Update to 6.7.1. From the git log: 2020-10-26 10:21:47 +00:00
sysutils sysutils/onefetch: update to 2.6.0 2020-11-04 19:24:40 +00:00
templates
textproc py-regex: updated to 2020.10.28 2020-11-04 10:03:29 +00:00
time time/ruby-tzinfo-data: update to 1.2020.4 2020-10-25 14:06:30 +00:00
wm i3: update to 4.18.3. 2020-10-31 13:55:17 +00:00
www py-bleach: updated to 3.2.1 2020-11-02 14:45:57 +00:00
x11 gnome-desktop3: Update to 3.38.1. 2020-11-04 12:12:48 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md stray comma 2020-11-04 14:39:49 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler trasformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git