Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2016 11:40:38 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420121 - in head/security: . py-tuf py-tuf/files
Message-ID:  <201608121140.u7CBecGw007710@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Aug 12 11:40:38 2016
New Revision: 420121
URL: https://svnweb.freebsd.org/changeset/ports/420121

Log:
  [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

Added:
  head/security/py-tuf/
  head/security/py-tuf/Makefile   (contents, props changed)
  head/security/py-tuf/distinfo   (contents, props changed)
  head/security/py-tuf/files/
  head/security/py-tuf/files/patch-setup.py   (contents, props changed)
  head/security/py-tuf/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Aug 12 10:56:12 2016	(r420120)
+++ head/security/Makefile	Fri Aug 12 11:40:38 2016	(r420121)
@@ -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

Added: head/security/py-tuf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-tuf/Makefile	Fri Aug 12 11:40:38 2016	(r420121)
@@ -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>

Added: head/security/py-tuf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-tuf/distinfo	Fri Aug 12 11:40:38 2016	(r420121)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470662351
+SHA256 (tuf-0.10.0.tar.gz) = 34042699053ded003c7029c4c450f7ba464cb3a154c4947002432471b392f73e
+SIZE (tuf-0.10.0.tar.gz) = 1719235

Added: head/security/py-tuf/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-tuf/files/patch-setup.py	Fri Aug 12 11:40:38 2016	(r420121)
@@ -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'
+   ]

Added: head/security/py-tuf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-tuf/pkg-descr	Fri Aug 12 11:40:38 2016	(r420121)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608121140.u7CBecGw007710>