diff options
Diffstat (limited to 'net/py-smb')
-rw-r--r-- | net/py-smb/Makefile | 37 | ||||
-rw-r--r-- | net/py-smb/distinfo | 1 | ||||
-rw-r--r-- | net/py-smb/pkg-comment | 1 | ||||
-rw-r--r-- | net/py-smb/pkg-descr | 12 | ||||
-rw-r--r-- | net/py-smb/pkg-plist | 25 |
5 files changed, 76 insertions, 0 deletions
diff --git a/net/py-smb/Makefile b/net/py-smb/Makefile new file mode 100644 index 000000000000..744140e7cc1d --- /dev/null +++ b/net/py-smb/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# Ports collection makefile for: pysmb +# Date created: Jan 11, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= smb +PORTVERSION= 0.3.1 +CATEGORIES= net python +MASTER_SITES= http://miketeo.net/projects/pysmb/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pysmb-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes +WRKSRC= ${WRKDIR}/pysmb +NO_BUILD= yes + +do-install: +.for file in nmb.py smb.py + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PYTHON_SITELIBDIR} +.endfor +.for file in nmbquery smbcp smbdu smblistshare + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin +.endfor + @${MKDIR} ${PREFIX}/share/py-smb + ${CP} ${WRKSRC}/extra/*.reg ${PREFIX}/share/py-smb +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/py-smb + ${CP} ${WRKSRC}/README ${PREFIX}/share/doc/py-smb + ${CP} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/py-smb +.endif + +.include <bsd.port.mk> diff --git a/net/py-smb/distinfo b/net/py-smb/distinfo new file mode 100644 index 000000000000..a12481b246b9 --- /dev/null +++ b/net/py-smb/distinfo @@ -0,0 +1 @@ +MD5 (pysmb-0.3.1.tar.gz) = 90a7ba863e0eea6774b62f9961d966c4 diff --git a/net/py-smb/pkg-comment b/net/py-smb/pkg-comment new file mode 100644 index 000000000000..07eacccdb472 --- /dev/null +++ b/net/py-smb/pkg-comment @@ -0,0 +1 @@ +SMB/CIFS library written in Python diff --git a/net/py-smb/pkg-descr b/net/py-smb/pkg-descr new file mode 100644 index 000000000000..249fa6d56aa0 --- /dev/null +++ b/net/py-smb/pkg-descr @@ -0,0 +1,12 @@ +pysmb is an experimental SMB/CIFS library written in Python. +The library has been tested to be able to connect Win 98 SE and Samba 2.0 +machines, and upload/download files to and from these machines. Unfortunately, +some users have reported that pysmb is unable to work with Windows 2000 and +Windows XP. + +Modules + smb - Contains all the SMB operations and constants + nmb - Contains some of the NetBIOS over TCP/IP operations which is + neccessary for the smb module to operate. + +WWW: http://miketeo.net/projects/pysmb/ diff --git a/net/py-smb/pkg-plist b/net/py-smb/pkg-plist new file mode 100644 index 000000000000..5e7e9e29ae06 --- /dev/null +++ b/net/py-smb/pkg-plist @@ -0,0 +1,25 @@ +bin/nmbquery +bin/smbcp +bin/smbdu +bin/smblistshare +lib/%%PYTHON_VERSION%%/site-packages/nmb.py +lib/%%PYTHON_VERSION%%/site-packages/smb.py +share/py-smb/NT4_PlainPassword.reg +share/py-smb/Win2000_PlainPassword.reg +share/py-smb/Win95_PlainPassword.reg +share/py-smb/Win98_PlainPassword.reg +share/py-smb/WinME_PlainPassword.reg +@dirrm share/py-smb +%%PORTDOCS%%share/doc/py-smb/README +%%PORTDOCS%%share/doc/py-smb/index.html +%%PORTDOCS%%share/doc/py-smb/nmb.html +%%PORTDOCS%%share/doc/py-smb/nmb_nbhostentry.html +%%PORTDOCS%%share/doc/py-smb/nmb_nbnodeentry.html +%%PORTDOCS%%share/doc/py-smb/nmb_netbios.html +%%PORTDOCS%%share/doc/py-smb/nmb_netbiossession.html +%%PORTDOCS%%share/doc/py-smb/return.gif +%%PORTDOCS%%share/doc/py-smb/smb.html +%%PORTDOCS%%share/doc/py-smb/smb_shareddevice.html +%%PORTDOCS%%share/doc/py-smb/smb_sharedfile.html +%%PORTDOCS%%share/doc/py-smb/smb_smb.html +%%PORTDOCS%%@dirrm share/doc/py-smb |