[Suggestion] update net/libnet & net/libnet-devel

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Tue Aug 2 11:35:23 GMT 2005


On Tue, 2 Aug 2005 12:19:22 +0400
Stas Yakovlev <stas.yakovlev at gmail.com> wrote:

> > > >
> > > > > Hi All.
> > > > > I think it's time to update net/libnet & net/libnet-devel
> > > .......
> Thank you for usefull discussion.
> 
> >You should send 3 PR
> 
> >The first PR: [repocopy] net/libnet -> net/libnet10
> >The second PR: [PATCH] net/libnet: Update to 1.1.2.1
> >The third PR: [PATCH] net/libnet-devel: Update to 1.1.3
> 
> I don't send PR because I think it's not the best solution.

May I inquire what does it make you think the way advertised by all our
docs (and post on this lists) is not the best solution ?

> (i can post it here ~8K or it  too big ?)
> The problems are the following:
> most of all packages do
> BUILD_DEPENDS= libnet-config:${PORTSDIR}/net/libnet
> or
> BUILD_DEPENDS= libnet-config:${PORTSDIR}/net/libnet-devel
> 
> but libnet-config exists in both packages.
> 
> Of course, you can write something like this (from security/yersinia):
> # Dependency on file that is not also installed by libnet (1.0.2)
> port! BUILD_DEPENDS=
> ${LOCALBASE}/share/examples/libnet/ip_raw.c:${PORTSDIR}/net/libnet-devel
> 
> but this is not perfect either.

Try this:
BUILD_DEPENDS= libnet>=1.0.2a,1:${PORTSDIR}/net/libnet
etc.


-- 
IOnut
Unregistered ;) FreeBSD "user"




More information about the freebsd-ports mailing list