summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ftp/Makefile1
-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
6 files changed, 93 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index dc16802..69ad915 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -40,6 +40,7 @@
SUBDIR += pavuk
SUBDIR += proftpd
SUBDIR += puf
+ SUBDIR += pure-ftpd
SUBDIR += ruby-curl
SUBDIR += sftp
SUBDIR += spegla
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
new file mode 100644
index 0000000..200caf5
--- /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 0000000..c582d98
--- /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 0000000..b269edf
--- /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 0000000..90f8e35
--- /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 0000000..b8799ca
--- /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
OpenPOWER on IntegriCloud