Date: Sat, 23 Oct 2004 16:43:59 +0300 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-ports@freebsd.org Subject: Re: portindex -- the second coming. Message-ID: <20041023164359.500eb4ff@it.buh.cameradicommercio.ro> In-Reply-To: <20041023111251.GA21742@happy-idiot-talk.infracaninophile.co.uk> References: <20041022153854.GA88362@happy-idiot-talk.infracaninophile.co.uk> <20041023111251.GA21742@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Oct 2004 12:12:51 +0100 Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote: > On Fri, Oct 22, 2004 at 04:38:54PM +0100, Matthew Seaman wrote: > > > After the recent fun and games with the sysutils/portindex port by > > Radim Kolar, it seems there is a pent up demand for software that can > > maintain /usr/ports/INDEX without the hassle of going through a full > > 'make index' every time you want to update. > > > > I've put together a few bits of perl to achieve that. Now I'm looking > > for people to try it out, send me feedback, bug reports, suggestions > > etc. To be beta testers in fact. > > > If you'ld like to be a tester, please grab the tar-ball from: > > > > http://www.infracaninophile.co.uk/portindex/portindex-0.1.tar.bz2 > > I've added some patches to make portindex cope with broken dependency > problems more gracefully and to tidy up the error messages it produces: > > http://www.infracaninophile.co.uk/portindex/portindex-0.2.tar.bz2 > > There's no need to re-initialise the cache if you've already built one. I've did a comparison between the INDEX generated by your portindex and the old one: (run old portindex and ./cache-init, cvsup -L2, run portindex and ./cache-update using cvsup output) - your chache-update is faster. - picks up also changes in the WWW line, while the old one doesn't seems to do. - the old one is removing more than one blank (space) characters from COMMENT - there are also some differences in depends, for example for pips-sc65_66s-2.6.2 (print/pips-sc60s) the old portindex gives also autoconf-2.53_3 and m4-1.4.1 - your portindex seems it dosn't see (which wasn't touch by the cvsup): ashe-1.3|/usr/ports/www/ashe|/usr/X11R6|A simple HTML editor|/usr/ports/www/ashe/pkg-descr|ports@F reeBSD.org|www|expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_3 imake-6.7.0_2 open-motif-2.2.3 per l-5.8.5 pkgconfig-0.15.0_1 xorg-libraries-6.7.0_2|expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_3 imake-6.7.0_2 open-motif-2.2.3 perl-5.8.5 pkgconfig-0.15.0_1 xorg-libraries-6.7.0_2|http://www.cs. rpi.edu/~puninj/TALK/head.html||| I'll do a test with a canonically generated INDEX-5. # uname -a FreeBSD it.buh.cameradicommercio.ro 5.3-STABLE FreeBSD 5.3-STABLE #7: Tue Oct 19 13:38:24 EEST 2004 itetcu@it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/IT53_d i386 # perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=freebsd, osvers=5.3-beta7, archname=i386-freebsd-64int uname='freebsd it.buh.cameradicommercio.ro 5.3-beta7 freebsd 5.3-beta7 #6: sat oct 16 13:35:02eest 2004 root@it.buh.cameradicommercio.ro:usrobjusrsrcsysit53_d i386 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.5/mach -Dprivlib=/usr/local/lib/perl5/5.8.5 -Dman3dir=/usr/local/lib/perl5/5.8.5/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.5/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.5 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.5/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Doptimize=-O2 -pipe -march=athlon-xp -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O2 -pipe -march=athlon-xp', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lcrypt -lutil -lc perllibs=-lm -lcrypt -lutil -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.8.5/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_LARGE_FILES Built under freebsd Compiled at Oct 20 2004 13:58:37 @INC: /usr/local/lib/perl5/site_perl/5.8.5/mach /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.5/BSDPAN /usr/local/lib/perl5/5.8.5/mach /usr/local/lib/perl5/5.8.5 -- IOnut Unregistered ;) FreeBSD "user"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041023164359.500eb4ff>