Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 13:38:21 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Florent Thoumie <flz@xbsd.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Up-to-date INDEXes may now be downloaded from www.freebsd.org
Message-ID:  <20040518133821.1979e2d0@Magellan.Leidinger.net>
In-Reply-To: <40A9F565.7070501@xbsd.org>
References:  <20040517014925.GB46196@xor.obsecurity.org> <xzpekpi9jm5.fsf@dwp.des.no> <40A9F565.7070501@xbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Tue__18_May_2004_13_38_21_+0200_FpoaaJ.mSkS.Z/Tb
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, 18 May 2004 11:37:09 +0000
Florent Thoumie <flz@xbsd.org> wrote:

> Dag-Erling Sm=F8rgrav wrote:
> > Kris Kennaway <kris@obsecurity.org> writes:
> >=20
> >>4.x:
> >>  http://www.FreeBSD.org/ports/INDEX
> >=20
> >=20
> > could you please name this INDEX-4, or make a symlink?
>=20
> 	Are you thinking of adding a switch to portsdb to fetch
> 	it directly from FreeBSD website ?

Here's a patch for /usr/ports/Makefile. Just run "make fetchindex" after
patching.

Bye,
Alexander.

--=20
           I'm available to get hired (preferred in .lu).

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint =3D C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

--Multipart=_Tue__18_May_2004_13_38_21_+0200_FpoaaJ.mSkS.Z/Tb
Content-Type: text/plain;
 name="fetchindex.diff"
Content-Disposition: attachment;
 filename="fetchindex.diff"
Content-Transfer-Encoding: 8bit

Index: Makefile
===================================================================
RCS file: /big/FreeBSD-CVS/ports/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- Makefile	2 Apr 2004 07:25:23 -0000	1.82
+++ Makefile	17 May 2004 09:37:24 -0000
@@ -70,6 +70,9 @@
 	@rm -f ${.CURDIR}/${INDEXFILE}
 	@cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE}
 
+fetchindex:
+	@cd ${.CURDIR} && fetch -am http://www.FreeBSD.org/ports/${INDEXFILE}
+
 INDEX_JOBS?=	2
 
 ${.CURDIR}/${INDEXFILE}:

--Multipart=_Tue__18_May_2004_13_38_21_+0200_FpoaaJ.mSkS.Z/Tb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518133821.1979e2d0>