aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-10-16 10:17:49 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-10-16 10:17:49 +0000
commita673a995451d3a5884a61bfe7b4f4968542bcea5 (patch)
tree3e7d14aa5eddcc496f7bee041ebceb8ee3d37f63 /security
parent2ff49883fe434da8e0f6d995c1658ae1794d3e79 (diff)
downloadports-a673a995451d3a5884a61bfe7b4f4968542bcea5.tar.gz
ports-a673a995451d3a5884a61bfe7b4f4968542bcea5.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/py-potr/Makefile23
-rw-r--r--security/py-potr/distinfo2
-rw-r--r--security/py-potr/files/patch-setup.py10
-rw-r--r--security/py-potr/pkg-descr3
-rw-r--r--security/py-potr/pkg-plist34
6 files changed, 73 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 4bca0d841f24..3a9e809330d3 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -770,6 +770,7 @@
SUBDIR += py-plone.protect
SUBDIR += py-plone.session
SUBDIR += py-posix1e
+ SUBDIR += py-potr
SUBDIR += py-pow
SUBDIR += py-pyclamd
SUBDIR += py-pycrypto
diff --git a/security/py-potr/Makefile b/security/py-potr/Makefile
new file mode 100644
index 000000000000..93f150dcb6bb
--- /dev/null
+++ b/security/py-potr/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= potr
+PORTVERSION= 1.0.0
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= Pure Python Off-The-Record encryption
+
+LICENSE= LGPL3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= python_${PORTNAME}
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-potr/distinfo b/security/py-potr/distinfo
new file mode 100644
index 000000000000..3225075ad989
--- /dev/null
+++ b/security/py-potr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-potr-1.0.0.tar.gz) = 365a9146e234cd70b8f108e7d49d4a37a1bc3bad95cb544750c95c7f8497e4c0
+SIZE (python-potr-1.0.0.tar.gz) = 20514
diff --git a/security/py-potr/files/patch-setup.py b/security/py-potr/files/patch-setup.py
new file mode 100644
index 000000000000..ad117bb5a3de
--- /dev/null
+++ b/security/py-potr/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- ./setup.py.orig 2013-10-14 22:33:04.000000000 +0400
++++ ./setup.py 2013-10-15 09:17:38.000000000 +0400
+@@ -75,5 +75,7 @@
+ 'Topic :: Security :: Cryptography',
+ ],
+
++ zip_safe=False,
++
+ **args
+ )
diff --git a/security/py-potr/pkg-descr b/security/py-potr/pkg-descr
new file mode 100644
index 000000000000..b946d975be01
--- /dev/null
+++ b/security/py-potr/pkg-descr
@@ -0,0 +1,3 @@
+This is a pure Python OTR implementation; it does not bind to libotr.
+
+WWW: https://github.com/afflux/pure-python-otr/
diff --git a/security/py-potr/pkg-plist b/security/py-potr/pkg-plist
new file mode 100644
index 000000000000..ce924c3533f7
--- /dev/null
+++ b/security/py-potr/pkg-plist
@@ -0,0 +1,34 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%