pkgsrc-Changes archive

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

CVS commit: pkgsrc/filesystems/tahoe-lafs



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Jun 15 22:31:44 UTC 2022

Modified Files:
        pkgsrc/filesystems/tahoe-lafs: Makefile PLIST distinfo

Log Message:
filesystems/tahoe-lafs: Update to 1.17.1

Upstream NEWS, omitting bugfixes and minor improvements:

Release 1.17.0 (2021-12-06)
'''''''''''''''''''''''''''

Security-related Changes
------------------------

- The introducer server no longer writes the sensitive introducer fURL value to its log at startup time.  Instead it writes the well-known path of the file from which this value can be read. (`#3819 
<https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3819>`_)
- The storage protocol operation ``readv`` now safely rejects attempts to read negative lengths.
  Previously these read requests were satisfied with the complete contents of the share file (including trailing metadata) starting from the specified offset. (`#3822 
<https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3822>`_)
- The storage server implementation no longer records corruption advisories about storage indexes for which it holds no shares. (`#3824 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3824>`_)
- The lease-checker now uses JSON instead of pickle to serialize its state.

  tahoe will now refuse to run until you either delete all pickle files or
  migrate them using the new command::

      tahoe admin migrate-crawler

  This will migrate all crawler-related pickle files. (`#3825 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3825>`_)
- The SFTP server no longer accepts password-based credentials for authentication.
  Public/private key-based credentials are now the only supported authentication type.
  This removes plaintext password storage from the SFTP credentials file.
  It also removes a possible timing side-channel vulnerability which might have allowed attackers to discover an account's plaintext password. (`#3827 
<https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3827>`_)
- The storage server now keeps hashes of lease renew and cancel secrets for immutable share files instead of keeping the original secrets. (`#3839 
<https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3839>`_)
- The storage server now keeps hashes of lease renew and cancel secrets for mutable share files instead of keeping the original secrets. (`#3841 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3841>`_)

Features
--------

- Tahoe-LAFS releases now have just a .tar.gz source release and a (universal) wheel (`#3735 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3735>`_)
- tahoe-lafs now provides its statistics also in OpenMetrics format (for Prometheus et. al.) at `/statistics?t=openmetrics`. (`#3786 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3786>`_)
- If uploading an immutable hasn't had a write for 30 minutes, the storage server will abort the upload. (`#3807 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3807>`_)

Removed Features
----------------

- The little-used "control port" has been removed from all node types. (`#3814 <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3814>`_)


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/filesystems/tahoe-lafs/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/filesystems/tahoe-lafs/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/filesystems/tahoe-lafs/distinfo

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

Modified files:

Index: pkgsrc/filesystems/tahoe-lafs/Makefile
diff -u pkgsrc/filesystems/tahoe-lafs/Makefile:1.54 pkgsrc/filesystems/tahoe-lafs/Makefile:1.55
--- pkgsrc/filesystems/tahoe-lafs/Makefile:1.54 Wed Jan  5 15:41:10 2022
+++ pkgsrc/filesystems/tahoe-lafs/Makefile      Wed Jun 15 22:31:44 2022
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2022/01/05 15:41:10 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2022/06/15 22:31:44 gdt Exp $
 
-VERSION_BASE=  1.16.0
+VERSION_BASE=  1.17.1
 VERSION_RC=
 DISTNAME=      tahoe-lafs-${VERSION_BASE}${VERSION_RC}
-PKGREVISION=   2
 CATEGORIES=    filesystems
 MASTER_SITES=  https://tahoe-lafs.org/downloads/
 
@@ -14,8 +13,9 @@ LICENSE=      gnu-gpl-v2
 
 USE_TOOLS=     gmake
 
-# tahoe works with 27, but we depend on things which are
-# not available for 27 in pkgsrc.
+# tahoe works with 27, but it depends on things which are not
+# available for 27 in pkgsrc, and $MAINTAINER is not interested in
+# spending time on that.
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_PKG_RESOURCES=     yes
@@ -23,7 +23,8 @@ USE_PKG_RESOURCES=    yes
 # The world sees this as part of base python.
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 
-## Dependencies are from tahoe's setup.py, in order
+## Dependencies are from tahoe's setup.py, in order, and try to follow
+## setup.py's version requirements.
 # install_requires
 # setuptools 28.8.0
 DEPENDS+=      ${PYPKGPREFIX}-zfec>=1.1.0:../../converters/py-zfec
@@ -33,8 +34,7 @@ DEPENDS+=     ${PYPKGPREFIX}-cryptography>=2
 # twisted needs tls, conch options.  pkgsrc has tls.
 # TODO: conch??
 DEPENDS+=      ${PYPKGPREFIX}-twisted>=19.10.0:../../net/py-twisted
-# bcrypt and appdirs required as twisted deps at runtime
-# TODO: resolve
+# bcrypt and appdirs are required as twisted deps at runtime
 DEPENDS+=      ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
 DEPENDS+=      ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.11:../../textproc/py-yaml
@@ -48,6 +48,8 @@ DEPENDS+=     ${PYPKGPREFIX}-future>=0.18.2:
 DEPENDS+=      ${PYPKGPREFIX}-netifaces-[0-9]*:../../net/py-netifaces
 DEPENDS+=      ${PYPKGPREFIX}-pyutil>=3.3.0:../../devel/py-pyutil
 DEPENDS+=      ${PYPKGPREFIX}-distro>=1.4.0:../../devel/py-distro
+DEPENDS+=      ${PYPKGPREFIX}-collections-extended-[0-9]*:../../devel/py-collections-extended
+
 # tor_requires
 DEPENDS+=      ${PYPKGPREFIX}-txtorcon>=0.17.0:../../net/py-txtorcon
 # txi2p-requires

Index: pkgsrc/filesystems/tahoe-lafs/PLIST
diff -u pkgsrc/filesystems/tahoe-lafs/PLIST:1.13 pkgsrc/filesystems/tahoe-lafs/PLIST:1.14
--- pkgsrc/filesystems/tahoe-lafs/PLIST:1.13    Thu Oct 21 12:16:25 2021
+++ pkgsrc/filesystems/tahoe-lafs/PLIST Wed Jun 15 22:31:44 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2021/10/21 12:16:25 gdt Exp $
+@comment $NetBSD: PLIST,v 1.14 2022/06/15 22:31:44 gdt Exp $
 bin/tahoe
 ${PYSITELIB}/allmydata/__init__.py
 ${PYSITELIB}/allmydata/__init__.pyc
@@ -27,9 +27,6 @@ ${PYSITELIB}/allmydata/client.pyo
 ${PYSITELIB}/allmydata/codec.py
 ${PYSITELIB}/allmydata/codec.pyc
 ${PYSITELIB}/allmydata/codec.pyo
-${PYSITELIB}/allmydata/control.py
-${PYSITELIB}/allmydata/control.pyc
-${PYSITELIB}/allmydata/control.pyo
 ${PYSITELIB}/allmydata/crypto/__init__.py
 ${PYSITELIB}/allmydata/crypto/__init__.pyc
 ${PYSITELIB}/allmydata/crypto/__init__.pyo
@@ -273,15 +270,30 @@ ${PYSITELIB}/allmydata/storage/crawler.p
 ${PYSITELIB}/allmydata/storage/expirer.py
 ${PYSITELIB}/allmydata/storage/expirer.pyc
 ${PYSITELIB}/allmydata/storage/expirer.pyo
+${PYSITELIB}/allmydata/storage/http_client.py
+${PYSITELIB}/allmydata/storage/http_client.pyc
+${PYSITELIB}/allmydata/storage/http_client.pyo
+${PYSITELIB}/allmydata/storage/http_server.py
+${PYSITELIB}/allmydata/storage/http_server.pyc
+${PYSITELIB}/allmydata/storage/http_server.pyo
 ${PYSITELIB}/allmydata/storage/immutable.py
 ${PYSITELIB}/allmydata/storage/immutable.pyc
 ${PYSITELIB}/allmydata/storage/immutable.pyo
+${PYSITELIB}/allmydata/storage/immutable_schema.py
+${PYSITELIB}/allmydata/storage/immutable_schema.pyc
+${PYSITELIB}/allmydata/storage/immutable_schema.pyo
 ${PYSITELIB}/allmydata/storage/lease.py
 ${PYSITELIB}/allmydata/storage/lease.pyc
 ${PYSITELIB}/allmydata/storage/lease.pyo
+${PYSITELIB}/allmydata/storage/lease_schema.py
+${PYSITELIB}/allmydata/storage/lease_schema.pyc
+${PYSITELIB}/allmydata/storage/lease_schema.pyo
 ${PYSITELIB}/allmydata/storage/mutable.py
 ${PYSITELIB}/allmydata/storage/mutable.pyc
 ${PYSITELIB}/allmydata/storage/mutable.pyo
+${PYSITELIB}/allmydata/storage/mutable_schema.py
+${PYSITELIB}/allmydata/storage/mutable_schema.pyc
+${PYSITELIB}/allmydata/storage/mutable_schema.pyo
 ${PYSITELIB}/allmydata/storage/server.py
 ${PYSITELIB}/allmydata/storage/server.pyc
 ${PYSITELIB}/allmydata/storage/server.pyo
@@ -303,6 +315,9 @@ ${PYSITELIB}/allmydata/test/cli/__init__
 ${PYSITELIB}/allmydata/test/cli/common.py
 ${PYSITELIB}/allmydata/test/cli/common.pyc
 ${PYSITELIB}/allmydata/test/cli/common.pyo
+${PYSITELIB}/allmydata/test/cli/test_admin.py
+${PYSITELIB}/allmydata/test/cli/test_admin.pyc
+${PYSITELIB}/allmydata/test/cli/test_admin.pyo
 ${PYSITELIB}/allmydata/test/cli/test_alias.py
 ${PYSITELIB}/allmydata/test/cli/test_alias.pyc
 ${PYSITELIB}/allmydata/test/cli/test_alias.pyo
@@ -351,12 +366,20 @@ ${PYSITELIB}/allmydata/test/cli_node_api
 ${PYSITELIB}/allmydata/test/common.py
 ${PYSITELIB}/allmydata/test/common.pyc
 ${PYSITELIB}/allmydata/test/common.pyo
+${PYSITELIB}/allmydata/test/common_storage.py
+${PYSITELIB}/allmydata/test/common_storage.pyc
+${PYSITELIB}/allmydata/test/common_storage.pyo
+${PYSITELIB}/allmydata/test/common_system.py
+${PYSITELIB}/allmydata/test/common_system.pyc
+${PYSITELIB}/allmydata/test/common_system.pyo
 ${PYSITELIB}/allmydata/test/common_util.py
 ${PYSITELIB}/allmydata/test/common_util.pyc
 ${PYSITELIB}/allmydata/test/common_util.pyo
 ${PYSITELIB}/allmydata/test/common_web.py
 ${PYSITELIB}/allmydata/test/common_web.pyc
 ${PYSITELIB}/allmydata/test/common_web.pyo
+${PYSITELIB}/allmydata/test/data/lease_checker.history.txt
+${PYSITELIB}/allmydata/test/data/lease_checker.state.txt
 ${PYSITELIB}/allmydata/test/data/openssh-rsa-2048.pub.txt
 ${PYSITELIB}/allmydata/test/data/openssh-rsa-2048.txt
 ${PYSITELIB}/allmydata/test/data/pycryptopp-rsa-2048-priv.txt
@@ -530,6 +553,9 @@ ${PYSITELIB}/allmydata/test/test_introdu
 ${PYSITELIB}/allmydata/test/test_iputil.py
 ${PYSITELIB}/allmydata/test/test_iputil.pyc
 ${PYSITELIB}/allmydata/test/test_iputil.pyo
+${PYSITELIB}/allmydata/test/test_istorageserver.py
+${PYSITELIB}/allmydata/test/test_istorageserver.pyc
+${PYSITELIB}/allmydata/test/test_istorageserver.pyo
 ${PYSITELIB}/allmydata/test/test_json_metadata.py
 ${PYSITELIB}/allmydata/test/test_json_metadata.pyc
 ${PYSITELIB}/allmydata/test/test_json_metadata.pyo
@@ -554,6 +580,9 @@ ${PYSITELIB}/allmydata/test/test_node.py
 ${PYSITELIB}/allmydata/test/test_observer.py
 ${PYSITELIB}/allmydata/test/test_observer.pyc
 ${PYSITELIB}/allmydata/test/test_observer.pyo
+${PYSITELIB}/allmydata/test/test_openmetrics.py
+${PYSITELIB}/allmydata/test/test_openmetrics.pyc
+${PYSITELIB}/allmydata/test/test_openmetrics.pyo
 ${PYSITELIB}/allmydata/test/test_pipeline.py
 ${PYSITELIB}/allmydata/test/test_pipeline.pyc
 ${PYSITELIB}/allmydata/test/test_pipeline.pyo
@@ -584,6 +613,9 @@ ${PYSITELIB}/allmydata/test/test_storage
 ${PYSITELIB}/allmydata/test/test_storage_client.py
 ${PYSITELIB}/allmydata/test/test_storage_client.pyc
 ${PYSITELIB}/allmydata/test/test_storage_client.pyo
+${PYSITELIB}/allmydata/test/test_storage_http.py
+${PYSITELIB}/allmydata/test/test_storage_http.pyc
+${PYSITELIB}/allmydata/test/test_storage_http.pyo
 ${PYSITELIB}/allmydata/test/test_storage_web.py
 ${PYSITELIB}/allmydata/test/test_storage_web.pyc
 ${PYSITELIB}/allmydata/test/test_storage_web.pyo
@@ -665,6 +697,9 @@ ${PYSITELIB}/allmydata/uri.pyo
 ${PYSITELIB}/allmydata/util/__init__.py
 ${PYSITELIB}/allmydata/util/__init__.pyc
 ${PYSITELIB}/allmydata/util/__init__.pyo
+${PYSITELIB}/allmydata/util/_eliot_updates.py
+${PYSITELIB}/allmydata/util/_eliot_updates.pyc
+${PYSITELIB}/allmydata/util/_eliot_updates.pyo
 ${PYSITELIB}/allmydata/util/abbreviate.py
 ${PYSITELIB}/allmydata/util/abbreviate.pyc
 ${PYSITELIB}/allmydata/util/abbreviate.pyo

Index: pkgsrc/filesystems/tahoe-lafs/distinfo
diff -u pkgsrc/filesystems/tahoe-lafs/distinfo:1.20 pkgsrc/filesystems/tahoe-lafs/distinfo:1.21
--- pkgsrc/filesystems/tahoe-lafs/distinfo:1.20 Tue Oct 26 10:25:31 2021
+++ pkgsrc/filesystems/tahoe-lafs/distinfo      Wed Jun 15 22:31:44 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 10:25:31 nia Exp $
+$NetBSD: distinfo,v 1.21 2022/06/15 22:31:44 gdt Exp $
 
-BLAKE2s (tahoe-lafs-1.16.0.tar.gz) = 27e44852b3ae97b189c783fd767c8e5e653ecb4b790c0b3726920c8fda9f2b48
-SHA512 (tahoe-lafs-1.16.0.tar.gz) = 0530fc38c89b7c4da2a0ff4d7a8c305000382aa23914b082cf57c3a617c459d13e2e3810b0fea16f073034205218f7d116937d03e76e5ccfbcbb10c2d17f0b51
-Size (tahoe-lafs-1.16.0.tar.gz) = 1802556 bytes
+BLAKE2s (tahoe-lafs-1.17.1.tar.gz) = 172699fbdc6efb4a0cb7605516099a69453ea42f05420ffa645557377d1194a0
+SHA512 (tahoe-lafs-1.17.1.tar.gz) = 4734a332ef92a60f74f7c47605f61b2ffdb712139cb02dd66c44983b18237cdbb82e63f4493f3104ce63a540af3b52eaa040dd9f9028f8a8f50322962f6fe94e
+Size (tahoe-lafs-1.17.1.tar.gz) = 1862217 bytes



Home | Main Index | Thread Index | Old Index