pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   js
Date:           Sat Sep 21 12:40:17 UTC 2024

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/py-libagent: DESCR Makefile PLIST distinfo
        pkgsrc/security/py-libagent/patches: patch-setup.py

Log Message:
Add security/py-libagent

This project allows you to use various hardware security devices to operate
GPG, SSH and age. Instead of keeping your key on your computer and decrypting
it with a passphrase when you want to use it, the key is generated and stored
on the device and never reaches your computer. Read more about the design here.

You can do things like sign your emails, git commits, and software packages,
manage your passwords (with pass and passage, among others), authenticate web
tunnels and file transfers, and more.


To generate a diff of this commit:
cvs rdiff -u -r1.961 -r1.962 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-libagent/DESCR \
    pkgsrc/security/py-libagent/Makefile pkgsrc/security/py-libagent/PLIST \
    pkgsrc/security/py-libagent/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-libagent/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.961 pkgsrc/security/Makefile:1.962
--- pkgsrc/security/Makefile:1.961      Thu Sep 19 06:41:16 2024
+++ pkgsrc/security/Makefile    Sat Sep 21 12:40:17 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.961 2024/09/19 06:41:16 wiz Exp $
+# $NetBSD: Makefile,v 1.962 2024/09/21 12:40:17 js Exp $
 #
 
 COMMENT=       Security and cryptography tools and libraries
@@ -496,6 +496,7 @@ SUBDIR+=    py-keyring
 SUBDIR+=       py-keyrings.alt
 SUBDIR+=       py-krb5
 SUBDIR+=       py-lasso
+SUBDIRS+=      py-libagent
 SUBDIR+=       py-libnacl
 SUBDIR+=       py-libtaxii
 SUBDIR+=       py-mcrypt

Added files:

Index: pkgsrc/security/py-libagent/DESCR
diff -u /dev/null pkgsrc/security/py-libagent/DESCR:1.1
--- /dev/null   Sat Sep 21 12:40:17 2024
+++ pkgsrc/security/py-libagent/DESCR   Sat Sep 21 12:40:17 2024
@@ -0,0 +1,8 @@
+This project allows you to use various hardware security devices to operate
+GPG, SSH and age. Instead of keeping your key on your computer and decrypting
+it with a passphrase when you want to use it, the key is generated and stored
+on the device and never reaches your computer. Read more about the design here.
+
+You can do things like sign your emails, git commits, and software packages,
+manage your passwords (with pass and passage, among others), authenticate web
+tunnels and file transfers, and more.
Index: pkgsrc/security/py-libagent/Makefile
diff -u /dev/null pkgsrc/security/py-libagent/Makefile:1.1
--- /dev/null   Sat Sep 21 12:40:17 2024
+++ pkgsrc/security/py-libagent/Makefile        Sat Sep 21 12:40:17 2024
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2024/09/21 12:40:17 js Exp $
+
+DISTNAME=      trezor-agent-${PKGVERSION_NOREV}
+PKGNAME=       ${PYPKGPREFIX}-libagent-0.15.0
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=romanz/}
+GITHUB_PROJECT=        trezor-agent
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+
+MAINTAINER=    js%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/romanz/trezor-agent
+COMMENT=       Hardware-based SSH/GPG/age agent
+LICENSE=       gnu-lgpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-bech32>=1.2.0:../../devel/py-bech32
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=3.4.6:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils
+DEPENDS+=      ${PYPKGPREFIX}-daemon>=2.3.0:../../devel/py-daemon
+DEPENDS+=      ${PYPKGPREFIX}-configargparse>=0.12.1:../../devel/py-configargparse
+DEPENDS+=      ${PYPKGPREFIX}-ecdsa>=0.13:../../security/py-ecdsa
+DEPENDS+=      ${PYPKGPREFIX}-nacl>=1.4.0:../../security/py-nacl
+DEPENDS+=      ${PYPKGPREFIX}-mnemonic>=0.18:../../devel/py-mnemonic
+DEPENDS+=      ${PYPKGPREFIX}-semver>=2.2:../../devel/py-semver
+DEPENDS+=      ${PYPKGPREFIX}-Unidecode>=0.4.20:../../textproc/py-Unidecode
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-libagent/PLIST
diff -u /dev/null pkgsrc/security/py-libagent/PLIST:1.1
--- /dev/null   Sat Sep 21 12:40:17 2024
+++ pkgsrc/security/py-libagent/PLIST   Sat Sep 21 12:40:17 2024
@@ -0,0 +1,96 @@
+@comment $NetBSD: PLIST,v 1.1 2024/09/21 12:40:17 js Exp $
+${PYSITELIB}/libagent-${PKGVERSION}.dist-info/LICENSE
+${PYSITELIB}/libagent-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/libagent-${PKGVERSION}.dist-info/RECORD
+${PYSITELIB}/libagent-${PKGVERSION}.dist-info/WHEEL
+${PYSITELIB}/libagent-${PKGVERSION}.dist-info/top_level.txt
+${PYSITELIB}/libagent/__init__.py
+${PYSITELIB}/libagent/__init__.pyc
+${PYSITELIB}/libagent/__init__.pyo
+${PYSITELIB}/libagent/age/__init__.py
+${PYSITELIB}/libagent/age/__init__.pyc
+${PYSITELIB}/libagent/age/__init__.pyo
+${PYSITELIB}/libagent/age/client.py
+${PYSITELIB}/libagent/age/client.pyc
+${PYSITELIB}/libagent/age/client.pyo
+${PYSITELIB}/libagent/device/__init__.py
+${PYSITELIB}/libagent/device/__init__.pyc
+${PYSITELIB}/libagent/device/__init__.pyo
+${PYSITELIB}/libagent/device/fake_device.py
+${PYSITELIB}/libagent/device/fake_device.pyc
+${PYSITELIB}/libagent/device/fake_device.pyo
+${PYSITELIB}/libagent/device/interface.py
+${PYSITELIB}/libagent/device/interface.pyc
+${PYSITELIB}/libagent/device/interface.pyo
+${PYSITELIB}/libagent/device/jade.py
+${PYSITELIB}/libagent/device/jade.pyc
+${PYSITELIB}/libagent/device/jade.pyo
+${PYSITELIB}/libagent/device/keepkey.py
+${PYSITELIB}/libagent/device/keepkey.pyc
+${PYSITELIB}/libagent/device/keepkey.pyo
+${PYSITELIB}/libagent/device/keepkey_defs.py
+${PYSITELIB}/libagent/device/keepkey_defs.pyc
+${PYSITELIB}/libagent/device/keepkey_defs.pyo
+${PYSITELIB}/libagent/device/ledger.py
+${PYSITELIB}/libagent/device/ledger.pyc
+${PYSITELIB}/libagent/device/ledger.pyo
+${PYSITELIB}/libagent/device/onlykey.py
+${PYSITELIB}/libagent/device/onlykey.pyc
+${PYSITELIB}/libagent/device/onlykey.pyo
+${PYSITELIB}/libagent/device/onlykey_defs.py
+${PYSITELIB}/libagent/device/onlykey_defs.pyc
+${PYSITELIB}/libagent/device/onlykey_defs.pyo
+${PYSITELIB}/libagent/device/trezor.py
+${PYSITELIB}/libagent/device/trezor.pyc
+${PYSITELIB}/libagent/device/trezor.pyo
+${PYSITELIB}/libagent/device/trezor_defs.py
+${PYSITELIB}/libagent/device/trezor_defs.pyc
+${PYSITELIB}/libagent/device/trezor_defs.pyo
+${PYSITELIB}/libagent/device/ui.py
+${PYSITELIB}/libagent/device/ui.pyc
+${PYSITELIB}/libagent/device/ui.pyo
+${PYSITELIB}/libagent/formats.py
+${PYSITELIB}/libagent/formats.pyc
+${PYSITELIB}/libagent/formats.pyo
+${PYSITELIB}/libagent/gpg/__init__.py
+${PYSITELIB}/libagent/gpg/__init__.pyc
+${PYSITELIB}/libagent/gpg/__init__.pyo
+${PYSITELIB}/libagent/gpg/agent.py
+${PYSITELIB}/libagent/gpg/agent.pyc
+${PYSITELIB}/libagent/gpg/agent.pyo
+${PYSITELIB}/libagent/gpg/client.py
+${PYSITELIB}/libagent/gpg/client.pyc
+${PYSITELIB}/libagent/gpg/client.pyo
+${PYSITELIB}/libagent/gpg/decode.py
+${PYSITELIB}/libagent/gpg/decode.pyc
+${PYSITELIB}/libagent/gpg/decode.pyo
+${PYSITELIB}/libagent/gpg/encode.py
+${PYSITELIB}/libagent/gpg/encode.pyc
+${PYSITELIB}/libagent/gpg/encode.pyo
+${PYSITELIB}/libagent/gpg/keyring.py
+${PYSITELIB}/libagent/gpg/keyring.pyc
+${PYSITELIB}/libagent/gpg/keyring.pyo
+${PYSITELIB}/libagent/gpg/protocol.py
+${PYSITELIB}/libagent/gpg/protocol.pyc
+${PYSITELIB}/libagent/gpg/protocol.pyo
+${PYSITELIB}/libagent/server.py
+${PYSITELIB}/libagent/server.pyc
+${PYSITELIB}/libagent/server.pyo
+${PYSITELIB}/libagent/signify/__init__.py
+${PYSITELIB}/libagent/signify/__init__.pyc
+${PYSITELIB}/libagent/signify/__init__.pyo
+${PYSITELIB}/libagent/ssh/__init__.py
+${PYSITELIB}/libagent/ssh/__init__.pyc
+${PYSITELIB}/libagent/ssh/__init__.pyo
+${PYSITELIB}/libagent/ssh/client.py
+${PYSITELIB}/libagent/ssh/client.pyc
+${PYSITELIB}/libagent/ssh/client.pyo
+${PYSITELIB}/libagent/ssh/protocol.py
+${PYSITELIB}/libagent/ssh/protocol.pyc
+${PYSITELIB}/libagent/ssh/protocol.pyo
+${PYSITELIB}/libagent/util.py
+${PYSITELIB}/libagent/util.pyc
+${PYSITELIB}/libagent/util.pyo
+${PYSITELIB}/libagent/win_server.py
+${PYSITELIB}/libagent/win_server.pyc
+${PYSITELIB}/libagent/win_server.pyo
Index: pkgsrc/security/py-libagent/distinfo
diff -u /dev/null pkgsrc/security/py-libagent/distinfo:1.1
--- /dev/null   Sat Sep 21 12:40:17 2024
+++ pkgsrc/security/py-libagent/distinfo        Sat Sep 21 12:40:17 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/09/21 12:40:17 js Exp $
+
+BLAKE2s (trezor-agent-0.15.0.tar.gz) = 04b00c96af84379d23a5b976b003405bdb2d5489fe8fcd4e89341e5ce82ff7a4
+SHA512 (trezor-agent-0.15.0.tar.gz) = af42d5fff527fe0deb35b27d6b77a3abe49df294e5b7dd69e187d32d5668bd72b1c3b0f20bbe40f81aee9d8e12bb836ec8d0c5bd8f3190c771c7aa3b94bb4fb0
+Size (trezor-agent-0.15.0.tar.gz) = 926014 bytes
+SHA1 (patch-setup.py) = bc0377560b88ee5c88a5249e42c2c505be9a0b59

Index: pkgsrc/security/py-libagent/patches/patch-setup.py
diff -u /dev/null pkgsrc/security/py-libagent/patches/patch-setup.py:1.1
--- /dev/null   Sat Sep 21 12:40:17 2024
+++ pkgsrc/security/py-libagent/patches/patch-setup.py  Sat Sep 21 12:40:17 2024
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2024/09/21 12:40:17 js Exp $
+
+Remove unused dependencies.
+
+--- setup.py.orig      2024-09-21 12:32:40.928381776 +0000
++++ setup.py
+@@ -22,13 +22,11 @@ setup(
+         'docutils>=0.14',
+         'python-daemon>=2.3.0',
+         'wheel>=0.32.3',
+-        'backports.shutil_which>=3.5.1',
+         'ConfigArgParse>=0.12.1',
+         'python-daemon>=2.1.2',
+         'ecdsa>=0.13',
+         'pynacl>=1.4.0',
+         'mnemonic>=0.18',
+-        'pymsgbox>=1.0.6',
+         'semver>=2.2',
+         'unidecode>=0.4.20',
+         'pywin32>=300;sys_platform=="win32"'



Home | Main Index | Thread Index | Old Index