diff options
author | vanilla <vanilla@FreeBSD.org> | 1998-02-14 01:39:02 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1998-02-14 01:39:02 +0800 |
commit | 04b91852a1b77592c4c6cae7624e5c156807d680 (patch) | |
tree | e2589ee9ecd20c5bdb711dd6680f84375ba0fb2d /ftp/proftpd | |
parent | 2904f672b4e9b7156efca30ff5b305faa51a788a (diff) | |
download | freebsd-ports-gnome-04b91852a1b77592c4c6cae7624e5c156807d680.tar.gz freebsd-ports-gnome-04b91852a1b77592c4c6cae7624e5c156807d680.tar.zst freebsd-ports-gnome-04b91852a1b77592c4c6cae7624e5c156807d680.zip |
proftpd is a highly configurable ftp daemon.
PR: ports/5588
Submitted by: Stephane Legrand <stephane@lituus.fr>
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 48 | ||||
-rw-r--r-- | ftp/proftpd/distinfo | 1 | ||||
-rw-r--r-- | ftp/proftpd/files/patch-aa | 63 | ||||
-rw-r--r-- | ftp/proftpd/pkg-comment | 1 | ||||
-rw-r--r-- | ftp/proftpd/pkg-descr | 10 | ||||
-rw-r--r-- | ftp/proftpd/pkg-plist | 9 |
6 files changed, 132 insertions, 0 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile new file mode 100644 index 000000000000..3275ea349978 --- /dev/null +++ b/ftp/proftpd/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: proftpd +# Version required: 1.0.0 +# Date created: 26 January 1998 +# Whom: Stephane Legrand +# +# $Id$ +# + +DISTNAME= proftpd-1.0.0 +CATEGORIES= net +MASTER_SITES= ftp://ftp.proftpd.org/distrib/ + +MAINTAINER= stephane@lituus.fr + +MAN1= ftpwho.1 ftpcount.1 +MAN8= proftpd.8 ftpshut.8 + +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS}" + +# +# Ugly but "configure --prefix=..." doesn't seem work :( +# So, do a "sed" to set prefix to $PREFIX +# +# Ugly again, do a "sed" to set the config dir to ${PREFIX}/etc +# + +pre-build: + ${SED} -e "s:^prefix=\/usr:prefix=${PREFIX}:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp + ${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile + + ${SED} -e "s:^etcdir=\/etc:etcdir=${PREFIX}\/etc:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp + ${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile + + ${SED} -e "s:^libexecdir=\/libexec:libexecdir=${PREFIX}\/libexec:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp + ${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile + + ${SED} -e 's:\/etc\/proftpd\.conf:${PREFIX}\/etc\/proftpd.conf:' < ${WRKSRC}/config.h > ${WRKSRC}/config.h.tmp + ${MV} ${WRKSRC}/config.h.tmp ${WRKSRC}/config.h + +post-install: + strip ${PREFIX}/bin/ftpcount + strip ${PREFIX}/bin/ftpwho + strip ${PREFIX}/libexec/proftpd + strip ${PREFIX}/sbin/ftpshut + +.include <bsd.port.mk> diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo new file mode 100644 index 000000000000..562646a8ced7 --- /dev/null +++ b/ftp/proftpd/distinfo @@ -0,0 +1 @@ +MD5 (proftpd-1.0.0.tar.gz) = 736719658018ef370aa88d3e52ef021d diff --git a/ftp/proftpd/files/patch-aa b/ftp/proftpd/files/patch-aa new file mode 100644 index 000000000000..184a3e6225f3 --- /dev/null +++ b/ftp/proftpd/files/patch-aa @@ -0,0 +1,63 @@ +--- sample-configurations/basic.conf.orig Tue Nov 18 02:23:12 1997 ++++ sample-configurations/basic.conf Mon Jan 26 22:45:53 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 +@@ -23,24 +28,31 @@ + 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 ++ ++ ### 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/pkg-comment b/ftp/proftpd/pkg-comment new file mode 100644 index 000000000000..7b0191fcbd3c --- /dev/null +++ b/ftp/proftpd/pkg-comment @@ -0,0 +1 @@ +Highly configurable ftp daemon. diff --git a/ftp/proftpd/pkg-descr b/ftp/proftpd/pkg-descr new file mode 100644 index 000000000000..d4f6059a85d8 --- /dev/null +++ b/ftp/proftpd/pkg-descr @@ -0,0 +1,10 @@ +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. + +Full online documentation is available at +http://www.proftpd.org/, including a server +configuration directive reference manual. + +- Stephane Legrand +stephane@lituus.fr diff --git a/ftp/proftpd/pkg-plist b/ftp/proftpd/pkg-plist new file mode 100644 index 000000000000..c4d3671936b1 --- /dev/null +++ b/ftp/proftpd/pkg-plist @@ -0,0 +1,9 @@ +bin/ftpcount +bin/ftpwho +etc/proftpd.conf +libexec/proftpd +sbin/ftpshut +man/man8/proftpd.8.gz +man/man8/ftpshut.8.gz +man/man1/ftpwho.1.gz +man/man1/ftpcount.1.gz |