fix svn patch breakage in glib
[openwrt/svn-archive/archive.git] / obsolete-buildroot / sources / openwrt / patches / vsftpd / vsftpd-1.2.2-openwrt.patch
1 diff -ruN vsftpd-1.2.2-old/Makefile vsftpd-1.2.2-new/Makefile
2 --- vsftpd-1.2.2-old/Makefile 2003-09-15 13:41:58.000000000 +0200
3 +++ vsftpd-1.2.2-new/Makefile 2004-05-25 00:25:37.000000000 +0200
4 @@ -5,8 +5,8 @@
5 #CFLAGS = -g
6 CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
7
8 -LIBS = `./vsf_findlibs.sh`
9 -LINK = -Wl,-s
10 +LIBS = -lcrypt -lnsl
11 +LINK =
12
13 OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
14 tunables.o ftpdataio.o secbuf.o ls.o \
15 diff -ruN vsftpd-1.2.2-old/tunables.c vsftpd-1.2.2-new/tunables.c
16 --- vsftpd-1.2.2-old/tunables.c 2004-04-20 02:25:05.000000000 +0200
17 +++ vsftpd-1.2.2-new/tunables.c 2004-05-25 00:07:19.000000000 +0200
18 @@ -78,7 +78,7 @@
19 unsigned int tunable_max_per_ip = 0;
20 unsigned int tunable_trans_chunk_size = 0;
21
22 -const char* tunable_secure_chroot_dir = "/usr/share/empty";
23 +const char* tunable_secure_chroot_dir = "/var/run/vsftpd";
24 const char* tunable_ftp_username = "ftp";
25 const char* tunable_chown_username = "root";
26 const char* tunable_xferlog_file = "/var/log/xferlog";