Python FTP server library provides an high-level portable interface to easily

write asynchronous FTP servers with Python. Based on asyncore / asynchat
frameworks pyftpdlib is actually the most complete RFC959 FTP server
implementation available for Python language.

WWW:	http://billiejoex.altervista.org/pyftpdlib.html

PR:		ports/109934
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
This commit is contained in:
Martin Wilke
2007-03-06 20:12:24 +00:00
parent 7cef186557
commit ae5e1412ef
5 changed files with 59 additions and 0 deletions

View File

@@ -90,6 +90,7 @@
SUBDIR += pureadmin
SUBDIR += py-curl
SUBDIR += py-ftputil
SUBDIR += py-pyftpdlib
SUBDIR += quftp
SUBDIR += rexx-curl
SUBDIR += smbftpd

34
ftp/py-pyftpdlib/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# New ports collection makefile for: py-pyftpdlib
# Date created: Mar. 06, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= pyftpdlib
PORTVERSION= 0.1
CATEGORIES= ftp python
MASTER_SITES= http://pyftpdlib.googlecode.com/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lwhsu@lwhsu.org
COMMENT= Python FTP server library
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
.endif
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
MD5 (pyftpdlib_0.1.tar.gz) = 32c17f1e142c6e235256706e2905aa5c
SHA256 (pyftpdlib_0.1.tar.gz) = e8137eb65f03bd0e1c7a1b8f91d7960f5f9825b4aeb224035368ae99e750a6e0
SIZE (pyftpdlib_0.1.tar.gz) = 47884

View File

@@ -0,0 +1,6 @@
Python FTP server library provides an high-level portable interface to easily
write asynchronous FTP servers with Python. Based on asyncore / asynchat
frameworks pyftpdlib is actually the most complete RFC959 FTP server
implementation available for Python language.
WWW: http://billiejoex.altervista.org/pyftpdlib.html

View File

@@ -0,0 +1,15 @@
%%PYTHON_SITELIBDIR%%/pyftpdlib/FTPServer.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/FTPServer.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/FTPServer.pyo
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.py
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyftpdlib/__init__.pyo
@dirrm %%PYTHON_SITELIBDIR%%/pyftpdlib
%%EXAMPLESDIR%%/unix_ftpd.py
%%EXAMPLESDIR%%/md5_ftpd.py
%%EXAMPLESDIR%%/basic_ftpd.py
%%EXAMPLESDIR%%/winNT_ftpd.py
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/pyftpdlib.css
%%PORTDOCS%%%%DOCSDIR%%/pyftpdlib.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%