summaryrefslogtreecommitdiff
path: root/README
blob: d03fa7225b0178e4e0b7c6e967e841f078eac4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
git repo.

upstream URL: git://git.openwrt.org/project/libnl-tiny.git
web interface:
https://git.openwrt.org/?p=project/libnl-tiny.git;a=shortlog

the version used in this fork is equivalent to upstream commit
28c44ca97cd546ef8168e7476472a0da022b3421.
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