From 4f261bdf6b6bdc7e4e0c804114cfe3ca440410b7 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Tue, 8 Nov 2016 05:46:16 +0000 Subject: [PATCH] Add security/py-paramiko1, for ports that require paramiko 1.x PR: 213893 --- security/Makefile | 1 + security/py-paramiko1/Makefile | 28 ++++++++++++++++++++++++++++ security/py-paramiko1/distinfo | 3 +++ security/py-paramiko1/pkg-descr | 6 ++++++ 4 files changed, 38 insertions(+) create mode 100644 security/py-paramiko1/Makefile create mode 100644 security/py-paramiko1/distinfo create mode 100644 security/py-paramiko1/pkg-descr diff --git a/security/Makefile b/security/Makefile index 7c88b7598a0c..07e62cd2ff65 100644 --- a/security/Makefile +++ b/security/Makefile @@ -875,6 +875,7 @@ SUBDIR += py-oauthlib SUBDIR += py-openssl SUBDIR += py-paramiko + SUBDIR += py-paramiko1 SUBDIR += py-passlib SUBDIR += py-pbkdf2 SUBDIR += py-pgpdump diff --git a/security/py-paramiko1/Makefile b/security/py-paramiko1/Makefile new file mode 100644 index 000000000000..3a95d4380d62 --- /dev/null +++ b/security/py-paramiko1/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= paramiko +PORTVERSION= 1.17.2 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 1 + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Python SSH2 protocol library + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa + +USES= python +USE_PYTHON= distutils autoplist + +CONFLICTS_INSTALL= py??-paramiko-* + +OPTIONS_DEFINE= EXAMPLES + +regression-test: extract + @(cd ${WRKSRC} && ${PYTHON_CMD} test.py) + +.include diff --git a/security/py-paramiko1/distinfo b/security/py-paramiko1/distinfo new file mode 100644 index 000000000000..5d7a8dc18a0e --- /dev/null +++ b/security/py-paramiko1/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1477840248 +SHA256 (paramiko-1.17.2.tar.gz) = d436971492bf11fb9807c08f41d4115a82bd592a844971737a6a8e8900c4677c +SIZE (paramiko-1.17.2.tar.gz) = 1189167 diff --git a/security/py-paramiko1/pkg-descr b/security/py-paramiko1/pkg-descr new file mode 100644 index 000000000000..5a1d9d6adf44 --- /dev/null +++ b/security/py-paramiko1/pkg-descr @@ -0,0 +1,6 @@ +This is a library for making SSH2 connections (client or server). +Emphasis is on using SSH2 as an alternative to SSL for making secure +connections between python scripts. All major ciphers and hash methods +are supported. SFTP client and server mode are both supported too. + +WWW: http://www.paramiko.org/