diff options
Diffstat (limited to 'ftp/proftpd-devel')
-rw-r--r-- | ftp/proftpd-devel/Makefile | 128 | ||||
-rw-r--r-- | ftp/proftpd-devel/distinfo | 1 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-aa | 67 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-af | 15 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-ah | 10 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-ai | 11 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-aj | 11 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-pam | 41 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-pgsql | 11 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/proftpd.sh.sample | 19 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-comment | 1 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-descr | 13 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-message | 8 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-plist | 11 |
14 files changed, 0 insertions, 347 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile deleted file mode 100644 index 8e6da40bae12..000000000000 --- a/ftp/proftpd-devel/Makefile +++ /dev/null @@ -1,128 +0,0 @@ -# New ports collection makefile for: proftpd -# Date created: 26 January 1998 -# Whom: Stephane Legrand -# -# $FreeBSD$ -# - -PORTNAME= proftpd -PORTVERSION= 1.2.6 -CATEGORIES= ftp -MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \ - ftp://ftp.stikman.com/pub/proftpd/source/ \ - ftp://ftp.dataguard.no/pub/proftpd/distrib/source/ \ - ftp://ftp.club-internet.fr/pub/mirrors/ftp.proftpd.org/distrib/source/ -DISTNAME= ${PORTNAME}-1.2.6 - -MAINTAINER= mharo@FreeBSD.org - -MAN1= ftpcount.1 ftpwho.1 -MAN5= xferlog.5 -MAN8= proftpd.8 ftpshut.8 - -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_BZIP2= YES - -CONFIGURE_ARGS= --localstatedir=/var/run \ - --disable-sendfile - -.if defined(WITH_SETPASSENT) -CONFIGURE_ARGS+= --enable-force-setpassent -.endif - -.if defined(WITHOUT_PAM) -CONFIGURE_ARGS+= --disable-pam -.endif - -#allow user to override -MODULES?= mod_ratio:mod_readme:mod_wrap - -INCLUDEDIRS= -LIBDIRS= - -.if defined(WITH_LDAP) -MODULES:=${MODULES}:mod_ldap -BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap -INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include -LIBDIRS:=${LIBDIRS}:${PREFIX}/lib -.endif - -.if defined(WITH_MYSQL) -MODULES:=${MODULES}:mod_sql:mod_sql_mysql -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include -LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql -.endif - -.if defined(WITH_POSTGRES) -MODULES:=${MODULES}:mod_sql:mod_sql_postgres -LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7 -INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include -LIBDIRS:=${LIBDIRS}:${PREFIX}/lib -.endif - -.if !empty(MODULES) -CONFIGURE_ARGS+= --with-modules=${MODULES} -.endif - -.if !empty(INCLUDEDIRS) -CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS} -.endif - -.if !empty(LIBDIRS) -CONFIGURE_ARGS+= --with-libraries=${LIBDIRS} -.endif - -pre-configure: - @${ECHO_MSG} "==> Configuring with ${MODULES}" - -post-configure: - @${MV} ${WRKSRC}/Make.rules ${WRKSRC}/Make.rules.pre_sed - @${SED} -e 's: -lnsl::' \ - < ${WRKSRC}/Make.rules.pre_sed > ${WRKSRC}/Make.rules - - @${MV} ${WRKSRC}/src/proftpd.8 ${WRKSRC}/src/proftpd.8.pre_sed - @${SED} -e 's:/etc:${PREFIX}/etc:' \ - -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \ - -e 's:/usr/sbin:${PREFIX}/sbin:' \ - -e 's:/usr/bin:${PREFIX}/bin:' \ - < ${WRKSRC}/src/proftpd.8.pre_sed > ${WRKSRC}/src/proftpd.8 - - @${MV} ${WRKSRC}/src/ftpshut.8 ${WRKSRC}/src/ftpshut.8.pre_sed - @${SED} -e 's:/usr/sbin:${PREFIX}/sbin:' \ - -e 's:/etc:/var/run:' \ - < ${WRKSRC}/src/ftpshut.8.pre_sed > ${WRKSRC}/src/ftpshut.8 - - @${MV} ${WRKSRC}/src/ftpcount.1 ${WRKSRC}/src/ftpcount.1.pre_sed - @${SED} -e 's:/usr/bin:${PREFIX}/bin:' \ - < ${WRKSRC}/src/ftpcount.1.pre_sed > ${WRKSRC}/src/ftpcount.1 - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/ftpcount ${PREFIX}/bin/ftpcount - @${INSTALL_PROGRAM} ${WRKSRC}/ftpwho ${PREFIX}/bin/ftpwho - @${INSTALL_PROGRAM} ${WRKSRC}/proftpd ${PREFIX}/libexec/proftpd - @${INSTALL_PROGRAM} ${WRKSRC}/ftpshut ${PREFIX}/sbin/ftpshut - @${INSTALL_MAN} ${WRKSRC}/src/ftpcount.1 ${PREFIX}/man/man1/ftpcount.1 - @${INSTALL_MAN} ${WRKSRC}/src/ftpwho.1 ${PREFIX}/man/man1/ftpwho.1 - @${INSTALL_MAN} ${WRKSRC}/src/xferlog.5 ${PREFIX}/man/man5/xferlog.5 - @${INSTALL_MAN} ${WRKSRC}/src/ftpshut.8 ${PREFIX}/man/man8/ftpshut.8 - @${INSTALL_MAN} ${WRKSRC}/src/proftpd.8 ${PREFIX}/man/man8/proftpd.8 - @${INSTALL_DATA} \ - ${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf.default - @if [ ! -f ${PREFIX}/etc/proftpd.conf ]; then \ - ${INSTALL_DATA} \ - ${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \ - fi - @${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/proftpd.sh.sample > ${PREFIX}/etc/rc.d/proftpd.sh.sample -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/proftpd - @${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd - @${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${PREFIX}/share/doc/proftpd -.endif - -.if !defined(WITHOUT_PAM) - @${CAT} ${PKGMESSAGE} -.endif - -.include <bsd.port.mk> diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo deleted file mode 100644 index e18349be67dd..000000000000 --- a/ftp/proftpd-devel/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (proftpd-1.2.6.tar.bz2) = 17551a5281a86fbc7857e31a723d5599 diff --git a/ftp/proftpd-devel/files/patch-aa b/ftp/proftpd-devel/files/patch-aa deleted file mode 100644 index 0a2a1b785e2c..000000000000 --- a/ftp/proftpd-devel/files/patch-aa +++ /dev/null @@ -1,67 +0,0 @@ ---- sample-configurations/basic.conf.old Sun Mar 4 15:08:09 2001 -+++ sample-configurations/basic.conf Sun Mar 4 15:13:29 2001 -@@ -1,3 +1,7 @@ -+# -+# To have more informations about Proftpd configuration -+# look at : http://www.proftpd.org/ -+# - # This is a basic ProFTPD configuration file (rename it to - # 'proftpd.conf' for actual use. It establishes a single server - # and a single anonymous login. It assumes that you have a user/group -@@ -30,24 +34,36 @@ - AllowOverwrite on - </Directory> - --# A basic anonymous configuration, no upload directories. --<Anonymous ~ftp> -- User ftp -- Group ftp -- # We want clients to be able to login with "anonymous" as well as "ftp" -- UserAlias anonymous ftp -- -- # Limit the maximum number of anonymous logins -- MaxClients 10 -- -- # We want 'welcome.msg' displayed at login, and '.message' displayed -- # in each newly chdired directory. -- DisplayLogin welcome.msg -- DisplayFirstChdir .message -- -- # Limit WRITE everywhere in the anonymous chroot -- <Limit WRITE> -- DenyAll -- </Limit> -+######################################################################### -+# # -+# Uncomment lines with only one # to allow basic anonymous access # -+# # -+######################################################################### -+### A basic anonymous configuration, no upload directories. -+# <Anonymous ~ftp> -+# User ftp -+# Group ftp -+ ### We want clients to be able to login with "anonymous" as well as "ftp" -+ # UserAlias anonymous ftp -+ -+ ### Limit the maximum number of anonymous logins -+ # MaxClients 10 -+ -+ ### It is wise when making an 'ftp' user that you either block its -+ ### ability to login either via /etc/login.access or my giving it -+ ### an invalid shell. -+ ### Uncomment this if the 'ftp' user you made has an invalid shell -+ -+ # RequireValidShell off -+ -+ ### We want 'welcome.msg' displayed at login, and '.message' displayed -+ ### in each newly chdired directory. -+ # DisplayLogin welcome.msg -+ # DisplayFirstChdir .message -+ -+ ### Limit WRITE everywhere in the anonymous chroot -+ # <Limit WRITE> -+ # DenyAll -+ # </Limit> - --</Anonymous> -+# </Anonymous> diff --git a/ftp/proftpd-devel/files/patch-af b/ftp/proftpd-devel/files/patch-af deleted file mode 100644 index 102a7f802220..000000000000 --- a/ftp/proftpd-devel/files/patch-af +++ /dev/null @@ -1,15 +0,0 @@ ---- src/proftpd.8.orig Wed Jul 5 23:13:50 2000 -+++ src/proftpd.8 Fri Jul 28 10:54:41 2000 -@@ -22,6 +22,12 @@ - connection to the FTP service is made, or alternatively it can be run as a - stand-alone daemon. - .PP -+.br -+Each successful and failed ftp(1) session is logged using syslog with a -+facility of LOG_FTP. Note: LOG_FTP messages are not displayed -+by syslogd(8) by default, and may have to be enabled in syslogd(8)'s -+configuration file. -+.PP - When - .B proftpd - is run in standalone mode and it receives a SIGHUP then it will reread its diff --git a/ftp/proftpd-devel/files/patch-ah b/ftp/proftpd-devel/files/patch-ah deleted file mode 100644 index 0de104b4408b..000000000000 --- a/ftp/proftpd-devel/files/patch-ah +++ /dev/null @@ -1,10 +0,0 @@ ---- modules/mod_unixpw.c.orig Thu Sep 30 20:33:47 1999 -+++ modules/mod_unixpw.c Sat Nov 13 13:15:26 1999 -@@ -42,6 +42,7 @@ - #include <sys/security.h> - #endif - #ifdef HAVE_PROT_H -+#include <krb.h> - #include <prot.h> - #endif - diff --git a/ftp/proftpd-devel/files/patch-ai b/ftp/proftpd-devel/files/patch-ai deleted file mode 100644 index 418c0c058178..000000000000 --- a/ftp/proftpd-devel/files/patch-ai +++ /dev/null @@ -1,11 +0,0 @@ ---- contrib/mod_ratio.c.orig Sun Oct 20 13:49:21 2002 -+++ contrib/mod_ratio.c Sun Oct 20 13:50:11 2002 -@@ -606,7 +606,7 @@ - add_response(R_214, - "Bytes: %s Down: %imb Up: %imb CR: %i Mbytes", - stats.btext, (stats.bretr / 1024), (stats.bstor / 1024), -- (stats.bytes / 1024), stats.bytes); -+ (stats.bytes / 1024)); - return HANDLED(cmd); - } - diff --git a/ftp/proftpd-devel/files/patch-aj b/ftp/proftpd-devel/files/patch-aj deleted file mode 100644 index 36d670539f78..000000000000 --- a/ftp/proftpd-devel/files/patch-aj +++ /dev/null @@ -1,11 +0,0 @@ ---- include/glibc-glob.h.orig Sun Oct 20 13:43:44 2002 -+++ include/glibc-glob.h Sun Oct 20 13:48:38 2002 -@@ -50,7 +50,7 @@ - #endif - - /* We need `size_t' for the following definitions. */ --#ifndef __size_t -+#if !defined(__size_t) && !defined(__FreeBSD__) - # if defined __GNUC__ && __GNUC__ >= 2 - typedef __SIZE_TYPE__ __size_t; - # ifdef _XOPEN_SOURCE diff --git a/ftp/proftpd-devel/files/patch-pam b/ftp/proftpd-devel/files/patch-pam deleted file mode 100644 index 1f79c4f0afa6..000000000000 --- a/ftp/proftpd-devel/files/patch-pam +++ /dev/null @@ -1,41 +0,0 @@ ---- ./README.PAM.orig Mon Jan 21 16:25:42 2002 -+++ ./README.PAM Mon Jan 21 16:27:07 2002 -@@ -19,14 +19,8 @@ - - FreeBSD: - --To use PAM with ProFTPD, you must edit /etc/pam.conf and add the --following lines: -- --ftp auth required pam_unix.so try_first_pass --ftp account required pam_unix.so try_first_pass --ftp session required pam_permit.so -- --PAM authentication should now work properly. -+To use PAM with ProFTPD, you must set AuthPAMConfig to 'ftpd'. If you -+installed proftpd from the ports collection, this is already the default. - - Linux: - To use PAM with ProFTPD, you must edit /etc/pam.d/ftp and add the ---- doc/Configuration.html.orig Wed May 22 10:08:15 2002 -+++ doc/Configuration.html Sat Jun 1 10:30:54 2002 -@@ -3806,7 +3806,7 @@ - ></DT - ><DD - ><P -->ftp</P -+>ftpd</P - ></DD - ><DT - ><PRE ---- ./modules/mod_pam.c.orig Mon Jan 21 16:28:51 2002 -+++ ./modules/mod_pam.c Mon Jan 21 16:29:03 2002 -@@ -48,7 +48,7 @@ - #endif /* HAVE_SECURITY_PAM_APPL_H */ - - static pam_handle_t * pamh = NULL; --static char * pamconfig = "ftp"; -+static char * pamconfig = "ftpd"; - static char * pam_user = (char *)0; - static char * pam_pass = (char *)0; - static int pam_user_len = 0; diff --git a/ftp/proftpd-devel/files/patch-pgsql b/ftp/proftpd-devel/files/patch-pgsql deleted file mode 100644 index 9c169e79c8f6..000000000000 --- a/ftp/proftpd-devel/files/patch-pgsql +++ /dev/null @@ -1,11 +0,0 @@ ---- ./contrib/mod_sql_postgres.c.orig Sun Oct 6 21:47:43 2002 -+++ ./contrib/mod_sql_postgres.c Sun Oct 6 21:47:50 2002 -@@ -35,7 +35,7 @@ - - #define _POSTGRES_PORT "5432" - --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #include "conf.h" - #include "../contrib/mod_sql.h" - diff --git a/ftp/proftpd-devel/files/proftpd.sh.sample b/ftp/proftpd-devel/files/proftpd.sh.sample deleted file mode 100644 index ad976fa3984f..000000000000 --- a/ftp/proftpd-devel/files/proftpd.sh.sample +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -case "$1" in - -start) - /bin/mkdir -p /var/run/proftpd - if [ -x /usr/local/libexec/proftpd ]; then - /usr/local/libexec/proftpd && echo -n ' proftpd' - fi - ;; - -stop) - killall proftpd - ;; -*) - echo "$0 start | stop" - ;; - -esac diff --git a/ftp/proftpd-devel/pkg-comment b/ftp/proftpd-devel/pkg-comment deleted file mode 100644 index 31b65c3f855c..000000000000 --- a/ftp/proftpd-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Highly configurable ftp daemon diff --git a/ftp/proftpd-devel/pkg-descr b/ftp/proftpd-devel/pkg-descr deleted file mode 100644 index 4b1860f1cddc..000000000000 --- a/ftp/proftpd-devel/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -ProFTPD is a highly configurable ftp daemon for unix -and unix-like operating systems. ProFTPD is designed -to be somewhat of a "drop-in" replacement for wu-ftpd -with a configuration format like Apache. - -Full online documentation is available at -http://www.proftpd.org/, including a server -configuration directive reference manual. - -- Stephane Legrand -stephane@lituus.fr - -WWW: http://www.proftpd.org/ diff --git a/ftp/proftpd-devel/pkg-message b/ftp/proftpd-devel/pkg-message deleted file mode 100644 index c9cfcdbe940b..000000000000 --- a/ftp/proftpd-devel/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -### -Make sure you have the following lines in your PAM configuration file -so that ProFTPd's PAM module can authenticate users correctly. - -ftpd auth required pam_unix.so try_first_pass -ftpd account required pam_unix.so try_first_pass -ftpd session required pam_permit.so -### diff --git a/ftp/proftpd-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist deleted file mode 100644 index 0fcaf3e517a4..000000000000 --- a/ftp/proftpd-devel/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -@unexec if cmp -s %D/etc/proftpd.conf %D/etc/proftpd.conf.default; then rm -f %D/etc/proftpd.conf; fi -bin/ftpcount -bin/ftpwho -etc/proftpd.conf.default -etc/rc.d/proftpd.sh.sample -@exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi -libexec/proftpd -sbin/ftpshut -share/doc/proftpd/Configuration.html -share/doc/proftpd/faq.html -@dirrm share/doc/proftpd |