[Lunar-commits] <moonbase> libnl3: new module

Dennis Veatch dennisveatch at bellsouth.net
Mon May 16 22:28:46 CEST 2011


On Monday, May 16, 2011 5:34:55 PM Zbigniew Luszpinski wrote:
> commit 155ddfcac364fa61ebccb147530fbd02facf1fb8
> Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
> Date:   Mon May 16 23:34:55 2011 +0200
> 
>     libnl3: new module
> ---
>  zbeta/libnl3/CONFLICTS |    2 ++
>  zbeta/libnl3/DETAILS   |   14 ++++++++++++++
>  2 files changed, 16 insertions(+), 0 deletions(-)
> 
> diff --git a/zbeta/libnl3/CONFLICTS b/zbeta/libnl3/CONFLICTS
> new file mode 100644
> index 0000000..415eeca
> --- /dev/null
> +++ b/zbeta/libnl3/CONFLICTS
> @@ -0,0 +1,2 @@
> +conflicts libnl
> +conflicts libnl2
> diff --git a/zbeta/libnl3/DETAILS b/zbeta/libnl3/DETAILS
> new file mode 100644
> index 0000000..4113052
> --- /dev/null
> +++ b/zbeta/libnl3/DETAILS
> @@ -0,0 +1,14 @@
> +          MODULE=libnl3
> +         VERSION=3.0
> +          SOURCE=libnl-$VERSION.tar.gz
> +      SOURCE_URL=http://www.infradead.org/~tgr/libnl/files
> +      SOURCE_VFY=sha1:200f750070ec49119c40eb6a3fdb1f67279f3a6c
> +SOURCE_DIRECTORY=$BUILD_DIRECTORY/libnl-$VERSION
> +        WEB_SITE=http://www.infradead.org/~tgr/libnl
> +         ENTERED=20070511
> +         UPDATED=20110511
> +           SHORT="A library for applications dealing with netlink sockets"
> +
> +cat << EOF
> +libnl is a library for applications dealing with netlink sockets.
> +EOF
> _______________________________________________
> Lunar-commits mailing list
> Lunar-commits at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-commits

I have a proposal. There are now three libnl modules in moonbase. Instead of 
dealing with the CONFLICTS as we have been doing; lets see what we can do to 
have all three installed simultaneously.

In fact I have already put something together such that none conflicts with the 
other by adding this to the BUILDs of libnl2 and libnl3;

  OPTS+=" --libdir=/usr/lib/$MODULE --with-pkgconfigdir=/usr/lib/pkgconfig   \
          --includedir=/usr/include/$MODULE --sysconfdir=/etc/$MODULE --
disable-static" &&

  default_build  

I have installed iw, netcf and kismet (those only ones that show up as needing 
it) and they installed without issue. And actually for kismet it saw;

checking for libnl20... yes
checking for libnl1... yes

and doing a quick  ldd /usr/lib/libnetcf.so;

        libnl.so.1 => /usr/lib/libnl.so.1 (0x00007fe8215c6000)

If there are no objections I will commit this.

/me cools his jets in the meantime.

-- 
Dennis


More information about the Lunar-dev mailing list