Date: Fri, 28 Dec 2001 12:32:20 +0100 From: andreas.klemm.ak@bayer-ag.de To: Ondrejicka_Stefan%BAYERNOTES@test.bayer-ag.de Cc: andreas@FreeBSD.org, ports@FreeBSD.org Subject: pavuk-0.9 pl28 and pl29d produce strange directory and file names when mirroring Message-ID: <OF77DEDAE9.F0057B82-ONC1256B30.003D343B@bayer-ag.com>
next in thread | raw e-mail | index | archive | help
Hi Ondrejicka, first of all thanks for you blindingly fast mirror program, that allows= me to mirror the FreeBSD CVS repository for system maintenance / upgrade reasons beh= ind a firewall that blocks things like cvsup, the default method on FreeBSD= I would otherwise use. I'm running FreeBSD 4.4-STABLE. BTW, if you reply, please make a group reply, from home I have no acces= s to this mailbox. If you have andreas@freebsd.org in Cc:, then I can ans= wer you additionally from home. I=B4m available until 30.12., after that I=B4= m on a vacation until January 8th. I put ports@FreeBSD.org in Cc:, since the ports team maintains your sof= tware, not a single person. So put ports@freebsd.org additionally on Cc: so th= at maintainer can read your comments / fixes. Fixes I could apply directly= to the FreeBSD ports .... I=B4m having a problem, that some FreeBSD files and directories get mir= rored locally with strange patterns in the path. Look here: root@byaps1[390] [src] # find . -name "*%*" ./bin/ed/test/%3D.err,v ./contrib/gcc/cp/g%2B%2Bspec.c,v ./contrib/gcc/cp/g%2B%2B.1,v ./contrib/gcc.295/cp/g%2B%2B.1,v ./contrib/gcc.295/cp/g%2B%2Bspec.c,v ./contrib/gperf/tests/c%2B%2B.gperf,v ./contrib/libg%2B%2B ./contrib/libg%2B%2B/libg%2B%2B ./contrib/libg%2B%2B/libstdc%2B%2B ./contrib/libstdc%2B%2B ./contrib/libstdc%2B%2B/libsupc%2B%2B ./contrib/libstdc%2B%2B/mkc%2B%2Bconfig,v ./contrib/libstdc%2B%2B/testsuite/libstdc%2B%2B-v3.dg ./contrib/libstdc%2B%2B/testsuite/libstdc%2B%2B.tests ./contrib/libstdc%2B%2B.295 ./contrib/libstdc%2B%2B.295/testsuite/libstdc%2B%2B.tests ./contrib/ncurses/c%2B%2B ./gnu/gnu2bmake/Attic/libg%2B%2B-2.6.patch,v ./gnu/gnu2bmake/Attic/libg%2B%2B-2.6.tcl,v ./gnu/lib/libg%2B%2B ./gnu/lib/libg%2B%2B/libg%2B%2B ./gnu/lib/libstdc%2B%2B ./gnu/usr.bin/binutils/c%2B%2Bfilt ./gnu/usr.bin/cc/c%2B%2B ./gnu/usr.bin/cc/c%2B%2Bfilt I tried the pavuk version from FreeBSD ports pl28 and the newest versio= n from your webserver which is 0.9pl29d. I=B4m mirroring with the following options: pavuk -mode sync \ -from andreas.klemm.ak@bayer-ag.de \ -remove_old \ -noftphtml \ -nostore_index \ -FTPdir \ -ftplist \ -ddays 0 \ -dont_leave_dir \ -ftp_passive \ -preserve_time \ -preserve_perm \ -ftp_proxy localhost:3128 \ -ftp_httpgw \ -ftp_dirtyproxy \ -retry 3 \ -nregets 3 \ -nthreads 9 \ -maxrate 500 \ -force_reget \ -skip_url_pattern "*/ports/*" \ ftp://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/ I=B4m mirroring through my local squid, where I allowed CONNECT. My squid goes through a firewall here at my customers site. When looking at the files through my netscape mavigator, which also goes through my local squid proxy, and then through the customers firewall/proxy, I see no problems. Look here for example: ftp://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/cont= rib I see: Up to higher level directory amd/ Sep 15 08:00 Direct= ory awk/ Nov 03 09:00 Direct= ory bc/ Nov 04 09:00 Direct= ory bind/ Sep 15 08:01 Direct= ory binutils/ Nov 02 09:03 Direct= ory binutils.291/ Jul 03 2000 Direct= ory bison/ Jul 03 2000 Direct= ory bzip2/ Sep 15 08:02 Direct= ory com_err/ Sep 15 08:02 Direct= ory cpio/ Sep 15 08:02 Direct= ory cvs/ Oct 29 09:00 Direct= ory diff/ Sep 15 08:03 Direct= ory file/ Oct 09 08:00 Direct= ory gcc/ Dec 18 09:05 Direct= ory gcc.295/ Aug 31 08:00 Direct= ory gdb/ Sep 15 08:04 Direct= ory gdb.291/ Sep 07 2000 Direct= ory global/ Sep 15 08:05 Direct= ory gperf/ Sep 15 08:05 Direct= ory groff/ Sep 15 08:06 Direct= ory ipfilter/ Sep 15 08:06 Direct= ory isc-dhcp/ Sep 15 08:06 Direct= ory less/ Sep 15 08:06 Direct= ory libf2c/ Dec 18 09:01 Direct= ory libg++/ Jul 03 2000 Direct= ory libgmp/ Sep 15 08:07 Direct= ory libio/ Dec 17 09:01 Direct= ory libio.295/ Mar 19 2001 Direct= ory libobjc/ Dec 18 09:01 Direct= ory libobjc.295/ Mar 19 2001 Direct= ory libpam/ Sep 15 08:07 Direct= ory libpcap/ Sep 15 08:07 Direct= ory libreadline/ Sep 15 08:07 Direct= ory libstdc++/ Dec 18 4765644 Direct= ory libstdc++.295/ Mar 19 2001 Direct= ory lukemftp/ Jul 20 08:01 Direct= ory lukemftpd/ Jul 20 08:01 Direct= ory ncurses/ Sep 15 08:08 Direct= ory ntp/ Dec 22 09:00 Direct= ory nvi/ Sep 15 08:09 Direct= ory one-true-awk/ Oct 28 08:01 Direct= ory opie/ Sep 15 08:09 Direct= ory patch/ Sep 15 08:09 Direct= ory perl5/ Sep 15 08:10 Direct= ory pnpinfo/ Sep 15 08:10 Direct= ory sendmail/ Sep 15 08:10 Direct= ory smbfs/ Dec 27 09:00 Direct= ory sys/ Jul 03 2000 Direct= ory tcl/ Jul 03 2000 Direct= ory tcp_wrappers/ Sep 15 08:10 Direct= ory tcpdump/ Sep 28 08:00 Direct= ory tcsh/ Oct 09 08:00 Direct= ory texinfo/ Sep 15 08:11 Direct= ory top/ Nov 22 09:00 Direct= ory traceroute/ Sep 15 08:11 Direct= ory When I look into my local directory I see ncvs@byaps1[8] [contrib] > ll total 98 drwxr-xr-x 15 ncvs ncvs 1024 Dec 28 11:58 amd drwxr-xr-x 10 ncvs ncvs 1536 Dec 28 11:58 awk drwxr-xr-x 10 ncvs ncvs 1024 Dec 28 11:58 bc drwxr-xr-x 14 ncvs ncvs 512 Dec 28 11:58 bind drwxr-xr-x 12 ncvs ncvs 1024 Dec 28 11:58 binutils drwxr-xr-x 11 ncvs ncvs 512 Dec 28 11:58 binutils.291 drwxr-xr-x 3 ncvs ncvs 512 Dec 28 11:58 bison drwxr-xr-x 2 ncvs ncvs 1024 Dec 28 11:58 bzip2 drwxr-xr-x 2 ncvs ncvs 512 Dec 28 11:58 com_err drwxr-xr-x 3 ncvs ncvs 1024 Dec 28 11:58 cpio drwxr-xr-x 10 ncvs ncvs 1024 Dec 28 11:58 cvs drwxr-xr-x 2 ncvs ncvs 1024 Dec 28 11:58 diff drwxr-xr-x 3 ncvs ncvs 1024 Dec 28 11:58 file drwxr-xr-x 9 ncvs ncvs 8704 Dec 28 11:58 gcc drwxr-xr-x 8 ncvs ncvs 6656 Dec 28 11:58 gcc.295 drwxr-xr-x 9 ncvs ncvs 512 Dec 28 11:58 gdb drwxr-xr-x 8 ncvs ncvs 512 Dec 28 11:58 gdb.291 drwxr-xr-x 13 ncvs ncvs 512 Dec 28 11:58 global drwxr-xr-x 7 ncvs ncvs 512 Dec 28 11:58 gperf drwxr-xr-x 53 ncvs ncvs 2048 Dec 28 11:58 groff drwxr-xr-x 21 ncvs ncvs 1536 Dec 28 11:58 ipfilter drwxr-xr-x 7 ncvs ncvs 512 Dec 28 11:58 isc-dhcp drwxr-xr-x 2 ncvs ncvs 2048 Dec 28 11:58 less drwxr-xr-x 5 ncvs ncvs 512 Dec 28 11:58 libf2c drwxr-xr-x 9 ncvs ncvs 512 Dec 28 12:01 libg%2B%2B drwxr-xr-x 9 ncvs ncvs 512 Dec 27 12:50 libg++ drwxr-xr-x 10 ncvs ncvs 1024 Dec 28 11:58 libgmp drwxr-xr-x 8 ncvs ncvs 3584 Dec 28 11:58 libio drwxr-xr-x 8 ncvs ncvs 3072 Dec 28 11:58 libio.295 drwxr-xr-x 3 ncvs ncvs 1536 Dec 28 11:58 libobjc drwxr-xr-x 3 ncvs ncvs 1024 Dec 28 11:58 libobjc.295 drwxr-xr-x 11 ncvs ncvs 512 Dec 28 11:58 libpam drwxr-xr-x 6 ncvs ncvs 1536 Dec 28 11:58 libpcap drwxr-xr-x 7 ncvs ncvs 1536 Dec 28 11:58 libreadline drwxr-xr-x 13 ncvs ncvs 1536 Dec 28 12:01 libstdc%2B%2B drwxr-xr-x 7 ncvs ncvs 1536 Dec 28 12:01 libstdc%2B%2B.295 drwxr-xr-x 7 ncvs ncvs 1536 Dec 27 12:51 libstdc++ drwxr-xr-x 7 ncvs ncvs 1536 Dec 27 12:51 libstdc++.295 drwxr-xr-x 3 ncvs ncvs 512 Dec 28 11:58 lukemftp drwxr-xr-x 3 ncvs ncvs 512 Dec 28 11:58 lukemftpd drwxr-xr-x 15 ncvs ncvs 1024 Dec 28 12:02 ncurses drwxr-xr-x 19 ncvs ncvs 1536 Dec 28 11:58 ntp drwxr-xr-x 18 ncvs ncvs 512 Dec 28 11:58 nvi drwxr-xr-x 2 ncvs ncvs 512 Dec 28 11:58 one-true-awk drwxr-xr-x 5 ncvs ncvs 1024 Dec 28 11:58 opie drwxr-xr-x 3 ncvs ncvs 1024 Dec 28 11:58 patch drwxr-xr-x 12 ncvs ncvs 3584 Dec 28 11:58 perl5 drwxr-xr-x 2 ncvs ncvs 512 Dec 28 11:58 pnpinfo drwxr-xr-x 20 ncvs ncvs 1024 Dec 28 11:58 sendmail drwxr-xr-x 7 ncvs ncvs 512 Dec 28 11:58 smbfs drwxr-xr-x 3 ncvs ncvs 512 Dec 28 11:58 sys drwxr-xr-x 8 ncvs ncvs 512 Dec 28 11:58 tcl drwxr-xr-x 2 ncvs ncvs 1536 Dec 28 11:58 tcp_wrappers drwxr-xr-x 5 ncvs ncvs 4096 Dec 28 11:58 tcpdump drwxr-xr-x 5 ncvs ncvs 2560 Dec 28 11:58 tcsh drwxr-xr-x 12 ncvs ncvs 512 Dec 28 11:58 texinfo drwxr-xr-x 2 ncvs ncvs 1024 Dec 28 11:58 top drwxr-xr-x 3 ncvs ncvs 512 Dec 28 11:58 traceroute libstdc for example looks really weired. I had to change the FreeBSD diffs this way, so that it compiled success= fully: ncvs@byaps1[13] [files] > cat patch-xae --- configure.in.orig Fri Dec 28 11:39:26 2001 +++ configure.in Fri Dec 28 11:47:18 2001 @@ -338,10 +338,11 @@ AC_MSG_RESULT([unknown]) fi AC_CHECK_LIB(ssl, SSLv23_client_method, SSL_LIBS=3D"-ls= sl", - ,-lcrypto $EXTRA_LIBS) + ,"-lcrypto $EXTRA_LIBS $EXTRA_SSL_LIBS= ") if test -n "$SSL_LIBS"; then AC_CHECK_LIB(ssl, TLSv1_client_method, - TLS1=3Dyes, TLS1=3Dno, -lcrypto $EXTRA_= LIBS) + TLS1=3Dyes, TLS1=3Dno, + "-lcrypto $EXTRA_LIBS $EXTRA_SSL_LIBS")= AC_CHECK_LIB(crypto, RAND_egd, RAND_EGD=3Dyes) AC_CHECK_HEADER(ssl.h, SSLEAY=3Dyes, SSLEAY=3Dn= o) AC_CHECK_HEADER(openssl/ssl.h, OPENSSL=3Dyes, O= PENSSL=3Dno) @@ -349,7 +350,8 @@ AC_MSG_WARN("SSLeay or OpenSSL headers = not found --\> use --disable-ssl option or set --with-ssl-includes to apropriate location") fi AC_CHECK_LIB(crypto, SSLeay, - SSL_LIBS=3D"$SSL_LIBS -lcrypto", SSL_LI= BS=3D'') + SSL_LIBS=3D"$SSL_LIBS -lcrypto $EXTRA_S= SL_LIBS", + SSL_LIBS=3D'', $EXTRA_SSL_LIBS) fi if test -n "$SSL_LIBS"; then want_ssl_impl=3D"no" @@ -598,7 +600,7 @@ echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then ac_ccpthread_opt=3Dyes - x_cflags=3D"$x_cflags -pthread" + x_cflags=3D"$x_cflags -D_THREAD_SAFE -DHAVE_MT" AC_DEFINE_UNQUOTED(HAVE_MT, 1, [multithreading support]= ) x_libs=3D"-pthread $x_libs" HAVE_MT=3D"yes" ncvs@byaps1[14] [files] > cat patch-xag --- src/net.c.orig Fri Dec 28 11:50:21 2001 +++ src/net.c Fri Dec 28 11:52:22 2001 @@ -274,6 +274,7 @@ return -1; } +#ifndef __FreeBSD__ if (cfg.debug) { char *ip =3D dns_get_sockaddr_ip(caller); @@ -281,6 +282,7 @@ dns_get_sockaddr_port(caller)); _free(ip); } +#endif return rsock; } This patch is unmodified (without the "x") ncvs@byaps1[16] [files] > cat patch-af --- icons/Makefile.am.orig Thu Mar 2 07:03:32 2000 +++ icons/Makefile.am Wed Nov 29 05:22:50 2000 @@ -1,4 +1,4 @@ -iconsdir =3D $(datadir)/icons +iconsdir =3D $(pkgdatadir)/icons icons_DATA =3D pavuk_16x16.xpm pavuk_32x32.xpm pavuk_64x64.xpm \ pavuk_as_icon.xpm pavuk_prg_icon.xpm BTW: The new patch patch-xag was necessary, because I got this compiler= message: root@byaps1[397] [src] # make cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O -march=3Dpentiumpro -Wall -I/usr/X11R6/include -I/usr/X11R6/include -pthread -I/usr/X11R6/includ= e/gtk12 -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -c net.c net.c: In function `net_accept': net.c:277: structure has no member named `debug' *** Error code 1 BTW: I was a little amused concerning your comment in ChangeLog ;-) * added option --with-gtk-config to configure script, to allow easier configuration on system with such weird renaming of libs/scripts as on FreeBSD Well, the FreeBSD ports collection has now over 6300 ported application= s. It would be fine, if all applications would be able to run with the lat= est and greatest stable release of TCL/TK/gtk-lib and so on. Since the authors = of these software packages didn=B4t provide mechanisms, that allows runnin= g all these differend software versions side by side, we had to rename th= em allowing it, to port every interesting software to FreeBSD .... I don=B4t know if you already guessed it, but reading your comment I pe= rsonally guessed you didn=B4t ;-)) Best regards Andreas /// = To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF77DEDAE9.F0057B82-ONC1256B30.003D343B>