diff options
author | martti <martti> | 2002-08-22 11:24:06 +0000 |
---|---|---|
committer | martti <martti> | 2002-08-22 11:24:06 +0000 |
commit | 62f3b57f6435cb6673383bcfde568d0b9804d9a4 (patch) | |
tree | 814230f18f31e6648971325554e5cdc200cde1c2 /net/vsftpd/patches | |
parent | dc0d91e2a4365f4ac26b1126d09e487e6aff4178 (diff) | |
download | pkgsrc-62f3b57f6435cb6673383bcfde568d0b9804d9a4.tar.gz |
Updated vsftpd to 1.0.1
- Fix potential leak in PAM handling code.
- Fix build in the non-PAM case
- Include filename and size in bytes in the "here comes the data" 150 message.
- Change link flags from "-s" to "-Wl,-s"
- Tidy up vsf_findlibs.sh
- Work with NFS mounted home dirs and root_squash
- Add FAQ.
- Improve "make install".
- Fix Solaris build (nanosleep is in a separate library, typical).
- Fix REST + STOR combination
- Make our 150 response code match wu-ftpd - allows broken "ange-ftp" of
emacs to do a percentage complete indicator.
- Add anon_root and local_root
Diffstat (limited to 'net/vsftpd/patches')
-rw-r--r-- | net/vsftpd/patches/patch-aa | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/net/vsftpd/patches/patch-aa b/net/vsftpd/patches/patch-aa index de8df4472ad..0db2c7f14fe 100644 --- a/net/vsftpd/patches/patch-aa +++ b/net/vsftpd/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/06/19 11:32:02 zuntum Exp $ +$NetBSD: patch-aa,v 1.2 2002/08/22 11:24:07 martti Exp $ ---- Makefile.orig Wed May 16 23:48:51 2001 -+++ Makefile +--- Makefile.orig Mon Oct 8 23:35:27 2001 ++++ Makefile Mon Jul 29 10:12:19 2002 @@ -1,8 +1,7 @@ # Makefile for systems with GNU tools -CC = gcc @@ -11,12 +11,24 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/06/19 11:32:02 zuntum Exp $ +CFLAGS += -Wall -W -Wshadow #-pedantic -Werror -Wconversion LIBS = `./vsf_findlibs.sh` - LINK = -s -@@ -21,9 +20,7 @@ + LINK = -Wl,-s +@@ -21,21 +20,7 @@ $(CC) -o vsftpd $(OBJS) $(LINK) $(LIBS) install: -- $(INSTALL) -m 755 vsftpd /usr/sbin/vsftpd +- if [ -x /usr/local/sbin ]; then \ +- $(INSTALL) -m 755 vsftpd /usr/local/sbin/vsftpd; \ +- else \ +- $(INSTALL) -m 755 vsftpd /usr/sbin/vsftpd; fi +- if [ -x /usr/local/man ]; then \ +- $(INSTALL) -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \ +- $(INSTALL) -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \ +- elif [ -x /usr/share/man ]; then \ +- $(INSTALL) -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \ +- $(INSTALL) -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \ +- else \ +- $(INSTALL) -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \ +- $(INSTALL) -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi - if [ -x /etc/xinetd.d ]; then \ - $(INSTALL) -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi + $(BSD_INSTALL_PROGRAM) vsftpd $(PREFIX)/libexec/vsftpd |