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

Stas Yakovlev stas.yakovlev at gmail.com
Tue Aug 2 08:19:24 GMT 2005


> > >
> > > > 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.
(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.

Probably we should 
The first PR: [MOVE] net/libnet -> net/libnet10
The second PR: [MOVE] net/libnet-devel -> net/libnet11
and add 
USE_LIBNET_VERSION
with values 10 and 11
and then
>The third PR: [repocopy] net/libnet11 -> net/libnet11-devel

What do you think about it?


More information about the freebsd-ports mailing list