1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

[NEW PORT] security/py-tuf: Framework for securing software update systems

TUF (The Update Framework) helps developers secure their new or existing
software update systems.

Software update systems are vulnerable to many known attacks, including
those that can result in clients being compromised or crashed. TUF helps
solve this problem by providing a flexible security framework that can
be added to software updaters.

WWW: https://www.updateframework.com
This commit is contained in:
Kubilay Kocak 2016-08-12 11:40:38 +00:00
parent 0d95bb78d0
commit 22e37cd710
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420121
5 changed files with 51 additions and 0 deletions

View File

@ -911,6 +911,7 @@
SUBDIR += py-stix
SUBDIR += py-tlslite
SUBDIR += py-trustedpickle
SUBDIR += py-tuf
SUBDIR += py-twistedConch
SUBDIR += py-twofish
SUBDIR += py-volatility

28
security/py-tuf/Makefile Normal file
View File

@ -0,0 +1,28 @@
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= tuf
PORTVERSION= 0.10.0
CATEGORIES= security devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Framework for securing software update systems
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601 \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}pynacl>0:security/py-pynacl
# Actually 2.6-3.5
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC}/tests && ${PYTHON_CMD} -m pytest -rsv
.include <bsd.port.mk>

3
security/py-tuf/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1470662351
SHA256 (tuf-0.10.0.tar.gz) = 34042699053ded003c7029c4c450f7ba464cb3a154c4947002432471b392f73e
SIZE (tuf-0.10.0.tar.gz) = 1719235

View File

@ -0,0 +1,10 @@
--- setup.py.orig 2016-08-08 13:44:46 UTC
+++ setup.py
@@ -111,6 +111,7 @@ setup(
install_requires = ['iso8601', 'six'],
packages = find_packages(exclude=['tests']),
extras_require = extras,
+ test_suite='tests',
scripts = [
'tuf/client/basic_client.py'
]

View File

@ -0,0 +1,9 @@
TUF (The Update Framework) helps developers secure their new or existing
software update systems.
Software update systems are vulnerable to many known attacks, including
those that can result in clients being compromised or crashed. TUF helps
solve this problem by providing a flexible security framework that can
be added to software updaters.
WWW: https://www.updateframework.com