From owner-freebsd-ports@FreeBSD.ORG Fri Aug 19 14:33:14 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E6E3106564A for ; Fri, 19 Aug 2011 14:33:14 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7B788FC0C for ; Fri, 19 Aug 2011 14:33:13 +0000 (UTC) Received: by gwb15 with SMTP id 15so1961259gwb.13 for ; Fri, 19 Aug 2011 07:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=LMhnVkVx1cARamQrGK0VlW96nhySqMCWi17qmghUges=; b=e44MrEN8o7Be/2Q5fJjnd7ZosbnAa/2SFB+zdQD/eASz2TKV+MXV1zcdlYLyUy5ZAo yNMFkm7M/Dk+rVJ774r/Wb392TwWLpGxPuCIeZF9ttlubqlRdeaisFui79Pf4TcItu42 541+4UQ3cijcvdxfnio5WPTsGUexTH+XfYErs= Received: by 10.236.176.33 with SMTP id a21mr7803342yhm.108.1313764393287; Fri, 19 Aug 2011 07:33:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.182.77 with HTTP; Fri, 19 Aug 2011 07:32:43 -0700 (PDT) From: Chris Rees Date: Fri, 19 Aug 2011 15:32:43 +0100 Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Extra fields in INDEX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 14:33:14 -0000 Hi all, I'm having a look at modifying INDEX to have a field at the end (to cause minimum breakage), but I've discovered that in a few ports there (6630 out of 22731) appears to be extra 'stuff' in fields past field 10 (which is for the first WWW: line in pkg-descr). Can anyone with knowledge of make index explain why this is happening? Using the command line at [1] gets a list [crees@hydra]~% alias findextrasinindex "< `make -C /usr/ports -V INDEXDIR`/`make -C /usr/ports -V INDEXFILE` grep -n '^\([^|]*|\)\{11\}[^|]\+'" [crees@hydra]~% findextrasinindex | wc -l 6630 [crees@hydra]~% findextrasinindex | cut -d '|' -f 2 | head /usr/ports/accessibility/atk /usr/ports/accessibility/gnome-mag /usr/ports/accessibility/ruby-atk /usr/ports/archivers/dpkg /usr/ports/archivers/fastjar /usr/ports/archivers/lrzip /usr/ports/archivers/ocaml-bz2 /usr/ports/archivers/ocaml-zip /usr/ports/archivers/p5-Archive-Any /usr/ports/archivers/p5-Archive-Extract [crees@hydra]~% make -C /usr/ports/accessibility/atk describe atk-2.0.1|/usr/ports/accessibility/atk|/usr/local|A GNOME accessibility toolkit (ATK)|/usr/ports/accessibility/atk/pkg-descr|gnome@FreeBSD.org|accessibilit= y devel||/usr/ports/devel/libtool||/usr/ports/devel/gettext /usr/ports/devel/glib20 /usr/ports/devel/gmake /usr/ports/devel/gobject-introspection /usr/ports/devel/libtool /usr/ports/devel/pkg-config|/usr/ports/devel/gettext /usr/ports/devel/gio-fam-backend /usr/ports/devel/glib20 /usr/ports/devel/pkg-config|http://developer.gnome.org/projects/gap/ [crees@hydra]~% make -C /usr/ports/archivers/fastjar describe fastjar-0.93.20060808|/usr/ports/archivers/fastjar|/usr/local|A version of JDK's `jar' command written entirely in C|/usr/ports/archivers/fastjar/pkg-descr|maho@FreeBSD.org|archivers java|/usr/ports/lang/perl5.12|/usr/ports/lang/perl5.12||/usr/ports/devel/gm= ake /usr/ports/lang/perl5.12||http://savannah.nongnu.org/projects/fastjar But in INDEX: [crees@hydra]~% findextrasinindex | grep '^[^:]\+:[fa][at][sk]\(tjar\)\?-' 7:atk-2.0.1|/usr/ports/accessibility/atk|/usr/local|A GNOME accessibility toolkit (ATK)|/usr/ports/accessibility/atk/pkg-descr|gnome@FreeBSD.org|accessibilit= y devel|cairo-1.10.2_2,1 expat-2.0.1_1 fontconfig-2.8.0_1,1 freetype2-2.4.6 gamin-0.1.10_4 gettext-0.18.1.1 gio-fam-backend-2.28.8 glib-2.28.8 gmake-3.82 gobject-introspection-0.10.8 kbproto-1.0.5 libX11-1.3.6,1 libXau-1.0.6 libXdmcp-1.0.3 libXrender-0.9.5 libffi-3.0.9 libiconv-1.13.1_1 libpthread-stubs-0.3_3 libtool-2.4 libxcb-1.7 pcre-8.13 perl-5.12.4_1 pixman-0.22.0 pkg-config-0.25_1 png-1.4.8 python27-2.7.2_1 renderproto-0.11 xcb-util-0.3.6_1 xproto-7.0.16|gamin-0.1.10_4 gettext-0.18.1.1 gio-fam-backend-2.28.8 glib-2.28.8 libiconv-1.13.1_1 pcre-8.13 perl-5.12.4_1 pkg-config-0.25_1 python27-2.7.2_1|http://developer.gnome.org/projects/gap/||libtool-2.4| 60:fastjar-0.93.20060808|/usr/ports/archivers/fastjar|/usr/local|A version of JDK's `jar' command written entirely in C|/usr/ports/archivers/fastjar/pkg-descr|maho@FreeBSD.org|archivers java|gettext-0.18.1.1 gmake-3.82 libiconv-1.13.1_1 perl-5.12.4_1||http://savannah.nongnu.org/projects/fastjar|perl-5.12.4_1|pe= rl-5.12.4_1| They have extra fields on the end ... Where have they come from?? Chris --=20 Chris Rees =A0 =A0 =A0 =A0 =A0| FreeBSD Developer crees@FreeBSD.org =A0 | http://people.freebsd.org/~crees