diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-04-19 22:14:33 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-04-19 22:14:33 +0800 |
commit | 51382a54094aaa0981c3f42b5c88bc409b85519c (patch) | |
tree | ab452d5c53d139aac3c4c017e3a86e662becf20f /ftp/ftp4all/files/patch-aa | |
parent | 0573ea1c1cbe4b504b2d6b7792f9d2737512e74c (diff) | |
download | freebsd-ports-graphics-51382a54094aaa0981c3f42b5c88bc409b85519c.tar.gz freebsd-ports-graphics-51382a54094aaa0981c3f42b5c88bc409b85519c.tar.zst freebsd-ports-graphics-51382a54094aaa0981c3f42b5c88bc409b85519c.zip |
New port: ftp4all
FTP4ALL is a free, open source FTP server implementation for the UNIX platform.
FTP4ALL was designed to require no superuser privileges.
PR: 50447
Submitted by: Alex Semenyaka
Diffstat (limited to 'ftp/ftp4all/files/patch-aa')
-rw-r--r-- | ftp/ftp4all/files/patch-aa | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/ftp/ftp4all/files/patch-aa b/ftp/ftp4all/files/patch-aa new file mode 100644 index 00000000000..72df0bf5ebe --- /dev/null +++ b/ftp/ftp4all/files/patch-aa @@ -0,0 +1,94 @@ +diff -u -r ../ftpd-3.012.old/cfg/configure ./cfg/configure +--- ../ftpd-3.012.old/cfg/configure Sun Feb 6 18:34:02 2000 ++++ ./cfg/configure Sun Mar 30 10:47:46 2003 +@@ -226,20 +226,27 @@ + + cd .. + +-echo $ac_n "| want DES encryption (y/n) ? $ac_c" +-read DES +-if [ $DES = y ]; then ++if [ X$WANT_DES = X ]; then ++ echo $ac_n "| want DES encryption (y/n) ? $ac_c" ++ read DES ++ if [ $DES = y ]; then ++ DEF=$DEF" -DDES_ENCRYPTION" ++ DES="-I../../lib" ++ LIB=${LIB}" -L../../lib -ldes " ++ else ++ DES="" ++ fi ++elif [ $WANT_DES = y ]; then + DEF=$DEF" -DDES_ENCRYPTION" + DES="-I../../lib" + LIB=${LIB}" -L../../lib -ldes " ++ echo "| will use DES" + else ++ echo "| will NOT use DES" + DES="" + fi + + +- +- +- + echo $ac_n "| creating Makefile ... $ac_c" + + cat << "EOF" >Makefile +@@ -618,7 +625,7 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#define MAXFILENAMELENGTH 32 ++#define MAXFILENAMELENGTH FILENAME_MAX + + #ifndef SA_RESTART + #define SA_RESTART 0 +diff -u -r ../ftpd-3.012.old/src/common/commondef.h ./src/common/commondef.h +--- ../ftpd-3.012.old/src/common/commondef.h Sun Mar 5 19:40:15 2000 ++++ ./src/common/commondef.h Sun Mar 30 11:02:03 2003 +@@ -100,30 +100,30 @@ + #define LG_CHMOD 0x0400 + #define LG_SITE 0x0800 + +-#define DFL_REGFILE "etc/ftpd.reg" +-#define DFL_GROUPFILE "etc/groups" +-#define DFL_USERFILE "etc/users" +-#define DFL_LIMITFILE "etc/limits.cfg" +-#define DFL_LOGFILE "log/ftpd.log" +-#define DFL_ERRLOGFILE "log/ftpd.err" +-#define DFL_FTPSERRLOGFILE "log/ftps.err" +-#define DFL_MSGDIR "msg/" +-#define DFL_MSGGDIR "msg/grp/" +-#define DFL_MSGUDIR "msg/usr/" ++#define DFL_REGFILE "etc/ftp4all/ftpd.reg" ++#define DFL_GROUPFILE "etc/ftp4all/groups" ++#define DFL_USERFILE "etc/ftp4all/users" ++#define DFL_LIMITFILE "etc/ftp4all/limits.cfg" ++#define DFL_LOGFILE "/var/log/ftp4all/ftpd.log" ++#define DFL_ERRLOGFILE "/var/log/ftp4all/ftpd.err" ++#define DFL_FTPSERRLOGFILE "/var/log/ftp4all/ftps.err" ++#define DFL_MSGDIR "etc/ftp4all/msg/" ++#define DFL_MSGGDIR "etc/ftp4all/msg/grp/" ++#define DFL_MSGUDIR "etc/ftp4all/msg/usr/" + #define DFL_BINDIR "bin/" + #define DFL_BINGDIR "bin/grp/" + #define DFL_BINUDIR "bin/usr/" + #define DFL_SBINDIR "sbin/" + #define DFL_SERVERPRG "sbin/ftps" + #define DFL_ADMINPRG "sbin/ftpa" +-#define DFL_STATDIR "log/" ++#define DFL_STATDIR "/var/run/" + #define DFL_CFGDIR "etc/" +-#define DFL_PIDFILE "log/ftpd.pid" +-#define DFL_STATFILE "log/ftpd.stats" ++#define DFL_PIDFILE "/var/run/ftpd.pid" ++#define DFL_STATFILE "/var/run/ftpd.stats" + + /* recent addition */ + +-#define DFL_GSTATFILE "etc/ftpd.gstats" ++#define DFL_GSTATFILE "/var/run/ftpd.gstats" + + /******************/ + |