Proposed patch to inform users of fetchindex
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Mon Jan 31 15:41:57 PST 2005
On Mon, 31 Jan 2005 23:58:50 +0100
Kirill Ponomarew <krion at voodoo.oberon.net> wrote:
> On Mon, Jan 31, 2005 at 02:39:16PM -0800, Doug Barton wrote:
> > I can't help but think that the majority of users try to build their own
> > index because they don't know that there is a better alternative
Faster - yes, better - no.
IMHO saying this is equivalent to saying that one should use GENERIC
kernel.
> >. What would y'all think of the following patch?
> >
> > Yes, I'm serious,
> >
> > index:
> > + @${ECHO} 'Building an index file is a non-trivial task.'
> > + @${ECHO} ''
> > + @${ECHO} 'Most users would be better off using the fetchindex target'
> > + @${ECHO} 'instead, which will download and install an index file that'
> > + @${ECHO} 'is produced by the ports building system on an hourly basis.'
> > + @${ECHO} 'If you are sure you want to make an index yourself, use the'
> > + @${ECHO} 'realindex target.'
> > +
> > +realindex:
> > @rm -f ${.CURDIR}/${INDEXFILE}
> > @cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE}
>
> Maybe it's even better to mention 'make fetchindex' instead of
> 'fetchindex target', but on the whole I like this idea.
Maybe pointing users to sysutils/p5-FreeBSD-Portindex is even better.
--
IOnut
Unregistered ;) FreeBSD "user"
More information about the freebsd-ports
mailing list