fork of openwrt's libnl-tiny
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
rofl0r 4225e93bec genl/family.h: hardcode GENL_ID_GENERATE constant value 2 years ago
include genl/family.h: hardcode GENL_ID_GENERATE constant value 2 years ago
.gitignore update .gitignore 7 years ago
Makefile fix install command for retarded OS's (Mac OS X) 3 years ago
README README: fix typo 7 years ago
attr.c move files into toplevel dir 7 years ago
cache.c move files into toplevel dir 7 years ago
cache_mngt.c move files into toplevel dir 7 years ago
error.c libnl-tiny: ensure compatibility to libnl version 3 and higher 7 years ago
genl.c move files into toplevel dir 7 years ago
genl_ctrl.c move files into toplevel dir 7 years ago
genl_family.c move files into toplevel dir 7 years ago
genl_mngt.c move files into toplevel dir 7 years ago
handlers.c move files into toplevel dir 7 years ago
install.sh fix install command for retarded OS's (Mac OS X) 3 years ago
libnl-tiny.pc.in pkg-config file: force _GNU_SOURCE 7 years ago
msg.c move files into toplevel dir 7 years ago
nl.c move files into toplevel dir 7 years ago
object.c move files into toplevel dir 7 years ago
socket.c move files into toplevel dir 7 years ago
unl.c move files into toplevel dir 7 years ago

README

LIBNL-TINY
==========

libnl-tiny is a tiny replacement for libnl versions 1 and 2

it was originally developed by openwrt and can be found in their
trunk repo in the path package/lib/libnl-tiny.

upstream URL: git://git.openwrt.org/openwrt.git (attention: HUGE)
web interface:
http://git.openwrt.org/?p=openwrt.git;a=tree;f=package/libs/libnl-tiny

the version used in this fork is equivalent to upstream SVN rev 39991,
and comes with a much improved Makefile and other portability fixes
that make it possible to use libnl-tiny outside the openwrt source tree.

libnl-tiny is known to work without issues with at least:
iw, wpa-supplicant, kismet, aircrack-ng, libpcap

so far there are no known packages expecting libnl that cannot be built
against libnl-tiny.


BUILD/INSTALL
=============

make prefix=/usr DESTDIR=foo all install

you can place custom CFLAGS and other variables used in Makefile in config.mak.
the user supplied variables override the ones used in the Makefile.

if you need only a static library, run
make ALL_LIBS=libnl-tiny.a prefix=/usr DESTDIR=foo all install


LIBNL1_COMPAT
=============

if you compile a package against libnl-tiny, and get error messages about
nl_handle*, add -DLIBNL1_COMPAT to your CPPFLAGS or CFLAGS when you run
the packages configure script or Makefile.


RELEASE TARBALLS
================

release tarballs matching the equivalent git tags of this repo can be found at

* DE : http://ftp.barfooze.de/pub/sabotage/tarballs
* GR : http://foss.aueb.gr/mirrors/linux/sabotage/tarballs
* UK : http://dl.2f30.org/mirrors/sabotage/tarballs