diff options
Diffstat (limited to 'ftp/proftpd-devel')
-rw-r--r-- | ftp/proftpd-devel/Makefile | 75 | ||||
-rw-r--r-- | ftp/proftpd-devel/distinfo | 1 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-aa | 70 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-ae | 181 | ||||
-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/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 | 7 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-plist | 7 |
11 files changed, 0 insertions, 399 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile deleted file mode 100644 index 3ed74182fd80..000000000000 --- a/ftp/proftpd-devel/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# New ports collection makefile for: proftpd -# Date created: 26 January 1998 -# Whom: Stephane Legrand -# -# $FreeBSD$ -# - -PORTNAME= proftpd -PORTVERSION= 1.2.0p10 -CATEGORIES= ftp -MASTER_SITES= ftp://ftp.tos.net/pub/proftpd/ \ - ftp://ftp.stikman.com/pub/proftpd/ \ - ftp://ftp.linux.co.uk/pub/packages/proftpd/ \ - ftp://ftp.drenik.net/linux/ftp/proftpd/ -DISTNAME= ${PORTNAME}-1.2.0pre10 - -MAINTAINER= mharo@FreeBSD.org - -MAN1= ftpcount.1 ftpwho.1 -MAN5= xferlog.5 -MAN8= proftpd.8 ftpshut.8 - -USE_GMAKE= yes -USE_AUTOCONF= yes - -CONFIGURE_ARGS= --localstatedir=/var/run \ - --disable-sendfile - -MODULES?= mod_ratio:mod_readme - -.if !empty(MODULES) -CONFIGURE_ARGS+= --with-modules=${MODULES} -.endif - -pre-configure: - @${ECHO_MSG} "==> Configuring with ${MODULES}" - -post-configure: - @${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 - - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo deleted file mode 100644 index 007ef35438e6..000000000000 --- a/ftp/proftpd-devel/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (proftpd-1.2.0pre10.tar.gz) = 5f2cc3b052d5eab230ff822cfc08d475 diff --git a/ftp/proftpd-devel/files/patch-aa b/ftp/proftpd-devel/files/patch-aa deleted file mode 100644 index d9342969ff2c..000000000000 --- a/ftp/proftpd-devel/files/patch-aa +++ /dev/null @@ -1,70 +0,0 @@ ---- sample-configurations/basic.conf.orig Sun Mar 1 21:51:51 1998 -+++ sample-configurations/basic.conf Wed Jul 1 19:04:28 1998 -@@ -1,3 +1,8 @@ -+# -+# 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 +35,38 @@ - 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> - --</Anonymous> -+######################################################################### -+# # -+# 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> diff --git a/ftp/proftpd-devel/files/patch-ae b/ftp/proftpd-devel/files/patch-ae deleted file mode 100644 index 5fac82747d06..000000000000 --- a/ftp/proftpd-devel/files/patch-ae +++ /dev/null @@ -1,181 +0,0 @@ ---- modules/mod_auth.c.orig Mon Jan 3 13:28:39 2000 -+++ modules/mod_auth.c Thu Jan 27 23:17:19 2000 -@@ -70,7 +70,7 @@ - "closing control connection.", - TimeoutLogin); - -- main_exit((void*) LOG_NOTICE, "FTP login timed out, disconnected.", -+ main_exit((void*) LOG_INFO, "FTP login timed out, disconnected.", - (void*) 0, NULL); - - /* should never be reached */ -@@ -559,7 +559,7 @@ - c = _auth_resolve_user(p,&user,&ourname,&anonname); - - if(!user) { -- log_pri(LOG_NOTICE, "USER %s (Login failed): User not a UserAlias.", -+ log_pri(LOG_INFO, "USER %s (Login failed): User not a UserAlias.", - origuser); - goto auth_failure; - } -@@ -568,7 +568,7 @@ - aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i); - - if((pw = auth_getpwnam(p,user)) == NULL) { -- log_pri(LOG_NOTICE, "USER %s (Login failed): Can't find user.", user); -+ log_pri(LOG_INFO, "USER %s (Login failed): Can't find user.", user); - goto auth_failure; - } - -@@ -629,14 +629,14 @@ - } - - if(!login_check_limits(c->subset,FALSE,TRUE,&i) || (!aclp && !i) ){ -- log_auth(LOG_NOTICE, "ANON %s (Login failed): Limit access denies " -+ log_auth(LOG_INFO, "ANON %s (Login failed): Limit access denies " - "login.", origuser); - goto auth_failure; - } - } - - if(!c && !aclp) { -- log_auth(LOG_NOTICE, "USER %s (Login failed): Limit access denies login.", -+ log_auth(LOG_INFO, "USER %s (Login failed): Limit access denies login.", - origuser); - goto auth_failure; - } -@@ -650,7 +650,7 @@ - /* if 'AuthUsingAlias' set and logging in under an alias then auth using that alias */ - if (origuser && strcasecmp(user,origuser) && get_param_int(c->subset,"AuthUsingAlias",FALSE) == 1) { - user_name = origuser; -- log_auth(LOG_NOTICE,"ANON AUTH: User %s, Auth Alias %s",user,user_name); -+ log_auth(LOG_INFO,"ANON AUTH: User %s, Auth Alias %s",user,user_name); - } - - if(c) -@@ -677,22 +677,22 @@ - - switch(authcode) { - case AUTH_NOPWD: -- log_auth(LOG_NOTICE, "USER %s (Login failed): No such user found.", -+ log_auth(LOG_INFO, "USER %s (Login failed): No such user found.", - user); - goto auth_failure; - - case AUTH_BADPWD: -- log_auth(LOG_NOTICE, "USER %s (Login failed): Incorrect password.", -+ log_auth(LOG_INFO, "USER %s (Login failed): Incorrect password.", - origuser); - goto auth_failure; - - case AUTH_AGEPWD: -- log_auth(LOG_NOTICE, "USER %s (Login failed): Password expired.", -+ log_auth(LOG_INFO, "USER %s (Login failed): Password expired.", - user); - goto auth_failure; - - case AUTH_DISABLEDPWD: -- log_auth(LOG_NOTICE, "USER %s (Login failed): Account disabled.", -+ log_auth(LOG_INFO, "USER %s (Login failed): Account disabled.", - user); - goto auth_failure; - -@@ -715,12 +715,12 @@ - auth_setgrent(p); - - if(!_auth_check_shell((c ? c->subset : main_server->conf),pw->pw_shell)) { -- log_auth(LOG_NOTICE, "USER %s (Login failed): Invalid shell.", user); -+ log_auth(LOG_INFO, "USER %s (Login failed): Invalid shell.", user); - goto auth_failure; - } - - if(!_auth_check_ftpusers((c ? c->subset : main_server->conf),pw->pw_name)) { -- log_auth(LOG_NOTICE, "USER %s (Login failed): User in %s.", -+ log_auth(LOG_INFO, "USER %s (Login failed): User in %s.", - user, FTPUSERS_PATH); - goto auth_failure; - } -@@ -792,7 +792,7 @@ - - if(!login_check_limits((c ? c->subset : main_server->conf),FALSE,TRUE,&i)) - { -- log_auth(LOG_NOTICE, "%s: Limit access denies login (DenyGroup).", -+ log_auth(LOG_INFO, "%s: Limit access denies login (DenyGroup).", - origuser); - goto auth_failure; - } -@@ -807,9 +807,9 @@ - resolve_anonymous_dirs(c->subset); - - if(c) -- log_auth(LOG_NOTICE, "ANON %s: Login successful.", origuser); -+ log_auth(LOG_INFO, "ANON %s: Login successful.", origuser); - else -- log_auth(LOG_NOTICE,"USER %s: Login successful.", origuser); -+ log_auth(LOG_INFO,"USER %s: Login successful.", origuser); - - /* Write the login to wtmp. This must be done here because we won't - * have access after we give up root. This can result in falsified -@@ -1073,7 +1073,7 @@ - - if(failnopwprompt) { - if(!user) { -- log_pri(LOG_NOTICE, "USER %s (Login failed): Not a UserAlias.", -+ log_pri(LOG_INFO, "USER %s (Login failed): Not a UserAlias.", - origuser); - send_response(R_530,"Login incorrect."); - end_login(0); -@@ -1090,7 +1090,7 @@ - - if(c) { - if(!login_check_limits(c->subset,FALSE,TRUE,&i) || (!aclp && !i) ) { -- log_auth(LOG_NOTICE, "ANON %s: Limit access denies login.", -+ log_auth(LOG_INFO, "ANON %s: Limit access denies login.", - origuser); - send_response(R_530,"Login incorrect."); - end_login(0); -@@ -1098,7 +1098,7 @@ - } - - if(!c && !aclp) { -- log_auth(LOG_NOTICE, "USER %s: Limit access denies login.", origuser); -+ log_auth(LOG_INFO, "USER %s: Limit access denies login.", origuser); - send_response(R_530,"Login incorrect."); - end_login(0); - } -@@ -1169,7 +1169,7 @@ - "Too many users in your class, " - "please try again later."); - -- log_auth(LOG_NOTICE, "Connection refused (max clients for class %s).", -+ log_auth(LOG_INFO, "Connection refused (max clients for class %s).", - session.class->name); - - end_login(0); -@@ -1202,7 +1202,7 @@ - send_response(R_530,"%s", - sreplace(cmd->tmp_pool,maxstr,"%m",maxn,NULL)); - -- log_auth(LOG_NOTICE, "Connection refused (max clients per host %d).", -+ log_auth(LOG_INFO, "Connection refused (max clients per host %d).", - max); - - end_login(0); -@@ -1226,7 +1226,7 @@ - if(cur >= max) { - send_response(R_530, "%s", - sreplace(cmd->tmp_pool, maxstr, "%m", maxn, NULL)); -- log_auth(LOG_NOTICE, "Connection refused (max clients %d).", max); -+ log_auth(LOG_INFO, "Connection refused (max clients %d).", max); - end_login(0); - } - -@@ -1301,7 +1301,7 @@ - - if(++auth_tries >= max) { - send_response(R_530,"Login incorrect"); -- log_auth(LOG_NOTICE, "Maximum login attempts exceeded."); -+ log_auth(LOG_INFO, "Maximum login attempts exceeded."); - end_login(0); - } - diff --git a/ftp/proftpd-devel/files/patch-af b/ftp/proftpd-devel/files/patch-af deleted file mode 100644 index 210e630b9553..000000000000 --- a/ftp/proftpd-devel/files/patch-af +++ /dev/null @@ -1,15 +0,0 @@ ---- src/proftpd.8.orig Sun Feb 21 16:26:21 1999 -+++ src/proftpd.8 Sun Feb 21 16:28:31 1999 -@@ -21,6 +21,12 @@ - may be invoked by the Internet "super-server" inetd(8) each time a - connection to the FTP service is made, or alternatively it can be run as a - stand-alone daemon. -+.br -+.PP -+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. - - When - .B proftpd 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/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 23a55fa52666..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 bc4d1ee48ad5..000000000000 --- a/ftp/proftpd-devel/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ -### -As of proftpd 1.2.0p5 and later, you need to edit /etc/pam.conf to add -support for ftp. To do so, add the following two lines to this file: - -ftp auth required pam_unix.so try_first_pass -ftp account required pam_unix.so try_first_pass -### diff --git a/ftp/proftpd-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist deleted file mode 100644 index 37cffafd954a..000000000000 --- a/ftp/proftpd-devel/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -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 |