summaryrefslogtreecommitdiff
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-04-23 15:46:38 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-04-23 15:46:38 +0000
commit884ba4e1db523a9e9bf4ea71d7ecd97e9aa7862c (patch)
tree030dd4491d6ea5bb712ae8f15faf0ead5ba7bd37 /ftp/pure-ftpd
parentUpdate to 0.7.0 (diff)
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd. PR: 26768 Submitted by: Frank DENIS <j@jedi.claranet.fr>
Notes
Notes: svn path=/head/; revision=41829
Diffstat (limited to 'ftp/pure-ftpd')
-rw-r--r--ftp/pure-ftpd/Makefile60
-rw-r--r--ftp/pure-ftpd/distinfo3
-rw-r--r--ftp/pure-ftpd/pkg-comment1
-rw-r--r--ftp/pure-ftpd/pkg-descr13
-rw-r--r--ftp/pure-ftpd/pkg-plist15
5 files changed, 92 insertions, 0 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
new file mode 100644
index 000000000000..200caf51f8c4
--- /dev/null
+++ b/ftp/pure-ftpd/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: pure-ftpd
+# Date created: 22 April 2001
+# Whom: Frank DENIS
+#
+# $FreeBSD$
+#
+
+PORTNAME= pure-ftpd
+PORTVERSION= 0.97.7
+CATEGORIES= ftp ipv6
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pureftpd
+
+# These shall probably be incorporated in the next version.
+PATCHFILES= pure-ftpd-0.97.7-polish.patch.gz \
+ pure-ftpd-0.97.7-config.pl.patch.gz
+PATCH_SITES= http://people.FreeBSD.org/~roam/ports/patches/ftp/ \
+ ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= roam/ftp
+
+MAINTAINER= j@4u.net
+
+.if defined(WITH_DMALLOC)
+LIB_DEPENDS+= dmalloc.1:${PORTSDIR}/devel/dmalloc
+.endif
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-pam --with-cookie --with-throttling \
+ --with-ratios --with-ftpwho --with-largefile
+# language support requested?
+.if defined(WITH_LANG)
+CONFIGURE_ARGS+= --with-language="${WITH_LANG}"
+.endif
+# use of dmalloc requested?
+.if defined(WITH_DMALLOC)
+CONFIGURE_ARGS+= --with-dmalloc
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+.endif
+
+MAN8= pure-ftpd.8 pure-ftpwho.8 mrtginfo.8
+
+pre-fetch:
+ @${ECHO} "You can use the following additional options:"
+ @${ECHO} "WITH_DMALLOC - enable use of the dmalloc library;"
+ @${ECHO} "WITH_LANG=lang - enable compilation of language support, lang is one of"
+ @${ECHO} " english, german, romanian, french or polish."
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${PREFIX}/etc/pureftpd-ldap.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${PREFIX}/etc/pure-ftpd.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-config.pl ${PREFIX}/sbin/
+ ${CHMOD} 755 ${PREFIX}/sbin/pure-config.pl
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/pure-ftpd
+.for file in COPYING HISTORY NEWS README README.Configuration-File README.LDAP README.Netfilter THANKS
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/pure-ftpd
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/ftp/pure-ftpd/distinfo b/ftp/pure-ftpd/distinfo
new file mode 100644
index 000000000000..c582d9874f8e
--- /dev/null
+++ b/ftp/pure-ftpd/distinfo
@@ -0,0 +1,3 @@
+MD5 (pure-ftpd-0.97.7.tar.gz) = 8d3cedccd9d9f05c9d61337f3ce420e8
+MD5 (pure-ftpd-0.97.7-polish.patch.gz) = 238373f4b2302ce09dd0b26ab19e0439
+MD5 (pure-ftpd-0.97.7-config.pl.patch.gz) = e10dd39056695c79d7f3ddcd92e375e2
diff --git a/ftp/pure-ftpd/pkg-comment b/ftp/pure-ftpd/pkg-comment
new file mode 100644
index 000000000000..b269edf9d819
--- /dev/null
+++ b/ftp/pure-ftpd/pkg-comment
@@ -0,0 +1 @@
+A small, easy to set up, fast and very secure FTP server
diff --git a/ftp/pure-ftpd/pkg-descr b/ftp/pure-ftpd/pkg-descr
new file mode 100644
index 000000000000..90f8e350d7bd
--- /dev/null
+++ b/ftp/pure-ftpd/pkg-descr
@@ -0,0 +1,13 @@
+Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
+based upon Troll-FTPd.
+
+Unlike other popular FTP servers, it's designed to be secure in default
+configuration, has no known buffer overflow, it is really trivial to set up
+and it is especially designed for modern kernels.
+
+Features include PAM support, IPv6, chroot()ed home directories, virtual
+domains, built-in 'ls', anti-warez system, bounded ports for passive
+downloads, FXP protocol, bandwidth throttling, ratios, LDAP, fortune files,
+fast standalone mode, text / HTML / XML real-time status report, and more.
+
+WWW: http://www.pureftpd.org
diff --git a/ftp/pure-ftpd/pkg-plist b/ftp/pure-ftpd/pkg-plist
new file mode 100644
index 000000000000..b8799cacd87a
--- /dev/null
+++ b/ftp/pure-ftpd/pkg-plist
@@ -0,0 +1,15 @@
+sbin/mrtginfo
+sbin/pure-ftpd
+sbin/pure-ftpwho
+sbin/pure-config.pl
+etc/pureftpd-ldap.conf.sample
+etc/pure-ftpd.conf.sample
+%%PORTDOCS%%share/doc/pure-ftpd/COPYING
+%%PORTDOCS%%share/doc/pure-ftpd/HISTORY
+%%PORTDOCS%%share/doc/pure-ftpd/NEWS
+%%PORTDOCS%%share/doc/pure-ftpd/README
+%%PORTDOCS%%share/doc/pure-ftpd/README.Configuration-File
+%%PORTDOCS%%share/doc/pure-ftpd/README.LDAP
+%%PORTDOCS%%share/doc/pure-ftpd/README.Netfilter
+%%PORTDOCS%%share/doc/pure-ftpd/THANKS
+%%PORTDOCS%%@dirrm share/doc/pure-ftpd