diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-27 01:22:08 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-27 01:22:08 +0000 |
commit | 68b12f212b82b4d680ffef260ff3f419ae2fdc1b (patch) | |
tree | 1c025bce548db91b30e78ce2578ff00d48035444 /obsolete-buildroot/sources/openwrt/patches | |
parent | f0c8400658ac5b039bb48dbb74b02f75d52b9723 (diff) |
nico's buildroot-20040827-vsftpd.patch.txt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/patches')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/patches/vsftpd/vsftpd-1.2.2-openwrt.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/patches/vsftpd/vsftpd-1.2.2-openwrt.patch b/obsolete-buildroot/sources/openwrt/patches/vsftpd/vsftpd-1.2.2-openwrt.patch new file mode 100644 index 0000000000..b458f41477 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/patches/vsftpd/vsftpd-1.2.2-openwrt.patch @@ -0,0 +1,26 @@ +diff -ruN vsftpd-1.2.2-old/Makefile vsftpd-1.2.2-new/Makefile +--- vsftpd-1.2.2-old/Makefile 2003-09-15 13:41:58.000000000 +0200 ++++ vsftpd-1.2.2-new/Makefile 2004-05-25 00:25:37.000000000 +0200 +@@ -5,8 +5,8 @@ + #CFLAGS = -g + CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion + +-LIBS = `./vsf_findlibs.sh` +-LINK = -Wl,-s ++LIBS = -lcrypt -lnsl ++LINK = + + OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ + tunables.o ftpdataio.o secbuf.o ls.o \ +diff -ruN vsftpd-1.2.2-old/tunables.c vsftpd-1.2.2-new/tunables.c +--- vsftpd-1.2.2-old/tunables.c 2004-04-20 02:25:05.000000000 +0200 ++++ vsftpd-1.2.2-new/tunables.c 2004-05-25 00:07:19.000000000 +0200 +@@ -78,7 +78,7 @@ + unsigned int tunable_max_per_ip = 0; + unsigned int tunable_trans_chunk_size = 0; + +-const char* tunable_secure_chroot_dir = "/usr/share/empty"; ++const char* tunable_secure_chroot_dir = "/var/run/vsftpd"; + const char* tunable_ftp_username = "ftp"; + const char* tunable_chown_username = "root"; + const char* tunable_xferlog_file = "/var/log/xferlog"; |