summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2001-10-22 14:26:45 +0000
committermartti <martti@pkgsrc.org>2001-10-22 14:26:45 +0000
commit13ab31149b742cd05bdc6f093c5613a1ab234281 (patch)
tree434b48bc525f72c29da20e94db38881322665a84
parent26fe2c00454d8ac971c16211e7a1dd76aadd7ca8 (diff)
downloadpkgsrc-13ab31149b742cd05bdc6f093c5613a1ab234281.tar.gz
ProFTPD is a highly configurable ftp daemon for unix
and unix-like operating systems. ProFTPD has a Apache-like configuration format.
-rw-r--r--net/proftpd/Makefile63
-rw-r--r--net/proftpd/distinfo5
-rw-r--r--net/proftpd/patches/patch-aa13
-rw-r--r--net/proftpd/pkg/DESCR3
-rw-r--r--net/proftpd/pkg/PLIST26
5 files changed, 110 insertions, 0 deletions
diff --git a/net/proftpd/Makefile b/net/proftpd/Makefile
new file mode 100644
index 00000000000..d7a16b2ac40
--- /dev/null
+++ b/net/proftpd/Makefile
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/22 14:26:45 martti Exp $
+
+DISTNAME= proftpd-1.2.4
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.proftpd.org/
+COMMENT= FTP server with Apache like configuration
+
+GNU_CONFIGURE= # defined
+USE_GMAKE= # defined
+
+CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
+CONFIGURE_ARGS+=--localstatedir=/var/run
+CONFIGURE_ARGS+=--disable-sendfile
+
+## .if defined(PROFTPD_USE_LDAP) && ${PROFTPD_USE_LDAP} == "YES"
+## MODULES:= ${MODULES}:mod_ldap
+## DEPENDS+= openldap-[0-9]*:../../databases/openldap
+## .endif
+##
+## .if defined(PROFTPD_USE_MYSQL) && ${PROFTPD_USE_MYSQL} == "YES"
+## MODULES:= ${MODULES}:mod_sql:mod_sql_mysql
+## DEPENDS+= mysql-client-[0-9]*:../../databases/mysql-client
+## .endif
+##
+## .if defined(PROFTPD_USE_POSTGRES) && ${PROFTPD_USE_POSTGRES} == "YES"
+## MODULES:= ${MODULES}:mod_sql:mod_sql_postgres
+## DEPENDS+= postgresql-client-[0-9]*:../../databases/postgresql-client
+## .endif
+##
+## .if defined(PROFTPD_USE_QUOTA) && ${PROFTPD_USE_QUOTA} == "YES"
+## MODULES:= ${MODULES}:mod_quota
+## .endif
+##
+## .if defined(PROFTPD_USE_README) && ${PROFTPD_USE_README} == "YES"
+## MODULES:= ${MODULES}:mod_readme
+## .endif
+##
+## .if defined(PROFTPD_USE_WRAP) && ${PROFTPD_USE_WRAP} == "YES"
+## MODULES:= ${MODULES}:mod_wrap
+## .endif
+##
+## .if !empty(MODULES)
+## CONFIGURE_ARGS+=--with-modules=${MODULES}
+## .endif
+
+post-install:
+ # documentation
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/proftpd
+.for i in NEWS README README.LDAP README.PAM README.mod_sql README.modules
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/proftpd
+.endfor
+.for i in Configuration.html FAQ-config.html license.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/proftpd
+.endfor
+ # examples
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/proftpd
+ ${INSTALL_DATA} ${WRKSRC}/sample-configurations/*.conf \
+ ${PREFIX}/share/examples/proftpd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/proftpd/distinfo b/net/proftpd/distinfo
new file mode 100644
index 00000000000..3a7b3f5dfea
--- /dev/null
+++ b/net/proftpd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/22 14:26:45 martti Exp $
+
+SHA1 (proftpd-1.2.4.tar.gz) = 53fdd1a9ad94df6695f74355f0b7a12ba7bc71be
+Size (proftpd-1.2.4.tar.gz) = 592543 bytes
+SHA1 (patch-aa) = cf103cb15c8cba5d01ad07ab88f604e110ea34df
diff --git a/net/proftpd/patches/patch-aa b/net/proftpd/patches/patch-aa
new file mode 100644
index 00000000000..d3b339c24bb
--- /dev/null
+++ b/net/proftpd/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/22 14:26:45 martti Exp $
+
+--- Makefile.in.orig Mon Oct 22 15:02:42 2001
++++ Makefile.in Mon Oct 22 15:03:05 2001
+@@ -113,7 +113,7 @@
+ $(INSTALL_MAN) $(top_srcdir)/src/ftpcount.1 $(mandir)/man1
+ $(INSTALL_MAN) $(top_srcdir)/src/xferlog.5 $(mandir)/man5
+
+-install-all: install-proftpd install-utils install-conf install-man
++install-all: install-proftpd install-utils install-man
+
+ install: install-all
+
diff --git a/net/proftpd/pkg/DESCR b/net/proftpd/pkg/DESCR
new file mode 100644
index 00000000000..d3b301f7178
--- /dev/null
+++ b/net/proftpd/pkg/DESCR
@@ -0,0 +1,3 @@
+ProFTPD is a highly configurable ftp daemon for unix
+and unix-like operating systems. ProFTPD has a Apache-like
+configuration format.
diff --git a/net/proftpd/pkg/PLIST b/net/proftpd/pkg/PLIST
new file mode 100644
index 00000000000..d0998414529
--- /dev/null
+++ b/net/proftpd/pkg/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/22 14:26:45 martti Exp $
+bin/ftpcount
+bin/ftpwho
+man/man1/ftpcount.1
+man/man1/ftpwho.1
+man/man5/xferlog.5
+man/man8/ftpshut.8
+man/man8/proftpd.8
+sbin/ftpshut
+sbin/in.proftpd
+sbin/proftpd
+share/doc/proftpd/Configuration.html
+share/doc/proftpd/FAQ-config.html
+share/doc/proftpd/NEWS
+share/doc/proftpd/README
+share/doc/proftpd/README.LDAP
+share/doc/proftpd/README.PAM
+share/doc/proftpd/README.mod_sql
+share/doc/proftpd/README.modules
+share/doc/proftpd/license.txt
+share/examples/proftpd/anonymous.conf
+share/examples/proftpd/basic.conf
+share/examples/proftpd/complex-virtual.conf
+share/examples/proftpd/virtual.conf
+@dirrm share/doc/proftpd
+@dirrm share/examples/proftpd