1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add py-smbprotocol 1.2.0

SMB is a network file sharing protocol and has numerous iterations over the
years. This library implements the SMBv2 and SMBv3 protocol based on the MS-SMB2
document.

Features:
- Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server 2016)
- Authentication with both NTLM and Kerberos
- Message signing
- Message encryption (SMB 3.x.x+)
- Connect to a Tree/Share
- Opening of files, pipes and directories
- Set create contexts when opening files
- Read and writing of files and pipes
- Sending IOCTL commands
- Sending of multiple messages in one packet (compounding)
- Experimental support for both standalone and DFS server shares

WWW: https://github.com/jborean93/smbprotocol
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-08 17:10:45 +00:00
parent 85952a237b
commit 3d2c1e8a60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554479
4 changed files with 47 additions and 0 deletions

View File

@ -1099,6 +1099,7 @@
SUBDIR += py-siosocks
SUBDIR += py-smart-open
SUBDIR += py-smbpasswd
SUBDIR += py-smbprotocol
SUBDIR += py-soap2py
SUBDIR += py-socketio-client
SUBDIR += py-softlayer

View File

@ -0,0 +1,25 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= smbprotocol
PORTVERSION= 1.2.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Interact with a server using the SMB 2/3 Protocol
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyspnego>=0:security/py-pyspnego@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1604680058
SHA256 (smbprotocol-1.2.0.tar.gz) = 8102adfea6750a29c7e1a99edc58931a5ff948a659f17abc1f43cfc16ea17b6a
SIZE (smbprotocol-1.2.0.tar.gz) = 112367

View File

@ -0,0 +1,18 @@
SMB is a network file sharing protocol and has numerous iterations over the
years. This library implements the SMBv2 and SMBv3 protocol based on the MS-SMB2
document.
Features:
- Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server 2016)
- Authentication with both NTLM and Kerberos
- Message signing
- Message encryption (SMB 3.x.x+)
- Connect to a Tree/Share
- Opening of files, pipes and directories
- Set create contexts when opening files
- Read and writing of files and pipes
- Sending IOCTL commands
- Sending of multiple messages in one packet (compounding)
- Experimental support for both standalone and DFS server shares
WWW: https://github.com/jborean93/smbprotocol