aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pure-ftpd
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-04-23 23:46:38 +0800
committerroam <roam@FreeBSD.org>2001-04-23 23:46:38 +0800
commit02c7997517e76722893340884815c7b915e32caf (patch)
tree9f907be48b0aeaa72fc64dcf25ff1bf1263d391b /ftp/pure-ftpd
parente856eb89e47ecaf2f8f8ba9547e933284d18646b (diff)
downloadfreebsd-ports-gnome-02c7997517e76722893340884815c7b915e32caf.tar.gz
freebsd-ports-gnome-02c7997517e76722893340884815c7b915e32caf.tar.zst
freebsd-ports-gnome-02c7997517e76722893340884815c7b915e32caf.zip
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>
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