From 1f5c7f73b6db04e7e831bacea16ef1ee5dce1bf8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 29 Oct 2011 12:01:59 +0200 Subject: [PATCH] New package: libnl3-3.2.1. --- srcpkgs/libnl3-devel | 1 + srcpkgs/libnl3-progs | 1 + srcpkgs/libnl3/depends | 2 ++ srcpkgs/libnl3/libnl3-devel.template | 15 ++++++++++++++ srcpkgs/libnl3/libnl3-progs.template | 19 ++++++++++++++++++ srcpkgs/libnl3/template | 25 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 5 +++++ 7 files changed, 68 insertions(+) create mode 120000 srcpkgs/libnl3-devel create mode 120000 srcpkgs/libnl3-progs create mode 100644 srcpkgs/libnl3/depends create mode 100644 srcpkgs/libnl3/libnl3-devel.template create mode 100644 srcpkgs/libnl3/libnl3-progs.template create mode 100644 srcpkgs/libnl3/template diff --git a/srcpkgs/libnl3-devel b/srcpkgs/libnl3-devel new file mode 120000 index 0000000000..227be5310c --- /dev/null +++ b/srcpkgs/libnl3-devel @@ -0,0 +1 @@ +libnl3 \ No newline at end of file diff --git a/srcpkgs/libnl3-progs b/srcpkgs/libnl3-progs new file mode 120000 index 0000000000..227be5310c --- /dev/null +++ b/srcpkgs/libnl3-progs @@ -0,0 +1 @@ +libnl3 \ No newline at end of file diff --git a/srcpkgs/libnl3/depends b/srcpkgs/libnl3/depends new file mode 100644 index 0000000000..214cb4e13b --- /dev/null +++ b/srcpkgs/libnl3/depends @@ -0,0 +1,2 @@ +abi_depends=">=3.2.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libnl3/libnl3-devel.template b/srcpkgs/libnl3/libnl3-devel.template new file mode 100644 index 0000000000..1a5d3bb58b --- /dev/null +++ b/srcpkgs/libnl3/libnl3-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libnl-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libnl3 + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/libnl3/libnl3-progs.template b/srcpkgs/libnl3/libnl3-progs.template new file mode 100644 index 0000000000..7bf49b29af --- /dev/null +++ b/srcpkgs/libnl3/libnl3-progs.template @@ -0,0 +1,19 @@ +# Template file for 'libnl-progs'. +# +short_desc="${sourcepkg} - cli utilities" +long_desc="${long_desc} + + This package contains the command line utilities bundled with libnl." + +Add_dependency run glibc +Add_dependency run libnl3 + +conf_files="/etc/libnl/classid /etc/libnl/pktloc" + +do_install() +{ + vmove etc + vmove usr/sbin usr + vmove usr/share/man/man8 usr/share/man + vmove usr/lib/libnl usr/lib +} diff --git a/srcpkgs/libnl3/template b/srcpkgs/libnl3/template new file mode 100644 index 0000000000..b296aec437 --- /dev/null +++ b/srcpkgs/libnl3/template @@ -0,0 +1,25 @@ +# Template file for 'libnl3' +pkgname=libnl3 +version=3.2.1 +wrksrc=libnl-${version} +homepage="http://www.infradead.org/~tgr/libnl" +distfiles="${homepage}/files/libnl-${version}.tar.gz" +build_style=gnu-configure +configure_args="--disable-static" +short_desc="Netlink Protocol Library Suite" +maintainer="Juan RP " +license="LGPL-2.1" +checksum=ab73a9c90e13ae39f0a3e8bf6c5255f9ed01d6164074b3ee5cedd8ae3d0b25e3 +long_desc=" + The libnl suite is a collection of libraries providing APIs to netlink + protocol based Linux kernel interfaces. + + Netlink is a IPC mechanism primarly between the kernel and user space + processes. It was designed to be a more flexible successor to ioctl to + provide mainly networking related kernel configuration and monitoring + interfaces." + +subpackages="${pkgname}-progs ${pkgname}-devel" + +Add_dependency run glibc +Add_dependency build flex diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index db60ff1a26..fac2f347a0 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -125,6 +125,11 @@ libstartup-notification-1.so.0 startup-notification startup-notification-devel libwnck-1.so.22 libwnck2 libwnck2-devel libwnck-3.so.0 libwnck libwnck-devel libnl.so.1 libnl libnl-devel +libnl-3.so.200 libnl3 libnl3-devel +libnl-route-3.so.200 libnl3 libnl3-devel +libnl-nf-3.so.200 libnl3 libnl3-devel +libnl-genl-3.so.200 libnl3 libnl3-devel +libnl-cli-3.so.200 libnl3 libnl3-devel libssl.so.1 libssl openssl-devel libcrypto.so.1 libssl openssl-devel libreadline.so.6 readline readline-devel