You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(8) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(3) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
|
Dec
(1) |
2005 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(5) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
|
2007 |
Jan
(3) |
Feb
(48) |
Mar
(48) |
Apr
(98) |
May
(60) |
Jun
(54) |
Jul
(20) |
Aug
(5) |
Sep
(1) |
Oct
(13) |
Nov
(1) |
Dec
(17) |
2008 |
Jan
(1) |
Feb
(4) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(16) |
May
(35) |
Jun
(19) |
Jul
(37) |
Aug
(8) |
Sep
(2) |
Oct
|
Nov
|
Dec
(7) |
2010 |
Jan
(8) |
Feb
(6) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Roman B. <bog...@in...> - 2003-10-22 17:01:26
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 pollux wrote: > However, i'm asking on how to pass arguments to the ./configure script > (like --enable-ssl); perhaps on this point we need to maintain a > separate port (wzdftpd-ssl), or I can also adapt the ./configure to > auto-detect ssl. > For all of this cases we'll need to adapt the dependancy list. No, IMHO, we need not to maintain a separate port. We can use something like this: Makefile: - ---cut 8<--- PORTNAME= wzdftpd PORTVERSION= 0.1rc5 CATEGORIES= ftp MASTER_SITES= http://www.wzdftpd.net/download/ MAINTAINER= bog...@in... COMMENT= wzdftpd is a modular multiplatform ftp server configurable online using SITE commands. USE_GMAKE= yes GNU_CONFIGURE= yes .if defined(WITH_SSL) USE_OPENSSL= yes CONFIGURE_ARGS+= --enable-ssl .endif .if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif .include <bsd.port.mk> - ---cut 8<--- Now if you want to enable ssl support you need to specefy "-DWITH_SSL" flag when running "make". And if you want to enable IPv6 support, you need to run "make" with "-DWITH_IPV6" option. > Please tell me when you think the port is ok, i'll add it on the > sourceforge download page. I think we needn't to add this on sf page becouse a FreeBSD user can just "cd /usr/ports/ftp/wzdftpd && make && make install" after appairing this port in a ports collection. Btw, this Makefile designed to run ./configure without running ./autogen.sh before, so it will not work with wzdftpd- 01rc5.tar.gz downloaded from http://www.wzdftpd.net/download/ - -Roman Bogorodskiy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQEVAwUBP5avZCpMDQ8aPhy0AQKNlgf9EpR69LkYe01NGId95T4dNGKyQJ1a3y4B 7/yVNnRqUlpVSRzZcyMD/SpdB1Fa6rh0D3IRECDj00iS/a9+szpyD3QPxSh9jMS3 a7H8T/J0IyH8MiQHToM89ZjpDlGX0LUkW6NBLh51sVq2emclvx4KlR6voZwFQIRC 0+Sr8H6MmdFZGOAW49kDayhRTej7pOrzqXDz22SFuS2s/Q6ItJ3ghXGgRMRUBVH2 aATMR0UXq1vMDlhiHMBvhk80oE4zzu+4+VuDYziUeS8sl3YBfAFNMraBSKhUKQ85 Vdt8jw+ARh9E1938F523SJ9trr6Nie+kwfeR6wIhxiurQjGHXeXRMQ== =kU4X -----END PGP SIGNATURE----- |
From: pollux <po...@wz...> - 2003-10-22 10:13:12
|
On Wed, Oct 22, 2003 at 10:36:45AM +0400, Roman Bogorodskiy wrote: > > wzdftpd-devel@ > > I've made an alpha version of wzdftpd (0.1rc5) FreeBSD port. To test it > on your FreeBSD box you need to unpack an attached archive to > /usr/ports/ftp/wzdftpd and run"make" and then "make intall". > > If you need more information on FreeBSD' ports collection, please visit > http://www.freebsd.org/ports/. > > Feel free to report me about errors, problems, etc. I'm going to > contribute this to FreeBSD ports collection on this week. > > -Roman Bogorodskiy > Hi Roman, Tested and working on FreeBSD 4.8. However, i'm asking on how to pass arguments to the ./configure script (like --enable-ssl); perhaps on this point we need to maintain a separate port (wzdftpd-ssl), or I can also adapt the ./configure to auto-detect ssl. For all of this cases we'll need to adapt the dependancy list. Please tell me when you think the port is ok, i'll add it on the sourceforge download page. Thank you for your work /P -- In /dev/null no one can here you scream ! // Pollux <po...@wz...> \\ // \\ \\ Creator of wzdftpd -- http://www.wzdftpd.net // \\ // |
From: Roman B. <bog...@in...> - 2003-10-22 06:43:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 wzdftpd-devel@ I've made an alpha version of wzdftpd (0.1rc5) FreeBSD port. To test it on your FreeBSD box you need to unpack an attached archive to /usr/ports/ftp/wzdftpd and run"make" and then "make intall". If you need more information on FreeBSD' ports collection, please visit http://www.freebsd.org/ports/. Feel free to report me about errors, problems, etc. I'm going to contribute this to FreeBSD ports collection on this week. - -Roman Bogorodskiy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQEVAwUBP5YlfSpMDQ8aPhy0AQJz8wf9FadZpDcI6XcqUzniErg4YfJmahip7HDY oWWQgiAe5UmdSUdlmjgqA/nmdCVVY5FUNl9+Qfu407Qx5nZLLlPE6+nR8DRqkBtM CGInQyexL8VkMITjN6E+nMDiRqAKpW+c/CBRYfPuoMbvqyUwOpOrPuZiTBGVZAL2 rF+222Sagoue3sN/3wDCnOFbuf1wof9RfkBpr0ZPBxWSX8K9HnWy6ix8Mcm5L5YY qAAgr0TIaoZV/ja5iX2vFG+R7u5Wm+girZhKTjmvAIw5vYPDumX3vqgH16t5APmG JBU6vK+1ntmylPAP1XWM1Nn4HVLp7ltR/zIgRkKwy+7mxeYHqr7yWQ== =gUuU -----END PGP SIGNATURE----- |
From: pollux <po...@wz...> - 2003-09-07 16:06:26
|
On Sun, Sep 07, 2003 at 04:29:33PM +0400, Roman Bogorodskiy wrote: > > wzdftpd-devel@ > > Hello. I have the following problem and i hope you'll help me to solve it. > > As you know, i'm writing authentificataion over PostgreSQL backend. > > Makefile.am: > > ---cut 8<--- > libdir = ${pkgdatadir}/backends > > INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I/usr/include/rpcsvc > > lib_LTLIBRARIES = libwzdpgauth.la > > libwzdpgauth_la_SOURCES = pgauth_main.c > libwzdpgauth_la_LDFLAGS = -no-undefined -avoid-version -module -lpq @CRYPT_FLAGS@ > ---cut 8<--- Hi Novel, In the error below, libtool is trying to explain it cannot resolve all needed dependancies of -lpq (this can be due to several possibilities: a wrong libtool version, or a missing flag to the linker) Postgresql should provide you some tools to help compilation: you should add something like: CPPFLAGS += `pg_config --includedir` and libwzdpgauth_la_LDFLAGS = ... -L`pg_config --libdir` -lpq Sometimes pgsql provides a tool called libpq3-config to help fincding other libs: # /usr/lib/postgresql/bin/libpq3-config -lssl -lcrypto -lkrb5 -lcrypt -lresolv -lnsl Hope this helps /P > > *** Warning: This library needs some functionality provided by -lpq. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have. > > *** Warning: libtool could not satisfy all declared inter-library > *** dependencies of module libwzdpgauth. Therefore, libtool will create > *** a static module, that should work as long as the dlopening > *** application is linked with the -dlopen flag. > ar cru .libs/libwzdpgauth.a pgauth_main.lo > ranlib .libs/libwzdpgauth.a > creating libwzdpgauth.la > (cd .libs && rm -f libwzdpgauth.la && ln -s ../libwzdpgauth.la libwzdpgauth.la) > gmake[3]: Leaving directory `/usr/home/novel/projects/work/wzdftpd/backends/wzd_auth_pgsql' > -- In /dev/null no one can here you scream ! // Pollux <po...@wz...> \\ // \\ \\ Creator of wzdftpd -- http://www.wzdftpd.net // \\ // |
From: Roman B. <bog...@in...> - 2003-09-07 12:30:31
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 wzdftpd-devel@ Hello. I have the following problem and i hope you'll help me to solve it. As you know, i'm writing authentificataion over PostgreSQL backend. Makefile.am: - ---cut 8<--- libdir = ${pkgdatadir}/backends INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I/usr/include/rpcsvc lib_LTLIBRARIES = libwzdpgauth.la libwzdpgauth_la_SOURCES = pgauth_main.c libwzdpgauth_la_LDFLAGS = -no-undefined -avoid-version -module -lpq @CRYPT_FLAGS@ - ---cut 8<--- And of course, I don't forget to run ./autogen.sh after any changes in Makefile.am.... gmake shows folowing about my backend: - ---cut 8<--- gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/include/rpcsvc -O3 -pipe -MT pgauth_main.lo -MD -MP -MF .deps/pgauth_main.Tpo -c pgauth_main.c -fPIC -DPIC -o .libs/pgauth_main.lo pgauth_main.c: In function `wzd_validate_login': pgauth_main.c:65: warning: assignment makes integer from pointer without a cast pgauth_main.c: In function `wzd_validate_pass': pgauth_main.c:96: warning: assignment makes integer from pointer without a cast pgauth_main.c:99: warning: assignment makes integer from pointer without a cast pgauth_main.c:101: warning: assignment makes pointer from integer without a cast pgauth_main.c:102: warning: passing arg 2 of `strcmp' makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/include/rpcsvc -O3 -pipe -MT pgauth_main.lo -MD -MP -MF .deps/pgauth_main.Tpo -c pgauth_main.c -o pgauth_main.o >/dev/null 2>&1 mv -f .libs/pgauth_main.lo pgauth_main.lo /usr/local/bin/bash ../../libtool --mode=link gcc -o libwzdpgauth.la -rpath /usr/local/share/wzdftpd/backends -no-undefined -avoid-version -module -lpq -lcrypt pgauth_main.lo rm -fr .libs/libwzdpgauth.la .libs/libwzdpgauth.* .libs/libwzdpgauth.* *** Warning: This library needs some functionality provided by -lpq. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libwzdpgauth. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. ar cru .libs/libwzdpgauth.a pgauth_main.lo ranlib .libs/libwzdpgauth.a creating libwzdpgauth.la (cd .libs && rm -f libwzdpgauth.la && ln -s ../libwzdpgauth.la libwzdpgauth.la) gmake[3]: Leaving directory `/usr/home/novel/projects/work/wzdftpd/backends/wzd_auth_pgsql' - ---cut 8<--- Ignoring this, I do "gmake install", then edit wzd.cfg to change backend and then start wzdftd: It shows such error: Could not dlopen backend '/usr/local/share/wzdftpd/backends/libwzdpgauth.so' errno: 22 error: Unknown error: 0 dlerror: /usr/local/share/wzdftpd/backends/libwzdpgauth.so: Undefined symbol "PQresultErrorMessage" server compiled without tls support - line ignored Looks like that -lpq was ignored, and it is realy so: ldd /usr/local/share/wzdftpd/backends/libwzdpgauth.so /usr/local/share/wzdftpd/backends/libwzdpgauth.so: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28149000) How can I fix this error? - -Roman Bogorodskiy [Novel] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQEVAwUBP1skrSpMDQ8aPhy0AQIyrQf/eqbxXroclLTN037aBhbYLICjs0WHlVxB PzdF1BqpsAuGlciBpYiJvN9IhYnlxS3N6Y3spKcaix+Ig7jalHbPvalfw65vABi1 9B9fTTyGFr5WLAU5war04YwA7EgEhcc4hNMAtK0vtSzdmgCvYMzetLzr2ZXR6sZp tUC9FFg39vqrXHp83hbR5CVj21xDCPFWqFwakHhXyK4ISVYFoMx66LG2+dCqZysU uvRJyNTLiLa5Mb32s68/g/Cf8OwJtGvjN0d5cKYLsiPboRPi5VVI7qNdIHcmMWoD DRGWkRSOsWWdPkOZhZrmjkRhuv2KihIIjWW3ieGjlTY56q94gwzDtQ== =Co+x -----END PGP SIGNATURE----- |
From: <ka...@ma...> - 2003-06-21 15:21:29
|
hey wzdftpd-devel, well, lot of probs here (cygwin version -release-tls-winsock) using dynamic ip 'cos of this stooopid ISP... so. part 1 : by specifing in the cfg : ip = * and (or not) dynamic_ip = +kakao.hdfkjsdfd.com i begin a fxp from one site to mine [SITE] --> [KAKAO WZDFTPD]. everything works fine. if ( another user try to connect ) : no problem [17:12:20] Connected to <<HOME WZDFTPD>> -> IP=127.0.0.1 PORT=24 [17:12:20] 220 kakao ftp server ready if ( I try to connect to kakao.hdfkjsdfd.com) : can't connect [17:12:13] Connecting to <<HOME WZDFTPD>> [17:12:14] Connection failed (Connection refused) if (I try to connect to 127.0.0.1 or local ip : CAN connect. part 2 : using site commit backend on this version (works with debug one) will crtash the ftpd, as well as site shutdown. -- Some Reasons Why Captain Kirk Is Better Than Captain Picard ----------------------------------------------------------- 11 - Kirk, almost single-@handedly, re-populated the Earth's whale population. 12 - Kirk says "Prime Directive? What Prime Directive?" 13 - Kirk knows 20th Century curses. 14 - Kirk was NEVER infiltrated by the Borg and used against the Federation. 15 - Kirk ate little coloured cubes and still remained relatively healthy. 16 - Kirk made do with obviously low performance technology. 17 - Kirk would never pretend to be a barber in order to gain a tactical advantage. 18 - Kirk never once stood up and had to straighten his shirt. 19 - When Kirk was Picard's age, he retired from Admiral and took to climbing rocks. 20 - When Picard was 37, he was only Captain of the lowly freighter Stargazer. When Kirk was 37, he was Captain of the flagship Enterprise |
From: pollux <po...@wz...> - 2003-06-12 09:36:33
|
On Wed, Jun 11, 2003 at 11:13:51PM +0400, Roman Bogorodskiy wrote: > I'm found some bug in wzdftpd-01rc4 > > novel ~ $> telnet 127.0.0.1 6969 > Trying 127.0.0.1... > Connected to localhost.novel.ru. > Escape character is '^]'. > 220 wzd server ready. > USER guest > 331 User guest okay, need password. > PASS pass > 230 User logged in, proceed. > PORT > Connection closed by foreign host. > novel ~ $> telnet 127.0.0.1 6969 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: Unable to connect to remote host > > So, we see server is down. > Jun 11 23:00:33 fbd kernel: pid 7149 (lt-wzdftpd), uid 0: exited on signal 11 (core dumped) > Hi, looks like a big segfault :) Please apply the attached patch or wait for the next cvs version. cd <wzdftpd root dir> patch -p0 < fix_port_segfault.patch You can just test the patch adding --dry-run after -p0 to see if it gives no rejects. > What about posting bugs to some bugtaq? It'll get people know about wzd, IMHO. Do you have some examples ? I'd be interested to see some. /P -- In /dev/null no one can here you scream ! // Pollux <po...@wz...> \\ // \\ \\ Creator of wzdftpd -- http://www.wzdftpd.net // \\ // |
From: Roman B. <bog...@in...> - 2003-06-11 19:14:08
|
I'm found some bug in wzdftpd-01rc4 novel ~ $> telnet 127.0.0.1 6969 Trying 127.0.0.1... Connected to localhost.novel.ru. Escape character is '^]'. 220 wzd server ready. USER guest 331 User guest okay, need password. PASS pass 230 User logged in, proceed. PORT Connection closed by foreign host. novel ~ $> telnet 127.0.0.1 6969 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host So, we see server is down. Jun 11 23:00:33 fbd kernel: pid 7149 (lt-wzdftpd), uid 0: exited on signal 11 (core dumped) What about posting bugs to some bugtaq? It'll get people know about wzd, IMHO. -Roman Bogorodskiy [Novel] |
From: pollux <po...@wz...> - 2003-05-23 15:15:20
|
On Fri, May 09, 2003 at 09:44:38PM +0400, Roman Bogorodskiy wrote: > > I think it will be better to make only one log function (out_err for > example), and in this function define log method (to file, to syslog, > etc). IMHO, it'll make logging in wzdftpd more clear. > Hi, it sounds like a good idea to unify all the output methods. I'll begin to implement that just after the bugfixing period (until v0.1 is out), because I prefer not to change api when trying to fix bugs. A CVS branch would surely be adapted for that, but I'm not used to that (though I am not against). It is clear that this idea could be extended on all the code, trying to get a clean api. BTW, developper docs (generated by doxygen) should be available shortly, that would be of great help. /P -- po...@wz... |
From: Roman B. <bog...@in...> - 2003-05-09 17:44:43
|
Pierre wrote: > Many thanks for your contributions ! Please send me you comments on > the patch if I forgot something. I think it will be better to make only one log function (out_err for example), and in this function define log method (to file, to syslog, etc). IMHO, it'll make logging in wzdftpd more clear. -Roman Bogorodskiy [Novel] |
From: Pierre C. <chi...@cp...> - 2003-05-08 17:54:57
|
On Thu, May 08, 2003 at 08:52:05PM +0400, Roman Bogorodskiy wrote: > This patch disallows wzdftpd to log messages which level is lower then > .loglevel param in wzd.cfg. > > We check mainConfig->loglevel and if message's level is higher or equal, > we log it, in other case nothing happens. The patch will not change anything, as the level is already tested at the beginning of the function: wzd_log.c line 64: <out_log> if (level >= mainConfig->loglevel) { line 161: <out_err> if (!mainConfig || level >= mainConfig->loglevel) { The default level (normal) will give you a moderate output, and only errors. /P |
From: Roman B. <bog...@in...> - 2003-05-08 17:17:14
|
This patch disallows wzdftpd to log messages which level is lower then .loglevel param in wzd.cfg. We check mainConfig->loglevel and if message's level is higher or equal, we log it, in other case nothing happens. -Roman Bogorodskiy [Novel] |
From: Pierre C. <chi...@cp...> - 2003-05-08 16:51:03
|
I have merged your patch, thank you for contributing ! NOTE: i added a sentinel { NULL, 0, NULL, 0} at the end of options list since some systems are lacking it (causing segfault). /P |
From: Roman B. <bog...@in...> - 2003-05-08 15:37:06
|
Here is a patch: ---cut 8<--- --- wzdftpd/src/wzd_main.c Thu May 8 18:29:47 2003 +++ wzdftpd-0.1nl/src/wzd_main.c Thu May 8 18:33:36 2003 @@ -63,6 +63,7 @@ #include "wzd_init.h" #include "wzd_libmain.h" #include "wzd_ServerThread.h" +#include "wzd_opts.h" char configfile_name[256]; int stay_foreground=0; @@ -71,15 +72,18 @@ void display_usage(void) { - fprintf(stderr,"Usage:\r\n"); - fprintf(stderr,"\t -h - Display this text \r\n"); + fprintf(stderr,"%s build %lu (%s)\n", + WZD_VERSION_STR,(unsigned long)WZD_BUILD_NUM,WZD_BUILD_OPTS); + fprintf(stderr, "\nusage: wzdftpd [arguments] [file ..]\n"); + fprintf(stderr,"\narguments:\r\n"); + fprintf(stderr," -h, --help - Display this text \n"); #if DEBUG - fprintf(stderr,"\t -b - Force background \r\n"); + fprintf(stderr," -b, --background - Force background \n"); #endif - fprintf(stderr,"\t -d - Delete IPC if present (Linux only) \r\n");- fprintf(stderr,"\t -f <file> - Load alternative config file \r\n");- fprintf(stderr,"\t -s - Stay in foreground \r\n"); - fprintf(stderr,"\t -V - Show version \r\n"); + fprintf(stderr," -d, - Delete IPC if present (Linux only) \n");+ fprintf(stderr," -f <file> - Load alternative config file \n");+ fprintf(stderr," -s, --force-foreground - Stay in foreground \n");+ fprintf(stderr," -V, --version - Show version \n"); } void cleanup_shm(void) @@ -155,8 +159,19 @@ { int opt; + static struct option long_options[] = + { + /* Options without arguments: */ + { "background", no_argument, NULL, 'b' }, + { "config-file", required_argument, NULL, 'f' }, + { "help", no_argument, NULL, 'h' }, + { "force-foreground", no_argument, NULL, 's' }, + { "version", no_argument, NULL, 'V' }, + }; + + /* please keep options ordered ! */ - while ((opt=getopt(argc, argv, "hbdf:sV")) != -1) { + while ((opt=getopt_long(argc, argv, "hbdf:sV", long_options, (int *)0 )) != -1) { switch((char)opt) { case 'b': stay_foreground = 0; ---cut 8<--- Here is wzd_opts.h: ---cut 8<--- /* wzd_opts.h Based on wget's getopt.h */ struct option { #if __STDC__ const char *name; #else char *name; #endif /* has_arg can't be an enum because some compilers complain about type mismatches in all the code that assumes it is an int. */ int has_arg; int *flag; int val; }; #define no_argument 0 #define required_argument 1 #define optional_argument 2 #if __STDC__ #if defined(__GNU_LIBRARY__) extern int getopt (int argc, char *const *argv, const char *shortopts); #else /* not __GNU_LIBRARY__ */ extern int getopt (); #endif /* not __GNU_LIBRARY__ */ extern int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind); extern int getopt_long_only (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind); /* Internal only. Users should not call this directly. */ extern int _getopt_internal (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind, int long_only); #else /* not __STDC__ */ extern int getopt (); extern int getopt_long (); extern int getopt_long_only (); extern int _getopt_internal (); #endif /* not __STDC__ */ #ifdef __cplusplus } #endif --cut 8<--- novel ~/wzdftpd-0.1nl/src $> ./wzdftpd --help wzdftpd linux mt 0.1 build 20030508 (threads,release) usage: wzdftpd [arguments] [file ..] arguments: -h, --help - Display this text -d, - Delete IPC if present (Linuxonly) -f <file> - Load alternative config file -s, --force-foreground - Stay in foreground -V, --version - Show version PS Seems fresh version works on FreeBSD rather stable, probably, my code was buggy. -Roman Bogorodskiy [Novel] |
From: Roman B. <bog...@in...> - 2003-05-08 12:34:12
|
Pierre wrote: > I've integrated your patch, but after some modifications i'll explain: > > * I'd prefer to keep 2 different functions out_log and out_err, > especially for debug > > * I have to keep the possibility to log directly to a file (and not to > syslog), mainly because of the cygwin version (but the default is > syslog now) Oh, I forgot about adout cygwin at all... > The syslog part is now working ! I didn't get any segfault yet, but > the bsd version seems to have a different behavior ... i'll work on > it. I'll test it ASAP. > I haven't found the file wzd_opts.h in the patch, so I couldn't > integrate this part, although it seems very interesting. Can you send > me this part again ? (I guess you missed the flag -N in your diff > command). I'll merge it too, but it need some tricks in the > configure.in (not all systems support getopt_long, the compilation > will be conditionnal). Now I'm applaying lastest patches apaired (wzdftpd/backends/plaintext, polux, wzdftpd/src, pollux) and then I'll try to realize longoptions support.... -Roman Bogorodskiy [Novel] |
From: Pierre C. <chi...@cp...> - 2003-05-07 12:48:02
|
On Tue, May 06, 2003 at 05:26:13PM +0400, Roman Bogorodskiy wrote: > Hi! > > I'v made syslog support for wzdftpd but it is hm... not very stable. > It is needed to test it. I made changes on wzdftp-0.1.tar.gz (you send > me this via e-mail when finished FreeBSD support). I removed xferlog > logging function (it is not needed) and log_err. Trancleating wzd log > levels to syslog log levels you can see in wzd_log.c. Now wzdftp logs > all messages, despite on config setting, but it is simple to fix, I'll > fix this soon later. There is some more serios problem - I have > sometimes segfaults :( I don't know why yet. > > Waiting for your comments.. Hi Roman, I've integrated your patch, but after some modifications i'll explain: * I'd prefer to keep 2 different functions out_log and out_err, especially for debug * I have to keep the possibility to log directly to a file (and not to syslog), mainly because of the cygwin version (but the default is syslog now) The syslog part is now working ! I didn't get any segfault yet, but the bsd version seems to have a different behavior ... i'll work on it. > > PS Besides, I added long command line arguments, for example, `--help`. > For more datails - `wzdftpd --help` or `-h` I haven't found the file wzd_opts.h in the patch, so I couldn't integrate this part, although it seems very interesting. Can you send me this part again ? (I guess you missed the flag -N in your diff command). I'll merge it too, but it need some tricks in the configure.in (not all systems support getopt_long, the compilation will be conditionnal). Many thanks for your contributions ! Please send me you comments on the patch if I forgot something. /P -- Pierre CHIFFLIER "I code, therefore I am." |
From: Roman B. <bog...@in...> - 2003-04-17 10:22:41
|
Hello! I can't compile wzdftpd-0.1rc4 under Linux 2.4.20... I use gcc 3.2.1....May be i must use 2.96? Or i should install some package? (i have rpm-based distro) ---cut 8< --- /usr/bin/ld: cannot find -lfl collect2: ld returned 1 exit status ---cut 8< --- PS Sorry for my poor english -Roman Bogorodskiy [Novel] |