From c832199dd93c0d453ab819c6d726ba2c1b029013 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 13 Feb 1998 17:39:02 +0000 Subject: proftpd is a highly configurable ftp daemon. PR: ports/5588 Submitted by: Stephane Legrand --- ftp/proftpd-devel/Makefile | 48 ++++++++++++++++++++++++++++++ ftp/proftpd-devel/distinfo | 1 + ftp/proftpd-devel/files/patch-aa | 63 ++++++++++++++++++++++++++++++++++++++++ ftp/proftpd-devel/pkg-comment | 1 + ftp/proftpd-devel/pkg-descr | 10 +++++++ ftp/proftpd-devel/pkg-plist | 9 ++++++ 6 files changed, 132 insertions(+) create mode 100644 ftp/proftpd-devel/Makefile create mode 100644 ftp/proftpd-devel/distinfo create mode 100644 ftp/proftpd-devel/files/patch-aa create mode 100644 ftp/proftpd-devel/pkg-comment create mode 100644 ftp/proftpd-devel/pkg-descr create mode 100644 ftp/proftpd-devel/pkg-plist (limited to 'ftp/proftpd-devel') diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile new file mode 100644 index 000000000000..3275ea349978 --- /dev/null +++ b/ftp/proftpd-devel/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 diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo new file mode 100644 index 000000000000..562646a8ced7 --- /dev/null +++ b/ftp/proftpd-devel/distinfo @@ -0,0 +1 @@ +MD5 (proftpd-1.0.0.tar.gz) = 736719658018ef370aa88d3e52ef021d diff --git a/ftp/proftpd-devel/files/patch-aa b/ftp/proftpd-devel/files/patch-aa new file mode 100644 index 000000000000..184a3e6225f3 --- /dev/null +++ b/ftp/proftpd-devel/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 + + +-# A basic anonymous configuration, no upload directories. +- +- 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 +- +- DenyAll +- + +- ++######################################################################### ++# # ++# Uncomment lines with only one # to allow basic anonymous access # ++# # ++######################################################################### ++ ++### A basic anonymous configuration, no upload directories. ++# ++# 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 ++ # ++ # DenyAll ++ # ++ ++# diff --git a/ftp/proftpd-devel/pkg-comment b/ftp/proftpd-devel/pkg-comment new file mode 100644 index 000000000000..7b0191fcbd3c --- /dev/null +++ b/ftp/proftpd-devel/pkg-comment @@ -0,0 +1 @@ +Highly configurable ftp daemon. diff --git a/ftp/proftpd-devel/pkg-descr b/ftp/proftpd-devel/pkg-descr new file mode 100644 index 000000000000..d4f6059a85d8 --- /dev/null +++ b/ftp/proftpd-devel/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-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist new file mode 100644 index 000000000000..c4d3671936b1 --- /dev/null +++ b/ftp/proftpd-devel/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 -- cgit v1.2.3